Lines Matching refs:max_val
518 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
2161 max_val = self.max_size
2164 max_val = self.max_value