Lines Matching refs:precision
182 #define FIX_PRECISION(adjust, precision, s, s_len) do { \ argument
184 while (s_len < precision) { \
210 int precision = 0; in xbuf_format_converter() local
304 STR_TO_DEC(fmt, precision); in xbuf_format_converter()
306 precision = va_arg(ap, int); in xbuf_format_converter()
308 if (precision < 0) in xbuf_format_converter()
309 precision = 0; in xbuf_format_converter()
311 precision = 0; in xbuf_format_converter()
313 if (precision > FORMAT_CONV_MAX_PRECISION) { in xbuf_format_converter()
314 precision = FORMAT_CONV_MAX_PRECISION; in xbuf_format_converter()
409 if (adjust_precision && precision < s_len) { in xbuf_format_converter()
410 s_len = precision; in xbuf_format_converter()
487 FIX_PRECISION(adjust_precision, precision, s, s_len); in xbuf_format_converter()
531 FIX_PRECISION(adjust_precision, precision, s, s_len); in xbuf_format_converter()
571 FIX_PRECISION(adjust_precision, precision, s, s_len); in xbuf_format_converter()
587 s_len = strnlen(s, precision); in xbuf_format_converter()
629 (adjust_precision == NO) ? FLOAT_DIGITS : precision, in xbuf_format_converter()
673 precision = FLOAT_DIGITS; in xbuf_format_converter()
674 else if (precision == 0) in xbuf_format_converter()
675 precision = 1; in xbuf_format_converter()
688 …s = php_gcvt(fp_num, precision, (*fmt=='H' || *fmt == 'k') ? '.' : LCONV_DECIMAL_POINT, (*fmt == '… in xbuf_format_converter()