Searched refs:value_encode (Results 1 – 1 of 1) sorted by relevance
/mcuboot-latest/boot/zcbor/src/ |
D | zcbor_encode.c | 94 static bool value_encode(zcbor_state_t *state, zcbor_major_type_t major_type, in value_encode() function 138 if (!value_encode(state, major_type, input, int_size)) { 148 if (!value_encode(state, ZCBOR_MAJOR_TYPE_PINT, input_uint, uint_size)) { 225 if (!value_encode(state, major_type, &input->len, sizeof(input->len))) { 251 if (!value_encode(state, ZCBOR_MAJOR_TYPE_BSTR, &max_len, sizeof(max_len))) { 354 if (!value_encode(state, major_type, &max_num, sizeof(max_num))) { 410 if (!(value_encode(state, major_type, &list_count, sizeof(list_count)))) { 463 if (!value_encode(state, ZCBOR_MAJOR_TYPE_SIMPLE, input, sizeof(*input))) { 473 return value_encode(state, ZCBOR_MAJOR_TYPE_SIMPLE, &input, sizeof(input)); 568 if (!value_encode(state, ZCBOR_MAJOR_TYPE_TAG, &tag, sizeof(tag))) {
|