Lines Matching refs:fPrecision
234 if (info->fPrecision != -1 && info->fPrecision < len) { in u_printf_string_handler()
235 len = info->fPrecision; in u_printf_string_handler()
312 if(info->fPrecision != -1) { in u_printf_double_handler()
314 unum_setAttribute(format, UNUM_FRACTION_DIGITS, info->fPrecision); in u_printf_double_handler()
387 if(info->fPrecision != -1) { in u_printf_integer_handler()
390 unum_setAttribute(format, UNUM_MIN_INTEGER_DIGITS, info->fPrecision); in u_printf_integer_handler()
441 (info->fPrecision == -1 && info->fZero) ? info->fWidth : info->fPrecision); in u_printf_hex_handler()
477 info->fPrecision == -1 && info->fZero ? info->fWidth : info->fPrecision); in u_printf_octal_handler()
520 if(info->fPrecision != -1) { in u_printf_uinteger_handler()
523 unum_setAttribute(format, UNUM_MIN_INTEGER_DIGITS, info->fPrecision); in u_printf_uinteger_handler()
626 if(info->fPrecision != -1) { in u_printf_scientific_handler()
629 unum_setAttribute(format, UNUM_FRACTION_DIGITS, info->fPrecision); in u_printf_scientific_handler()
633 unum_setAttribute(format, UNUM_MAX_FRACTION_DIGITS, info->fPrecision); in u_printf_scientific_handler()
715 if(info->fPrecision != -1) { in u_printf_percent_handler()
717 unum_setAttribute(format, UNUM_FRACTION_DIGITS, info->fPrecision); in u_printf_percent_handler()
774 if (info->fPrecision != -1 && info->fPrecision < len) { in u_printf_ustring_handler()
775 len = info->fPrecision; in u_printf_ustring_handler()
821 if (scidbl_info.fPrecision == -1 && num == uprv_trunc(num)) in u_printf_scidbl_handler()
825 scidbl_info.fPrecision = 0; in u_printf_scidbl_handler()
829 else if(num < 0.0001 || (scidbl_info.fPrecision < 1 && 1000000.0 <= num) in u_printf_scidbl_handler()
830 || (scidbl_info.fPrecision != -1 && num > uprv_pow10(scidbl_info.fPrecision))) in u_printf_scidbl_handler()
834 if (scidbl_info.fPrecision == -1) { in u_printf_scidbl_handler()
835 scidbl_info.fPrecision = 5; in u_printf_scidbl_handler()
847 significantDigits = scidbl_info.fPrecision; in u_printf_scidbl_handler()
918 if(info->fPrecision != -1) { in u_printf_spellout_handler()
920 unum_setAttribute(format, UNUM_FRACTION_DIGITS, info->fPrecision); in u_printf_spellout_handler()
1279 info->fPrecision = -1; in u_printf_parse()
1412 info->fPrecision = -2; in u_printf_parse()
1442 info->fPrecision = (int) (*alias++ - DIGIT_ZERO); in u_printf_parse()
1445 info->fPrecision *= 10; in u_printf_parse()
1446 info->fPrecision += (int) (*alias++ - DIGIT_ZERO); in u_printf_parse()
1500 if(info->fPrecision == -2) { in u_printf_parse()
1503 info->fPrecision = va_arg(ap, int32_t); in u_printf_parse()
1508 if(info->fPrecision < 0) in u_printf_parse()
1509 info->fPrecision = 0; in u_printf_parse()