#include <stdio.h>#include <stdlib.h>#include <string.h>#include "dra_demangle.h"
Go to the source code of this file.
Defines | |
| #define | DRA_MANGLE_SIG "__nn__" |
| #define | DRA_MANGLE_SIG_LEN 6 |
| #define | DRA_STAR_CODE 'S' |
| #define | DRA_BLOCK_CODE 'B' |
| #define | DRA_CYCLIC_CODE 'C' |
| #define | DRA_NDIMS_END 'D' |
| #define | DRA_ESIZE_END 'E' |
| #define | DRA_ARG_SEPARATOR '_' |
| #define | DRA_STAR_STRING "*" |
| #define | DRA_BLOCK_STRING "BLOCK" |
| #define | DRA_CYCLIC_STRING "CYCLIC" |
| #define | DRA_DEM_BUFSIZE 4096 |
Functions | |
| char * | DRA_Demangle_Func (const char *mangled_name) |
| char * | DRA_Demangle_Arglist (const char *mangled_name, const char dim_order) |
| char * | DRA_Demangle (const char *mangled_name, const char dim_order) |
Variables | |
| static char | dem_buf [DRA_DEM_BUFSIZE] |
| #define DRA_ARG_SEPARATOR '_' |
Definition at line 75 of file dra_demangle.cxx.
Referenced by DRA_Demangle(), DRA_Demangle_Arglist(), DRA_New_Clone_Sig(), and DRA_Parse_Clone_Name().
| #define DRA_BLOCK_CODE 'B' |
Definition at line 71 of file dra_demangle.cxx.
Referenced by DRA_Demangle(), DRA_Demangle_Arglist(), DRA_Info_Matches_Encoding(), DRA_Insert_Pragmas(), and DRA_Parse_Clone_Name().
| #define DRA_BLOCK_STRING "BLOCK" |
Definition at line 78 of file dra_demangle.cxx.
Referenced by DRA_Demangle(), and DRA_Demangle_Arglist().
| #define DRA_CYCLIC_CODE 'C' |
Definition at line 72 of file dra_demangle.cxx.
Referenced by DRA_Demangle(), DRA_Demangle_Arglist(), DRA_Info_Matches_Encoding(), DRA_Insert_Pragmas(), DRA_Parse_Clone_Name(), and Find_Insertion_Point().
| #define DRA_CYCLIC_STRING "CYCLIC" |
Definition at line 79 of file dra_demangle.cxx.
Referenced by DRA_Demangle(), and DRA_Demangle_Arglist().
| #define DRA_DEM_BUFSIZE 4096 |
Definition at line 81 of file dra_demangle.cxx.
Referenced by DRA_Demangle(), DRA_Demangle_Arglist(), and DRA_Demangle_Func().
| #define DRA_ESIZE_END 'E' |
Definition at line 74 of file dra_demangle.cxx.
Referenced by DRA_Demangle(), DRA_Demangle_Arglist(), DRA_Encode_Parameter(), DRA_New_Clone_Sig(), and DRA_Parse_Clone_Name().
| #define DRA_MANGLE_SIG "__nn__" |
Definition at line 67 of file dra_demangle.cxx.
Referenced by DRA_Demangle(), DRA_Demangle_Arglist(), DRA_Demangle_Func(), DRA_Insert_Mangling_Sigs(), DRA_New_Clone_Sig(), DRA_Parse_Clone_Name(), and DRA_Process_Requests().
| #define DRA_MANGLE_SIG_LEN 6 |
Definition at line 68 of file dra_demangle.cxx.
Referenced by DRA_Demangle(), DRA_Demangle_Arglist(), DRA_Demangle_Func(), DRA_Insert_Mangling_Sigs(), DRA_New_Clone_Sig(), DRA_Parse_Clone_Name(), DRA_Preprocess_Call_Site(), and DRA_Preprocess_Entry().
| #define DRA_NDIMS_END 'D' |
Definition at line 73 of file dra_demangle.cxx.
Referenced by DRA_Demangle(), DRA_Demangle_Arglist(), DRA_Encode_Parameter(), DRA_New_Clone_Sig(), and DRA_Parse_Clone_Name().
| #define DRA_STAR_CODE 'S' |
Definition at line 70 of file dra_demangle.cxx.
Referenced by DRA_Demangle(), DRA_Demangle_Arglist(), DRA_Info_Matches_Encoding(), DRA_Insert_Pragmas(), and DRA_Parse_Clone_Name().
| #define DRA_STAR_STRING "*" |
Definition at line 77 of file dra_demangle.cxx.
Referenced by DRA_Demangle(), and DRA_Demangle_Arglist().
| char* DRA_Demangle | ( | const char * | mangled_name, | |
| const char | dim_order | |||
| ) |
Definition at line 290 of file dra_demangle.cxx.
References arg_list, buf, dem_buf, DRA_ARG_SEPARATOR, DRA_BLOCK_CODE, DRA_BLOCK_STRING, DRA_CYCLIC_CODE, DRA_CYCLIC_STRING, DRA_DEM_BUFSIZE, DRA_DIMS_COLUMNWISE, DRA_DIMS_ROWWISE, DRA_ESIZE_END, DRA_MANGLE_SIG, DRA_MANGLE_SIG_LEN, DRA_NDIMS_END, DRA_STAR_CODE, DRA_STAR_STRING, and NULL.
Referenced by DRA_New_Clone_Sig().
| char* DRA_Demangle_Arglist | ( | const char * | mangled_name, | |
| const char | dim_order | |||
| ) |
Definition at line 131 of file dra_demangle.cxx.
References arg_list, buf, dem_buf, DRA_ARG_SEPARATOR, DRA_BLOCK_CODE, DRA_BLOCK_STRING, DRA_CYCLIC_CODE, DRA_CYCLIC_STRING, DRA_DEM_BUFSIZE, DRA_DIMS_COLUMNWISE, DRA_DIMS_ROWWISE, DRA_ESIZE_END, DRA_MANGLE_SIG, DRA_MANGLE_SIG_LEN, DRA_NDIMS_END, DRA_STAR_CODE, DRA_STAR_STRING, and NULL.
| char* DRA_Demangle_Func | ( | const char * | mangled_name | ) |
Definition at line 92 of file dra_demangle.cxx.
References dem_buf, DRA_DEM_BUFSIZE, DRA_MANGLE_SIG, DRA_MANGLE_SIG_LEN, and NULL.
Referenced by DRA_EC_Array_Portion_Parms().
char dem_buf[DRA_DEM_BUFSIZE] [static] |
Definition at line 83 of file dra_demangle.cxx.
Referenced by DRA_Demangle(), DRA_Demangle_Arglist(), and DRA_Demangle_Func().
1.7.1