Home
last modified time | relevance | path

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

/zcbor-3.6.0/src/
Dzcbor_decode.c726 += zcbor_flags_to_bytes(state->decode_state.map_elem_count);
730 state->decode_state.map_elem_count = 0;
752 ZCBOR_LARGE_ELEM_COUNT : state->decode_state.map_elem_count * 2);
784 const size_t last_index = (state->decode_state.map_elem_count - 1);
787 ZCBOR_ERR_IF((index >= state->decode_state.map_elem_count),
820 size_t new_bytes = zcbor_flags_to_bytes(state->decode_state.map_elem_count);
827 state->decode_state.map_elem_count
840 return (state->decode_state.map_elems_processed < state->decode_state.map_elem_count);
856 size_t old_map_elem_count = state->decode_state.map_elem_count;
858 state->decode_state.map_elem_count = MAX(old_map_elem_count, elem_count / 2);
[all …]
Dzcbor_common.c145 state_array[0].decode_state.map_elem_count = 0; in zcbor_new_state()
/zcbor-3.6.0/include/
Dzcbor_common.h132 size_t map_elem_count; /**< Number of elements in the current unordered map. member