Home
last modified time | relevance | path

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

/zcbor-3.5.0-3.4.0/zcbor/
Dzcbor.py518 def type_and_range(self, new_type, min_val, max_val, inc_end=True): argument
520 max_val -= 1
525 if min_val > max_val:
528 (min_val, max_val))
529 if min_val == max_val:
533 self.set_max_value(max_val)
535 self.set_size_range(sizeof(min_val), sizeof(max_val))
537 self.set_size_range(sizeof(abs(max_val)), sizeof(abs(min_val)))
539 self.set_size_range(None, max(sizeof(abs(max_val)), sizeof(abs(min_val))))
2156 max_val = None
[all …]