Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
cif_int.h File Reference
This graph shows which files directly or indirectly include this file:

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 Documentation

#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_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 const

Definition at line 48 of file cif_int.h.

#define EN_ATTR_CHAR   0x02

Definition at line 126 of file cif_int.h.

Referenced by ascii_entry().

#define EN_ATTR_DIM   0x04

Definition at line 127 of file cif_int.h.

#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

Definition at line 137 of file cif_int.h.

#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
Value:
{ \
        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().

#define NO   0

Definition at line 57 of file cif_int.h.

#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().

#define YES   1

Definition at line 58 of file cif_int.h.


Function Documentation

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 __ ( ()  )

Variable Documentation

Definition at line 261 of file cifdata.c.

Referenced by ascii_f90_object().

Definition at line 306 of file cifgetrec.c.

Referenced by binary_record(), and Cif_Recgroup().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines