Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
cifgetrec.c File Reference
#include <cif.h>
#include <stdlib.h>
#include <memory.h>
#include <stdio.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 /* use buffer increment value */

Functions

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 2094 of file cifgetrec.c.

Referenced by ascii_mach_char().

#define CIF_MCF_BDM   0x02

Definition at line 2088 of file cifgetrec.c.

Referenced by ascii_mach_char().

#define CIF_MCF_CIGS   0x04

Definition at line 2089 of file cifgetrec.c.

Referenced by ascii_mach_char().

#define CIF_MCF_EMA   0x08

Definition at line 2090 of file cifgetrec.c.

Referenced by ascii_mach_char().

#define CIF_MCF_READVL   0x10

Definition at line 2091 of file cifgetrec.c.

Referenced by ascii_mach_char().

#define CIF_MCF_TAILGT   0x01

Definition at line 2087 of file cifgetrec.c.

Referenced by ascii_mach_char().

#define CIF_MCF_VPOP   0x20

Definition at line 2092 of file cifgetrec.c.

Referenced by ascii_mach_char().

#define CIF_MCF_VRECUR   0x40

Definition at line 2093 of file cifgetrec.c.

Referenced by ascii_mach_char().

#define CIF_VERSION   3

Definition at line 46 of file cifgetrec.c.

#define NFORTCHARS   8

Definition at line 2086 of file cifgetrec.c.

Referenced by ascii_mach_char().

#define UBINCR   5 /* use buffer increment value */

Referenced by ascii_usage().


Function Documentation

static int ascii_callsite __ ( (struct Cif_callsite *)  ) [static]
static int ascii_cifhdr __ ( (struct Cif_cifhdr *)  ) [static]
static int ascii_comblk __ ( (struct Cif_comblk *)  ) [static]
static int ascii_const __ ( (struct Cif_const *)  ) [static]
static int ascii_entry __ ( (struct Cif_entry *)  ) [static]
static int ascii_file __ ( (struct Cif_file *)  ) [static]
static int ascii_loop __ ( (struct Cif_loop *)  ) [static]
static int ascii_include __ ( (struct Cif_include *)  ) [static]
static int ascii_label __ ( (struct Cif_label *)  ) [static]
static int ascii_message __ ( (struct Cif_message *)  ) [static]
static int ascii_namelist __ ( (struct Cif_namelist *)  ) [static]
static int ascii_object __ ( (struct Cif_object *)  ) [static]
static int ascii_srcfile __ ( (struct Cif_srcfile *)  ) [static]
static int ascii_summary __ ( (struct Cif_summary *)  ) [static]
static int ascii_unit __ ( (struct Cif_unit *)  ) [static]
static int ascii_endunit __ ( (struct Cif_endunit *)  ) [static]
static int ascii_f90_usage __ ( (struct Cif_usage *)  ) [static]
static int ascii_nd_msg __ ( (struct Cif_nd_msg *)  ) [static]
static int ascii_edopts __ ( (struct Cif_edopts *)  ) [static]
static int ascii_mach_char __ ( (struct Cif_mach_char *)  ) [static]
static int ascii_misc_opts __ ( (struct Cif_misc_opts *)  ) [static]
static int ascii_opt_opts __ ( (struct Cif_opt_opts *)  ) [static]
static int ascii_stmt_type __ ( (struct Cif_stmt_type *)  ) [static]
static int ascii_transform __ ( (struct Cif_transform *)  ) [static]
static int ascii_cdir __ ( (struct Cif_cdir *)  ) [static]
static int ascii_cdir_doshared __ ( (struct Cif_cdir_doshared *)  ) [static]
static int ascii_geometry __ ( (struct Cif_geometry *)  ) [static]
static int ascii_continuation __ ( (struct Cif_continuation *)  ) [static]
static int ascii_c_tag __ ( (struct Cif_c_tag *)  ) [static]
static int ascii_c_opts __ ( (struct Cif_c_opts *)  ) [static]
static int ascii_c_message __ ( (struct Cif_c_message *)  ) [static]
static int ascii_c_const __ ( (struct Cif_c_const *)  ) [static]
static int ascii_c_entry __ ( (struct Cif_c_entry *)  ) [static]
static int ascii_c_object __ ( (struct Cif_c_object *)  ) [static]
static int ascii_c_entry_end __ ( (struct Cif_c_entry_end *)  ) [static]
static int ascii_c_lint_directive __ ( (struct Cif_c_lint_directive *)  ) [static]
static int ascii_c_macro_def __ ( (struct Cif_c_macro_def *)  ) [static]
static int ascii_c_macro_undef __ ( (struct Cif_c_macro_undef *)  ) [static]
static int ascii_c_macro_usage __ ( (struct Cif_c_macro_usage *)  ) [static]
static int ascii_f90_callsite __ ( (struct Cif_f90_callsite *)  ) [static]
static int ascii_f90_comblk __ ( (struct Cif_f90_comblk *)  ) [static]
static int ascii_f90_const __ ( (struct Cif_f90_const *)  ) [static]
static int ascii_f90_entry __ ( (struct Cif_f90_entry *)  ) [static]
static int ascii_f90_loop __ ( (struct Cif_f90_loop *)  ) [static]
static int ascii_f90_derived_type __ ( (struct Cif_f90_derived_type *)  ) [static]
static int ascii_f90_label __ ( (struct Cif_f90_label *)  ) [static]
static int ascii_f90_namelist __ ( (struct Cif_f90_namelist *)  ) [static]
static int ascii_f90_object __ ( (struct Cif_f90_object *)  ) [static]
static int ascii_f90_misc_opts __ ( (struct Cif_f90_misc_opts *)  ) [static]
static int ascii_f90_opt_opts __ ( (struct Cif_f90_opt_opts *)  ) [static]
static int ascii_f90_begin_scope __ ( (struct Cif_f90_begin_scope *)  ) [static]
static int ascii_f90_end_scope __ ( (struct Cif_f90_end_scope *)  ) [static]
static int ascii_f90_scope_info __ ( (struct Cif_f90_scope_info *)  ) [static]
static int ascii_f90_use_module __ ( (struct Cif_f90_use_module *)  ) [static]
static int ascii_f90_rename __ ( (struct Cif_f90_rename *)  ) [static]
static int ascii_f90_int_block __ ( (struct Cif_f90_int_block *)  ) [static]
static int ascii_f90_vectorization __ ( (struct Cif_f90_vectorization *)  ) [static]
static int ascii_BE_node __ ( (struct Cif_BE_node *)  ) [static]
static int ascii_BE_fid __ ( (struct Cif_BE_fid *)  ) [static]
static int ascii_cc_type __ ( (struct Cif_cc_type *)  ) [static]
static int ascii_cc_entry __ ( (struct Cif_cc_entry *)  ) [static]
static int ascii_cc_obj __ ( (struct Cif_cc_obj *)  ) [static]
static int ascii_cc_subtype __ ( (struct Cif_cc_subtype *)  ) [static]
static int ascii_cc_enum __ ( (struct Cif_cc_enum *)  ) [static]
static int ascii_cc_expr __ ( (struct Cif_cc_expr *)  ) [static]
static int ascii_src_pos __ ( (struct Cif_src_pos *)  ) [static]
static int ascii_orig_cmd __ ( (struct Cif_orig_cmd *)  ) [static]
static int binary_record __ ( (struct Cif_generic **, FILE *)  ) [static]
static int ascii_BE_fid ( struct Cif_BE_fid *  ent) [static]

Definition at line 4371 of file cifgetrec.c.

References _Cif_space, CIF_BADFORM, CIF_NOMEM, lcifd, NULL, and token.

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

Definition at line 4238 of file cifgetrec.c.

References _Cif_filetbl, _Cif_space, CIF_BADFORM, CIF_NOMEM, lcifd, lmode, NULL, strcpy, and token.

static int ascii_c_const ( struct Cif_c_const con) [static]

Definition at line 1214 of file cifgetrec.c.

References _Cif_space, CIF_C_CONST, CIF_NOMEM, lcifd, lmode, NULL, SEPARATOR, strcpy, Cif_c_const::symid, and token.

static int ascii_c_entry ( struct Cif_c_entry ent) [static]

Definition at line 1244 of file cifgetrec.c.

References _Cif_filetbl, _Cif_space, c, CIF_C_ENTRY, CIF_NOMEM, filltype(), lcifd, llist(), lmode, NULL, SEPARATOR, strcpy, and token.

Here is the call graph for this function:

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

Definition at line 1332 of file cifgetrec.c.

References _Cif_space, c, CIF_NOMEM, lcifd, lmode, NULL, strcpy, and token.

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

Definition at line 1353 of file cifgetrec.c.

References _Cif_space, c, CIF_NOMEM, lcifd, lmode, NULL, strcpy, and token.

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

Definition at line 1376 of file cifgetrec.c.

References _Cif_space, c, CIF_NOMEM, lcifd, lmode, NULL, strcpy, and token.

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

Definition at line 1400 of file cifgetrec.c.

References token.

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

Definition at line 1412 of file cifgetrec.c.

References token.

static int ascii_c_message ( struct Cif_c_message msg) [static]

Definition at line 1429 of file cifgetrec.c.

References _Cif_filetbl, c, CIF_C_MESSAGE, CIF_NOMEM, strlist(), and token.

Here is the call graph for this function:

static int ascii_c_object ( struct Cif_c_object obj) [static]

Definition at line 1491 of file cifgetrec.c.

References _Cif_filetbl, _Cif_space, c, CIF_C_OBJECT, CIF_NOMEM, filltype(), lcifd, lmode, NULL, SEPARATOR, strcpy, and token.

Here is the call graph for this function:

static int ascii_c_opts ( struct Cif_c_opts opt) [static]

Definition at line 1570 of file cifgetrec.c.

References _Cif_space, c, CIF_C_OPTS, CIF_NOMEM, lcifd, lmode, NULL, strcpy, strlist(), and token.

Here is the call graph for this function:

static int ascii_c_tag ( struct Cif_c_tag tag) [static]

Definition at line 1607 of file cifgetrec.c.

References _Cif_filetbl, _Cif_space, c, CIF_C_TAG, CIF_NOMEM, filltype(), lcifd, llist(), lmode, NULL, strcpy, and token.

Here is the call graph for this function:

static int ascii_callsite ( struct Cif_callsite cs) [static]

Definition at line 1651 of file cifgetrec.c.

References _Cif_space, CIF_CALLSITE, CIF_NOMEM, Cif_callsite::entryid, lcifd, NULL, SEPARATOR, and token.

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

Definition at line 4489 of file cifgetrec.c.

References _Cif_space, c, CIF_NOMEM, lcifd, lmode, NULL, strcpy, and token.

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

Definition at line 4572 of file cifgetrec.c.

References _Cif_space, c, CIF_NOMEM, lcifd, lmode, NULL, strcpy, and token.

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

Definition at line 4597 of file cifgetrec.c.

References token.

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

Definition at line 4535 of file cifgetrec.c.

References _Cif_space, c, CIF_NOMEM, lcifd, lmode, NULL, strcpy, and token.

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

Definition at line 4560 of file cifgetrec.c.

References token.

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

Definition at line 2898 of file cifgetrec.c.

References _Cif_space, and token.

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

Definition at line 2919 of file cifgetrec.c.

References _Cif_space, c, and token.

static int ascii_cifhdr ( struct Cif_cifhdr hdr) [static]
static int ascii_comblk ( struct Cif_comblk cb) [static]

Definition at line 1728 of file cifgetrec.c.

References _Cif_filetbl, _Cif_space, c, CIF_COMBLK, CIF_NOMEM, lcifd, lmode, NULL, strcpy, and token.

static int ascii_const ( struct Cif_const con) [static]
static int ascii_continuation ( struct Cif_continuation *  co) [static]

Definition at line 3010 of file cifgetrec.c.

References c, and token.

static int ascii_edopts ( struct Cif_edopts eo) [static]

Definition at line 1916 of file cifgetrec.c.

References CIF_EDOPTS, NULL, Cif_edopts::opts, and token.

static int ascii_endunit ( struct Cif_endunit eu) [static]

Definition at line 3893 of file cifgetrec.c.

References _Cif_space, c, CIF_ENDUNIT, CIF_NOMEM, lcifd, lmode, NULL, strcpy, and token.

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 3652 of file cifgetrec.c.

References token.

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

Definition at line 3026 of file cifgetrec.c.

References _Cif_space, c, CIF_NOMEM, lcifd, NULL, SEPARATOR, and token.

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

Definition at line 3107 of file cifgetrec.c.

References _Cif_space, c, CIF_NOMEM, lcifd, lmode, NULL, strcpy, and token.

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

Definition at line 3132 of file cifgetrec.c.

References _Cif_space, c, CIF_NOMEM, lcifd, lmode, NULL, strcpy, and token.

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

Definition at line 3255 of file cifgetrec.c.

References _Cif_filetbl, _Cif_space, c, CIF_NOMEM, lcifd, len, lmode, NULL, SEPARATOR, strcpy, and token.

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

Definition at line 3668 of file cifgetrec.c.

References token.

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

Definition at line 3785 of file cifgetrec.c.

References _Cif_filetbl, _Cif_space, c, CIF_NOMEM, lcifd, lmode, NULL, SEPARATOR, strcpy, and token.

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

Definition at line 3331 of file cifgetrec.c.

References _Cif_space, c, CIF_NOMEM, lcifd, lmode, NULL, strcpy, and token.

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

Definition at line 3223 of file cifgetrec.c.

References SEPARATOR, and token.

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

Definition at line 3546 of file cifgetrec.c.

References _Cif_space, c, CIF_NOMEM, lcifd, llist(), lmode, NULL, SEPARATOR, strcpy, strlist(), and token.

Here is the call graph for this function:

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

Definition at line 3351 of file cifgetrec.c.

References _Cif_space, c, CIF_NOMEM, lcifd, lmode, NULL, strcpy, and token.

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

Definition at line 3627 of file cifgetrec.c.

References _Cif_space, CIF_NOMEM, lcifd, NULL, and token.

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

Definition at line 3726 of file cifgetrec.c.

References _Cif_space, c, CIF_NOMEM, lcifd, lmode, NULL, strcpy, and token.

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 3715 of file cifgetrec.c.

References token.

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

Definition at line 3862 of file cifgetrec.c.

References fprintf().

Here is the call graph for this function:

static int ascii_file ( struct Cif_file file) [static]
static int ascii_geometry ( struct Cif_geometry *  geom) [static]

Definition at line 2953 of file cifgetrec.c.

References _Cif_space, c, CIF_NOMEM, lcifd, lmode, NULL, strcpy, token, and Cif_geometry_dim_entry::weight.

static int ascii_include ( struct Cif_include inc) [static]

Definition at line 2035 of file cifgetrec.c.

References CIF_INCLUDE, Cif_include::srcid, and token.

static int ascii_label ( struct Cif_label label) [static]

Definition at line 2047 of file cifgetrec.c.

References _Cif_space, c, CIF_LABEL, CIF_NOMEM, lcifd, lmode, NULL, strcpy, and token.

static int ascii_loop ( struct Cif_loop loop) [static]

Definition at line 2066 of file cifgetrec.c.

References CIF_LOOP, Cif_loop::lptype, SEPARATOR, and token.

static int ascii_message ( struct Cif_message msg) [static]

Definition at line 2271 of file cifgetrec.c.

References _Cif_filetbl, _Cif_space, c, CIF_MESSAGE, CIF_NOMEM, lcifd, lmode, NULL, SEPARATOR, strcpy, strlist(), and token.

Here is the call graph for this function:

static int ascii_misc_opts ( struct Cif_misc_opts mo) [static]

Definition at line 2347 of file cifgetrec.c.

References _Cif_filetbl, _Cif_space, c, CIF_MISC_OPTS, CIF_NOMEM, lcifd, llist(), lmode, NULL, SEPARATOR, strcpy, strlist(), and token.

Here is the call graph for this function:

static int ascii_namelist ( struct Cif_namelist nl) [static]

Definition at line 2501 of file cifgetrec.c.

References _Cif_space, c, CIF_NAMELIST, CIF_NOMEM, lcifd, lmode, NULL, strcpy, and token.

static int ascii_nd_msg ( struct Cif_nd_msg nmsg) [static]

Definition at line 2527 of file cifgetrec.c.

References CIF_ND_MSG, CIF_NOMEM, Cif_nd_msg::severity, strlist(), and token.

Here is the call graph for this function:

static int ascii_opt_opts ( struct Cif_opt_opts oo) [static]

Definition at line 2786 of file cifgetrec.c.

References _Cif_filetbl, CIF_OOF_INLINE, CIF_OPT_OPTS, NULL, token, and Cif_opt_opts::values.

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

Definition at line 4637 of file cifgetrec.c.

References _Cif_space, c, CIF_NOMEM, lcifd, lmode, NULL, strcpy, and token.

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

Definition at line 4611 of file cifgetrec.c.

References token.

static int ascii_srcfile ( struct Cif_srcfile src) [static]

Definition at line 2827 of file cifgetrec.c.

References CIF_SRCFILE, Cif_srcfile::fid, 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 2881 of file cifgetrec.c.

References CIF_SUMMARY, strcpy, and token.

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

Definition at line 2840 of file cifgetrec.c.

References token.

static int ascii_unit ( struct Cif_unit unit) [static]

Definition at line 3874 of file cifgetrec.c.

References _Cif_space, c, CIF_NOMEM, CIF_UNIT, lcifd, lmode, NULL, strcpy, and token.

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

Definition at line 356 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 1085 of file cifgetrec.c.

References _Cif_space, aptr, c, CIF_NOMEM, lcifd, NULL, and token.

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

static char* token ( ) [static]

Definition at line 334 of file cifgetrec.c.

References ntoken, NULL, and SEPARATOR.


Variable Documentation

Definition at line 306 of file cifgetrec.c.

Referenced by binary_record(), and Cif_Recgroup().

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

Definition at line 138 of file cifgetrec.c.

Referenced by ascii_cifhdr(), and Cif_Getrecord().

int global_msgfid = -1 [static]

Definition at line 320 of file cifgetrec.c.

char* ntoken [static]

Definition at line 332 of file cifgetrec.c.

Referenced by ascii_usage(), and token().

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

Definition at line 37 of file cifgetrec.c.

short valid_record[CIF_MAXRECORD] [static]

Definition at line 225 of file cifgetrec.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines