Go to the source code of this file.
|
| static uint64_t | osmo_load64le_ext (const void *p, uint8_t n) |
| | load unaligned n-byte integer (little-endian encoding) into uint64_t More...
|
| |
| static uint64_t | osmo_load64be_ext (const void *p, uint8_t n) |
| | load unaligned n-byte integer (big-endian encoding) into uint64_t More...
|
| |
| static void | osmo_store64le_ext (uint64_t x, void *p, uint8_t n) |
| | store unaligned n-byte integer (little-endian encoding) from uint64_t More...
|
| |
| static void | osmo_store64be_ext (uint64_t x, void *p, uint8_t n) |
| | store unaligned n-byte integer (big-endian encoding) from uint64_t More...
|
| |
| static uint64_t | osmo_load64le (const void *p) |
| | load unaligned 64-bit integer (little-endian encoding) More...
|
| |
| static uint64_t | osmo_load64be (const void *p) |
| | load unaligned 64-bit integer (big-endian encoding) More...
|
| |
| static void | osmo_store64le (uint64_t x, void *p) |
| | store unaligned 64-bit integer (little-endian encoding) More...
|
| |
| static void | osmo_store64be (uint64_t x, void *p) |
| | store unaligned 64-bit integer (big-endian encoding) More...
|
| |
◆ osmo_load64be()
| static uint64_t osmo_load64be |
( |
const void * |
p | ) |
|
|
inlinestatic |
◆ osmo_load64be_ext()
| static uint64_t osmo_load64be_ext |
( |
const void * |
p, |
|
|
uint8_t |
n |
|
) |
| |
|
inlinestatic |
load unaligned n-byte integer (big-endian encoding) into uint64_t
- Parameters
-
| [in] | p | Buffer where integer is stored |
| [in] | n | Number of bytes stored in p |
- Returns
- 64 bit unsigned integer
Referenced by osmo_load64be().
◆ osmo_load64le()
| static uint64_t osmo_load64le |
( |
const void * |
p | ) |
|
|
inlinestatic |
◆ osmo_load64le_ext()
| static uint64_t osmo_load64le_ext |
( |
const void * |
p, |
|
|
uint8_t |
n |
|
) |
| |
|
inlinestatic |
load unaligned n-byte integer (little-endian encoding) into uint64_t
- Parameters
-
| [in] | p | Buffer where integer is stored |
| [in] | n | Number of bytes stored in p |
- Returns
- 64 bit unsigned integer
Referenced by osmo_load64le().
◆ osmo_store64be()
| static void osmo_store64be |
( |
uint64_t |
x, |
|
|
void * |
p |
|
) |
| |
|
inlinestatic |
◆ osmo_store64be_ext()
| static void osmo_store64be_ext |
( |
uint64_t |
x, |
|
|
void * |
p, |
|
|
uint8_t |
n |
|
) |
| |
|
inlinestatic |
store unaligned n-byte integer (big-endian encoding) from uint64_t
- Parameters
-
| [in] | x | unsigned 64 bit integer |
| [out] | p | Buffer to store integer |
| [in] | n | Number of bytes to store |
Referenced by osmo_store64be().
◆ osmo_store64le()
| static void osmo_store64le |
( |
uint64_t |
x, |
|
|
void * |
p |
|
) |
| |
|
inlinestatic |
◆ osmo_store64le_ext()
| static void osmo_store64le_ext |
( |
uint64_t |
x, |
|
|
void * |
p, |
|
|
uint8_t |
n |
|
) |
| |
|
inlinestatic |
store unaligned n-byte integer (little-endian encoding) from uint64_t
- Parameters
-
| [in] | x | unsigned 64 bit integer |
| [out] | p | Buffer to store integer |
| [in] | n | Number of bytes to store |
Referenced by osmo_store64le().