PPL Logo

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)
pup_er pup_new_fmt (pup_er p)
void pup_fmt_sync_begin_object (pup_er p)
void pup_fmt_sync_end_object (pup_er p)
void pup_fmt_sync_begin_array (pup_er p)
void pup_fmt_sync_end_array (pup_er p)
void pup_fmt_sync_item (pup_er p)
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)
char * pup_typeString (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 131 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 cpd_memory_single_pup().

pup_er pup_new_network_sizer (  ) 

Definition at line 31 of file pup_c.C.

Referenced by CpdDebugReturnMemStat().

pup_er pup_new_network_pack ( void *  Nbuf  ) 

Definition at line 33 of file pup_c.C.

Referenced by CpdDebugReturnMemStat().

pup_er pup_new_network_unpack ( const void *  Nbuf  ) 

Definition at line 35 of file pup_c.C.

pup_er pup_new_fmt ( pup_er  p  ) 

Definition at line 39 of file pup_c.C.

Referenced by CpdDebugReturnMemStat().

void pup_fmt_sync_begin_object ( pup_er  p  ) 

Definition at line 41 of file pup_c.C.

References PUP::sync_begin_object.

Referenced by cpd_memory_single_pup().

void pup_fmt_sync_end_object ( pup_er  p  ) 

Definition at line 43 of file pup_c.C.

References PUP::sync_end_object.

Referenced by cpd_memory_single_pup().

void pup_fmt_sync_begin_array ( pup_er  p  ) 

Definition at line 45 of file pup_c.C.

References PUP::sync_begin_array.

Referenced by cpd_memory_single_pup().

void pup_fmt_sync_end_array ( pup_er  p  ) 

Definition at line 47 of file pup_c.C.

References PUP::sync_end_array.

Referenced by cpd_memory_single_pup().

void pup_fmt_sync_item ( pup_er  p  ) 

Definition at line 49 of file pup_c.C.

References PUP::sync_item.

Referenced by cpd_memory_single_pup().

void pup_destroy ( pup_er  p  ) 

int pup_isPacking ( const pup_er  p  ) 

Definition at line 57 of file pup_c.C.

Referenced by cpd_memory_single_pup().

int pup_isUnpacking ( const pup_er  p  ) 

int pup_isSizing ( const pup_er  p  ) 

Definition at line 61 of file pup_c.C.

int pup_isDeleting ( const pup_er  p  ) 

int pup_isUserlevel ( const pup_er  p  ) 

Definition at line 65 of file pup_c.C.

Referenced by CmiIsomallocPup().

int pup_isRestarting ( const pup_er  p  ) 

Definition at line 67 of file pup_c.C.

Referenced by CmiIsomallocPup().

char* pup_typeString ( const pup_er  p  ) 

Definition at line 69 of file pup_c.C.

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

Definition at line 88 of file pup_c.C.

Referenced by cpd_memory_single_pup().

void pup_comment ( const pup_er  p,
char *  message 
)

Definition at line 92 of file pup_c.C.

Referenced by cpd_memory_single_pup().

int pup_size ( const pup_er  p  ) 

Definition at line 84 of file pup_c.C.

Referenced by CmiSendReduce(), CpdDebugReturnAllocationTree(), and CpdDebugReturnMemStat().

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 
)


Generated on Sat May 26 08:08:11 2012 for Charm++ by  doxygen 1.5.5