Home
last modified time | relevance | path

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

/zcbor-3.6.0/
DRELEASE_NOTES.md22 * Using `&()` to turn groups into choices (unions). `&()` is supported when used with `.bits`.
94 * Using `&()` to turn groups into choices (unions). `&()` is supported when used with `.bits`.
150 * Using `&()` to turn groups into choices (unions). `&()` is supported when used with `.bits`.
189 * Using `&()` to turn groups into choices (unions). `&()` is supported when used with `.bits`.
206 … size, depending on compiler and project. This removes the restrictions that enums must be 32 bits.
218 * Using `&()` to turn groups into choices (unions). `&()` is supported when used with `.bits`.
271 * Using `&()` to turn groups into choices (unions). `&()` is supported when used with `.bits`.
314 … `size_t` or `uint_fast32_t` which are typically the same size as the architecture (32 or 64 bits).
315 …* This means that list/map/string sizes can be 64 bits on 64-bit architectures. Note that having 6…
360 * zcbor.py: Add suffix for literal values larger than 32-bits.
[all …]
DREADME.md95 …gth encoding, and always using minimal length encoding (e.g. not using 16 bits to encode a value <…
333 | 3 bits | 5 bits |
/zcbor-3.6.0/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-3.6.0/zcbor/
Dzcbor.py244 self.bits = None
679 def set_bits(self, bits): argument
682 self.bits = bits
1178 if self.type == "UINT" and self.bits:
1389 if self.bits:
1390 mask = sum(((1 << b.value) for b in self.my_control_groups[self.bits].value))
2043 if self.bits:
2044 ret_val.extend(self.my_control_groups[self.bits].type_def_bits())
2383 if self.bits:
2387 for c in self.my_control_groups[self.bits].value])