Searched refs:decode_state (Results 1 – 4 of 4) sorted by relevance
717 state->decode_state.indefinite_length_array = indefinite_length_array; in list_map_start_decode()735 if (ret && !state->decode_state.indefinite_length_array) { in zcbor_map_start_decode()748 const bool indefinite_length_array = state->decode_state.indefinite_length_array; in zcbor_array_at_end()769 state->decode_state.map_search_elem_state in zcbor_unordered_map_start_decode()770 += zcbor_flags_to_bytes(state->decode_state.map_elem_count); in zcbor_unordered_map_start_decode()772 state->decode_state.map_elems_processed = 0; in zcbor_unordered_map_start_decode()774 state->decode_state.map_elem_count = 0; in zcbor_unordered_map_start_decode()775 state->decode_state.counting_map_elems = state->decode_state.indefinite_length_array; in zcbor_unordered_map_start_decode()777 if (!state->decode_state.counting_map_elems) { in zcbor_unordered_map_start_decode()795 return (state->decode_state.indefinite_length_array ? \ in zcbor_current_max_elem_count()[all …]
92 state->decode_state = local_copy.decode_state; in zcbor_process_backup()142 state_array[0].decode_state.indefinite_length_array = false; in zcbor_new_state()144 state_array[0].decode_state.map_search_elem_state = flags; in zcbor_new_state()145 state_array[0].decode_state.map_elem_count = 0; in zcbor_new_state()147 state_array[0].decode_state.map_elems_processed = 0; in zcbor_new_state()
135 } decode_state; member
83 * After calling this, decode_state[0] is ready to be used with the decoding APIs. */84 ZCBOR_STATE_D(decode_state, n, payload, payload_len, elem_count, n_flags);