GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> IPBS / V0-0-2 > pbs / i845e
#include <string.h>
#include <VBI/Alias.h>
#include <PBI/Attribute.h>
#include <IPBS/BSWP.h>
#include <IPBS/BSWP.ih>
Functions | |
| void | BSWP_swap16N (unsigned short int *dst, const unsigned short int *src, int cnt) |
| Byte swaps 16 bit words. | |
| void | BSWP_swap32N (unsigned int *dst, const unsigned int *src, int cnt) |
| Byte swaps 32 bit words. | |
| void | BSWP_swap64N (unsigned long long int *dst, const unsigned long long int *src, int cnt) |
| Byte swaps 64 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_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_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_lclXbigN (unsigned short int *dst, const unsigned short int *src, int cnt) |
| Byte swaps 16 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_swap32_lclXbigN (unsigned int *dst, const unsigned int *src, int cnt) |
| Byte swaps 32 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. | |
CVS $Id: BSWP.c,v 1.2 2011/03/25 21:14:41 saxton Exp $
| void BSWP_swap16_lclXbigN | ( | unsigned short int * | dst, | |
| const unsigned short int * | src, | |||
| int | cnt | |||
| ) |
Byte swaps 16 bit words; local representation <=> big.
| dst | The destination array to receive the swapped words | |
| src | The source array of 16 bit words to swap | |
| cnt | The number of 16 bit words to swap |
| void BSWP_swap16_lclXlittleN | ( | unsigned short int * | dst, | |
| const unsigned short int * | src, | |||
| int | cnt | |||
| ) |
Byte swaps 16 bit words; local representation <=> little.
| src | The source array of 16 bit words to swap | |
| dst | The destination array to receive the swapped words | |
| cnt | The number of 16 bit words to swap |
| void BSWP_swap16bN | ( | unsigned short int * | dst, | |
| const unsigned short int * | src, | |||
| int | cnt | |||
| ) |
Byte swaps 16 bit words; local representation <=> big.
| dst | The destination array to receive the swapped words | |
| src | The source array of 16 bit words to swap | |
| cnt | The number of 16 bit words to swap |
| void BSWP_swap16lN | ( | unsigned short int * | dst, | |
| const unsigned short int * | src, | |||
| int | cnt | |||
| ) |
Byte swaps 16 bit words; local representation <=> little.
| src | The source array of 16 bit words to swap | |
| dst | The destination array to receive the swapped words | |
| cnt | The number of 16 bit words to swap |
| void BSWP_swap16N | ( | unsigned short int * | dst, | |
| const unsigned short int * | src, | |||
| int | cnt | |||
| ) |
Byte swaps 16 bit words.
| dst | The destination array to receive the swapped words | |
| src | The source array of 16 bit words to swap | |
| cnt | The number of 16 bit words to swap |
References BSWP__load16x().
| void BSWP_swap32_lclXbigN | ( | unsigned int * | dst, | |
| const unsigned int * | src, | |||
| int | cnt | |||
| ) |
Byte swaps 32 bit words; local representation <=> big.
| dst | The destination array to receive the swapped words | |
| src | The source array of 32 bit words to swap | |
| cnt | The number of 32 bit words to swap |
| void BSWP_swap32_lclXlittleN | ( | unsigned int * | dst, | |
| const unsigned int * | src, | |||
| int | cnt | |||
| ) |
Byte swaps an array 32 bit words; local representation <=> little.
| dst | The destination array to receive the swapped words | |
| src | The source array of 32 bit words to swap | |
| cnt | The number of 32 bit words to swap |
| void BSWP_swap32bN | ( | unsigned int * | dst, | |
| const unsigned int * | src, | |||
| int | cnt | |||
| ) |
Byte swaps 32 bit words; local representation <=> big.
| dst | The destination array to receive the swapped words | |
| src | The source array of 32 bit words to swap | |
| cnt | The number of 32 bit words to swap |
| void BSWP_swap32lN | ( | unsigned int * | dst, | |
| const unsigned int * | src, | |||
| int | cnt | |||
| ) |
Byte swaps an array 32 bit words; local representation <=> little.
| dst | The destination array to receive the swapped words | |
| src | The source array of 32 bit words to swap | |
| cnt | The number of 32 bit words to swap |
| void BSWP_swap32N | ( | unsigned int * | dst, | |
| const unsigned int * | src, | |||
| int | cnt | |||
| ) |
Byte swaps 32 bit words.
| src | The source array of 32 bit words to swap | |
| dst | The destination array to receive the swapped words | |
| cnt | The number of 32 bit words to swap |
References BSWP__load32x().
| void BSWP_swap64bN | ( | unsigned long long int * | dst, | |
| const unsigned long long int * | src, | |||
| int | cnt | |||
| ) |
Byte swaps 64 bit words; local representation <=> big.
| dst | The destination array to receive the swapped words | |
| src | The source array of 64 bit words to swap | |
| cnt | The number of 64 bit words to swap |
| 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.
| dst | The destination array to receive the swapped words | |
| src | The source array of 64 bit words to swap | |
| cnt | The number of 64 bit words to swap |
| void BSWP_swap64N | ( | unsigned long long int * | dst, | |
| const unsigned long long int * | src, | |||
| int | cnt | |||
| ) |
Byte swaps 64 bit words.
| src | The source array of 64 bit words to swap | |
| dst | The destination array to receive the swapped words | |
| cnt | The number of 64 bit words to swap |
References BSWP__load64x().
1.5.8