osprey/libcif/cifgetrec.c File Reference

#include <cif.h>
#include <malloc.h>
#include <memory.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cif_int.h"

Include dependency graph for cifgetrec.c:

Go to the source code of this file.

Defines

#define CIF_VERSION   3
#define NFORTCHARS   8
#define CIF_MCF_TAILGT   0x01
#define CIF_MCF_BDM   0x02
#define CIF_MCF_CIGS   0x04
#define CIF_MCF_EMA   0x08
#define CIF_MCF_READVL   0x10
#define CIF_MCF_VPOP   0x20
#define CIF_MCF_VRECUR   0x40
#define CIF_MCF_AVL   0x80
#define UBINCR   5

Functions/Subroutines

static int ascii_callsite __ ((struct Cif_callsite *))
static int ascii_cifhdr __ ((struct Cif_cifhdr *))
static int ascii_comblk __ ((struct Cif_comblk *))
static int ascii_const __ ((struct Cif_const *))
static int ascii_entry __ ((struct Cif_entry *))
static int ascii_file __ ((struct Cif_file *))
static int ascii_loop __ ((struct Cif_loop *))
static int ascii_include __ ((struct Cif_include *))
static int ascii_label __ ((struct Cif_label *))
static int ascii_message __ ((struct Cif_message *))
static int ascii_namelist __ ((struct Cif_namelist *))
static int ascii_object __ ((struct Cif_object *))
static int ascii_srcfile __ ((struct Cif_srcfile *))
static int ascii_summary __ ((struct Cif_summary *))
static int ascii_unit __ ((struct Cif_unit *))
static int ascii_endunit __ ((struct Cif_endunit *))
static int ascii_usage __ ((struct Cif_usage *))
static int ascii_nd_msg __ ((struct Cif_nd_msg *))
static int ascii_edopts __ ((struct Cif_edopts *))
static int ascii_mach_char __ ((struct Cif_mach_char *))
static int ascii_misc_opts __ ((struct Cif_misc_opts *))
static int ascii_opt_opts __ ((struct Cif_opt_opts *))
static int ascii_stmt_type __ ((struct Cif_stmt_type *))
static int ascii_transform __ ((struct Cif_transform *))
static int ascii_cdir __ ((struct Cif_cdir *))
static int ascii_cdir_doshared __ ((struct Cif_cdir_doshared *))
static int ascii_geometry __ ((struct Cif_geometry *))
static int ascii_continuation __ ((struct Cif_continuation *))
static int ascii_c_tag __ ((struct Cif_c_tag *))
static int ascii_c_opts __ ((struct Cif_c_opts *))
static int ascii_c_message __ ((struct Cif_c_message *))
static int ascii_c_const __ ((struct Cif_c_const *))
static int ascii_c_entry __ ((struct Cif_c_entry *))
static int ascii_c_object __ ((struct Cif_c_object *))
static int ascii_c_entry_end __ ((struct Cif_c_entry_end *))
static int ascii_c_lint_directive __ ((struct Cif_c_lint_directive *))
static int ascii_c_macro_def __ ((struct Cif_c_macro_def *))
static int ascii_c_macro_undef __ ((struct Cif_c_macro_undef *))
static int ascii_c_macro_usage __ ((struct Cif_c_macro_usage *))
static int ascii_f90_callsite __ ((struct Cif_f90_callsite *))
static int ascii_f90_comblk __ ((struct Cif_f90_comblk *))
static int ascii_f90_const __ ((struct Cif_f90_const *))
static int ascii_f90_entry __ ((struct Cif_f90_entry *))
static int ascii_f90_loop __ ((struct Cif_f90_loop *))
static int ascii_f90_derived_type __ ((struct Cif_f90_derived_type *))
static int ascii_f90_label __ ((struct Cif_f90_label *))
static int ascii_f90_namelist __ ((struct Cif_f90_namelist *))
static int ascii_f90_object __ ((struct Cif_f90_object *))
static int ascii_f90_misc_opts __ ((struct Cif_f90_misc_opts *))
static int ascii_f90_opt_opts __ ((struct Cif_f90_opt_opts *))
static int ascii_f90_begin_scope __ ((struct Cif_f90_begin_scope *))
static int ascii_f90_end_scope __ ((struct Cif_f90_end_scope *))
static int ascii_f90_scope_info __ ((struct Cif_f90_scope_info *))
static int ascii_f90_use_module __ ((struct Cif_f90_use_module *))
static int ascii_f90_rename __ ((struct Cif_f90_rename *))
static int ascii_f90_int_block __ ((struct Cif_f90_int_block *))
static int ascii_f90_vectorization __ ((struct Cif_f90_vectorization *))
static int ascii_BE_node __ ((struct Cif_BE_node *))
static int ascii_BE_fid __ ((struct Cif_BE_fid *))
static int ascii_cc_type __ ((struct Cif_cc_type *))
static int ascii_cc_entry __ ((struct Cif_cc_entry *))
static int ascii_cc_obj __ ((struct Cif_cc_obj *))
static int ascii_cc_subtype __ ((struct Cif_cc_subtype *))
static int ascii_cc_enum __ ((struct Cif_cc_enum *))
static int ascii_cc_expr __ ((struct Cif_cc_expr *))
static int ascii_src_pos __ ((struct Cif_src_pos *))
static int ascii_orig_cmd __ ((struct Cif_orig_cmd *))
static int binary_record __ ((struct Cif_generic **, FILE *))
static char * token ()
static int compuse (struct Cif_use *u1, struct Cif_use *u2)
int Cif_Getrecord (int cifd, struct Cif_generic **cif_record)
int _Cif_binary_map_version (int rtype, struct Cif_generic *map_buffer, struct Cif_generic *cr)
static int binary_record (struct Cif_generic **cif_record, FILE *fd)
static int strlist (char ***args)
static int llist (long **args, int *varargs)
static int filltype (int *basic, int *qual, struct Cif_tmod **tmod)
static int ascii_c_const (struct Cif_c_const *con)
static int ascii_c_entry (struct Cif_c_entry *ent)
static int ascii_c_entry_end (struct Cif_c_entry_end *ent_end)
static int ascii_c_lint_directive (struct Cif_c_lint_directive *lint_dir)
static int ascii_c_macro_def (struct Cif_c_macro_def *macro_def)
static int ascii_c_macro_undef (struct Cif_c_macro_undef *macro_undef)
static int ascii_c_macro_usage (struct Cif_c_macro_usage *macro_use)
static int ascii_c_message (struct Cif_c_message *msg)
static int ascii_c_object (struct Cif_c_object *obj)
static int ascii_c_opts (struct Cif_c_opts *opt)
static int ascii_c_tag (struct Cif_c_tag *tag)
static int ascii_callsite (struct Cif_callsite *cs)
static int ascii_cifhdr (struct Cif_cifhdr *hdr)
static int ascii_comblk (struct Cif_comblk *cb)
static int ascii_const (struct Cif_const *con)
static int ascii_edopts (struct Cif_edopts *eo)
static int ascii_entry (struct Cif_entry *entry)
static int ascii_file (struct Cif_file *file)
static int ascii_include (struct Cif_include *inc)
static int ascii_label (struct Cif_label *label)
static int ascii_loop (struct Cif_loop *loop)
static int ascii_mach_char (struct Cif_mach_char *mc)
static int ascii_message (struct Cif_message *msg)
static int ascii_misc_opts (struct Cif_misc_opts *mo)
static int ascii_namelist (struct Cif_namelist *nl)
static int ascii_nd_msg (struct Cif_nd_msg *nmsg)
static int ascii_object (struct Cif_object *obj)
static int ascii_opt_opts (struct Cif_opt_opts *oo)
static int ascii_srcfile (struct Cif_srcfile *src)
static int ascii_transform (struct Cif_transform *tran)
static int ascii_stmt_type (struct Cif_stmt_type *stmt)
static int ascii_summary (struct Cif_summary *sum)
static int ascii_cdir (struct Cif_cdir *cdir)
static int ascii_cdir_doshared (struct Cif_cdir_doshared *dos)
static int ascii_geometry (struct Cif_geometry *geom)
static int ascii_continuation (struct Cif_continuation *co)
static int ascii_f90_callsite (struct Cif_f90_callsite *cs)
static int ascii_f90_comblk (struct Cif_f90_comblk *cb)
static int ascii_f90_const (struct Cif_f90_const *con)
static int ascii_f90_entry (struct Cif_f90_entry *entry)
static int ascii_f90_loop (struct Cif_f90_loop *loop)
static int ascii_f90_derived_type (struct Cif_f90_derived_type *dt)
static int ascii_f90_label (struct Cif_f90_label *label)
static int ascii_f90_namelist (struct Cif_f90_namelist *nl)
static int ascii_f90_object (struct Cif_f90_object *obj)
static int ascii_f90_misc_opts (struct Cif_f90_misc_opts *mo)
static int ascii_f90_opt_opts (struct Cif_f90_opt_opts *opt)
static int ascii_f90_begin_scope (struct Cif_f90_begin_scope *bs)
static int ascii_f90_end_scope (struct Cif_f90_end_scope *es)
static int ascii_f90_scope_info (struct Cif_f90_scope_info *si)
static int ascii_f90_use_module (struct Cif_f90_use_module *um)
static int ascii_f90_rename (struct Cif_f90_rename *rn)
static int ascii_f90_int_block (struct Cif_f90_int_block *ib)
static int ascii_f90_vectorization (struct Cif_f90_vectorization *vect)
static int ascii_unit (struct Cif_unit *unit)
static int ascii_endunit (struct Cif_endunit *eu)
static int ascii_usage (struct Cif_usage *usage)
static int ascii_f90_usage (struct Cif_usage *usage)
static int ascii_BE_node (struct Cif_BE_node *ent)
static int ascii_BE_fid (struct Cif_BE_fid *ent)
static int ascii_cc_type (struct Cif_cc_type *spos)
static int ascii_cc_entry (struct Cif_cc_entry *spos)
static int ascii_cc_obj (struct Cif_cc_obj *spos)
static int ascii_cc_subtype (struct Cif_cc_subtype *spos)
static int ascii_cc_enum (struct Cif_cc_enum *spos)
static int ascii_cc_expr (struct Cif_cc_expr *spos)
static int ascii_src_pos (struct Cif_src_pos *spos)
static int ascii_orig_cmd (struct Cif_orig_cmd *ocmd)

Variables

static char USMID [] = "@(#) libcif/cifgetrec.c 30.18 06/27/97 14:34:02"
static int(* ascii_record [CIF_MAXRECORD])()
static short valid_record [CIF_MAXRECORD]
struct Cif_generic_cif_map_buffer = (struct Cif_generic *) NULL
static int lcifd
static int lmode
static int global_msgfid = -1
static char * ntoken
static char delim


Define Documentation

#define CIF_MCF_AVL   0x80

Definition at line 2113 of file cifgetrec.c.

Referenced by ascii_mach_char().

#define CIF_MCF_BDM   0x02

Definition at line 2107 of file cifgetrec.c.

Referenced by ascii_mach_char().

#define CIF_MCF_CIGS   0x04

Definition at line 2108 of file cifgetrec.c.

Referenced by ascii_mach_char().

#define CIF_MCF_EMA   0x08

Definition at line 2109 of file cifgetrec.c.

Referenced by ascii_mach_char().

#define CIF_MCF_READVL   0x10

Definition at line 2110 of file cifgetrec.c.

Referenced by ascii_mach_char().

#define CIF_MCF_TAILGT   0x01

Definition at line 2106 of file cifgetrec.c.

Referenced by ascii_mach_char().

#define CIF_MCF_VPOP   0x20

Definition at line 2111 of file cifgetrec.c.

Referenced by ascii_mach_char().

#define CIF_MCF_VRECUR   0x40

Definition at line 2112 of file cifgetrec.c.

Referenced by ascii_mach_char().

#define CIF_VERSION   3

Definition at line 50 of file cifgetrec.c.

#define NFORTCHARS   8

Definition at line 2105 of file cifgetrec.c.

Referenced by ascii_mach_char().

#define UBINCR   5

Referenced by ascii_usage().


Function Documentation

static int binary_record __ ( (struct Cif_generic **, FILE *)   )  [static]

static int ascii_orig_cmd __ ( (struct Cif_orig_cmd *)   )  [static]

static int ascii_src_pos __ ( (struct Cif_src_pos *)   )  [static]

static int ascii_cc_expr __ ( (struct Cif_cc_expr *)   )  [static]

static int ascii_cc_enum __ ( (struct Cif_cc_enum *)   )  [static]

static int ascii_cc_subtype __ ( (struct Cif_cc_subtype *)   )  [static]

static int ascii_cc_obj __ ( (struct Cif_cc_obj *)   )  [static]

static int ascii_cc_entry __ ( (struct Cif_cc_entry *)   )  [static]

static int ascii_cc_type __ ( (struct Cif_cc_type *)   )  [static]

static int ascii_BE_fid __ ( (struct Cif_BE_fid *)   )  [static]

static int ascii_BE_node __ ( (struct Cif_BE_node *)   )  [static]

static int ascii_f90_vectorization __ ( (struct Cif_f90_vectorization *)   )  [static]

static int ascii_f90_int_block __ ( (struct Cif_f90_int_block *)   )  [static]

static int ascii_f90_rename __ ( (struct Cif_f90_rename *)   )  [static]

static int ascii_f90_use_module __ ( (struct Cif_f90_use_module *)   )  [static]

static int ascii_f90_scope_info __ ( (struct Cif_f90_scope_info *)   )  [static]

static int ascii_f90_end_scope __ ( (struct Cif_f90_end_scope *)   )  [static]

static int ascii_f90_begin_scope __ ( (struct Cif_f90_begin_scope *)   )  [static]

static int ascii_f90_opt_opts __ ( (struct Cif_f90_opt_opts *)   )  [static]

static int ascii_f90_misc_opts __ ( (struct Cif_f90_misc_opts *)   )  [static]

static int ascii_f90_object __ ( (struct Cif_f90_object *)   )  [static]

static int ascii_f90_namelist __ ( (struct Cif_f90_namelist *)   )  [static]

static int ascii_f90_label __ ( (struct Cif_f90_label *)   )  [static]

static int ascii_f90_derived_type __ ( (struct Cif_f90_derived_type *)   )  [static]

static int ascii_f90_loop __ ( (struct Cif_f90_loop *)   )  [static]

static int ascii_f90_entry __ ( (struct Cif_f90_entry *)   )  [static]

static int ascii_f90_const __ ( (struct Cif_f90_const *)   )  [static]

static int ascii_f90_comblk __ ( (struct Cif_f90_comblk *)   )  [static]

static int ascii_f90_callsite __ ( (struct Cif_f90_callsite *)   )  [static]

static int ascii_c_macro_usage __ ( (struct Cif_c_macro_usage *)   )  [static]

static int ascii_c_macro_undef __ ( (struct Cif_c_macro_undef *)   )  [static]

static int ascii_c_macro_def __ ( (struct Cif_c_macro_def *)   )  [static]

static int ascii_c_lint_directive __ ( (struct Cif_c_lint_directive *)   )  [static]

static int ascii_c_entry_end __ ( (struct Cif_c_entry_end *)   )  [static]

static int ascii_c_object __ ( (struct Cif_c_object *)   )  [static]

static int ascii_c_entry __ ( (struct Cif_c_entry *)   )  [static]

static int ascii_c_const __ ( (struct Cif_c_const *)   )  [static]

static int ascii_c_message __ ( (struct Cif_c_message *)   )  [static]

static int ascii_c_opts __ ( (struct Cif_c_opts *)   )  [static]

static int ascii_c_tag __ ( (struct Cif_c_tag *)   )  [static]

static int ascii_continuation __ ( (struct Cif_continuation *)   )  [static]

static int ascii_geometry __ ( (struct Cif_geometry *)   )  [static]

static int ascii_cdir_doshared __ ( (struct Cif_cdir_doshared *)   )  [static]

static int ascii_cdir __ ( (struct Cif_cdir *)   )  [static]

static int ascii_transform __ ( (struct Cif_transform *)   )  [static]

static int ascii_stmt_type __ ( (struct Cif_stmt_type *)   )  [static]

static int ascii_opt_opts __ ( (struct Cif_opt_opts *)   )  [static]

static int ascii_misc_opts __ ( (struct Cif_misc_opts *)   )  [static]

static int ascii_mach_char __ ( (struct Cif_mach_char *)   )  [static]

static int ascii_edopts __ ( (struct Cif_edopts *)   )  [static]

static int ascii_nd_msg __ ( (struct Cif_nd_msg *)   )  [static]

static int ascii_f90_usage __ ( (struct Cif_usage *)   )  [static]

static int ascii_endunit __ ( (struct Cif_endunit *)   )  [static]

static int ascii_unit __ ( (struct Cif_unit *)   )  [static]

static int ascii_summary __ ( (struct Cif_summary *)   )  [static]

static int ascii_srcfile __ ( (struct Cif_srcfile *)   )  [static]

static int ascii_object __ ( (struct Cif_object *)   )  [static]

static int ascii_namelist __ ( (struct Cif_namelist *)   )  [static]

static int ascii_message __ ( (struct Cif_message *)   )  [static]

static int ascii_label __ ( (struct Cif_label *)   )  [static]

static int ascii_include __ ( (struct Cif_include *)   )  [static]

static int ascii_loop __ ( (struct Cif_loop *)   )  [static]

static int ascii_file __ ( (struct Cif_file *)   )  [static]

static int ascii_entry __ ( (struct Cif_entry *)   )  [static]

static int ascii_const __ ( (struct Cif_const *)   )  [static]

static int ascii_comblk __ ( (struct Cif_comblk *)   )  [static]

static int ascii_cifhdr __ ( (struct Cif_cifhdr *)   )  [static]

static int ascii_callsite __ ( (struct Cif_callsite *)   )  [static]

int _Cif_binary_map_version ( int  rtype,
struct Cif_generic map_buffer,
struct Cif_generic cr 
)

static int ascii_BE_fid ( struct Cif_BE_fid *  ent  )  [static]

Definition at line 4390 of file cifgetrec.c.

References _Cif_space, atoi(), CIF_BADFORM, CIF_NOMEM, i, n, NULL, and token.

static int ascii_BE_node ( struct Cif_BE_node *  ent  )  [static]

Definition at line 4257 of file cifgetrec.c.

References _Cif_filetbl, _Cif_space, atoi(), CIF_BADFORM, CIF_NOMEM, i, n, NULL, strcpy, strlen(), token, version, and void.

static int ascii_c_const ( struct Cif_c_const con  )  [static]

Definition at line 1223 of file cifgetrec.c.

References _Cif_space, atol(), CIF_C_CONST, CIF_NOMEM, i, NULL, SEPARATOR, strcpy, strlen(), strtol(), token, and void.

static int ascii_c_entry ( struct Cif_c_entry ent  )  [static]

static int ascii_c_entry_end ( struct Cif_c_entry_end *  ent_end  )  [static]

Definition at line 1341 of file cifgetrec.c.

References _Cif_space, atol(), c, CIF_NOMEM, i, NULL, strcpy, strlen(), token, and void.

static int ascii_c_lint_directive ( struct Cif_c_lint_directive *  lint_dir  )  [static]

Definition at line 1362 of file cifgetrec.c.

References _Cif_space, atol(), c, CIF_NOMEM, i, NULL, strcpy, strlen(), token, and void.

static int ascii_c_macro_def ( struct Cif_c_macro_def *  macro_def  )  [static]

Definition at line 1385 of file cifgetrec.c.

References _Cif_space, atol(), c, CIF_NOMEM, i, NULL, strcpy, strlen(), token, and void.

static int ascii_c_macro_undef ( struct Cif_c_macro_undef *  macro_undef  )  [static]

Definition at line 1409 of file cifgetrec.c.

References atol(), and token.

static int ascii_c_macro_usage ( struct Cif_c_macro_usage *  macro_use  )  [static]

Definition at line 1421 of file cifgetrec.c.

References atol(), and token.

static int ascii_c_message ( struct Cif_c_message msg  )  [static]

Definition at line 1438 of file cifgetrec.c.

References _Cif_filetbl, atoi(), atol(), c, CIF_C_MESSAGE, CIF_NOMEM, strlist(), tmp, token, version, and void.

static int ascii_c_object ( struct Cif_c_object obj  )  [static]

static int ascii_c_opts ( struct Cif_c_opts opt  )  [static]

Definition at line 1579 of file cifgetrec.c.

References _Cif_space, atoi(), c, CIF_C_OPTS, CIF_NOMEM, i, NULL, strcpy, strlen(), strlist(), strncpy(), token, and void.

static int ascii_c_tag ( struct Cif_c_tag tag  )  [static]

static int ascii_callsite ( struct Cif_callsite cs  )  [static]

Definition at line 1660 of file cifgetrec.c.

References _Cif_space, atoi(), atol(), CIF_CALLSITE, CIF_NOMEM, i, NULL, SEPARATOR, and token.

static int ascii_cc_entry ( struct Cif_cc_entry *  spos  )  [static]

Definition at line 4508 of file cifgetrec.c.

References _Cif_space, atoi(), atol(), c, CIF_NOMEM, i, int, n, NULL, strcpy, strlen(), token, and void.

static int ascii_cc_enum ( struct Cif_cc_enum *  spos  )  [static]

Definition at line 4591 of file cifgetrec.c.

References _Cif_space, atoi(), atol(), c, CIF_NOMEM, i, NULL, strcpy, strlen(), token, and void.

static int ascii_cc_expr ( struct Cif_cc_expr *  spos  )  [static]

Definition at line 4616 of file cifgetrec.c.

References atoi(), atol(), and token.

static int ascii_cc_obj ( struct Cif_cc_obj *  spos  )  [static]

Definition at line 4554 of file cifgetrec.c.

References _Cif_space, atoi(), atol(), c, CIF_NOMEM, i, NULL, strcpy, strlen(), token, and void.

static int ascii_cc_subtype ( struct Cif_cc_subtype *  spos  )  [static]

Definition at line 4579 of file cifgetrec.c.

References atoi(), atol(), and token.

static int ascii_cc_type ( struct Cif_cc_type *  spos  )  [static]

static int ascii_cdir ( struct Cif_cdir *  cdir  )  [static]

Definition at line 2917 of file cifgetrec.c.

References _Cif_space, atoi(), atol(), i, int, and token.

static int ascii_cdir_doshared ( struct Cif_cdir_doshared *  dos  )  [static]

Definition at line 2938 of file cifgetrec.c.

References _Cif_space, atoi(), atol(), c, i, int, and token.

static int ascii_cifhdr ( struct Cif_cifhdr hdr  )  [static]

static int ascii_comblk ( struct Cif_comblk cb  )  [static]

Definition at line 1737 of file cifgetrec.c.

References _Cif_filetbl, _Cif_space, atoi(), atol(), c, CIF_COMBLK, CIF_NOMEM, i, NULL, strcpy, strlen(), token, version, and void.

static int ascii_const ( struct Cif_const con  )  [static]

static int ascii_continuation ( struct Cif_continuation *  co  )  [static]

Definition at line 3029 of file cifgetrec.c.

References atol(), c, and token.

static int ascii_edopts ( struct Cif_edopts eo  )  [static]

Definition at line 1925 of file cifgetrec.c.

References CIF_EDOPTS, NULL, strtol(), and token.

static int ascii_endunit ( struct Cif_endunit eu  )  [static]

Definition at line 3912 of file cifgetrec.c.

References _Cif_space, atol(), c, CIF_ENDUNIT, CIF_NOMEM, i, NULL, strcpy, strlen(), token, and void.

static int ascii_entry ( struct Cif_entry entry  )  [static]

static int ascii_f90_begin_scope ( struct Cif_f90_begin_scope *  bs  )  [static]

Definition at line 3671 of file cifgetrec.c.

References atoi(), atol(), and token.

static int ascii_f90_callsite ( struct Cif_f90_callsite *  cs  )  [static]

Definition at line 3045 of file cifgetrec.c.

References _Cif_space, atoi(), atol(), c, CIF_NOMEM, i, NULL, SEPARATOR, token, and void.

static int ascii_f90_comblk ( struct Cif_f90_comblk *  cb  )  [static]

Definition at line 3126 of file cifgetrec.c.

References _Cif_space, atoi(), atol(), c, CIF_NOMEM, i, NULL, strcpy, strlen(), token, and void.

static int ascii_f90_const ( struct Cif_f90_const *  con  )  [static]

Definition at line 3151 of file cifgetrec.c.

References _Cif_space, atol(), c, CIF_NOMEM, i, NULL, strcpy, strlen(), token, and void.

static int ascii_f90_derived_type ( struct Cif_f90_derived_type *  dt  )  [static]

Definition at line 3274 of file cifgetrec.c.

References _Cif_filetbl, _Cif_space, atoi(), atol(), c, CIF_NOMEM, i, len, NULL, SEPARATOR, strcpy, strlen(), strtol(), token, version, and void.

static int ascii_f90_end_scope ( struct Cif_f90_end_scope *  es  )  [static]

Definition at line 3687 of file cifgetrec.c.

References atoi(), atol(), and token.

static int ascii_f90_entry ( struct Cif_f90_entry *  entry  )  [static]

static int ascii_f90_int_block ( struct Cif_f90_int_block *  ib  )  [static]

Definition at line 3804 of file cifgetrec.c.

References _Cif_filetbl, _Cif_space, atoi(), atol(), c, CIF_NOMEM, i, int, NULL, SEPARATOR, strcpy, strlen(), token, version, and void.

static int ascii_f90_label ( struct Cif_f90_label *  label  )  [static]

Definition at line 3350 of file cifgetrec.c.

References _Cif_space, atoi(), atol(), c, CIF_NOMEM, i, NULL, strcpy, strlen(), token, and void.

static int ascii_f90_loop ( struct Cif_f90_loop *  loop  )  [static]

Definition at line 3242 of file cifgetrec.c.

References atol(), SEPARATOR, and token.

static int ascii_f90_misc_opts ( struct Cif_f90_misc_opts *  mo  )  [static]

Definition at line 3565 of file cifgetrec.c.

References _Cif_space, atoi(), c, CIF_NOMEM, i, llist(), NULL, SEPARATOR, strcpy, strlen(), strlist(), strtol(), tmp, token, and void.

static int ascii_f90_namelist ( struct Cif_f90_namelist *  nl  )  [static]

Definition at line 3370 of file cifgetrec.c.

References _Cif_space, atoi(), atol(), c, CIF_NOMEM, i, int, NULL, strcpy, strlen(), token, and void.

static int ascii_f90_object ( struct Cif_f90_object *  obj  )  [static]

static int ascii_f90_opt_opts ( struct Cif_f90_opt_opts *  opt  )  [static]

Definition at line 3646 of file cifgetrec.c.

References _Cif_space, atoi(), CIF_NOMEM, i, int, NULL, strtol(), and token.

static int ascii_f90_rename ( struct Cif_f90_rename *  rn  )  [static]

Definition at line 3745 of file cifgetrec.c.

References _Cif_space, atol(), c, CIF_NOMEM, i, long, malloc, NULL, realloc, strcpy, strlen(), token, and void.

static int ascii_f90_scope_info ( struct Cif_f90_scope_info *  si  )  [static]

static int ascii_f90_usage ( struct Cif_usage usage  )  [static]

static int ascii_f90_use_module ( struct Cif_f90_use_module *  um  )  [static]

Definition at line 3734 of file cifgetrec.c.

References atoi(), atol(), and token.

static int ascii_f90_vectorization ( struct Cif_f90_vectorization *  vect  )  [static]

Definition at line 3881 of file cifgetrec.c.

References fprintf(), and void.

static int ascii_file ( struct Cif_file file  )  [static]

static int ascii_geometry ( struct Cif_geometry *  geom  )  [static]

static int ascii_include ( struct Cif_include inc  )  [static]

Definition at line 2054 of file cifgetrec.c.

References atol(), CIF_INCLUDE, and token.

static int ascii_label ( struct Cif_label label  )  [static]

Definition at line 2066 of file cifgetrec.c.

References _Cif_space, atoi(), atol(), c, CIF_LABEL, CIF_NOMEM, i, NULL, strcpy, strlen(), token, and void.

static int ascii_loop ( struct Cif_loop loop  )  [static]

Definition at line 2085 of file cifgetrec.c.

References atol(), CIF_LOOP, SEPARATOR, and token.

static int ascii_mach_char ( struct Cif_mach_char mc  )  [static]

static int ascii_message ( struct Cif_message msg  )  [static]

static int ascii_misc_opts ( struct Cif_misc_opts mo  )  [static]

static int ascii_namelist ( struct Cif_namelist nl  )  [static]

Definition at line 2520 of file cifgetrec.c.

References _Cif_space, atoi(), atol(), c, CIF_NAMELIST, CIF_NOMEM, i, int, NULL, strcpy, strlen(), token, and void.

static int ascii_nd_msg ( struct Cif_nd_msg nmsg  )  [static]

Definition at line 2546 of file cifgetrec.c.

References atoi(), atol(), CIF_ND_MSG, CIF_NOMEM, strlist(), strncpy(), tmp, token, and void.

static int ascii_object ( struct Cif_object obj  )  [static]

static int ascii_opt_opts ( struct Cif_opt_opts oo  )  [static]

Definition at line 2805 of file cifgetrec.c.

References _Cif_filetbl, atoi(), CIF_OOF_INLINE, CIF_OPT_OPTS, NULL, strtol(), token, version, and void.

static int ascii_orig_cmd ( struct Cif_orig_cmd *  ocmd  )  [static]

Definition at line 4656 of file cifgetrec.c.

References _Cif_space, c, CIF_NOMEM, i, NULL, strcpy, strlen(), token, and void.

static int ascii_src_pos ( struct Cif_src_pos *  spos  )  [static]

Definition at line 4630 of file cifgetrec.c.

References atoi(), atol(), and token.

static int ascii_srcfile ( struct Cif_srcfile src  )  [static]

Definition at line 2846 of file cifgetrec.c.

References atoi(), atol(), CIF_SRCFILE, SEPARATOR, and token.

static int ascii_stmt_type ( struct Cif_stmt_type stmt  )  [static]

static int ascii_summary ( struct Cif_summary sum  )  [static]

Definition at line 2900 of file cifgetrec.c.

References atol(), CIF_SUMMARY, strcpy, token, and void.

static int ascii_transform ( struct Cif_transform *  tran  )  [static]

Definition at line 2859 of file cifgetrec.c.

References atoi(), atol(), and token.

static int ascii_unit ( struct Cif_unit unit  )  [static]

Definition at line 3893 of file cifgetrec.c.

References _Cif_space, atol(), c, CIF_NOMEM, CIF_UNIT, i, NULL, strcpy, strlen(), token, and void.

static int ascii_usage ( struct Cif_usage usage  )  [static]

static int binary_record ( struct Cif_generic **  cif_record,
FILE fd 
) [static]

int Cif_Getrecord ( int  cifd,
struct Cif_generic **  cif_record 
)

static int compuse ( struct Cif_use u1,
struct Cif_use u2 
) [static]

Definition at line 365 of file cifgetrec.c.

References ret.

Referenced by ascii_usage().

static int filltype ( int *  basic,
int *  qual,
struct Cif_tmod **  tmod 
) [static]

static int llist ( long **  args,
int *  varargs 
) [static]

Definition at line 1094 of file cifgetrec.c.

References _Cif_space, aptr, atoi(), c, CIF_NOMEM, i, n, NULL, and token.

Referenced by ascii_c_entry(), ascii_c_tag(), ascii_f90_misc_opts(), and ascii_misc_opts().

static int strlist ( char ***  args  )  [static]

static char* token (  )  [static]

Definition at line 343 of file cifgetrec.c.

References NULL, and SEPARATOR.


Variable Documentation

Definition at line 315 of file cifgetrec.c.

Referenced by Cif_Recgroup().

int(* ascii_record[CIF_MAXRECORD])() [static]

Referenced by ascii_cifhdr(), and Cif_Getrecord().

char delim [static]

Definition at line 342 of file cifgetrec.c.

int global_msgfid = -1 [static]

Definition at line 329 of file cifgetrec.c.

int lcifd [static]

Definition at line 318 of file cifgetrec.c.

int lmode [static]

Definition at line 319 of file cifgetrec.c.

Referenced by optimize_bit_field_compare().

char* ntoken [static]

Definition at line 341 of file cifgetrec.c.

char USMID[] = "@(#) libcif/cifgetrec.c 30.18 06/27/97 14:34:02" [static]

Definition at line 41 of file cifgetrec.c.

short valid_record[CIF_MAXRECORD] [static]

Definition at line 234 of file cifgetrec.c.


Generated on Wed Apr 8 15:51:11 2009 for Open64 by  doxygen 1.5.6