Home
last modified time | relevance | path

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

/zcbor-3.6.0/zcbor/
Dzcbor.py218 self.max_value = None # Maximum value. Only used for numbers and bools.
514 def set_max_value(self, max_value): argument
515 self.max_value = max_value
549 self.max_value = -1
628 self.max_value = int((value >> 1) - 1)
630 self.max_value = int(value - 1)
661 if self.type == "UINT" and max_size and self.max_value is None:
666 self.max_value = 256**max_size - 1
1176 and (self.min_value is not None or self.max_value is not None):
1386 if self.max_value is not None:
[all …]