Searched refs:n_states (Results 1 – 6 of 6) sorted by relevance
/zcbor-3.7.0/src/ |
D | zcbor_common.c | 134 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()
|
D | zcbor_encode.c | 605 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);
|
D | zcbor_decode.c | 1562 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/ |
D | zcbor_common.h | 315 void zcbor_new_state(zcbor_state_t *state_array, size_t n_states, 324 size_t n_states, size_t elem_count);
|
D | zcbor_encode.h | 28 void zcbor_new_encode_state(zcbor_state_t *state_array, size_t n_states,
|
D | zcbor_decode.h | 27 void zcbor_new_decode_state(zcbor_state_t *state_array, size_t n_states,
|