Home
last modified time | relevance | path

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

/zcbor-3.5.0-3.4.0/zcbor/
Dzcbor.py212 self.min_value = None # Minimum value. Only used for numbers and bools.
475 def set_min_value(self, min_value): argument
476 self.min_value = min_value
600 self.min_value = int(-1 * (value >> 1) + 1)
1150 and (self.min_value is not None or self.max_value is not None):
1347 if self.min_value is not None:
1348 self._decode_assert(obj >= self.min_value, "Minimum value: " + str(self.min_value))
1817 if self.min_value in defines:
1818 self.min_value = defines[self.min_value]
1836 for v in [self.value or 0, self.max_value or 0, self.min_value or 0]:
[all …]