Home
last modified time | relevance | path

Searched refs:max_num (Results 1 – 3 of 3) sorted by relevance

/zcbor-3.5.0-3.4.0/src/
Dzcbor_encode.c355 static bool list_map_start_encode(zcbor_state_t *state, size_t max_num, argument
364 if (!value_encode(state, major_type, &max_num, sizeof(max_num))) {
369 (void)max_num;
379 bool zcbor_list_start_encode(zcbor_state_t *state, size_t max_num) argument
381 return list_map_start_encode(state, max_num, ZCBOR_MAJOR_TYPE_LIST);
385 bool zcbor_map_start_encode(zcbor_state_t *state, size_t max_num) argument
387 return list_map_start_encode(state, max_num, ZCBOR_MAJOR_TYPE_MAP);
402 static bool list_map_end_encode(zcbor_state_t *state, size_t max_num, argument
412 size_t max_header_len = get_encoded_len2(&max_num, 4);
447 (void)max_num;
[all …]
/zcbor-3.5.0-3.4.0/include/
Dzcbor_encode.h176 bool zcbor_list_start_encode(zcbor_state_t *state, size_t max_num);
177 bool zcbor_map_start_encode(zcbor_state_t *state, size_t max_num);
196 bool zcbor_list_end_encode(zcbor_state_t *state, size_t max_num);
197 bool zcbor_map_end_encode(zcbor_state_t *state, size_t max_num);
/zcbor-3.5.0-3.4.0/
DRELEASE_NOTES.md137 …* Make zcbor_list/map_end_encode() more robust to wrong max_num arguments (when ZCBOR_CANONICAL is…