Go to the source code of this file.
|
static uint32_t | osmo_load32le_ext (const void *p, uint8_t n) |
| load unaligned n-byte integer (little-endian encoding) into uint32_t More...
|
|
static uint32_t | osmo_load32be_ext (const void *p, uint8_t n) |
| load unaligned n-byte integer (big-endian encoding) into uint32_t More...
|
|
static void | osmo_store32le_ext (uint32_t x, void *p, uint8_t n) |
| store unaligned n-byte integer (little-endian encoding) from uint32_t More...
|
|
static void | osmo_store32be_ext (uint32_t x, void *p, uint8_t n) |
| store unaligned n-byte integer (big-endian encoding) from uint32_t More...
|
|
static uint32_t | osmo_load32le (const void *p) |
| load unaligned 32-bit integer (little-endian encoding) More...
|
|
static uint32_t | osmo_load32be (const void *p) |
| load unaligned 32-bit integer (big-endian encoding) More...
|
|
static void | osmo_store32le (uint32_t x, void *p) |
| store unaligned 32-bit integer (little-endian encoding) More...
|
|
static void | osmo_store32be (uint32_t x, void *p) |
| store unaligned 32-bit integer (big-endian encoding) More...
|
|
◆ osmo_load32be()
static uint32_t osmo_load32be |
( |
const void * |
p | ) |
|
|
inlinestatic |
◆ osmo_load32be_ext()
static uint32_t osmo_load32be_ext |
( |
const void * |
p, |
|
|
uint8_t |
n |
|
) |
| |
|
inlinestatic |
load unaligned n-byte integer (big-endian encoding) into uint32_t
- Parameters
-
[in] | p | Buffer where integer is stored |
[in] | n | Number of bytes stored in p |
- Returns
- 32 bit unsigned integer
Referenced by osmo_load32be().
◆ osmo_load32le()
static uint32_t osmo_load32le |
( |
const void * |
p | ) |
|
|
inlinestatic |
◆ osmo_load32le_ext()
static uint32_t osmo_load32le_ext |
( |
const void * |
p, |
|
|
uint8_t |
n |
|
) |
| |
|
inlinestatic |
load unaligned n-byte integer (little-endian encoding) into uint32_t
- Parameters
-
[in] | p | Buffer where integer is stored |
[in] | n | Number of bytes stored in p |
- Returns
- 32 bit unsigned integer
Referenced by osmo_load32le().
◆ osmo_store32be()
static void osmo_store32be |
( |
uint32_t |
x, |
|
|
void * |
p |
|
) |
| |
|
inlinestatic |
◆ osmo_store32be_ext()
static void osmo_store32be_ext |
( |
uint32_t |
x, |
|
|
void * |
p, |
|
|
uint8_t |
n |
|
) |
| |
|
inlinestatic |
store unaligned n-byte integer (big-endian encoding) from uint32_t
- Parameters
-
[in] | x | unsigned 32 bit integer |
[out] | p | Buffer to store integer |
[in] | n | Number of bytes to store |
Referenced by osmo_store32be().
◆ osmo_store32le()
static void osmo_store32le |
( |
uint32_t |
x, |
|
|
void * |
p |
|
) |
| |
|
inlinestatic |
◆ osmo_store32le_ext()
static void osmo_store32le_ext |
( |
uint32_t |
x, |
|
|
void * |
p, |
|
|
uint8_t |
n |
|
) |
| |
|
inlinestatic |
store unaligned n-byte integer (little-endian encoding) from uint32_t
- Parameters
-
[in] | x | unsigned 32 bit integer |
[out] | p | Buffer to store integer |
[in] | n | Number of bytes to store |
Referenced by osmo_store32le().