Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#include <cif.h>
#include <stdlib.h>
#include <memory.h>
#include <stdio.h>
#include <string.h>
#include "cif_int.h"
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 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().
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] |
int _Cif_binary_map_version | ( | int | rtype, |
struct Cif_generic * | map_buffer, | ||
struct Cif_generic * | cr | ||
) |
Definition at line 487 of file cifgetrec.c.
References _Cif_filetbl, _Cif_shortsize, Cif_c_entry::btype, CIF_C_ENTRY, CIF_C_MESSAGE, CIF_C_OBJECT, CIF_C_TAG, CIF_COMBLK, CIF_CONST, CIF_FILE, CIF_MACH_CHAR, CIF_MESSAGE, CIF_MISC_OPTS, CIF_OBJECT, CIF_OPT_OPTS, CIF_ST_STATIC, CIF_STMT_TYPE, CIF_USAGE, CIFSTMT, Cif_c_object::entity, Cif_c_tag::entity, if(), lcifd, Cif_c_object::mods, Cif_c_object::name, Cif_c_entry::nargs, Cif_c_entry::nlen, Cif_c_entry::nmods, NULL, Cif_c_entry::ptype, Cif_c_entry::qual, Cif_generic::rectype, Cif_c_entry::rectype, _Cif_File_Tbl::return_version, Cif_c_entry::retvalue, Cif_c_entry::scope, Cif_object::storage, Cif_c_entry::symclass, Cif_c_entry::symid, Cif_opt_opts::values, and Cif_c_entry::varargs.
Referenced by binary_record(), and Cif_Recgroup().
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.
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.
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.
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.
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.
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_cc_type | ( | struct Cif_cc_type * | spos | ) | [static] |
Definition at line 4399 of file cifgetrec.c.
References _Cif_space, c, CIF_CCT_ARRAY, CIF_CCT_CLASS, CIF_CCT_COMPLEX, CIF_CCT_ENUM, CIF_CCT_FLOAT, CIF_CCT_FUNCTION, CIF_CCT_INT, CIF_CCT_POINTER, CIF_CCT_PTRMEM, CIF_CCT_QUALIFIED, CIF_CCT_STRUCT, CIF_CCT_TEMPAR, CIF_CCT_TYPEDEF, CIF_CCT_UNION, CIF_NOMEM, lcifd, lmode, NULL, strcpy, and 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] |
Definition at line 1676 of file cifgetrec.c.
References _Cif_filetbl, ASCII_CIF_FORMAT, ascii_f90_usage(), ascii_record, ascii_usage(), CIF_CIFHDR, CIF_LG_F90, CIF_USAGE, lang, _Cif_File_Tbl::lang, lcifd, _Cif_File_Tbl::seek, _Cif_File_Tbl::srcfid, strcpy, and token.
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] |
Definition at line 1790 of file cifgetrec.c.
References _Cif_filetbl, _Cif_space, c, CIF_CONST, CIF_NOMEM, CO_ATTR_CHAR, CO_ATTR_DIM, CO_ATTR_IMPTYPE, lcifd, lmode, NULL, SEPARATOR, strcpy, and token.
static int ascii_continuation | ( | struct Cif_continuation * | co | ) | [static] |
Definition at line 3010 of file cifgetrec.c.
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] |
Definition at line 1925 of file cifgetrec.c.
References _Cif_space, c, CIF_ENTRY, CIF_NOMEM, EN_ATTR_CHAR, EN_ATTR_EXTERN, EN_ATTR_IMPTYPE, EN_ATTR_INTRIN, EN_ATTR_RECUR, EN_ATTR_STMTF, lcifd, len, lmode, NULL, strcpy, and token.
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_entry | ( | struct Cif_f90_entry * | entry | ) | [static] |
Definition at line 3165 of file cifgetrec.c.
References _Cif_space, c, CIF_NOMEM, F90_EN_ATTR_DEFINED, F90_EN_ATTR_INT_BLOCK, F90_EN_ATTR_OPTIONAL, F90_EN_ATTR_PRIVATE, F90_EN_ATTR_RECUR, F90_EN_ATTR_REFERENCED, F90_EN_ATTR_USE, lcifd, len, lmode, NULL, strcpy, and 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.
static int ascii_f90_misc_opts | ( | struct Cif_f90_misc_opts * | mo | ) | [static] |
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_object | ( | struct Cif_f90_object * | obj | ) | [static] |
Definition at line 3379 of file cifgetrec.c.
References _Cif_f90_to_f77_dtypes, _Cif_filetbl, _Cif_space, c, CIF_DM_ASSUMED, CIF_DM_CONSTANT, CIF_DM_EXPR, CIF_NOMEM, F90_CO_ATTR_ALLOCATABLE, F90_CO_ATTR_ARRAY_DEC, F90_CO_ATTR_DATA, F90_CO_ATTR_DEF_TYPE, F90_CO_ATTR_EQUIV, F90_CO_ATTR_GEOM_DEC, F90_CO_ATTR_IMPTYPE, F90_CO_ATTR_INTENTIN, F90_CO_ATTR_INTENTINOUT, F90_CO_ATTR_INTENTOUT, F90_CO_ATTR_KIND_TYPE, F90_CO_ATTR_LOCAL_NAME, F90_CO_ATTR_OPTIONAL, F90_CO_ATTR_PE_RESIDENT, F90_CO_ATTR_POINTEE, F90_CO_ATTR_POINTER, F90_CO_ATTR_PRIVATE, F90_CO_ATTR_SAVE, F90_CO_ATTR_STAR_TYPE, F90_CO_ATTR_TARGET, lcifd, lmode, Cif_dim::lower, Cif_dim::ltype, NULL, strcpy, token, Cif_dim::upper, and Cif_dim::utype.
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] |
Definition at line 3681 of file cifgetrec.c.
References _Cif_space, CIF_NOMEM, lcifd, NULL, SC_ATTR_CALL, SC_ATTR_CMIC, SC_ATTR_IMPNONE, SC_ATTR_IO, SEPARATOR, and token.
static int ascii_f90_usage | ( | struct Cif_usage * | usage | ) | [static] |
Definition at line 4180 of file cifgetrec.c.
References _Cif_filetbl, _Cif_space, CIF_USAGE, Cif_use::cpos, Cif_use::fid, lcifd, Cif_use::line, NULL, SEPARATOR, token, and Cif_use::utype.
Referenced by ascii_cifhdr().
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().
static int ascii_file | ( | struct Cif_file * | file | ) | [static] |
Definition at line 1976 of file cifgetrec.c.
References _Cif_filetbl, _Cif_space, c, CIF_FILE, CIF_LG_F77, CIF_MAXRECORD, CIF_NOMEM, lang, lcifd, len, lmode, NULL, _Cif_File_Tbl::return_version, SEPARATOR, strcpy, and token.
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] |
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_mach_char | ( | struct Cif_mach_char * | mc | ) | [static] |
Definition at line 2109 of file cifgetrec.c.
References _Cif_filetbl, CIF_LG_F77, CIF_MACH_CHAR, CIF_MC_AVL, CIF_MC_BDM, CIF_MC_CIGS, CIF_MC_EMA, CIF_MC_READVL, CIF_MC_TAILGT, CIF_MC_VPOP, CIF_MC_VRECUR, CIF_MCF_AVL, CIF_MCF_BDM, CIF_MCF_CIGS, CIF_MCF_EMA, CIF_MCF_READVL, CIF_MCF_TAILGT, CIF_MCF_VPOP, CIF_MCF_VRECUR, lang, NFORTCHARS, NULL, SEPARATOR, strcpy, 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.
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.
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.
static int ascii_object | ( | struct Cif_object * | obj | ) | [static] |
Definition at line 2552 of file cifgetrec.c.
References _Cif_filetbl, _Cif_space, c, CIF_DM_ASSUMED, CIF_DM_CONSTANT, CIF_DM_EXPR, CIF_NOMEM, CIF_OBJECT, CO_ATTR_ARRAY_DEC, CO_ATTR_AUTO, CO_ATTR_CHAR, CO_ATTR_DATA, CO_ATTR_DIM, CO_ATTR_EQUIV, CO_ATTR_GEOM_DEC, CO_ATTR_IMPTYPE, CO_ATTR_PE_RESIDENT, CO_ATTR_POINTEE, CO_ATTR_SAVE, lcifd, lmode, Cif_dim::lower, Cif_dim::ltype, NULL, strcpy, token, Cif_dim::upper, and Cif_dim::utype.
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] |
Definition at line 2851 of file cifgetrec.c.
References _Cif_filetbl, CIF_MAXRECORD, CIF_STMT_TYPE, _Cif_File_Tbl::return_version, token, and Cif_stmt_type::type.
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] |
static int ascii_usage | ( | struct Cif_usage * | usage | ) | [static] |
Definition at line 3912 of file cifgetrec.c.
References _Cif_filetbl, _Cif_space, c, CIF_BUFSIZE, Cif_Getpos(), CIF_LG_C, CIF_NOMEM, Cif_Setpos(), CIF_SYSERR, CIF_USAGE, compuse(), Cif_use::cpos, fd, Cif_use::fid, _Cif_File_Tbl::ifull, _Cif_File_Tbl::ip, lang, lcifd, Cif_use::line, ntoken, NULL, SEPARATOR, token, UBINCR, Cif_use::utype, and YES.
Referenced by ascii_cifhdr().
static int binary_record | ( | struct Cif_generic ** | cif_record, |
FILE * | fd | ||
) | [static] |
Definition at line 903 of file cifgetrec.c.
References _Cif_binary_map_version(), _Cif_binread(), _Cif_filetbl, _cif_map_buffer, _Cif_shortsize, _Cif_space, _Cif_structsize, CIF_BADFORM, CIF_EOF, Cif_Free(), CIF_MAXRECORD, CIF_MEM_INDIV, CIF_NOMEM, CIF_SYSERR, IO_ERROR, lcifd, NO, NULL, Cif_generic::rectype, _Cif_File_Tbl::return_version, size, stat, and _Cif_File_Tbl::version.
Referenced by Cif_Getrecord().
int Cif_Getrecord | ( | int | cifd, |
struct Cif_generic ** | cif_record | ||
) |
Definition at line 386 of file cifgetrec.c.
References _Cif_filetbl, _Cif_memarea, _Cif_space, _Cif_structsize, ASCII_CIF, ascii_record, binary_record(), CIF_BADREQ, CIF_BUFSIZE, CIF_EOF, Cif_Free(), CIF_FT_SIZE, CIF_MAXRECORD, CIF_MEM_DEFAULT, CIF_MEM_FIXED, CIF_MEM_INDIV, Cif_Memmode(), CIF_NOMEM, CIF_NOTOPEN, CIF_SYSERR, fd, _Cif_File_Tbl::fme, _Cif_File_Tbl::ifull, _Cif_File_Tbl::ip, _Cif_File_Tbl::mode, _Cif_Mem_Area::mused, NO, NOT_A_CIF, NULL, _Cif_File_Tbl::return_version, and token.
Referenced by Cif_Make_Cifconv(), Cif_Make_Lines(), cif_next_entry(), Cif_Open(), Cif_Recgroup(), copy_units(), print_buffered_messages(), and sortfile().
Definition at line 1126 of file cifgetrec.c.
References _Cif_space, c, CIF_NOMEM, CIF_TMC_ARRAY, CIF_TMC_FUNCNOPR, CIF_TMC_FUNCPRO, lcifd, len, Cif_tmod::mod, NO, NULL, token, Cif_tmod::val, and YES.
Referenced by ascii_c_entry(), ascii_c_object(), and ascii_c_tag().
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 int strlist | ( | char *** | args | ) | [static] |
Definition at line 1054 of file cifgetrec.c.
References _Cif_space, aptr, c, CIF_NOMEM, lcifd, len, lmode, NULL, strcpy, and token.
Referenced by ANL_FILE_MNGR::_General_Check(), ANL_FILE_MNGR::_Is_Open_Check(), ANL_FILE_MNGR::_Not_Open_Check(), ANL_FILE_MNGR::_Overwrite_Warning(), ascii_c_message(), ascii_c_opts(), ascii_f90_misc_opts(), ascii_message(), ascii_misc_opts(), and ascii_nd_msg().
static char* token | ( | ) | [static] |
Definition at line 334 of file cifgetrec.c.
struct Cif_generic* _cif_map_buffer = (struct Cif_generic *) NULL |
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().
char delim [static] |
Definition at line 333 of file cifgetrec.c.
Referenced by __OPN(), _INQ(), _ld_write(), _mr_scan_char(), _s_scan_extensions(), cc_get_stmt(), fixed_classify_line(), free_classify_line(), get_operand_digit(), get_operand_letter(), get_operand_quote(), and parse_cc_line().
int global_msgfid = -1 [static] |
Definition at line 320 of file cifgetrec.c.
int lcifd [static] |
Definition at line 309 of file cifgetrec.c.
Referenced by _Cif_binary_map_version(), ascii_BE_fid(), ascii_BE_node(), ascii_c_const(), ascii_c_entry(), ascii_c_entry_end(), ascii_c_lint_directive(), ascii_c_macro_def(), ascii_c_object(), ascii_c_opts(), ascii_c_tag(), ascii_callsite(), ascii_cc_entry(), ascii_cc_enum(), ascii_cc_obj(), ascii_cc_type(), ascii_cifhdr(), ascii_comblk(), ascii_const(), ascii_endunit(), ascii_entry(), ascii_f90_callsite(), ascii_f90_comblk(), ascii_f90_const(), ascii_f90_derived_type(), ascii_f90_entry(), ascii_f90_int_block(), ascii_f90_label(), ascii_f90_misc_opts(), ascii_f90_namelist(), ascii_f90_object(), ascii_f90_opt_opts(), ascii_f90_rename(), ascii_f90_scope_info(), ascii_f90_usage(), ascii_file(), ascii_geometry(), ascii_label(), ascii_message(), ascii_misc_opts(), ascii_namelist(), ascii_object(), ascii_orig_cmd(), ascii_unit(), ascii_usage(), binary_record(), filltype(), llist(), and strlist().
int lmode [static] |
Definition at line 310 of file cifgetrec.c.
Referenced by ascii_BE_node(), ascii_c_const(), ascii_c_entry(), ascii_c_entry_end(), ascii_c_lint_directive(), ascii_c_macro_def(), ascii_c_object(), ascii_c_opts(), ascii_c_tag(), ascii_cc_entry(), ascii_cc_enum(), ascii_cc_obj(), ascii_cc_type(), ascii_comblk(), ascii_const(), ascii_endunit(), ascii_entry(), ascii_f90_comblk(), ascii_f90_const(), ascii_f90_derived_type(), ascii_f90_entry(), ascii_f90_int_block(), ascii_f90_label(), ascii_f90_misc_opts(), ascii_f90_namelist(), ascii_f90_object(), ascii_f90_rename(), ascii_file(), ascii_geometry(), ascii_label(), ascii_message(), ascii_misc_opts(), ascii_namelist(), ascii_object(), ascii_orig_cmd(), ascii_unit(), and strlist().
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.