Home
last modified time | relevance | path

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

/zcbor-latest/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)
Dcorner_cases.cddl285 ; Doesn't need test code, it's tested when the struct is compiled.
Dmanifest14.cddl15 ; It is optional, so removing it is still conformant.
/zcbor-latest/
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…
144 ….e. its value is predetermined, like in `Foo = 5`), the code will validate it, but CodeGenerator w…
145 - If a `"GROUP"` or `"UNION"` has only one child, it can be removed as a level of indirection.
159 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
103 `ZCBOR_STOP_ON_ERROR` | Enable the `stop_on_error` functionality. Note that it also has to be e…
105 … maps. When enabled, a flag is kept for each element in an array, ensuring it is not processed twi…
111 The zcbor.py script can directly read CBOR, YAML, or JSON data and validate it against a CDDL descr…
148 …This format is implemented using named tuples, and is immutable, meaning that it can be used for i…
178 Finally, it takes the "entry types" (`-t`) and creates a public API function for each of them.
179 While doing these things, it will make a number of optimizations, e.g. inlining code for small type…
192 The generated code will validate the input, which means that it will check all the restriction set …
[all …]
DRELEASE_NOTES.md123 * zcbor_debug.h: Add function for getting error string and printing it
146 * src: Abstract float16 conversion and move it to zcbor_common.c
160 * zcbor.py: Fix cborhex generation so it generates newlines instead of spaces
216 * zcbor.py: Fix 'zcbor --version' so it works again
318 …* Make it easier to initialize zcbor_state_t objects: Allow single states as input to zcbor_new_st…
320 * Add zcbor_peek_error() for reading the error value without clearing it.
400 * Remove `zcbor_any_encode()` since it was just an alias for `zcbor_nil_put()`.
416 * decode: Remove test4 since it hasn't been used or updated.
431 * src: Fix code so it builds correctly with asserts enabled.
433 * zcbor_decode.c: Fix `zcbor_any_skip()` so it reverts the state correctly on fail.
/zcbor-latest/zcbor/
Dzcbor.py1566 def _iter_is_empty(self, it): argument
1572 val = next(it)
1577 + "\n elem: ".join(str(elem) for elem in ([val] + list(it))))
1579 def _iter_next(self, it): argument
1582 next_obj = next(it)
1638 def _decode_obj(self, it): argument
1645 it, it_copy = tee(it)
1649 it, it_copy = tee(it)
1655 return self.my_types[self.value]._decode_full(it)
1658 child_it = it
[all …]