GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> IPBS / V0-0-2 > pbs / i845e
Functions | |
BSWP__EXP_FNC unsigned int | BSWP__swap16_lclXlittle (unsigned short int val) |
Byte swaps a 32 bit word; local representation <=> little. | |
BSWP__EXP_FNC unsigned int | BSWP__swap16_lclXbig (unsigned short int val) |
Byte swaps a 16 bit word; local representation <=> big. | |
BSWP__EXP_FNC unsigned int | BSWP__swap16l (unsigned short int val) |
Ensures that the little endian input 16 bit word val is transformed to the host representation. | |
BSWP__EXP_FNC unsigned int | BSWP__swap16b (unsigned short int val) |
Ensures that the big endian input 16 bit word val is transformed to the host representation. | |
BSWP__EXP_FNC unsigned int | BSWP__load16l (const unsigned short int *src) |
Loads the host representation of the known little endian 16 bit integer byte from memory. | |
BSWP__EXP_FNC unsigned int | BSWP__load16b (const unsigned short int *src) |
Loads the host representation of the known big endian 16 bit integer byte from memory. | |
BSWP__EXP_FNC unsigned int | BSWP__load16lx (const unsigned short int *src, unsigned int offset) |
Loads the host representation of the known little endian 16 bit integer byte from memory. | |
BSWP__EXP_FNC unsigned int | BSWP__load16bx (const unsigned short int *src, unsigned int offset) |
Loads the host representation of the known bige endian 16 bit integer byte from memory. | |
BSWP__EXP_FNC void | BSWP__store16l (unsigned short int *dst, unsigned short int val) |
Stores the host representation of val into memory as a 16 bit little endian integer. | |
BSWP__EXP_FNC void | BSWP__store16b (unsigned short int *dst, unsigned short int val) |
Stores the host representation of val into memory as a 16 bit big endian integer. | |
BSWP__EXP_FNC void | BSWP__store16lx (unsigned short int *dst, unsigned int offset, unsigned short int val) |
Stores the host representation of val into memory as a 16 bit little endian integer. | |
BSWP__EXP_FNC void | BSWP__store16bx (unsigned short int *dst, unsigned int offset, unsigned short int val) |
Stores the host representation of val into memory as a 16 bit big endian integer. | |
BSWP__EXP_FNC unsigned int | BSWP__swap32_lclXlittle (unsigned int val) |
Byte swaps a 32 bit word; local representation <=> little. | |
BSWP__EXP_FNC unsigned int | BSWP__swap32_lclXbig (unsigned int val) |
Byte swaps a 32 bit word; local representation <=> big. | |
BSWP__EXP_FNC unsigned int | BSWP__swap32l (unsigned int val) |
Ensures that the little endian input 32 bit word val is transformed to the host representation. | |
BSWP__EXP_FNC unsigned int | BSWP__swap32b (unsigned int val) |
Ensures that the big endian input 16 bit word val is transformed to the host representation. | |
BSWP__EXP_FNC unsigned int | BSWP__load32l (const unsigned int *src) |
Loads the host representation of the known little endian 32 bit integer byte from memory. | |
BSWP__EXP_FNC unsigned int | BSWP__load32b (const unsigned int *src) |
Loads the host representation of the known big endian 32 bit integer byte from memory. | |
BSWP__EXP_FNC unsigned int | BSWP__load32lx (const unsigned int *src, unsigned int offset) |
Loads the host representation of the known little endian 32 bit integer byte from memory. | |
BSWP__EXP_FNC unsigned int | BSWP__load32bx (const unsigned int *src, unsigned int offset) |
Loads the host representation of the known bige endian 32 bit integer byte from memory. | |
BSWP__EXP_FNC void | BSWP__store32l (unsigned int *dst, unsigned int val) |
Stores the host representation of val into memory as a 32 bit little endian integer. | |
BSWP__EXP_FNC void | BSWP__store32b (unsigned int *dst, unsigned int val) |
Stores the host representation of val into memory as a 32 bit big endian integer. | |
BSWP__EXP_FNC void | BSWP__store32lx (unsigned int *dst, unsigned int offset, unsigned int val) |
Stores the host representation of val into memory as a 32 bit little endian integer. | |
BSWP__EXP_FNC void | BSWP__store32bx (unsigned int *dst, unsigned int offset, unsigned int val) |
Stores the host representation of val into memory as a 32 bit big endian integer. | |
BSWP__EXP_FNC unsigned long long int | BSWP__swap64_lclXbig (unsigned long long int val) |
Byte swaps a 64 bit word; local representation <=> big. | |
BSWP__EXP_FNC unsigned long long int | BSWP__swap64_lclXlittle (unsigned long long int val) |
Byte swaps a 32 bit word; local representation <=> little. | |
BSWP__EXP_FNC unsigned long long int | BSWP__swap64l (unsigned long long int val) |
Ensures that the little endian input 64 bit word val is transformed to the host representation. | |
BSWP__EXP_FNC unsigned long long int | BSWP__swap64b (unsigned long long int val) |
Ensures that the big endian input 64 bit word val is transformed to the host representation. | |
BSWP__EXP_FNC unsigned long long int | BSWP__load64l (const unsigned long long int *src) |
Loads the host representation of the known little endian 64 bit integer byte from memory. | |
BSWP__EXP_FNC unsigned long long int | BSWP__load64b (const unsigned long long int *src) |
Loads the host representation of the known big endian 64 bit integer byte from memory. | |
BSWP__EXP_FNC unsigned long long int | BSWP__load64lx (const unsigned long long int *src, unsigned int offset) |
Loads the host representation of the known little endian 64 bit integer byte from memory. | |
BSWP__EXP_FNC unsigned long long int | BSWP__load64bx (const unsigned long long int *src, unsigned int offset) |
Loads the host representation of the known bige endian 64 bit integer byte from memory. | |
BSWP__EXP_FNC void | BSWP__store64l (unsigned long long int *dst, unsigned long long int val) |
Stores the host representation of val into memory as a 64 bit little endian integer. | |
BSWP__EXP_FNC void | BSWP__store64b (unsigned long long int *dst, unsigned long long int val) |
Stores the host representation of val into memory as a 64 bit big endian integer. | |
BSWP__EXP_FNC void | BSWP__store64lx (unsigned long long int *dst, unsigned int offset, unsigned long long int val) |
Stores the host representation of val into memory as a 64 bit little endian integer. | |
BSWP__EXP_FNC void | BSWP__store64bx (unsigned long long int *dst, unsigned int offset, unsigned long long int val) |
Stores the host representation of val into memory as a 64 bit big endian integer. |
CVS $Id: BSWP.ih.little_endian,v 1.1.1.1 2006/02/10 21:45:37 saxton Exp $
This portion of the BSWP.ih file was split off for managerial and user impact reasons. As one can see, it is fairly large, and, as one might expect, there is a very similar looking file for the big endian implementation. By splitting these off, the poor user who includes the BSWP.ih will only have half as many lines pulled into his file. Hopefully the smaller size include files will benefit both the maintainers of the BSWP.ih and its users.
unsigned int BSWP__load16b | ( | const unsigned short int * | src | ) |
Loads the host representation of the known big endian 16 bit integer byte from memory.
src | The address of the known bit endian 16 bit integer to load |
References BSWP__load16().
unsigned int BSWP__load16bx | ( | const unsigned short int * | src, | |
unsigned int | offset | |||
) |
Loads the host representation of the known bige endian 16 bit integer byte from memory.
src | The address of the known big endian 16 bit integer to load. | |
offset | The byte offset from the source |
References BSWP__load16x().
unsigned int BSWP__load16l | ( | const unsigned short int * | src | ) |
Loads the host representation of the known little endian 16 bit integer byte from memory.
src | The address of the known little endian 16 bit integer to load |
unsigned int BSWP__load16lx | ( | const unsigned short int * | src, | |
unsigned int | offset | |||
) |
Loads the host representation of the known little endian 16 bit integer byte from memory.
src | The address of the known little endian 16 bit integer to load. | |
offset | The byte offset from the source |
unsigned int BSWP__load32b | ( | const unsigned int * | src | ) |
Loads the host representation of the known big endian 32 bit integer byte from memory.
src | The address of the known bit endian 32 bit integer to load |
References BSWP__load32().
unsigned int BSWP__load32bx | ( | const unsigned int * | src, | |
unsigned int | offset | |||
) |
Loads the host representation of the known bige endian 32 bit integer byte from memory.
src | The address of the known big endian 32 bit integer to load. | |
offset | The byte offset from the source |
References BSWP__load32x().
unsigned int BSWP__load32l | ( | const unsigned int * | src | ) |
Loads the host representation of the known little endian 32 bit integer byte from memory.
src | The address of the known little endian 32 bit integer to load |
unsigned int BSWP__load32lx | ( | const unsigned int * | src, | |
unsigned int | offset | |||
) |
Loads the host representation of the known little endian 32 bit integer byte from memory.
src | The address of the known little endian 32 bit integer to load. | |
offset | The byte offset from the source |
unsigned long long int BSWP__load64b | ( | const unsigned long long int * | src | ) |
Loads the host representation of the known big endian 64 bit integer byte from memory.
src | The address of the known bit endian 64 bit integer to load |
References BSWP__load64().
unsigned long long int BSWP__load64bx | ( | const unsigned long long int * | src, | |
unsigned int | offset | |||
) |
Loads the host representation of the known bige endian 64 bit integer byte from memory.
src | The address of the known big endian 64 bit integer to load. | |
offset | The byte offset from the source |
References BSWP__load64x().
unsigned long long int BSWP__load64l | ( | const unsigned long long int * | src | ) |
Loads the host representation of the known little endian 64 bit integer byte from memory.
src | The address of the known little endian 64 bit integer to load |
unsigned int BSWP__load64lx | ( | const unsigned long long int * | src, | |
unsigned int | offset | |||
) |
Loads the host representation of the known little endian 64 bit integer byte from memory.
src | The address of the known little endian 64 bit integer to load. | |
offset | The byte offset from the source |
void BSWP__store16b | ( | unsigned short int * | dst, | |
unsigned short int | val | |||
) |
Stores the host representation of val into memory as a 16 bit big endian integer.
dst | The address of the destination word | |
val | The 16 bit integer to store as a big endian 16 bit integer. |
References BSWP__store16().
void BSWP__store16bx | ( | unsigned short int * | dst, | |
unsigned int | offset, | |||
unsigned short int | val | |||
) |
Stores the host representation of val into memory as a 16 bit big endian integer.
dst | The address of the destination word | |
offset | A byte offset to apply to dst. | |
val | The big endian 16 bit integer to store |
References BSWP__store16x().
void BSWP__store16l | ( | unsigned short int * | dst, | |
unsigned short int | val | |||
) |
Stores the host representation of val into memory as a 16 bit little endian integer.
dst | The address of the destination word | |
val | The 16 bit integer to store as a little endian 16 bit integer. |
void BSWP__store16lx | ( | unsigned short int * | dst, | |
unsigned int | offset, | |||
unsigned short int | val | |||
) |
Stores the host representation of val into memory as a 16 bit little endian integer.
dst | The address of the destination word | |
offset | A byte offset to apply to dst. | |
val | The little endian 16 bitword to store |
void BSWP__store32b | ( | unsigned int * | dst, | |
unsigned int | val | |||
) |
Stores the host representation of val into memory as a 32 bit big endian integer.
dst | The address of the destination word | |
val | The 32 bit integer to store as a big endian 32 bit integer. |
References BSWP__store32().
void BSWP__store32bx | ( | unsigned int * | dst, | |
unsigned int | offset, | |||
unsigned int | val | |||
) |
Stores the host representation of val into memory as a 32 bit big endian integer.
dst | The address of the destination word | |
offset | A byte offset to apply to dst. | |
val | The big endian 32 bit integer to store |
References BSWP__store32x().
void BSWP__store32l | ( | unsigned int * | dst, | |
unsigned int | val | |||
) |
Stores the host representation of val into memory as a 32 bit little endian integer.
dst | The address of the destination word | |
val | The 32 bit integer to store as a little endian 32 bit integer. |
void BSWP__store32lx | ( | unsigned int * | dst, | |
unsigned int | offset, | |||
unsigned int | val | |||
) |
Stores the host representation of val into memory as a 32 bit little endian integer.
dst | The address of the destination word | |
offset | A byte offset to apply to dst. | |
val | The little endian 32 bitword to store |
void BSWP__store64b | ( | unsigned long long int * | dst, | |
unsigned long long int | val | |||
) |
Stores the host representation of val into memory as a 64 bit big endian integer.
dst | The address of the destination word | |
val | The 64 bit integer to store as a big endian 64 bit integer. |
References BSWP__store64().
void BSWP__store64bx | ( | unsigned long long int * | dst, | |
unsigned int | offset, | |||
unsigned long long int | val | |||
) |
Stores the host representation of val into memory as a 64 bit big endian integer.
dst | The address of the destination word | |
offset | A byte offset to apply to dst. | |
val | The big endian 64 bit integer to store |
References BSWP__store64x().
void BSWP__store64l | ( | unsigned long long int * | dst, | |
unsigned long long int | val | |||
) |
Stores the host representation of val into memory as a 64 bit little endian integer.
dst | The address of the destination word | |
val | The 64 bit integer to store as a little endian 64 bit integer. |
void BSWP__store64lx | ( | unsigned long long int * | dst, | |
unsigned int | offset, | |||
unsigned long long int | val | |||
) |
Stores the host representation of val into memory as a 64 bit little endian integer.
dst | The address of the destination word | |
offset | A byte offset to apply to dst. | |
val | The little endian 64 bitword to store |
unsigned int BSWP__swap16_lclXbig | ( | unsigned short int | val | ) |
Byte swaps a 16 bit word; local representation <=> big.
val | The 16 bit word transform from/to the local representation to/from big endian representation |
If the local target machine representation is big endian, then this routine is a NOOP.
References BSWP__swap16().
unsigned int BSWP__swap16_lclXlittle | ( | unsigned short int | val | ) |
Byte swaps a 32 bit word; local representation <=> little.
val | The 16 bit word transform from/to the local representation to/from little endian representation |
If the local target machine representation is little endian, then this routine is a NOOP.
unsigned int BSWP__swap16b | ( | unsigned short int | val | ) |
Ensures that the big endian input 16 bit word val is transformed to the host representation.
val | The big endian 16 bit value |
References BSWP__swap16().
unsigned int BSWP__swap16l | ( | unsigned short int | val | ) |
Ensures that the little endian input 16 bit word val is transformed to the host representation.
val | The little endian 16 bit value |
unsigned int BSWP__swap32_lclXbig | ( | unsigned int | val | ) |
Byte swaps a 32 bit word; local representation <=> big.
val | The 32 bit word transform from/to the local representation to/from big endian representation |
If the local target machine representation is big endian, then this routine is a NOOP.
unsigned int BSWP__swap32_lclXlittle | ( | unsigned int | val | ) |
Byte swaps a 32 bit word; local representation <=> little.
val | The 32 bit word transform from/to the local representation to/from little endian representation |
If the local target machine representation is little endian, then this routine is a NOOP.
References BSWP__swap32().
unsigned int BSWP__swap32b | ( | unsigned int | val | ) |
Ensures that the big endian input 16 bit word val is transformed to the host representation.
val | The big endian 32 bit value |
References BSWP__swap32().
unsigned int BSWP__swap32l | ( | unsigned int | val | ) |
Ensures that the little endian input 32 bit word val is transformed to the host representation.
val | The little endian 32 bit value |
unsigned long long int BSWP__swap64_lclXbig | ( | unsigned long long int | val | ) |
Byte swaps a 64 bit word; local representation <=> big.
val | The 64 bit word transform from/to the local representation to/from big endian representation |
If the local target machine representation is big endian, then this routine is a NOOP.
unsigned long long int BSWP__swap64_lclXlittle | ( | unsigned long long int | val | ) |
Byte swaps a 32 bit word; local representation <=> little.
val | The 64 bit word transform from/to the local representation to/from little endian representation |
If the local target machine representation is little endian, then this routine is a NOOP.
References BSWP__swap64().
unsigned long long int BSWP__swap64b | ( | unsigned long long int | val | ) |
Ensures that the big endian input 64 bit word val is transformed to the host representation.
val | The big endian 64 bit value |
References BSWP__swap64().
unsigned long long int BSWP__swap64l | ( | unsigned long long int | val | ) |
Ensures that the little endian input 64 bit word val is transformed to the host representation.
val | The little endian 64 bit value |