PPL Logo

util/pup_xlater.C File Reference

Go to the source code of this file.

Typedefs

typedef unsigned char myByte
typedef void(* dataConverterFn )(int N, const myByte *in, myByte *out, size_t nElem)

Functions

static int getIntFormat (void)
int getFloatFormat (void)
static void cvt_null (int N, const myByte *in, myByte *out, size_t nElem)
static void cvt_swap (int N, const myByte *in, myByte *out, size_t nElem)
static void cvt_bool (int N, const myByte *in, myByte *out, size_t nElem)
 def_cvtTypes (def_cvtLil_toT)
 These defines are used to initialize the conversion function array below.
static dataConverterFn converterFloat (const PUP::machineInfo &src, const PUP::machineInfo &cur, int srcSize, int curSize)

Variables

static const unsigned char machInfo_magic [4] = {0x10,0xea,0xbd,0xf9}
static const dataConverterFn cvt_intTable [2][2][4]


Typedef Documentation

typedef unsigned char myByte

Definition at line 115 of file pup_xlater.C.

typedef void(* dataConverterFn)(int N, const myByte *in, myByte *out, size_t nElem)

Definition at line 198 of file pup_xlater.C.


Function Documentation

static int getIntFormat ( void   )  [static]

Definition at line 49 of file pup_xlater.C.

References PUP::c.

Referenced by PUP::machineInfo::current().

Here is the caller graph for this function:

int getFloatFormat ( void   ) 

Definition at line 65 of file pup_xlater.C.

References PUP::c.

Referenced by coordCompare(), and PUP::machineInfo::current().

Here is the caller graph for this function:

static void cvt_null ( int  N,
const myByte in,
myByte out,
size_t  nElem 
) [static]

Definition at line 118 of file pup_xlater.C.

Referenced by converterFloat(), PUP::xlater::setConverterInt(), and PUP::xlater::xlater().

Here is the caller graph for this function:

static void cvt_swap ( int  N,
const myByte in,
myByte out,
size_t  nElem 
) [static]

Definition at line 121 of file pup_xlater.C.

References PUP::d, PUP::s, and PUP::t.

Referenced by converterFloat(), and PUP::xlater::xlater().

Here is the caller graph for this function:

static void cvt_bool ( int  N,
const myByte in,
myByte out,
size_t  nElem 
) [static]

Definition at line 135 of file pup_xlater.C.

References PUP::s.

Referenced by PUP::xlater::xlater().

Here is the caller graph for this function:

def_cvtTypes ( def_cvtLil_toT   ) 

These defines are used to initialize the conversion function array below.

Definition at line 183 of file pup_xlater.C.

static dataConverterFn converterFloat ( const PUP::machineInfo src,
const PUP::machineInfo cur,
int  srcSize,
int  curSize 
) [static]

Definition at line 225 of file pup_xlater.C.

References abort(), cvt_null(), cvt_swap(), and PUP::machineInfo::floatFormat.

Referenced by PUP::xlater::xlater().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

const unsigned char machInfo_magic[4] = {0x10,0xea,0xbd,0xf9} [static]

Definition at line 22 of file pup_xlater.C.

Referenced by PUP::machineInfo::current(), and PUP::machineInfo::valid().

const dataConverterFn cvt_intTable[2][2][4] [static]

Initial value:

{
{ arr_cvtTypes(arr_cvtBig_toT),  
  arr_cvtTypes(arr_cvtBig_touT) }, 
{ arr_cvtTypes(arr_cvtLil_toT),  
  arr_cvtTypes(arr_cvtLil_touT) } 
}

Definition at line 204 of file pup_xlater.C.

Referenced by PUP::xlater::setConverterInt().


Generated on Mon Sep 21 08:11:55 2020 for Charm++ by  doxygen 1.5.5