Home
last modified time | relevance | path

Searched refs:elem_count (Results 1 – 4 of 4) sorted by relevance

/mcuboot-2.7.6/boot/boot_serial/src/
Dcbor_common.c32 state->elem_count = new_elem_count; in new_backup()
42 const uint32_t elem_count = state->elem_count; in restore_backup() local
59 if (elem_count > max_elem_count) { in restore_backup()
61 elem_count, max_elem_count); in restore_backup()
75 if (!new_backup(state, state->elem_count)) { in union_start_code()
84 if (!restore_backup(state, FLAG_RESTORE, state->elem_count)) { in union_elem_code()
92 if (!restore_backup(state, FLAG_DISCARD, state->elem_count)) { in union_end_code()
100 cbor_encoder_t func, uint32_t elem_count, uint32_t num_backups) in entry_function() argument
105 .elem_count = elem_count, in entry_function()
Dcbor_common.h31 (uint32_t)state->payload_end - (uint32_t)state->payload, *state->payload, state->elem_count,\
67 uint32_t elem_count; /**< The current element is part of a LIST or a MAP, member
143 cbor_encoder_t func, uint32_t elem_count, uint32_t num_backups);
Dcbor_decode.c60 state->elem_count++; \
88 FAIL_IF((state->elem_count == 0) \ in value_extract()
122 (state->elem_count)--; in value_extract()
378 state->elem_count *= 2; in map_start_decode()
535 temp_elem_count = state->elem_count; in any_decode()
537 state->elem_count = value; in any_decode()
541 state->elem_count = temp_elem_count; in any_decode()
545 state->elem_count = temp_elem_count; in any_decode()
568 state->elem_count++; in tag_decode()
597 uint32_t elem_count_bak = state->elem_count; in multi_decode()
[all …]
Dcbor_encode.c81 state->elem_count++; in value_encode_len()
300 state->elem_count--; /* Because of dummy header. */ in list_map_start_encode()
327 state->elem_count in list_map_end_encode()
328 : (state->elem_count / 2)); in list_map_end_encode()
431 state->elem_count--; in tag_encode()