HPCToolkit
overrides.h File Reference
Include dependency graph for overrides.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ALT_FN(n)   PPCAT(__, n)
 
#define ALT_DCL(n)   extern REAL_TYPE(n) ALT_FN(n)
 
#define ALT_TYPEDEF(rt, n)   typedef rt REAL_TYPE(n)
 
#define ALT_INIT(n)
 
#define DL_FN(n)   PPCAT(real_, n)
 
#define DL_DCL(n)   static REAL_TYPE(n) DL_FN(n)
 
#define DL_TYPEDEF(rt, n)   typedef rt (*REAL_TYPE(n))
 
#define DL_INIT(n)   if (! DL_FN(n) ){DL_FN(n) = override_lookup(PPSTR(n));}
 
#define DLV_INIT(n)   if (! DL_FN(n) ){DL_FN(n) = override_lookupv(PPSTR(n));}
 
#define OVERRIDE_NM(n)   n
 
#define DLV_FN(n)   DL_FN(n)
 
#define DLV_DCL(n)   DL_DCL(n)
 
#define DLV_TYPEDEF(rt, n)   DL_TYPEDEF(rt, n)
 
#define REAL_TYPE(n)   PPCAT(n, _t)
 
#define REAL_FN(n)   PPCAT(PPCAT(n, _REAL),_FN)(n)
 
#define REAL_TYPEDEF(rt, n)   PPCAT(PPCAT(n, _REAL), _TYPEDEF)(rt, n)
 
#define REAL_DCL(n)   PPCAT(PPCAT(n, _REAL), _DCL)(n)
 
#define REAL_INIT(n)   PPCAT(PPCAT(n, _REAL), _INIT)(n)
 

Functions

void * override_lookup (char *fname)
 
void * override_lookupv (char *fname)
 

Macro Definition Documentation

◆ ALT_DCL

#define ALT_DCL (   n)    extern REAL_TYPE(n) ALT_FN(n)

Definition at line 93 of file overrides.h.

◆ ALT_FN

#define ALT_FN (   n)    PPCAT(__, n)

Definition at line 92 of file overrides.h.

◆ ALT_INIT

#define ALT_INIT (   n)

Definition at line 95 of file overrides.h.

◆ ALT_TYPEDEF

#define ALT_TYPEDEF (   rt,
  n 
)    typedef rt REAL_TYPE(n)

Definition at line 94 of file overrides.h.

◆ DL_DCL

#define DL_DCL (   n)    static REAL_TYPE(n) DL_FN(n)

Definition at line 106 of file overrides.h.

◆ DL_FN

#define DL_FN (   n)    PPCAT(real_, n)

Definition at line 105 of file overrides.h.

◆ DL_INIT

#define DL_INIT (   n)    if (! DL_FN(n) ){DL_FN(n) = override_lookup(PPSTR(n));}

Definition at line 108 of file overrides.h.

◆ DL_TYPEDEF

#define DL_TYPEDEF (   rt,
  n 
)    typedef rt (*REAL_TYPE(n))

Definition at line 107 of file overrides.h.

◆ DLV_DCL

#define DLV_DCL (   n)    DL_DCL(n)

Definition at line 119 of file overrides.h.

◆ DLV_FN

#define DLV_FN (   n)    DL_FN(n)

Definition at line 118 of file overrides.h.

◆ DLV_INIT

#define DLV_INIT (   n)    if (! DL_FN(n) ){DL_FN(n) = override_lookupv(PPSTR(n));}

Definition at line 109 of file overrides.h.

◆ DLV_TYPEDEF

#define DLV_TYPEDEF (   rt,
  n 
)    DL_TYPEDEF(rt, n)

Definition at line 120 of file overrides.h.

◆ OVERRIDE_NM

#define OVERRIDE_NM (   n)    n

Definition at line 110 of file overrides.h.

◆ REAL_DCL

#define REAL_DCL (   n)    PPCAT(PPCAT(n, _REAL), _DCL)(n)

Definition at line 126 of file overrides.h.

◆ REAL_FN

#define REAL_FN (   n)    PPCAT(PPCAT(n, _REAL),_FN)(n)

Definition at line 124 of file overrides.h.

◆ REAL_INIT

#define REAL_INIT (   n)    PPCAT(PPCAT(n, _REAL), _INIT)(n)

Definition at line 127 of file overrides.h.

◆ REAL_TYPE

#define REAL_TYPE (   n)    PPCAT(n, _t)

Definition at line 122 of file overrides.h.

◆ REAL_TYPEDEF

#define REAL_TYPEDEF (   rt,
  n 
)    PPCAT(PPCAT(n, _REAL), _TYPEDEF)(rt, n)

Definition at line 125 of file overrides.h.

Function Documentation

◆ override_lookup()

void* override_lookup ( char *  fname)

Definition at line 298 of file pthread-blame-overrides.c.

◆ override_lookupv()

void* override_lookupv ( char *  fname)

Definition at line 314 of file pthread-blame-overrides.c.