Searched refs:names (Results 1 – 20 of 20) sorted by relevance
| /zcbor-latest/samples/pet/src/ |
| D | main.c | 17 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()
|
| D | pet_decode.c | 40 …t).names_count, (zcbor_decoder_t *)zcbor_tstr_decode, state, (*&(*result).names), sizeof(struct zc… in decode_Pet() 51 zcbor_tstr_decode(state, (*&(*result).names)); in decode_Pet()
|
| D | pet_encode.c | 40 …ut).names_count, (zcbor_encoder_t *)zcbor_tstr_encode, state, (*&(*input).names), sizeof(struct zc… in encode_Pet()
|
| /zcbor-latest/tests/decode/test3_simple/ |
| D | CMakeLists.txt | 24 --short-names 37 --short-names
|
| /zcbor-latest/ |
| D | MIGRATION_GUIDE.md | 12 You might have to capitalize some instances if your code was generated to have those names. 22 regenerate the files using zcbor 0.8.1. Note that the names of generated types and members has 28 * All enum (choice) names have now gained a ``_c`` suffix, so the enum name no longer matches
|
| D | RELEASE_NOTES.md | 27 * Avoid generated names that are C keywords (capitalize them if present) 46 * Fix bug where NINT literals were not given unique names 48 * Fix bstr names based on size 135 * zcbor.py: Make generated variable names C-compatible. 312 * Add the --short-names option when generating code, which shortens names in struct definitions. 383 * All public function names have been prefixed with `zcbor_`. 384 * Many function names have also been changed slightly. 434 * zcbor.py: Fix regex for ints/floats to ignore names with hyphens (-) 480 … * This can give different names of e.g. struct members compared with previous versions of cddl-gen
|
| D | README.md | 32 - Create a read-only representation via named tuples (with names taken from the CDDL schema). 147 2. A custom format which allows accessing the data via the names from the CDDL description file. 300 Literals can be used instead of the base type names: 535 -s, --short-names Attempt to make most generated struct member names 536 shorter. This might make some names identical which 539 also make enum names different from the corresponding
|
| D | LICENSE | 140 names, trademarks, service marks, or product names of the Licensor,
|
| D | ARCHITECTURE.md | 94 - Common names for members in generated code. A single type possibly needs multiple member variable… 130 …rnal representation using `namedtuple`s to allow browsing CBOR data by the names given in the CDDL.
|
| /zcbor-latest/samples/pet/include/ |
| D | pet_types.h | 33 struct zcbor_string names[3]; member
|
| /zcbor-latest/tests/unit/test3_float16/ |
| D | CMakeLists.txt | 37 …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-latest/tests/cases/ |
| D | pet.cddl | 11 name: [ names: +tstr ],
|
| /zcbor-latest/samples/pet/ |
| D | CMakeLists.txt | 16 --short-names # Attempt to make generated symbol names shorter (at the risk of collision)
|
| /zcbor-latest/tests/decode/test3_simple/src/ |
| D | main.c | 445 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-latest/tests/encode/test2_simple/ |
| D | CMakeLists.txt | 21 --short-names
|
| /zcbor-latest/tests/unit/test2_cpp/ |
| D | CMakeLists.txt | 29 --short-names
|
| /zcbor-latest/tests/encode/test3_corner_cases/ |
| D | CMakeLists.txt | 59 --short-names
|
| /zcbor-latest/tests/encode/test2_simple/src/ |
| D | main.c | 24 .names = {{.value = "foo", .len = 3}, {.value = "bar", .len = 3}}, in ZTEST()
|
| /zcbor-latest/tests/decode/test5_corner_cases/ |
| D | CMakeLists.txt | 68 --short-names
|
| /zcbor-latest/zcbor/ |
| D | zcbor.py | 176 def ternary_if_chain(access, names, xcode_strings): argument 179 names[0], 182 ternary_if_chain(access, names[1:], xcode_strings[1:]) if len(names) > 1 else "false") 1521 names, values = tuple(zip(*my_list)) 1524 values = tuple(self._flatten_list(names[i], values[i]) for i in range(len(values))) 1527 return namedtuple("_", names)(*values)
|