Home
last modified time | relevance | path

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

/zcbor-3.7.0/zcbor/
Dzcbor.py227 self.min_size = None # Minimum size.
364 if self.min_size and self.min_size == self.max_size else None)
367 if self.min_size and self.max_size else None)
584 def type_value_size_range(self, new_type, value, min_size, max_size): argument
586 self.set_size_range(min_size, max_size)
641 def set_size_range(self, min_size, max_size_in, inc_end=True): argument
644 if (min_size and min_size < 0 or max_size and max_size < 0) \
645 or (None not in [min_size, max_size] and min_size > max_size):
648 (min_size, max_size))
650 self.set_min_size(min_size)
[all …]