Home
last modified time | relevance | path

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

/zcbor-latest/
DRELEASE_NOTES.md66 * Using `&()` to turn groups into choices (unions). `&()` is supported when used with `.bits`.
99 * Using `&()` to turn groups into choices (unions). `&()` is supported when used with `.bits`.
171 * Using `&()` to turn groups into choices (unions). `&()` is supported when used with `.bits`.
227 * Using `&()` to turn groups into choices (unions). `&()` is supported when used with `.bits`.
266 * Using `&()` to turn groups into choices (unions). `&()` is supported when used with `.bits`.
283 … size, depending on compiler and project. This removes the restrictions that enums must be 32 bits.
295 * Using `&()` to turn groups into choices (unions). `&()` is supported when used with `.bits`.
348 * Using `&()` to turn groups into choices (unions). `&()` is supported when used with `.bits`.
391 … `size_t` or `uint_fast32_t` which are typically the same size as the architecture (32 or 64 bits).
392 …* This means that list/map/string sizes can be 64 bits on 64-bit architectures. Note that having 6…
[all …]
DREADME.md100 …gth encoding, and always using minimal length encoding (e.g. not using 16 bits to encode a value <…
334 * Using `&()` to turn groups into choices (unions). `&()` is supported when used with `.bits`.
356 | 3 bits | 5 bits |
/zcbor-latest/tests/cases/
Dmanifest20.cddl135 SUIT_Rep_Policy = uint .bits suit-reporting-bits
137 suit-reporting-bits = &(
Dmanifest16.cddl146 SUIT_Rep_Policy = uint .bits suit-reporting-bits
148 suit-reporting-bits = &(
Dmanifest14.cddl175 SUIT_Rep_Policy = uint .bits suit-reporting-bits
177 suit-reporting-bits = &(
Dmanifest12.cddl200 SUIT_Rep_Policy = uint ;.bits suit-reporting-bits
202 ;suit-reporting-bits = &(
Dmanifest9.cddl184 SUIT_Reporting_Policy = uint .bits suit-reporting-bits
186 suit-reporting-bits = &(
/zcbor-latest/zcbor/
Dzcbor.py250 self.bits = None
689 def set_bits(self, bits): argument
693 self.bits = bits
1247 if self.type == "UINT" and self.bits:
1482 if self.bits:
1483 mask = sum(((1 << b.value) for b in self.my_control_groups[self.bits].value))
2163 if self.bits:
2164 ret_val.extend(self.my_control_groups[self.bits].type_def_bits())
2509 if self.bits:
2513 for c in self.my_control_groups[self.bits].value])