Searched refs:names (Results 1 – 19 of 19) sorted by relevance
/zcbor-3.6.0/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 | 31 …lt).names_count, (zcbor_decoder_t *)zcbor_tstr_decode, state, (&(*result).names), sizeof(struct zc… in decode_Pet()
|
D | pet_encode.c | 31 …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/ |
D | CMakeLists.txt | 24 --short-names 37 --short-names
|
/zcbor-3.6.0/samples/pet/include/ |
D | pet_types.h | 33 struct zcbor_string names[3]; member
|
/zcbor-3.6.0/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-3.6.0/tests/cases/ |
D | pet.cddl | 11 name: [ names: +tstr ],
|
/zcbor-3.6.0/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-3.6.0/samples/pet/ |
D | CMakeLists.txt | 16 --short-names # Attempt to make generated symbol names shorter (at the risk of collision)
|
/zcbor-3.6.0/tests/encode/test2_simple/ |
D | CMakeLists.txt | 21 --short-names
|
/zcbor-3.6.0/tests/unit/test2_cpp/ |
D | CMakeLists.txt | 29 --short-names
|
/zcbor-3.6.0/tests/encode/test3_corner_cases/ |
D | CMakeLists.txt | 50 --short-names
|
/zcbor-3.6.0/tests/encode/test2_simple/src/ |
D | main.c | 40 .names = {{.value = "foo", .len = 3}, {.value = "bar", .len = 3}}, in ZTEST()
|
/zcbor-3.6.0/tests/decode/test5_corner_cases/ |
D | CMakeLists.txt | 60 --short-names
|
/zcbor-3.6.0/ |
D | RELEASE_NOTES.md | 58 * 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
|
D | README.md | 32 - 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
|
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… 135 …rnal representation using `namedtuple`s to allow browsing CBOR data by the names given in the CDDL.
|
/zcbor-3.6.0/zcbor/ |
D | zcbor.py | 173 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)
|