Adaptive Framework
0.9.0
|
Adaptive Framework Endian Header. More...
#include "afw_common.h"
Go to the source code of this file.
Data Structures | |
union | afw_endian_big_uint64_t |
64-bit unsigned big endian integer. More... | |
union | afw_endian_little_uint64_t |
64-bit unsigned little endian integer. More... | |
union | afw_endian_big_int64_t |
64-bit signed big endian integer. More... | |
union | afw_endian_little_int64_t |
64-bit signed little endian integer. More... | |
union | afw_endian_big_uint32_t |
32-bit unsigned big endian integer. More... | |
union | afw_endian_little_uint32_t |
32-bit unsigned little endian integer. More... | |
union | afw_endian_big_int32_t |
32-bit signed big endian integer. More... | |
union | afw_endian_little_int32_t |
32-bit signed little endian integer. More... | |
union | afw_endian_big_uint16_t |
16-bit unsigned big endian integer. More... | |
union | afw_endian_little_uint16_t |
16-bit unsigned little endian integer. More... | |
union | afw_endian_big_int16_t |
16-bit signed big endian integer. More... | |
union | afw_endian_little_int16_t |
16-bit signed little endian integer. More... | |
Macros | |
#define | AFW_ENDIAN_IS_BIG APR_IS_BIGENDIAN |
#define | AFW_ENDIAN_SWAP(_X_, _Y_) |
#define | AFW_ENDIAN_SWITCH_64(_N_) |
#define | AFW_ENDIAN_SWITCH_32(_N_) |
#define | AFW_ENDIAN_SWITCH_16(_N_) AFW_ENDIAN_SWAP(((unsigned char *)(_N_))[0], ((unsigned char *)(_N_))[1]); \ |
#define | AFW_ENDIAN_IS_LITTLE 1 |
#define | AFW_ENDIAN_NATIVE_TO_LITTLE_64(_N_) |
#define | AFW_ENDIAN_LITTLE_TO_NATIVE_64(_N_) |
#define | AFW_ENDIAN_NATIVE_TO_LITTLE_32(_N_) |
#define | AFW_ENDIAN_LITTLE_TO_NATIVE_32(_N_) |
#define | AFW_ENDIAN_NATIVE_TO_LITTLE_16(_N_) |
#define | AFW_ENDIAN_LITTLE_TO_NATIVE_16(_N_) |
#define | AFW_ENDIAN_NATIVE_TO_BIG_64(_N_) AFW_ENDIAN_SWITCH_64(_N_) |
#define | AFW_ENDIAN_BIG_TO_NATIVE_64(_N_) AFW_ENDIAN_SWITCH_64(_N_) |
#define | AFW_ENDIAN_NATIVE_TO_BIG_32(_N_) AFW_ENDIAN_SWITCH_32(_N_) |
#define | AFW_ENDIAN_BIG_TO_NATIVE_32(_N_) AFW_ENDIAN_SWITCH_32(_N_) |
#define | AFW_ENDIAN_NATIVE_TO_BIG_16(_N_) AFW_ENDIAN_SWITCH_16(_N_) |
#define | AFW_ENDIAN_BIG_TO_NATIVE_16(_N_) AFW_ENDIAN_SWITCH_16(_N_) |
#define | AFW_ENDIAN_NATIVE_TO_BIG(_N_, _BITS_) AFW_ENDIAN_NATIVE_TO_BIG_ ## _BITS_(_N_) |
#define | AFW_ENDIAN_BIG_TO_NATIVE(_N_, _BITS_) AFW_ENDIAN_BIG_TO_NATIVE_ ## _BITS_(_N_) |
#define | AFW_ENDIAN_INCREMENT_BIG_64(_N_) |
#define | AFW_ENDIAN_INCREMENT_BIG_32(_N_) |
#define | AFW_ENDIAN_INCREMENT_BIG_16(_N_) |
Adaptive Framework Endian Header.
Definition in file afw_endian.h.