Searched refs:clamp (Results 1 – 2 of 2) sorted by relevance
123 #define clamp(val, lo, hi) __careful_clamp(val, lo, hi) macro
267 clamp(width, -FIELD_WIDTH_MAX, FIELD_WIDTH_MAX); in set_field_width()276 spec->precision = clamp(prec, 0, PRECISION_MAX); in set_precision()