Searched refs:min_size (Results 1 – 1 of 1) sorted by relevance
/zcbor-latest/zcbor/ |
D | zcbor.py | 233 self.min_size = None # Minimum size. 373 if (self.min_size is not None) and self.min_size == self.max_size else None) 376 if (self.min_size is not None) and (self.max_size is not None) else None) 593 def type_value_size_range(self, new_type, value, min_size, max_size): argument 596 self.set_size_range(min_size, max_size) 648 def set_size_range(self, min_size, max_size_in, inc_end=True): argument 654 if (min_size and min_size < 0 or max_size and max_size < 0) \ 655 or (None not in [min_size, max_size] and min_size > max_size): 658 (min_size, max_size)) 660 self.set_min_size(min_size) [all …]
|