Home
last modified time | relevance | path

Searched refs:map (Results 1 – 14 of 14) sorted by relevance

/zcbor-latest/tests/scripts/
Dtest_zcbor.py103 …nce.union[0].SUIT_Common_Commands_m.suit_directive_override_parameters_m_l.map[3].suit_parameter_i…
128 …].suit_install.union[0].SUIT_Directive_m.suit_directive_set_parameters_m_l.map[0].suit_parameter_u…
139 …].suit_install.union[0].SUIT_Directive_m.suit_directive_set_parameters_m_l.map[0].suit_parameter_u…
164 …e_bstr[0].union[0].SUIT_Directive_m.suit_directive_override_parameters_m_l.map[0].suit_parameter_c…
167 …e_bstr[1].union[0].SUIT_Directive_m.suit_directive_override_parameters_m_l.map[0].suit_parameter_c…
178 …d[0].suit_load.union[1].SUIT_Directive_m.suit_directive_set_parameters_m_l.map[3].suit_parameter_s…
181 …d[0].suit_load.union[1].SUIT_Directive_m.suit_directive_set_parameters_m_l.map[2].suit_parameter_c…
259 …nce.union[0].SUIT_Common_Commands_m.suit_directive_override_parameters_m_l.map[0].suit_parameter_v…
260 …nce.union[0].SUIT_Common_Commands_m.suit_directive_override_parameters_m_l.map[1].suit_parameter_c…
261 …nce.union[0].SUIT_Common_Commands_m.suit_directive_override_parameters_m_l.map[2].suit_parameter_i…
[all …]
Dtest_repo_files.py214 @skipIf(list(map(version_int, python_version_tuple())) < [3, 10, 0],
/zcbor-latest/tests/cases/
Dmap_bstr.cddl1 map = {
Deverything.cddl19 map: {
Dcorner_cases.cddl194 ; Test combination of map + optional + * + size check
Dmanifest9.cddl209 ;SUIT_Command_ID /= suit-directive-map-filter
433 ;suit-directive-map-filter = 17 ; TBD
Dmanifest2.cddl291 suit-directive-map-filter = 17 ; TBD
Dmanifest3.cddl313 ;suit-directive-map-filter = 17 ; TBD
/zcbor-latest/tests/decode/test5_corner_cases/src/
Dmain.c797 struct Map map; in ZTEST() local
803 &map, NULL), NULL); in ZTEST()
804 zassert_false(map.listkey, NULL); in ZTEST()
805 zassert_equal(union_uint7uint_c, map.Union_choice, NULL); in ZTEST()
806 zassert_equal(1, map.uint7uint, NULL); in ZTEST()
807 zassert_equal(2, map.twotothree_count, NULL); in ZTEST()
808 zassert_equal(5, map.twotothree[0].twotothree.len, NULL); in ZTEST()
809 zassert_mem_equal("hello", map.twotothree[0].twotothree.value, in ZTEST()
811 zassert_equal(0, map.twotothree[1].twotothree.len, NULL); in ZTEST()
814 &map, NULL), NULL); in ZTEST()
[all …]
/zcbor-latest/
DRELEASE_NOTES.md73 * Using `:` for map keys.
106 * Using `:` for map keys.
116 * C library: Add support for searching for elements in a map.
178 * Using `:` for map keys.
226 * C API doesn't support searching through a map.
234 * Using `:` for map keys.
264 * C API doesn't support searching through a map.
293 * C API doesn't support searching through a map.
346 * C API doesn't support searching through a map.
392 …* This means that list/map/string sizes can be 64 bits on 64-bit architectures. Note that having 6…
[all …]
DREADME.md69 The `elem_count` member refers to the number of encoded objects in the current list or map.
70 `elem_count` starts again when entering a nested list or map, and is restored when exiting.
100 …hanges the default of `enforce_canonical` from `false` to `true` Note: the map ordering constraint…
105 …rray, ensuring it is not processed twice. If disabled, a count is kept for map as a whole. Enablin…
144 …This is a format where the serialization types (map, list, string, number etc.) are mapped directl…
159 …2. map keys other than text string: In YAML, such key value pairs are represented as `{"zcbor_keyv…
317 …- `x*y`: Between x and y times, inclusive. E.g. `Foo = {4*8(int => bstr)}` where Foo is a map with…
341 * Using `:` for map keys.
381 * 31: End of an indefinite-length `list` or `map`.
383 For `bstr` (2), `tstr` (3), `list` (4), and `map` (5), the _Value_ describes the length of the _Pay…
[all …]
DARCHITECTURE.md119 The representation for all three is 1-to-1 with the corresponding Python types, (list -> list, map
124 - non-text map keys
191 - The current position in a list or map, and the maximum expected number of elements.
/zcbor-latest/zcbor/
Dzcbor.py840 "UINT", *map(lambda num: int(num, 0), _range.split("..")))),
843 "INT", *map(lambda num: int(num, 0), _range.split("..")))),
846 "NINT", *map(lambda num: int(num, 0), _range.split("..")))),
849 "UINT", *map(lambda num: int(num, 0), _range.split("...")), inc_end=False)),
852 "INT", *map(lambda num: int(num, 0), _range.split("...")), inc_end=False)),
855 "NINT", *map(lambda num: int(num, 0), _range.split("...")), inc_end=False)),
870 *map(lambda num: int(num, 0), _range.split("..")))),
873 *map(lambda num: int(num, 0), _range.split("...")), inc_end=False)),
1095 list(map(lambda child: child.set_skipped(child.skip_condition()),
1097 list(map(lambda child: child.set_access_prefix(
/zcbor-latest/tests/encode/test3_corner_cases/src/
Dmain.c670 .map = { in ZTEST()
676 .map = { in ZTEST()
682 .map = { in ZTEST()
689 .map = { in ZTEST()