Home
last modified time | relevance | path

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

/zcbor-3.7.0/include/
Dzcbor_common.h104 uint8_t const *payload_end; /**< The end of the payload. This will be member
218 ZCBOR_ERR_IF(state->payload >= state->payload_end, ZCBOR_ERR_NO_PAYLOAD)
377 return (state->payload == state->payload_end); in zcbor_payload_at_end()
Dzcbor_print.h24 (size_t)state->payload_end - (size_t)state->payload, *state->payload, state->elem_count, \
/zcbor-3.7.0/src/
Dzcbor_common.c102 state->constant_state->backup_list[i].payload_end = new_payload_end; in update_backups()
139 state_array[0].payload_end = payload + payload_len; in zcbor_new_state()
179 state->payload_end = payload + payload_len; in zcbor_update_state()
181 update_backups(state, state->payload_end); in zcbor_update_state()
Dzcbor_encode.c63 if ((state->payload + 1 + result_len) > state->payload_end) { in value_encode_len()
217 > (size_t)state->payload_end)) {
230 size_t max_len = (size_t)state->payload_end - (size_t)state->payload;
269 result->value = state->payload_end - remaining_str_len(state);
284 if (input->len > (size_t)(state->payload_end - state->payload)) {
Dzcbor_decode.c141 ZCBOR_ERR_IF((state->payload + len + 1) > state->payload_end, in value_extract()
407 if (result->len > (size_t)(state->payload_end - state->payload)) {
410 (state->payload_end - state->payload));
434 state->payload_end = result->value + result->len;
441 ZCBOR_ERR_IF(state->payload != state->payload_end, ZCBOR_ERR_PAYLOAD_NOT_CONSUMED);
457 (size_t)state->payload_end - (size_t)state->payload);
473 state->payload_end = state->payload + result->fragment.len;
519 state->payload_end = state->payload + result->fragment.len;
708 && (state->payload < state->payload_end)
1421 ZCBOR_ERR_IF(state_copy.payload >= state_copy.payload_end, ZCBOR_ERR_NO_PAYLOAD);
[all …]
/zcbor-3.7.0/tests/decode/test5_corner_cases/src/
Dmain.c868 state->payload_end - state->payload, NULL, &payload_len_out); in my_decode_EmptyMap()