Commonly used internally and by inherited classes.
More...
|
size_t | calc_aligned_size (const size_t size, const size_t alignment) |
| Function calculates size of the element while respecting requirement for alignment.
|
|
ssize_t | cmp_lex_asc (const void *const value, const void *const element, void *const param) |
| Performs comparison in lexicographical ascending order.
|
|
ssize_t | cmp_lex_dsc (const void *const value, const void *const element, void *const param) |
| Performs comparison in lexicographical descending order.
|
|
Commonly used internally and by inherited classes.
◆ calc_aligned_size()
size_t calc_aligned_size |
( |
const size_t | size, |
|
|
const size_t | alignment ) |
Function calculates size of the element while respecting requirement for alignment.
- Parameters
-
[in] | size | Required data size |
[in] | alignment | To multiple of which the size has to be aligned |
- Returns
size
aligned by alignment
, where aligned size >= size
Definition at line 445 of file vector.c.
◆ cmp_lex_asc()
ssize_t cmp_lex_asc |
( |
const void *const | value, |
|
|
const void *const | element, |
|
|
void *const | param ) |
Performs comparison in lexicographical ascending order.
- See also
- compare_t
Definition at line 451 of file vector.c.
◆ cmp_lex_dsc()
ssize_t cmp_lex_dsc |
( |
const void *const | value, |
|
|
const void *const | element, |
|
|
void *const | param ) |
Performs comparison in lexicographical descending order.
- See also
- compare_t
Definition at line 457 of file vector.c.