Home
last modified time | relevance | path

Searched refs:my_types (Results 1 – 3 of 3) sorted by relevance

/zcbor-3.6.0/zcbor/
Dzcbor.py211 def __init__(self, default_max_qty, my_types, my_control_groups, base_name=None, argument
253 self.my_types = my_types
266 my_types = dict()
271 my_types = \
279 parsed = cddl_class(*args, default_max_qty, my_types, my_control_groups, **kwargs,
283 if my_type in my_types:
284 my_types[my_type] = parsed
291 for my_type in my_types:
292 my_types[my_type].set_id_prefix()
293 my_types[my_type].post_validate()
[all …]
/zcbor-3.6.0/tests/scripts/
Dtest_zcbor.py62 self.my_types = zcbor.DataTranslator.from_cddl(cddl_str, 16).my_types
63 cddl = self.my_types["SUIT_Envelope_Tagged"]
633 cddl = cddl_res.my_types['cfg']
647 cddl = cddl_res.my_types['Simples']
661 cddl = cddl_res.my_types['Floats']
689 cddl = cddl_res.my_types['Intmax1']
696 cddl = cddl_res.my_types['Intmax2']
724 cddl = cddl_res.my_types['InvalidIdentifiers']
/zcbor-3.6.0/
DARCHITECTURE.md78 There is a member called `self.my_types`, which is a dict of all the types defined in the CDDL file.
80 `"OTHER"` objects will look into `self.my_types[self.value]` to find its own definition.