Home
last modified time | relevance | path

Searched refs:it (Results 1 – 7 of 7) sorted by relevance

/zcbor-3.6.0/tests/cases/
Dcose.cddl26 ; Comment out the counter signature since it creates a circular type.
27 ; It is optional, so commenting it out is still conformant.
72 ; Comment out the recipient list since it creates a circular type.
73 ; It is optional, so commenting it out is still conformant.
Dmanifest16.cddl5 ; Comment out since it depends on deleted types (was probably meant to be deleted)
15 ; It is optional, so removing it is still conformant.
80 ; Comment out since it depends on deleted types (was probably meant to be deleted)
132 ; Comment out since it depends on deleted types (was probably meant to be deleted)
Dmanifest14.cddl15 ; It is optional, so removing it is still conformant.
/zcbor-3.6.0/
DARCHITECTURE.md26 …arses a CDDL string, and spawns new instances of itself to represent the (child) types it contains.
59 For `"OTHER"`, `self.value` is a string with the name of the type it refers to.
94 …. A single type possibly needs multiple member variables in the generated code to describe it, like
97 - the number of times it repeats
99 - key_var_condition(): Whether it needs a key member
107 Or they can decode binary CBOR and write python code to inspect it, or just convert it back into YA…
118 All three use the same internal representation of the decoded data, so it's trivial to convert betw…
149 ….e. its value is predetermined, like in `Foo = 5`), the code will validate it, but CodeGenerator w…
150 - If a `"GROUP"` or `"UNION"` has only one child, it can be removed as a level of indirection.
164 When invoking CodeGenerator, the user must decide which types it will need direct access to decode/…
[all …]
DREADME.md9 It can for example validate a YAML file against a schema and convert it into CBOR.
26 - Validate a YAML/JSON file and translate it into CBOR e.g. for transmission.
27 - Validate a YAML/JSON/CBOR file before processing it with some other tool
100 … maps. When enabled, a flag is kept for each element in an array, ensuring it is not processed twi…
106 The zcbor.py script can directly read CBOR, YAML, or JSON data and validate it against a CDDL descr…
143 …This format is implemented using named tuples, and is immutable, meaning that it can be used for i…
173 Finally, it takes the "entry types" (`-t`) and creates a public API function for each of them.
174 While doing these things, it will make a number of optimizations, e.g. inlining code for small type…
187 The generated code will validate the input, which means that it will check all the restriction set …
198 …nd adds the generated and non-generated source files as well as required include directories to it.
[all …]
DRELEASE_NOTES.md46 * zcbor_debug.h: Add function for getting error string and printing it
69 * src: Abstract float16 conversion and move it to zcbor_common.c
83 * zcbor.py: Fix cborhex generation so it generates newlines instead of spaces
139 * zcbor.py: Fix 'zcbor --version' so it works again
241 …* Make it easier to initialize zcbor_state_t objects: Allow single states as input to zcbor_new_st…
243 * Add zcbor_peek_error() for reading the error value without clearing it.
323 * Remove `zcbor_any_encode()` since it was just an alias for `zcbor_nil_put()`.
339 * decode: Remove test4 since it hasn't been used or updated.
354 * src: Fix code so it builds correctly with asserts enabled.
356 * zcbor_decode.c: Fix `zcbor_any_skip()` so it reverts the state correctly on fail.
/zcbor-3.6.0/zcbor/
Dzcbor.py1469 def _iter_is_empty(self, it): argument
1471 val = next(it)
1476 + "\n elem: ".join(str(elem) for elem in ([val] + list(it))))
1479 def _iter_next(self, it): argument
1481 next_obj = next(it)
1539 def _decode_obj(self, it): argument
1542 it, it_copy = tee(it)
1546 it, it_copy = tee(it)
1552 return self.my_types[self.value]._decode_full(it)
1555 child_it = it
[all …]