osprey/clibinc/cray/format.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Types

type  msg_entry
type  fmt_entry

Defines

#define NULL   0
#define FALSE   0
#define TRUE   1
#define PARSER_LEVEL   3
#define FIRST_DATA_ED   1
#define A_ED   1
#define B_ED   2
#define D_ED   3
#define E_ED   4
#define EN_ED   5
#define ES_ED   6
#define F_ED   7
#define G_ED   8
#define I_ED   9
#define L_ED   10
#define O_ED   11
#define R_ED   12
#define Z_ED   13
#define Q_ED   14
#define LAST_DATA_ED   14
#define FIRST_CNTL_ED   20
#define SLASH_ED   20
#define P_ED   21
#define STRING_ED   22
#define BN_ED   23
#define BZ_ED   24
#define COLON_ED   25
#define S_ED   26
#define SP_ED   27
#define SS_ED   28
#define TL_ED   29
#define TR_ED   30
#define T_ED   31
#define DOLLAR_ED   32
#define LAST_CNTL_ED   32
#define FIRST_OP   40
#define REPEAT_OP   40
#define ENDREP_OP   41
#define REVERT_OP   42
#define LAST_OP   42
#define END_OF_MESSAGES   0
#define FIRST_WARNING_MESSAGE   1
#define TRAILING_CHARS   1
#define FIRST_NON_ANSI_MESSAGE   10
#define ANSI_EMPTY_PAREN_MSG   10
#define ANSI_COMMA_REQ   11
#define COMMA_NON_ANSI   12
#define REP_SLASH_NON_ANSI   13
#define NON_ANSI_EDIT_DESCRIPTOR   14
#define MINUS_X_NON_ANSI   15
#define E_WITH_D_NON_ANSI   16
#define H_IS_OBSOLETE_IN_F90   17
#define NON_ANSI_NULL_DESCRIPTOR   18
#define ZERO_WIDTH_NON_ANSI   19
#define MISSING_WIDTH_NON_ANSI   20
#define LAST_NON_ANSI_MESSAGE   20
#define FIRST_FATAL_MESSAGE   30
#define EXPECTING_LEFT_PAREN   30
#define EXPECTING_RIGHT_PAREN   31
#define EXPECTING_INTEGER   32
#define EXPECTING_PERIOD   33
#define EXPECTING_P_OR_X   34
#define INVALID_REP_COUNT   35
#define ZERO_REP_COUNT   36
#define FIELD_WIDTH_ZERO   37
#define FIELD_TOO_LARGE   38
#define ZERO_OR_NO_HOLLERITH_CNT   39
#define UNKNOWN_EDIT_DESCRIPTOR   40
#define NONTERMINATED_LITERAL   41
#define UNABLE_TO_MALLOC_MEMORY   42
#define DW_IS_NON_ANSI   E_WITH_D_NON_ANSI
#define FALL   ~00
#define F77   001
#define F90   002
#define F95   004
#define LIB_CALL   0
#define COMPILER_CALL_ANSI   1
#define COMPILER_CALL_NO_ANSI   2
#define COMPILER_CALL_ANSI_77   3
#define COMPILER_CALL_ANSI_90   4
#define COMPILER_CALL_ANSI_95   5
#define MAX_CALL_FLAG   5
#define MAX_EXPONENT   077
#define MAX_FIELD_WIDTH   077777777
#define MAX_DECIMAL_FIELD   077777777
#define MAX_REP_COUNT   017777777777
#define FMT_ENTRY_BYTE_SIZE   sizeof(fmt_type)
#define FMT_ENTRY_WORD_SIZE   (sizeof(fmt_type)/sizeof(long))

Typedefs

typedef struct msg_entry msg_type
typedef struct fmt_entry fmt_type
typedef void _Error_function (const int _Msg_num, const int _Error_offset, const int _Edit_desc_offset)

Functions/Subroutines

fmt_type_parsfmt (_Error_function **_Msg_rtn, char *_Format_str, long int _Routine_caller, long int *_Fmt_str_len, msg_type *_Lib_err_msg)
fmt_type_fmt_parse (_Error_function **_Msg_rtn, char *_Format_str, long int _Routine_caller, long int *_Fmt_str_len, msg_type *_Lib_err_msg)


Define Documentation

#define A_ED   1

Definition at line 62 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wrfmt(), process_arl(), and process_paren_group().

#define ANSI_COMMA_REQ   11

Definition at line 142 of file format.h.

Referenced by process_p(), and process_paren_group().

#define ANSI_EMPTY_PAREN_MSG   10

Definition at line 141 of file format.h.

Referenced by emit_format_msg(), and process_paren_group().

#define B_ED   2

Definition at line 63 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wrfmt(), and process_paren_group().

#define BN_ED   23

Definition at line 82 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wrfmt(), and process_paren_group().

#define BZ_ED   24

Definition at line 83 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wrfmt(), and process_paren_group().

#define COLON_ED   25

Definition at line 84 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wrfmt(), and process_paren_group().

#define COMMA_NON_ANSI   12

Definition at line 143 of file format.h.

Referenced by process_paren_group().

#define COMPILER_CALL_ANSI   1

Definition at line 183 of file format.h.

Referenced by fmterr().

#define COMPILER_CALL_ANSI_77   3

Definition at line 185 of file format.h.

Referenced by fmterr().

#define COMPILER_CALL_ANSI_90   4

Definition at line 186 of file format.h.

Referenced by fmterr().

#define COMPILER_CALL_ANSI_95   5

Definition at line 187 of file format.h.

Referenced by fmterr(), and pre_parse_format().

#define COMPILER_CALL_NO_ANSI   2

Definition at line 184 of file format.h.

Referenced by fmterr(), and pre_parse_format().

#define D_ED   3

Definition at line 64 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wf_setup(), _wrfmt(), process_defg(), and process_paren_group().

#define DOLLAR_ED   32

Definition at line 91 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wrfmt(), and process_paren_group().

#define DW_IS_NON_ANSI   E_WITH_D_NON_ANSI

Definition at line 171 of file format.h.

#define E_ED   4

Definition at line 65 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wrfmt(), and process_paren_group().

#define E_WITH_D_NON_ANSI   16

Definition at line 147 of file format.h.

Referenced by emit_format_msg(), and process_defg().

#define EN_ED   5

Definition at line 66 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wrfmt(), and process_paren_group().

#define END_OF_MESSAGES   0

Definition at line 136 of file format.h.

#define ENDREP_OP   41

Definition at line 96 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wrfmt(), and process_paren_group().

#define ES_ED   6

Definition at line 67 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wrfmt(), and process_paren_group().

#define EXPECTING_INTEGER   32

#define EXPECTING_LEFT_PAREN   30

Definition at line 155 of file format.h.

Referenced by _fmt_parse().

#define EXPECTING_P_OR_X   34

Definition at line 159 of file format.h.

Referenced by process_minus(), and process_paren_group().

#define EXPECTING_PERIOD   33

Definition at line 158 of file format.h.

Referenced by process_defg().

#define EXPECTING_RIGHT_PAREN   31

Definition at line 156 of file format.h.

Referenced by emit_format_msg(), and process_paren_group().

#define F77   001

Definition at line 176 of file format.h.

Referenced by fmterr(), process_bioz(), process_defg(), and process_paren_group().

#define F90   002

Definition at line 177 of file format.h.

Referenced by fmterr(), process_bioz(), process_defg(), and process_paren_group().

#define F95   004

Definition at line 178 of file format.h.

Referenced by fmterr(), and process_paren_group().

#define F_ED   7

Definition at line 68 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wrfmt(), process_defg(), and process_paren_group().

#define FALL   ~00

#define FALSE   0

Definition at line 44 of file format.h.

#define FIELD_TOO_LARGE   38

#define FIELD_WIDTH_ZERO   37

Definition at line 162 of file format.h.

Referenced by nonzero_integer(), process_arl(), process_bioz(), process_defg(), and process_minus().

#define FIRST_CNTL_ED   20

Definition at line 78 of file format.h.

#define FIRST_DATA_ED   1

Definition at line 61 of file format.h.

Referenced by _rdfmt(), and _wrfmt().

#define FIRST_FATAL_MESSAGE   30

Definition at line 154 of file format.h.

Referenced by fmterr().

#define FIRST_NON_ANSI_MESSAGE   10

Definition at line 140 of file format.h.

Referenced by fmterr().

#define FIRST_OP   40

Definition at line 94 of file format.h.

#define FIRST_WARNING_MESSAGE   1

Definition at line 137 of file format.h.

#define FMT_ENTRY_BYTE_SIZE   sizeof(fmt_type)

#define FMT_ENTRY_WORD_SIZE   (sizeof(fmt_type)/sizeof(long))

Definition at line 235 of file format.h.

Referenced by _dumppfmt(), and _fmt_parse().

#define G_ED   8

Definition at line 69 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wf_setup(), _wrfmt(), and process_paren_group().

#define H_IS_OBSOLETE_IN_F90   17

Definition at line 148 of file format.h.

Referenced by emit_format_msg(), and process_paren_group().

#define I_ED   9

Definition at line 70 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wrfmt(), and process_paren_group().

#define INVALID_REP_COUNT   35

Definition at line 160 of file format.h.

Referenced by emit_format_msg(), and process_paren_group().

#define L_ED   10

Definition at line 71 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wrfmt(), and process_paren_group().

#define LAST_CNTL_ED   32

Definition at line 92 of file format.h.

#define LAST_DATA_ED   14

Definition at line 76 of file format.h.

Referenced by _rdfmt(), and _wrfmt().

#define LAST_NON_ANSI_MESSAGE   20

Definition at line 152 of file format.h.

#define LAST_OP   42

Definition at line 98 of file format.h.

Referenced by _rdfmt(), and _wrfmt().

#define LIB_CALL   0

Definition at line 182 of file format.h.

Referenced by _fmt_parse(), _parse(), fmterr(), process_paren_group(), and recover().

#define MAX_CALL_FLAG   5

Definition at line 188 of file format.h.

Referenced by _fmt_parse().

#define MAX_DECIMAL_FIELD   077777777

Definition at line 192 of file format.h.

Referenced by process_bioz(), and process_defg().

#define MAX_EXPONENT   077

Definition at line 190 of file format.h.

Referenced by process_defg().

#define MAX_FIELD_WIDTH   077777777

#define MAX_REP_COUNT   017777777777

Definition at line 193 of file format.h.

Referenced by process_minus(), and process_paren_group().

#define MINUS_X_NON_ANSI   15

Definition at line 146 of file format.h.

Referenced by emit_format_msg(), and process_minus().

#define MISSING_WIDTH_NON_ANSI   20

Definition at line 151 of file format.h.

Referenced by emit_format_msg(), process_arl(), process_bioz(), and process_defg().

#define NON_ANSI_EDIT_DESCRIPTOR   14

Definition at line 145 of file format.h.

Referenced by emit_format_msg(), and process_paren_group().

#define NON_ANSI_NULL_DESCRIPTOR   18

Definition at line 149 of file format.h.

Referenced by emit_format_msg(), and process_paren_group().

#define NONTERMINATED_LITERAL   41

Definition at line 166 of file format.h.

Referenced by process_char_string(), and process_paren_group().

#define NULL   0

Definition at line 40 of file format.h.

#define O_ED   11

Definition at line 72 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wrfmt(), and process_paren_group().

#define P_ED   21

Definition at line 80 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wrfmt(), process_p(), and process_paren_group().

#define PARSER_LEVEL   3

Definition at line 57 of file format.h.

Referenced by _fmt_parse(), _parse(), and setup_format().

#define Q_ED   14

Definition at line 75 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wrfmt(), and process_paren_group().

#define R_ED   12

Definition at line 73 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wrfmt(), and process_paren_group().

#define REP_SLASH_NON_ANSI   13

Definition at line 144 of file format.h.

Referenced by emit_format_msg(), and process_paren_group().

#define REPEAT_OP   40

Definition at line 95 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wrfmt(), and process_paren_group().

#define REVERT_OP   42

Definition at line 97 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wrfmt(), and process_paren_group().

#define S_ED   26

Definition at line 85 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wrfmt(), and process_paren_group().

#define SLASH_ED   20

Definition at line 79 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wrfmt(), and process_paren_group().

#define SP_ED   27

Definition at line 86 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wrfmt(), and process_paren_group().

#define SS_ED   28

Definition at line 87 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wrfmt(), and process_paren_group().

#define STRING_ED   22

#define T_ED   31

Definition at line 90 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wrfmt(), process_paren_group(), and process_t().

#define TL_ED   29

Definition at line 88 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wrfmt(), process_minus(), process_paren_group(), and process_t().

#define TR_ED   30

Definition at line 89 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wrfmt(), process_paren_group(), and process_t().

#define TRAILING_CHARS   1

Definition at line 138 of file format.h.

Referenced by _fmt_parse(), and emit_format_msg().

#define TRUE   1

Definition at line 48 of file format.h.

#define UNABLE_TO_MALLOC_MEMORY   42

Definition at line 167 of file format.h.

Referenced by _fmt_parse().

#define UNKNOWN_EDIT_DESCRIPTOR   40

Definition at line 165 of file format.h.

Referenced by process_paren_group().

#define Z_ED   13

Definition at line 74 of file format.h.

Referenced by _dumppfmt(), _rdfmt(), _wrfmt(), and process_paren_group().

#define ZERO_OR_NO_HOLLERITH_CNT   39

Definition at line 164 of file format.h.

Referenced by process_paren_group().

#define ZERO_REP_COUNT   36

Definition at line 161 of file format.h.

Referenced by process_paren_group().

#define ZERO_WIDTH_NON_ANSI   19

Definition at line 150 of file format.h.

Referenced by emit_format_msg(), process_arl(), process_bioz(), and process_defg().


Typedef Documentation

typedef void _Error_function(const int _Msg_num, const int _Error_offset, const int _Edit_desc_offset)

Definition at line 239 of file format.h.

Definition at line 226 of file format.h.

Definition at line 203 of file format.h.


Function Documentation

fmt_type* _fmt_parse ( _Error_function **  _Msg_rtn,
char *  _Format_str,
long int  _Routine_caller,
long int *  _Fmt_str_len,
msg_type _Lib_err_msg 
)

fmt_type* _parsfmt ( _Error_function **  _Msg_rtn,
char *  _Format_str,
long int  _Routine_caller,
long int *  _Fmt_str_len,
msg_type _Lib_err_msg 
)


Generated on Wed Apr 8 14:37:20 2009 for Open64 by  doxygen 1.5.6