util/pup_c.h File Reference

Go to the source code of this file.

Typedefs

typedef void * pup_er

Enumerations

enum  {
  pup_sync_builtin = 0x70000000, pup_sync_begin = pup_sync_builtin+0x01000000, pup_sync_end = pup_sync_builtin+0x02000000, pup_sync_last_system = pup_sync_builtin+0x09000000,
  pup_sync_array_m = 0x00100000, pup_sync_list_m = 0x00200000, pup_sync_object_m = 0x00300000, pup_sync_begin_array = pup_sync_begin+pup_sync_array_m,
  pup_sync_begin_list = pup_sync_begin+pup_sync_list_m, pup_sync_begin_object = pup_sync_begin+pup_sync_object_m, pup_sync_end_array = pup_sync_end+pup_sync_array_m, pup_sync_end_list = pup_sync_end+pup_sync_list_m,
  pup_sync_end_object = pup_sync_end+pup_sync_object_m, pup_sync_item = pup_sync_builtin+0x00110000, pup_sync_index = pup_sync_builtin+0x00120000, pup_sync_last
}

Functions

pup_er pup_new_sizer ()
pup_er pup_new_toMem (void *Nbuf)
pup_er pup_new_fromMem (const void *Nbuf)
pup_er pup_new_network_sizer ()
pup_er pup_new_network_pack (void *Nbuf)
pup_er pup_new_network_unpack (const void *Nbuf)
void pup_destroy (pup_er p)
int pup_isPacking (const pup_er p)
int pup_isUnpacking (const pup_er p)
int pup_isSizing (const pup_er p)
int pup_isDeleting (const pup_er p)
int pup_isUserlevel (const pup_er p)
int pup_isRestarting (const pup_er p)
void pup_syncComment (const pup_er p, unsigned int sync, char *message)
void pup_comment (const pup_er p, char *message)
int pup_size (const pup_er p)
 PUP_BASIC_DATATYPE (char, char) PUP_BASIC_DATATYPE(short
short PUP_BASIC_DATATYPE (int, int) PUP_BASIC_DATATYPE(long
short long PUP_BASIC_DATATYPE (uchar, unsigned char) PUP_BASIC_DATATYPE(ushort
short long unsigned short PUP_BASIC_DATATYPE (uint, unsigned int) PUP_BASIC_DATATYPE(ulong
short long unsigned short
unsigned long 
PUP_BASIC_DATATYPE (float, float) PUP_BASIC_DATATYPE(double
short long unsigned short
unsigned long double 
PUP_BASIC_DATATYPE (pointer, void *) PUP_BASIC_DATATYPE(int8
short long unsigned short
unsigned long double CMK_TYPEDEF_INT8
void 
pup_bytes (pup_er p, void *ptr, int nBytes)


Typedef Documentation

typedef void* pup_er

Definition at line 69 of file pup_c.h.


Enumeration Type Documentation

anonymous enum

Enumerator:
pup_sync_builtin 
pup_sync_begin 
pup_sync_end 
pup_sync_last_system 
pup_sync_array_m 
pup_sync_list_m 
pup_sync_object_m 
pup_sync_begin_array 
pup_sync_begin_list 
pup_sync_begin_object 
pup_sync_end_array 
pup_sync_end_list 
pup_sync_end_object 
pup_sync_item 
pup_sync_index 
pup_sync_last 

Definition at line 122 of file pup_c.h.


Function Documentation

pup_er pup_new_sizer (  ) 

Definition at line 25 of file pup_c.C.

Referenced by CmiSendReduce(), and CpdDebugReturnAllocationTree().

pup_er pup_new_toMem ( void *  Nbuf  ) 

Definition at line 27 of file pup_c.C.

Referenced by CmiSendReduce(), and CpdDebugReturnAllocationTree().

pup_er pup_new_fromMem ( const void *  Nbuf  ) 

Definition at line 29 of file pup_c.C.

Referenced by MergeAllocationTree().

pup_er pup_new_network_sizer (  ) 

Definition at line 31 of file pup_c.C.

pup_er pup_new_network_pack ( void *  Nbuf  ) 

Definition at line 33 of file pup_c.C.

pup_er pup_new_network_unpack ( const void *  Nbuf  ) 

Definition at line 35 of file pup_c.C.

void pup_destroy ( pup_er  p  ) 

Definition at line 37 of file pup_c.C.

Referenced by CmiSendReduce(), and CpdDebugReturnAllocationTree().

int pup_isPacking ( const pup_er  p  ) 

Definition at line 42 of file pup_c.C.

Referenced by cpd_memory_single_pup().

int pup_isUnpacking ( const pup_er  p  ) 

Definition at line 44 of file pup_c.C.

Referenced by CmiIsomallocBlockListPup(), CmiIsomallocPup(), CmmPup(), CthPup(), CthPupBase(), pup_myGlobals(), and pupAllocationPointSingle().

int pup_isSizing ( const pup_er  p  ) 

Definition at line 46 of file pup_c.C.

Referenced by cpd_memory_leak().

int pup_isDeleting ( const pup_er  p  ) 

Definition at line 48 of file pup_c.C.

Referenced by CmiIsomallocBlockListPup(), CmiIsomallocPup(), cmm_pup_ampi_message(), cmm_pup_mblock_message(), CmmPup(), CthPup(), and pup_myGlobals().

int pup_isUserlevel ( const pup_er  p  ) 

Definition at line 50 of file pup_c.C.

Referenced by CmiIsomallocPup().

int pup_isRestarting ( const pup_er  p  ) 

Definition at line 52 of file pup_c.C.

Referenced by CmiIsomallocPup().

void pup_syncComment ( const pup_er  p,
unsigned int  sync,
char *  message 
)

Definition at line 71 of file pup_c.C.

Referenced by cpd_memory_pup().

void pup_comment ( const pup_er  p,
char *  message 
)

Definition at line 75 of file pup_c.C.

Referenced by cpd_memory_get(), cpd_memory_pup(), and cpd_memory_single_pup().

int pup_size ( const pup_er  p  ) 

Definition at line 67 of file pup_c.C.

Referenced by CmiSendReduce(), and CpdDebugReturnAllocationTree().

PUP_BASIC_DATATYPE ( char  ,
char   
)

short PUP_BASIC_DATATYPE ( int  ,
int   
)

short long PUP_BASIC_DATATYPE ( uchar  ,
unsigned  char 
)

short long unsigned short PUP_BASIC_DATATYPE ( uint  ,
unsigned  int 
)

short long unsigned short unsigned long PUP_BASIC_DATATYPE ( float  ,
float   
)

short long unsigned short unsigned long double PUP_BASIC_DATATYPE ( pointer  ,
void *   
)

short long unsigned short unsigned long double CMK_TYPEDEF_INT8 void pup_bytes ( pup_er  p,
void *  ptr,
int  nBytes 
)

Referenced by CmiIsomallocPup(), cpd_memory_get(), CthPup(), and CthPupBase().


Generated on Sun Jun 29 13:29:36 2008 for Charm++ by  doxygen 1.5.1