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

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_stable_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 Documentation

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


Typedef Documentation

typedef struct table_s * table_p

Function Documentation

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

Here is the call graph for this function:

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

Here is the call graph for this function:

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

Here is the call graph for this function:

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

Here is the call graph for this function:


Variable Documentation

Definition at line 84 of file cwh_mkdepend.cxx.

Referenced by cwh_write_makedepend(), Process_Command_Line(), and sgi_cmd_line().

Definition at line 83 of file cwh_mkdepend.cxx.

Referenced by cwh_write_makedepend(), and Process_Command_Line().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines