GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBS / V2-10-11
Constituent: pbs     Tag: sun-gcc
This graph shows which files directly or indirectly include this file:
Functions | |
void | BSWP_swap16N (unsigned short int *dst, const unsigned short int *src, int cnt) |
Byte swaps 16 bit words. | |
void | BSWP_swap16lN (unsigned short int *dst, const unsigned short int *src, int cnt) |
Byte swaps 16 bit words; local representation <=> little. | |
void | BSWP_swap16bN (unsigned short int *dst, const unsigned short int *src, int cnt) |
Byte swaps 16 bit words; local representation <=> big. | |
void | BSWP_swap32N (unsigned int *dst, const unsigned int *src, int cnt) |
Byte swaps 32 bit words. | |
void | BSWP_swap32lN (unsigned int *dst, const unsigned int *src, int cnt) |
Byte swaps an array 32 bit words; local representation <=> little. | |
void | BSWP_swap32bN (unsigned int *dst, const unsigned int *src, int cnt) |
Byte swaps 32 bit words; local representation <=> big. | |
void | BSWP_swap64N (unsigned long long int *dst, const unsigned long long int *src, int cnt) |
Byte swaps 64 bit words. | |
void | BSWP_swap64lN (unsigned long long int *dst, const unsigned long long int *src, int cnt) |
Byte swaps an array 64 bit words; local representation <=> little. | |
void | BSWP_swap64bN (unsigned long long int *dst, const unsigned long long int *src, int cnt) |
Byte swaps 64 bit words; local representation <=> big. | |
void | BSWP_swap16_lclXlittleN (unsigned short int *dst, const unsigned short int *src, int cnt) |
Byte swaps 16 bit words; local representation <=> little. | |
void | BSWP_swap16_lclXbigN (unsigned short int *dst, const unsigned short int *src, int cnt) |
Byte swaps 16 bit words; local representation <=> big. | |
void | BSWP_swap32_lclXlittleN (unsigned int *dst, const unsigned int *src, int cnt) |
Byte swaps an array 32 bit words; local representation <=> little. | |
void | BSWP_swap32_lclXbigN (unsigned int *dst, const unsigned int *src, int cnt) |
Byte swaps 32 bit words; local representation <=> big. |
CVS $Id: BSWP.h,v 1.3 2005/10/01 01:00:11 russell Exp $
SYNOPSIS
The BSWP routines provide efficient and uniform methods of performing various byte swap operations on arrays of 16, 32 and 64 bit integers. These routines use the inline routines of BSWP.ih to implement the byteswapping. When possible (currently the PPC platforms), these inline routines map directly onto the hardware instructions used to load and store the 16, 32 and 64 bit byteswapped quantities to and from memory.
The routines come in 3 sets of 3. The first dimension is for operating on one of 16, 32 or 64 bit quantities, while the 3 dimension is for operating on these quantities when they are
The single word word swapping routines are so simple and efficiency is such a motivating design factor that these single word versions of the byteswapping routines are provided only as inlines; see BSWP.ih The vector routines are provided only as callable functions.
|
Byte swaps 16 bit words; local representation <=> big.
|
|
Byte swaps 16 bit words; local representation <=> little.
|
|
Byte swaps 16 bit words; local representation <=> big.
|
|
Byte swaps 16 bit words; local representation <=> little.
|
|
Byte swaps 16 bit words.
|
|
Byte swaps 32 bit words; local representation <=> big.
|
|
Byte swaps an array 32 bit words; local representation <=> little.
|
|
Byte swaps 32 bit words; local representation <=> big.
|
|
Byte swaps an array 32 bit words; local representation <=> little.
|
|
Byte swaps 32 bit words.
|
|
Byte swaps 64 bit words; local representation <=> big.
|
|
Byte swaps an array 64 bit words; local representation <=> little.
|
|
Byte swaps 64 bit words.
|