Home
last modified time | relevance | path

Searched refs:names (Results 1 – 19 of 19) sorted by relevance

/zcbor-3.6.0/samples/pet/src/
Dmain.c17 printf(" %.*s", (int)pet->names[i].len, pet->names[i].value); in print_pet()
97 encoded_pet.names[0].value = first_name; in get_pet3()
98 encoded_pet.names[0].len = sizeof(first_name) - 1; in get_pet3()
99 encoded_pet.names[1].value = last_name; in get_pet3()
100 encoded_pet.names[1].len = sizeof(last_name) - 1; in get_pet3()
Dpet_decode.c31 …lt).names_count, (zcbor_decoder_t *)zcbor_tstr_decode, state, (&(*result).names), sizeof(struct zc… in decode_Pet()
Dpet_encode.c31 …put).names_count, (zcbor_encoder_t *)zcbor_tstr_encode, state, (&(*input).names), sizeof(struct zc… in encode_Pet()
/zcbor-3.6.0/tests/decode/test3_simple/
DCMakeLists.txt24 --short-names
37 --short-names
/zcbor-3.6.0/samples/pet/include/
Dpet_types.h33 struct zcbor_string names[3]; member
/zcbor-3.6.0/tests/unit/test3_float16/
DCMakeLists.txt37 …BINARY_DIR}/fp_bytes_decode.bin RESULT_VARIABLE err2) # copy before ld so symbol names are shorter.
41 …BINARY_DIR}/fp_bytes_encode.bin RESULT_VARIABLE err4) # copy before ld so symbol names are shorter.
/zcbor-3.6.0/tests/cases/
Dpet.cddl11 name: [ names: +tstr ],
/zcbor-3.6.0/tests/decode/test3_simple/src/
Dmain.c445 zassert_mem_equal("foo", pet.names[0].value, 3, "Expect first name 'foo'"); in ZTEST()
446 zassert_mem_equal("bar", pet.names[1].value, 3, "Expect first name 'bar'"); in ZTEST()
/zcbor-3.6.0/samples/pet/
DCMakeLists.txt16 --short-names # Attempt to make generated symbol names shorter (at the risk of collision)
/zcbor-3.6.0/tests/encode/test2_simple/
DCMakeLists.txt21 --short-names
/zcbor-3.6.0/tests/unit/test2_cpp/
DCMakeLists.txt29 --short-names
/zcbor-3.6.0/tests/encode/test3_corner_cases/
DCMakeLists.txt50 --short-names
/zcbor-3.6.0/tests/encode/test2_simple/src/
Dmain.c40 .names = {{.value = "foo", .len = 3}, {.value = "bar", .len = 3}}, in ZTEST()
/zcbor-3.6.0/tests/decode/test5_corner_cases/
DCMakeLists.txt60 --short-names
/zcbor-3.6.0/
DRELEASE_NOTES.md58 * zcbor.py: Make generated variable names C-compatible.
235 * Add the --short-names option when generating code, which shortens names in struct definitions.
306 * All public function names have been prefixed with `zcbor_`.
307 * Many function names have also been changed slightly.
357 * zcbor.py: Fix regex for ints/floats to ignore names with hyphens (-)
403 … * This can give different names of e.g. struct members compared with previous versions of cddl-gen
DREADME.md32 - Create a read-only representation via named tuples (with names taken from the CDDL schema).
142 2. A custom format which allows accessing the data via the names from the CDDL description file.
295 Literals can be used instead of the base type names:
512 -s, --short-names Attempt to make most generated struct member names
513 shorter. This might make some names identical which
516 also make enum names different from the corresponding
DLICENSE140 names, trademarks, service marks, or product names of the Licensor,
DARCHITECTURE.md94 - Common names for members in generated code. A single type possibly needs multiple member variable…
135 …rnal representation using `namedtuple`s to allow browsing CBOR data by the names given in the CDDL.
/zcbor-3.6.0/zcbor/
Dzcbor.py173 def ternary_if_chain(access, names, xcode_strings): argument
176 names[0],
179 ternary_if_chain(access, names[1:], xcode_strings[1:]) if len(names) > 1 else "false")
1426 names, values = tuple(zip(*my_list))
1429 values = tuple(self._flatten_list(names[i], values[i]) for i in range(len(values)))
1432 return namedtuple("_", names)(*values)