Home
last modified time | relevance | path

Searched refs:value_encode (Results 1 – 2 of 2) sorted by relevance

/zcbor-3.6.0/src/
Dzcbor_encode.c89 static bool value_encode(zcbor_state_t *state, zcbor_major_type_t major_type, in value_encode() function
133 if (!value_encode(state, major_type, input, int_size)) {
143 if (!value_encode(state, ZCBOR_MAJOR_TYPE_PINT, input_uint, uint_size)) {
220 if (!value_encode(state, major_type, &input->len, sizeof(input->len))) {
246 if (!value_encode(state, ZCBOR_MAJOR_TYPE_BSTR, &max_len, sizeof(max_len))) {
349 if (!value_encode(state, major_type, &max_num, sizeof(max_num))) {
405 if (!(value_encode(state, major_type, &list_count, sizeof(list_count)))) {
458 if (!value_encode(state, ZCBOR_MAJOR_TYPE_SIMPLE, input, sizeof(*input))) {
468 return value_encode(state, ZCBOR_MAJOR_TYPE_SIMPLE, &input, sizeof(input));
563 if (!value_encode(state, ZCBOR_MAJOR_TYPE_TAG, &tag, sizeof(tag))) {
/zcbor-3.6.0/
DRELEASE_NOTES.md52 * zcbor_encode: Simplify value_encode() by using the new zcbor_header_len