Lines Matching refs:max
94 int max; in _dopr() local
102 max = -1; in _dopr()
165 if (max < 0) in _dopr()
166 max = 0; in _dopr()
167 max = 10 * max + char_to_int(ch); in _dopr()
170 max = va_arg(args, int); in _dopr()
230 max, flags)) in _dopr()
259 min, max, flags)) in _dopr()
267 if (!fmtfp(sbuffer, buffer, &currlen, maxlen, fvalue, min, max, in _dopr()
279 if (!fmtfp(sbuffer, buffer, &currlen, maxlen, fvalue, min, max, in _dopr()
291 if (!fmtfp(sbuffer, buffer, &currlen, maxlen, fvalue, min, max, in _dopr()
302 if (max < 0) { in _dopr()
304 max = INT_MAX; in _dopr()
306 max = *maxlen; in _dopr()
309 flags, min, max)) in _dopr()
315 value, 16, min, max, flags | DP_F_NUM)) in _dopr()
340 max = -1; in _dopr()
367 size_t *maxlen, const char *value, int flags, int min, int max) in fmtstr() argument
376 strln = OPENSSL_strnlen(value, max < 0 ? SIZE_MAX : (size_t)max); in fmtstr()
381 if (max >= 0) { in fmtstr()
386 if (max < INT_MAX - padlen) in fmtstr()
387 max += padlen; in fmtstr()
389 max = INT_MAX; in fmtstr()
394 while ((padlen > 0) && (max < 0 || cnt < max)) { in fmtstr()
400 while (strln > 0 && (max < 0 || cnt < max)) { in fmtstr()
406 while ((padlen < 0) && (max < 0 || cnt < max)) { in fmtstr()
419 size_t *maxlen, int64_t value, int base, int min, int max, int flags) in fmtint() argument
430 if (max < 0) in fmtint()
431 max = 0; in fmtint()
459 zpadlen = max - place; in fmtint()
461 min - OSSL_MAX(max, place) - (signvalue ? 1 : 0) - strlen(prefix); in fmtint()
547 size_t *maxlen, LDOUBLE fvalue, int min, int max, int flags, int style) in fmtfp() argument
566 if (max < 0) in fmtfp()
567 max = 6; in fmtfp()
586 } else if ((max == 0 && fvalue >= 10) in fmtfp()
587 || (max > 0 && fvalue >= pow_10(max))) { in fmtfp()
614 if (max == 0) in fmtfp()
615 max = 1; in fmtfp()
618 max -= (exp + 1); in fmtfp()
619 if (max < 0) { in fmtfp()
631 max--; in fmtfp()
652 if (max > 9) in fmtfp()
653 max = 9; in fmtfp()
659 max10 = roundv(pow_10(max)); in fmtfp()
660 fracpart = roundv(pow_10(max) * (ufvalue - intpart)); in fmtfp()
677 while (fplace < max) { in fmtfp()
680 max--; in fmtfp()
682 if (fplace < max) in fmtfp()
718 padlen = min - iplace - max - (max > 0 ? 1 : 0) - ((signvalue) ? 1 : 0); in fmtfp()
722 zpadlen = max - fplace; in fmtfp()
760 if (max > 0 || (flags & DP_F_NUM)) { in fmtfp()