Lines Matching refs:precision
168 #define FIX_PRECISION(adjust, precision, s, s_len) do { \ argument
170 while (s_len < (size_t)precision) { \
196 int precision = 0; in xbuf_format_converter() local
288 STR_TO_DEC(fmt, precision); in xbuf_format_converter()
290 precision = va_arg(ap, int); in xbuf_format_converter()
292 if (precision < -1) in xbuf_format_converter()
293 precision = -1; in xbuf_format_converter()
295 precision = 0; in xbuf_format_converter()
297 if (precision > FORMAT_CONV_MAX_PRECISION) { in xbuf_format_converter()
298 precision = FORMAT_CONV_MAX_PRECISION; in xbuf_format_converter()
384 if (adjust_precision && (size_t)precision < s_len) { in xbuf_format_converter()
385 s_len = precision; in xbuf_format_converter()
469 FIX_PRECISION(adjust_precision, precision, s, s_len); in xbuf_format_converter()
516 FIX_PRECISION(adjust_precision, precision, s, s_len); in xbuf_format_converter()
559 FIX_PRECISION(adjust_precision, precision, s, s_len); in xbuf_format_converter()
574 s_len = strnlen(s, precision); in xbuf_format_converter()
614 (adjust_precision == NO) ? FLOAT_DIGITS : precision, in xbuf_format_converter()
658 precision = FLOAT_DIGITS; in xbuf_format_converter()
659 else if (precision == 0) in xbuf_format_converter()
660 precision = 1; in xbuf_format_converter()
671 …s = php_gcvt(fp_num, precision, (*fmt=='H' || *fmt == 'k') ? '.' : LCONV_DECIMAL_POINT, (*fmt == '… in xbuf_format_converter()