Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
Go to the source code of this file.
Classes | |
struct | _Cif_Mem_Area |
struct | _Cif_File_Tbl |
Defines | |
#define | const |
#define | IO_ERROR |
#define | NO 0 |
#define | YES 1 |
#define | NOT_A_CIF 0 /* invalid or unknown cif format */ |
#define | ASCII_CIF 1 /* ASCII file format indicator */ |
#define | BINARY_CIF 2 /* binary file format indicator */ |
#define | ASCII_CIF_FORMAT 0 |
#define | BINARY_CIF_FORMAT 1 |
#define | CIF_FT_SIZE 10 /* no. of entries in _Cif_Filetbl */ |
#define | CIF_BUFSIZE 8192 /* size of record input buffer */ |
#define | SEPARATOR '\036' /* record separator = CNTL-^ */ |
#define | BINARY_HDR_LEN 7 /* no. chars in binary file header */ |
#define | CO_ATTR_IMPTYPE 0x01 |
#define | CO_ATTR_CHAR 0x02 |
#define | CO_ATTR_DIM 0x04 |
#define | CO_ATTR_SAVE 0x08 |
#define | CO_ATTR_DATA 0x10 |
#define | CO_ATTR_EQUIV 0x20 |
#define | CO_ATTR_AUTO 0x40 |
#define | CO_ATTR_PE_RESIDENT 0x80 |
#define | CO_ATTR_POINTEE 0x100 |
#define | CO_ATTR_ARRAY_DEC 0x200 |
#define | CO_ATTR_GEOM_DEC 0x400 |
#define | F90_CO_ATTR_IMPTYPE 0x01 |
#define | F90_CO_ATTR_POINTEE 0x02 |
#define | F90_CO_ATTR_DEF_TYPE 0x04 |
#define | F90_CO_ATTR_STAR_TYPE 0x08 |
#define | F90_CO_ATTR_KIND_TYPE 0x10 |
#define | F90_CO_ATTR_SAVE 0x20 |
#define | F90_CO_ATTR_DATA 0x40 |
#define | F90_CO_ATTR_EQUIV 0x80 |
#define | F90_CO_ATTR_ARRAY_DEC 0x100 |
#define | F90_CO_ATTR_GEOM_DEC 0x200 |
#define | F90_CO_ATTR_PE_RESIDENT 0x400 |
#define | F90_CO_ATTR_ALLOCATABLE 0x800 |
#define | F90_CO_ATTR_INTENTIN 0x1000 |
#define | F90_CO_ATTR_INTENTOUT 0x2000 |
#define | F90_CO_ATTR_INTENTINOUT 0x4000 |
#define | F90_CO_ATTR_OPTIONAL 0x8000 |
#define | F90_CO_ATTR_POINTER 0x10000 |
#define | F90_CO_ATTR_PRIVATE 0x20000 |
#define | F90_CO_ATTR_TARGET 0x40000 |
#define | F90_CO_ATTR_LOCAL_NAME 0x80000 |
#define | SC_ATTR_IMPNONE 0x01 |
#define | SC_ATTR_IO 0x02 |
#define | SC_ATTR_CALL 0x04 |
#define | SC_ATTR_CMIC 0x08 |
#define | EN_ATTR_IMPTYPE 0x01 |
#define | EN_ATTR_CHAR 0x02 |
#define | EN_ATTR_DIM 0x04 |
#define | EN_ATTR_INTRIN 0x08 |
#define | EN_ATTR_EXTERN 0x10 |
#define | EN_ATTR_STMTF 0x20 |
#define | EN_ATTR_RECUR 0x40 |
#define | F90_EN_ATTR_DEFINED 0x01 |
#define | F90_EN_ATTR_INT_BLOCK 0x02 |
#define | F90_EN_ATTR_ALT_ENTRY 0x04 |
#define | F90_EN_ATTR_USE 0x04 |
#define | F90_EN_ATTR_REFERENCED 0x08 |
#define | F90_EN_ATTR_OPTIONAL 0x10 |
#define | F90_EN_ATTR_PRIVATE 0x20 |
#define | F90_EN_ATTR_RECUR 0x40 |
#define | CIF_MEM_BUMP 50 /* number of entries to add/increas */ |
Functions | |
int _Cif_binary_map_version | __ ((int rtype, struct Cif_generic *map_buffer, struct Cif_generic *cr)) |
int _Cif_Open | __ ((char *, char *, int *, int)) |
int _Cif_binread | __ ((int, int, struct Cif_generic *, FILE *)) |
int _Cif_mementry | __ ((unsigned int)) |
int _Cif_memtbl | __ (()) |
Variables | |
int | _Cif_memasize |
struct _Cif_Mem_Area * | _Cif_memarea |
struct _Cif_File_Tbl | _Cif_filetbl [CIF_FT_SIZE] |
struct Cif_generic * | _cif_map_buffer |
int | _cif_version |
const short | _Cif_structsize [CIF_MAXRECORD][_CIF_INT_VERSION+1] |
const short | _Cif_shortsize [CIF_MAXRECORD][_CIF_INT_VERSION+1] |
const int | _Cif_f90_to_f77_dtypes [] |
char *(* | _Cif_space [])() |
#define ASCII_CIF 1 /* ASCII file format indicator */ |
Definition at line 62 of file cif_int.h.
Referenced by Cif_Getfiledir(), Cif_Getrecord(), Cif_Getunitdir(), Cif_Open(), and Cif_Recgroup().
#define ASCII_CIF_FORMAT 0 |
Definition at line 70 of file cif_int.h.
Referenced by ascii_cifhdr().
#define BINARY_CIF 2 /* binary file format indicator */ |
Definition at line 63 of file cif_int.h.
Referenced by Cif_Open(), and Cif_Setpos().
#define BINARY_CIF_FORMAT 1 |
Definition at line 71 of file cif_int.h.
Referenced by _Cif_binread().
#define BINARY_HDR_LEN 7 /* no. chars in binary file header */ |
Definition at line 78 of file cif_int.h.
Referenced by Cif_Getfiledir(), and Cif_Setpos().
#define CIF_BUFSIZE 8192 /* size of record input buffer */ |
Definition at line 76 of file cif_int.h.
Referenced by ascii_usage(), Cif_Getrecord(), Cif_Memmode(), and Cif_Open().
#define CIF_FT_SIZE 10 /* no. of entries in _Cif_Filetbl */ |
Definition at line 75 of file cif_int.h.
Referenced by Cif_Close(), Cif_Filename(), Cif_Getfiledir(), Cif_Getpos(), Cif_Getrecord(), Cif_Getunitdir(), Cif_Memmode(), Cif_Open(), Cif_Printinfo(), Cif_Putrecord(), Cif_Recgroup(), Cif_Release(), and Cif_Setpos().
#define CIF_MEM_BUMP 50 /* number of entries to add/increas */ |
Definition at line 145 of file cif_int.h.
Referenced by _Cif_mementry(), and _Cif_memtbl().
#define CO_ATTR_ARRAY_DEC 0x200 |
Definition at line 90 of file cif_int.h.
Referenced by ascii_object().
#define CO_ATTR_AUTO 0x40 |
Definition at line 87 of file cif_int.h.
Referenced by ascii_object().
#define CO_ATTR_CHAR 0x02 |
Definition at line 82 of file cif_int.h.
Referenced by ascii_const(), and ascii_object().
#define CO_ATTR_DATA 0x10 |
Definition at line 85 of file cif_int.h.
Referenced by ascii_object().
#define CO_ATTR_DIM 0x04 |
Definition at line 83 of file cif_int.h.
Referenced by ascii_const(), and ascii_object().
#define CO_ATTR_EQUIV 0x20 |
Definition at line 86 of file cif_int.h.
Referenced by ascii_object().
#define CO_ATTR_GEOM_DEC 0x400 |
Definition at line 91 of file cif_int.h.
Referenced by ascii_object().
#define CO_ATTR_IMPTYPE 0x01 |
Definition at line 81 of file cif_int.h.
Referenced by ascii_const(), and ascii_object().
#define CO_ATTR_PE_RESIDENT 0x80 |
Definition at line 88 of file cif_int.h.
Referenced by ascii_object().
#define CO_ATTR_POINTEE 0x100 |
Definition at line 89 of file cif_int.h.
Referenced by ascii_object().
#define CO_ATTR_SAVE 0x08 |
Definition at line 84 of file cif_int.h.
Referenced by ascii_object().
#define EN_ATTR_CHAR 0x02 |
Definition at line 126 of file cif_int.h.
Referenced by ascii_entry().
#define EN_ATTR_DIM 0x04 |
#define EN_ATTR_EXTERN 0x10 |
Definition at line 129 of file cif_int.h.
Referenced by ascii_entry().
#define EN_ATTR_IMPTYPE 0x01 |
Definition at line 125 of file cif_int.h.
Referenced by ascii_entry().
#define EN_ATTR_INTRIN 0x08 |
Definition at line 128 of file cif_int.h.
Referenced by ascii_entry().
#define EN_ATTR_RECUR 0x40 |
Definition at line 131 of file cif_int.h.
Referenced by ascii_entry().
#define EN_ATTR_STMTF 0x20 |
Definition at line 130 of file cif_int.h.
Referenced by ascii_entry().
#define F90_CO_ATTR_ALLOCATABLE 0x800 |
Definition at line 108 of file cif_int.h.
Referenced by ascii_f90_object().
#define F90_CO_ATTR_ARRAY_DEC 0x100 |
Definition at line 104 of file cif_int.h.
Referenced by ascii_f90_object().
#define F90_CO_ATTR_DATA 0x40 |
Definition at line 101 of file cif_int.h.
Referenced by ascii_f90_object().
#define F90_CO_ATTR_DEF_TYPE 0x04 |
Definition at line 96 of file cif_int.h.
Referenced by ascii_f90_object().
#define F90_CO_ATTR_EQUIV 0x80 |
Definition at line 102 of file cif_int.h.
Referenced by ascii_f90_object().
#define F90_CO_ATTR_GEOM_DEC 0x200 |
Definition at line 105 of file cif_int.h.
Referenced by ascii_f90_object().
#define F90_CO_ATTR_IMPTYPE 0x01 |
Definition at line 94 of file cif_int.h.
Referenced by ascii_f90_object().
#define F90_CO_ATTR_INTENTIN 0x1000 |
Definition at line 109 of file cif_int.h.
Referenced by ascii_f90_object().
#define F90_CO_ATTR_INTENTINOUT 0x4000 |
Definition at line 111 of file cif_int.h.
Referenced by ascii_f90_object().
#define F90_CO_ATTR_INTENTOUT 0x2000 |
Definition at line 110 of file cif_int.h.
Referenced by ascii_f90_object().
#define F90_CO_ATTR_KIND_TYPE 0x10 |
Definition at line 98 of file cif_int.h.
Referenced by ascii_f90_object().
#define F90_CO_ATTR_LOCAL_NAME 0x80000 |
Definition at line 116 of file cif_int.h.
Referenced by ascii_f90_object().
#define F90_CO_ATTR_OPTIONAL 0x8000 |
Definition at line 112 of file cif_int.h.
Referenced by ascii_f90_object().
#define F90_CO_ATTR_PE_RESIDENT 0x400 |
Definition at line 106 of file cif_int.h.
Referenced by ascii_f90_object().
#define F90_CO_ATTR_POINTEE 0x02 |
Definition at line 95 of file cif_int.h.
Referenced by ascii_f90_object().
#define F90_CO_ATTR_POINTER 0x10000 |
Definition at line 113 of file cif_int.h.
Referenced by ascii_f90_object().
#define F90_CO_ATTR_PRIVATE 0x20000 |
Definition at line 114 of file cif_int.h.
Referenced by ascii_f90_object().
#define F90_CO_ATTR_SAVE 0x20 |
Definition at line 100 of file cif_int.h.
Referenced by ascii_f90_object().
#define F90_CO_ATTR_STAR_TYPE 0x08 |
Definition at line 97 of file cif_int.h.
Referenced by ascii_f90_object().
#define F90_CO_ATTR_TARGET 0x40000 |
Definition at line 115 of file cif_int.h.
Referenced by ascii_f90_object().
#define F90_EN_ATTR_ALT_ENTRY 0x04 |
#define F90_EN_ATTR_DEFINED 0x01 |
Definition at line 135 of file cif_int.h.
Referenced by ascii_f90_entry().
#define F90_EN_ATTR_INT_BLOCK 0x02 |
Definition at line 136 of file cif_int.h.
Referenced by ascii_f90_entry().
#define F90_EN_ATTR_OPTIONAL 0x10 |
Definition at line 140 of file cif_int.h.
Referenced by ascii_f90_entry().
#define F90_EN_ATTR_PRIVATE 0x20 |
Definition at line 141 of file cif_int.h.
Referenced by ascii_f90_entry().
#define F90_EN_ATTR_RECUR 0x40 |
Definition at line 142 of file cif_int.h.
Referenced by ascii_f90_entry().
#define F90_EN_ATTR_REFERENCED 0x08 |
Definition at line 139 of file cif_int.h.
Referenced by ascii_f90_entry().
#define F90_EN_ATTR_USE 0x04 |
Definition at line 138 of file cif_int.h.
Referenced by ascii_f90_entry().
#define IO_ERROR |
{ \ if (feof(fd)) return (CIF_BADFORM); \ else return (CIF_SYSERR); \ }
Definition at line 51 of file cif_int.h.
Referenced by _Cif_binread(), binary_record(), Cif_Getfiledir(), Cif_Getunitdir(), Cif_Open(), Cif_Recgroup(), and read_strlist().
Definition at line 61 of file cif_int.h.
Referenced by Cif_Close(), Cif_Filename(), Cif_Getfiledir(), Cif_Getpos(), Cif_Getrecord(), Cif_Getunitdir(), Cif_Memmode(), Cif_Open(), Cif_Printinfo(), Cif_Putrecord(), Cif_Recgroup(), Cif_Release(), and Cif_Setpos().
#define SC_ATTR_CALL 0x04 |
Definition at line 121 of file cif_int.h.
Referenced by ascii_f90_scope_info().
#define SC_ATTR_CMIC 0x08 |
Definition at line 122 of file cif_int.h.
Referenced by ascii_f90_scope_info().
#define SC_ATTR_IMPNONE 0x01 |
Definition at line 119 of file cif_int.h.
Referenced by ascii_f90_scope_info().
#define SC_ATTR_IO 0x02 |
Definition at line 120 of file cif_int.h.
Referenced by ascii_f90_scope_info().
Definition at line 77 of file cif_int.h.
Referenced by ascii_c_const(), ascii_c_entry(), ascii_c_object(), ascii_callsite(), ascii_const(), ascii_f90_callsite(), ascii_f90_derived_type(), ascii_f90_int_block(), ascii_f90_loop(), ascii_f90_misc_opts(), ascii_f90_scope_info(), ascii_f90_usage(), ascii_file(), ascii_loop(), ascii_mach_char(), ascii_message(), ascii_misc_opts(), ascii_srcfile(), ascii_usage(), Cif_Open(), and token().
int _Cif_binary_map_version __ | ( | (int rtype, struct Cif_generic *map_buffer, struct Cif_generic *cr) | ) |
int _Cif_Open __ | ( | (char *, char *, int *, int) | ) |
int _Cif_binread __ | ( | (int, int, struct Cif_generic *, FILE *) | ) |
int _Cif_mementry __ | ( | (unsigned int) | ) |
int _Cif_memtbl __ | ( | () | ) |
const int _Cif_f90_to_f77_dtypes[] |
Definition at line 261 of file cifdata.c.
Referenced by ascii_f90_object().
struct _Cif_File_Tbl _Cif_filetbl[CIF_FT_SIZE] |
Referenced by _Cif_binary_map_version(), _Cif_binread(), _Cif_fixed_space(), _Cif_managed_space(), ascii_BE_node(), ascii_c_entry(), ascii_c_message(), ascii_c_object(), ascii_c_tag(), ascii_cifhdr(), ascii_comblk(), ascii_const(), ascii_f90_derived_type(), ascii_f90_int_block(), ascii_f90_object(), ascii_f90_usage(), ascii_file(), ascii_mach_char(), ascii_message(), ascii_misc_opts(), ascii_object(), ascii_opt_opts(), ascii_stmt_type(), ascii_usage(), binary_record(), Cif_Cifconv(), Cif_Close(), Cif_Filename(), Cif_Getfiledir(), Cif_Getpos(), Cif_Getrecord(), Cif_Getunitdir(), Cif_Lines(), Cif_Memmode(), Cif_Open(), Cif_Printinfo(), Cif_Putrecord(), Cif_Recgroup(), Cif_Release(), Cif_Setpos(), and read_strlist().
struct Cif_generic* _cif_map_buffer |
Definition at line 306 of file cifgetrec.c.
Referenced by binary_record(), and Cif_Recgroup().
struct _Cif_Mem_Area* _Cif_memarea |
int _Cif_memasize |
Referenced by _Cif_mementry(), _Cif_memtbl(), Cif_Memmode(), and Cif_Printinfo().
const short _Cif_shortsize[CIF_MAXRECORD][_CIF_INT_VERSION+1] |
Definition at line 155 of file cifdata.c.
Referenced by _Cif_binary_map_version(), _Cif_binread(), binary_record(), Cif_Getfiledir(), Cif_Getunitdir(), Cif_Putrecord(), and Cif_Recgroup().
char*(* _Cif_space[])() |
Definition at line 301 of file cifdata.c.
Referenced by _Cif_binread(), 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_cdir(), ascii_cdir_doshared(), 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(), Cif_Getfiledir(), Cif_Getrecord(), Cif_Getunitdir(), Cif_Recgroup(), filltype(), llist(), read_strlist(), and strlist().
const short _Cif_structsize[CIF_MAXRECORD][_CIF_INT_VERSION+1] |
Definition at line 59 of file cifdata.c.
Referenced by binary_record(), Cif_Duplicate(), Cif_Getfiledir(), Cif_Getrecord(), Cif_Getunitdir(), Cif_Putrecord(), and Cif_Recgroup().
int _cif_version |
Definition at line 88 of file cifopen.c.
Referenced by Cif_Cifconv(), Cif_Cifconv_V2_1(), Cif_Cifconv_V3_1(), Cif_Duplicate(), Cif_Free(), Cif_Lines(), Cif_Lines_V2_1(), Cif_Lines_V3_1(), Cif_Msginsert(), Cif_Open(), Cif_Open_V1(), Cif_Open_V2(), Cif_Open_V2_1(), Cif_Open_V3_1(), and comp_stmt_type().