Home
last modified time | relevance | path

Searched refs:num_flags (Results 1 – 1 of 1) sorted by relevance

/zcbor-latest/include/
Dzcbor_common.h517 static inline size_t zcbor_flags_to_bytes(size_t num_flags) in zcbor_flags_to_bytes() argument
519 return zcbor_round_up(num_flags, ZCBOR_BITS_PER_BYTE) / ZCBOR_BITS_PER_BYTE; in zcbor_flags_to_bytes()
524 static inline size_t zcbor_flags_to_states(size_t num_flags) in zcbor_flags_to_states() argument
526 return zcbor_round_up(num_flags, sizeof(zcbor_state_t) * ZCBOR_BITS_PER_BYTE) in zcbor_flags_to_states()