Searched refs:num_flags (Results 1 – 1 of 1) sorted by relevance
517 static inline size_t zcbor_flags_to_bytes(size_t num_flags) in zcbor_flags_to_bytes() argument519 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() argument526 return zcbor_round_up(num_flags, sizeof(zcbor_state_t) * ZCBOR_BITS_PER_BYTE) in zcbor_flags_to_states()