Lines Matching refs:max
165 int64_t min, int64_t max)
170 if (min > max)
175 if (max > INT8_MAX || min < INT8_MIN)
179 if (max > INT16_MAX || min < INT16_MIN)
183 if (max > INT32_MAX || min < INT32_MIN)
187 if (max > INT64_MAX || min < INT64_MIN)
194 if (min == 0 && max == 0) {
196 max = (1ULL << (8 * sz - 1)) - 1;
207 } else if (val > max) {
236 uint64_t min, uint64_t max)
240 if (min > max)
245 if (max > UINT8_MAX)
249 if (max > UINT16_MAX)
253 if (max > UINT32_MAX)
257 if (max > UINT64_MAX)
264 if (min == 0 && max == 0) {
266 max = (1ULL << (8 * sz - 1)) * 2 - 1;
275 } else if (val > max) {