Home
last modified time | relevance | path

Searched refs:unum_setAttribute (Results 1 – 9 of 9) sorted by relevance

/external/icu/icu4c/source/io/
Duprntf_p.c307 unum_setAttribute(format, UNUM_FRACTION_DIGITS, info->fPrecision); in u_printf_double_handler()
312 unum_setAttribute(format, UNUM_FRACTION_DIGITS, 6); in u_printf_double_handler()
316 unum_setAttribute(format, UNUM_FRACTION_DIGITS, 6); in u_printf_double_handler()
333 unum_setAttribute(format, UNUM_MIN_FRACTION_DIGITS, minDecimalDigits); in u_printf_double_handler()
334 unum_setAttribute(format, UNUM_MAX_FRACTION_DIGITS, maxDecimalDigits); in u_printf_double_handler()
383 unum_setAttribute(format, UNUM_MIN_INTEGER_DIGITS, info->fPrecision); in u_printf_integer_handler()
400 unum_setAttribute(format, UNUM_MIN_INTEGER_DIGITS, minDigits); in u_printf_integer_handler()
514 unum_setAttribute(format, UNUM_MIN_INTEGER_DIGITS, info->fPrecision); in u_printf_uinteger_handler()
528 unum_setAttribute(format, UNUM_MIN_INTEGER_DIGITS, minDigits); in u_printf_uinteger_handler()
619 unum_setAttribute(format, UNUM_FRACTION_DIGITS, info->fPrecision); in u_printf_scientific_handler()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcnumtst.c740 unum_setAttribute(def, attr, newvalue); in TestNumberFormat()
749 unum_setAttribute(def, attr, newvalue); in TestNumberFormat()
758 unum_setAttribute(def, attr, newvalue); in TestNumberFormat()
769 unum_setAttribute(def, attr, newvalue); in TestNumberFormat()
816 unum_setAttribute(dec_en, UNUM_LENIENT_PARSE, 0); in TestNumberFormat()
1193 unum_setAttribute(fmt, UNUM_SIGNIFICANT_DIGITS_USED, TRUE); in TestSignificantDigits()
1194 unum_setAttribute(fmt, UNUM_MAX_SIGNIFICANT_DIGITS, 6); in TestSignificantDigits()
1234 unum_setAttribute(fmt, UNUM_LENIENT_PARSE, FALSE); in TestSigDigRounding()
1235 unum_setAttribute(fmt, UNUM_SIGNIFICANT_DIGITS_USED, TRUE); in TestSigDigRounding()
1236 unum_setAttribute(fmt, UNUM_MAX_SIGNIFICANT_DIGITS, 2); in TestSigDigRounding()
[all …]
Dcurrtest.c176 unum_setAttribute(fmt, UNUM_FRACTION_DIGITS, 2); in TestFractionDigitOverride()
183 unum_setAttribute(fmt, UNUM_FRACTION_DIGITS, 3); in TestFractionDigitOverride()
Dcnmdptst.c645 unum_setAttribute(nf, UNUM_MAX_FRACTION_DIGITS, maxFractionDigits); in roundingTest()
750 unum_setAttribute(f, UNUM_SECONDARY_GROUPING_SIZE, 4); in TestSecondaryGrouping()
998 unum_setAttribute(nnf, UNUM_MAX_FRACTION_DIGITS, 2); in TestRounding5350()
1043 unum_setAttribute(nf, UNUM_ROUNDING_MODE, roundingMode); in roundingTest2()
/external/icu/icu4c/source/test/perf/howExpensiveIs/
DhowExpensiveIs.cpp345 unum_setAttribute(fmt, fAttr,fAttrValue); in initFmt()
504 unum_setAttribute(fmt, UNUM_GROUPING_USED, UNUM_NO); in initFmt()
511 unum_setAttribute(fmt, UNUM_GROUPING_USED, UNUM_NO); in initFmt()
/external/icu/icu4c/source/i18n/unicode/
Dunum.h1002 unum_setAttribute( UNumberFormat* fmt,
/external/icu/icu4c/source/i18n/
Dunum.cpp488 unum_setAttribute( UNumberFormat* fmt, in unum_setAttribute() function
/external/icu/icu4c/source/common/unicode/
Durename.h1162 #define unum_setAttribute U_ICU_ENTRY_POINT_RENAME(unum_setAttribute) macro
/external/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp6696 unum_setAttribute(fmt,UNUM_ROUNDING_MODE,UNUM_ROUND_HALFEVEN); in Test9087()