Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
Go to the source code of this file.
Classes | |
struct | table_s |
Defines | |
#define | TABLE_SIZE(x) (x.current_size) |
#define | TABLE_CURRENT_IDX(x) (x.current_idx) |
#define | TABLE_PTR(x) (x.ptr) |
#define | TABLE_IDX(x, i) ((x).ptr[i]) |
#define | SET_TABLE_IDX(x, i, val) (x).ptr[(i)] = (void *) (val) |
#define | TABLE_TOP(x, ty) ((ty *) ((x).ptr[(x).current_idx])) |
#define | TABLE_INCREMENT 16 |
#define | INIT_TABLE {-1,0,NULL} |
Typedefs | |
typedef struct table_s * | table_p |
Functions | |
INT32 | cwh_next_table_entry (table_p t) |
void | cwh_add_to_module_files_table (char *name) |
void | cwh_mkdepend_add_name (INT32 idx, char *name) |
void | cwh_write_makedepend (void) |
void | cwh_add_to_used_files_table (char *name, INT duplicate) |
Variables | |
char * | mdupdate_file |
char * | mdtarget_file |
#define INIT_TABLE {-1,0,NULL} |
Definition at line 90 of file cwh_mkdepend.h.
#define SET_TABLE_IDX | ( | x, | |
i, | |||
val | |||
) | (x).ptr[(i)] = (void *) (val) |
Definition at line 87 of file cwh_mkdepend.h.
Referenced by cwh_add_to_module_files_table(), cwh_add_to_used_files_table(), and cwh_mkdepend_add_name().
#define TABLE_CURRENT_IDX | ( | x | ) | (x.current_idx) |
Definition at line 84 of file cwh_mkdepend.h.
Referenced by cwh_write_makedepend(), and fei_next_name().
#define TABLE_IDX | ( | x, | |
i | |||
) | ((x).ptr[i]) |
Definition at line 86 of file cwh_mkdepend.h.
Referenced by cwh_write_makedepend(), and fei_add_use_path().
#define TABLE_INCREMENT 16 |
Definition at line 89 of file cwh_mkdepend.h.
Referenced by cwh_next_table_entry().
#define TABLE_PTR | ( | x | ) | (x.ptr) |
Definition at line 85 of file cwh_mkdepend.h.
#define TABLE_SIZE | ( | x | ) | (x.current_size) |
Definition at line 83 of file cwh_mkdepend.h.
Referenced by fei_next_name().
#define TABLE_TOP | ( | x, | |
ty | |||
) | ((ty *) ((x).ptr[(x).current_idx])) |
Definition at line 88 of file cwh_mkdepend.h.
Referenced by fei_next_name().
void cwh_add_to_module_files_table | ( | char * | name | ) |
Definition at line 156 of file cwh_mkdepend.cxx.
References cwh_next_table_entry(), len, and SET_TABLE_IDX.
Referenced by fei_proc_def().
void cwh_add_to_used_files_table | ( | char * | name, |
INT | duplicate | ||
) |
Definition at line 139 of file cwh_mkdepend.cxx.
References cwh_next_table_entry(), name, SET_TABLE_IDX, and ux_strdup().
void cwh_mkdepend_add_name | ( | INT32 | idx, |
char * | name | ||
) |
Definition at line 130 of file cwh_mkdepend.cxx.
References SET_TABLE_IDX, and ux_strdup().
Referenced by fei_name().
Definition at line 88 of file cwh_mkdepend.cxx.
References table_s::current_idx, table_s::current_size, table_s::ptr, and TABLE_INCREMENT.
Referenced by cwh_add_to_module_files_table(), cwh_add_to_used_files_table(), and fei_next_name().
void cwh_write_makedepend | ( | void | ) |
Definition at line 209 of file cwh_mkdepend.cxx.
References makedepend_error(), MDclose(), MDopen(), mdtarget_file, MDupdate(), mdupdate_file, NULL, TABLE_CURRENT_IDX, and TABLE_IDX.
Referenced by PDGCS_terminate().
char* mdtarget_file |
Definition at line 84 of file cwh_mkdepend.cxx.
Referenced by cwh_write_makedepend(), Process_Command_Line(), and sgi_cmd_line().
char* mdupdate_file |
Definition at line 83 of file cwh_mkdepend.cxx.
Referenced by cwh_write_makedepend(), and Process_Command_Line().