Lines Matching refs:min
32 # define OSSL_SAFE_MATH_ADDS(type_name, type, min, max) \ argument
42 return a < 0 ? min : max; \
59 # define OSSL_SAFE_MATH_ADDS(type_name, type, min, max) \ argument
66 || (a < 0 && b >= min - a) \
70 return a < 0 ? min : max; \
88 # define OSSL_SAFE_MATH_SUBS(type_name, type, min, max) \ argument
98 return a < 0 ? min : max; \
102 # define OSSL_SAFE_MATH_SUBS(type_name, type, min, max) \ argument
108 || (b > 0 && a >= min + b) \
113 return a < 0 ? min : max; \
132 # define OSSL_SAFE_MATH_MULS(type_name, type, min, max) \ argument
142 return (a < 0) ^ (b < 0) ? min : max; \
159 # define OSSL_SAFE_MATH_MULS(type_name, type, min, max) \ argument
170 if (a != min && b != min) { \
178 return (a < 0) ^ (b < 0) ? min : max; \
195 # define OSSL_SAFE_MATH_DIVS(type_name, type, min, max) \ argument
202 return a < 0 ? min : max; \
204 if (b == -1 && a == min) { \
225 # define OSSL_SAFE_MATH_MODS(type_name, type, min, max) \ argument
234 if (b == -1 && a == min) { \
255 # define OSSL_SAFE_MATH_NEGS(type_name, type, min) \ argument
259 if (a != min) \
262 return min; \
278 # define OSSL_SAFE_MATH_ABSS(type_name, type, min) \ argument
282 if (a != min) \
285 return min; \