Home
last modified time | relevance | path

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

/zcbor-3.7.0/src/
Dzcbor_common.c134 void zcbor_new_state(zcbor_state_t *state_array, size_t n_states, in zcbor_new_state() argument
153 if (n_states < 2) { in zcbor_new_state()
158 state_array[0].constant_state = (struct zcbor_state_constant *)&state_array[n_states - 1]; in zcbor_new_state()
160 state_array[0].constant_state->num_backups = n_states - 2; in zcbor_new_state()
170 if (n_states > 2) { in zcbor_new_state()
287 size_t n_states, size_t elem_count) in zcbor_entry_function() argument
289 zcbor_new_state(state, n_states, payload, payload_len, elem_count, NULL, 0); in zcbor_entry_function()
Dzcbor_encode.c605 void zcbor_new_encode_state(zcbor_state_t *state_array, size_t n_states, argument
608 zcbor_new_state(state_array, n_states, payload, payload_len, elem_count, NULL, 0);
Dzcbor_decode.c1562 void zcbor_new_decode_state(zcbor_state_t *state_array, size_t n_states, argument
1566 zcbor_new_state(state_array, n_states, payload, payload_len, elem_count, flags, flags_bytes);
/zcbor-3.7.0/include/
Dzcbor_common.h315 void zcbor_new_state(zcbor_state_t *state_array, size_t n_states,
324 size_t n_states, size_t elem_count);
Dzcbor_encode.h28 void zcbor_new_encode_state(zcbor_state_t *state_array, size_t n_states,
Dzcbor_decode.h27 void zcbor_new_decode_state(zcbor_state_t *state_array, size_t n_states,