Home
last modified time | relevance | path

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

/external/icu/icu4c/source/io/
Duprntf_p.cpp314 unum_setAttribute(format, UNUM_FRACTION_DIGITS, info->fPrecision); in u_printf_double_handler()
319 unum_setAttribute(format, UNUM_FRACTION_DIGITS, 6); in u_printf_double_handler()
323 unum_setAttribute(format, UNUM_FRACTION_DIGITS, 6); in u_printf_double_handler()
340 unum_setAttribute(format, UNUM_MIN_FRACTION_DIGITS, minDecimalDigits); in u_printf_double_handler()
341 unum_setAttribute(format, UNUM_MAX_FRACTION_DIGITS, maxDecimalDigits); in u_printf_double_handler()
390 unum_setAttribute(format, UNUM_MIN_INTEGER_DIGITS, info->fPrecision); in u_printf_integer_handler()
407 unum_setAttribute(format, UNUM_MIN_INTEGER_DIGITS, minDigits); in u_printf_integer_handler()
523 unum_setAttribute(format, UNUM_MIN_INTEGER_DIGITS, info->fPrecision); in u_printf_uinteger_handler()
537 unum_setAttribute(format, UNUM_MIN_INTEGER_DIGITS, minDigits); in u_printf_uinteger_handler()
629 unum_setAttribute(format, UNUM_FRACTION_DIGITS, info->fPrecision); in u_printf_scientific_handler()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcnumtst.c748 unum_setAttribute(def, attr, newvalue); in TestNumberFormat()
757 unum_setAttribute(def, attr, newvalue); in TestNumberFormat()
766 unum_setAttribute(def, attr, newvalue); in TestNumberFormat()
777 unum_setAttribute(def, attr, newvalue); in TestNumberFormat()
824 unum_setAttribute(dec_en, UNUM_LENIENT_PARSE, 0); in TestNumberFormat()
1205 unum_setAttribute(fmt, UNUM_SIGNIFICANT_DIGITS_USED, TRUE); in TestSignificantDigits()
1206 unum_setAttribute(fmt, UNUM_MAX_SIGNIFICANT_DIGITS, 6); in TestSignificantDigits()
1246 unum_setAttribute(fmt, UNUM_LENIENT_PARSE, FALSE); in TestSigDigRounding()
1247 unum_setAttribute(fmt, UNUM_SIGNIFICANT_DIGITS_USED, TRUE); in TestSigDigRounding()
1248 unum_setAttribute(fmt, UNUM_MAX_SIGNIFICANT_DIGITS, 2); in TestSigDigRounding()
[all …]
Dcrelativedateformattest.c158 unum_setAttribute(nfToAdopt, UNUM_MIN_FRACTION_DIGITS, itemPtr->decPlaces); in TestRelDateFmt()
159 unum_setAttribute(nfToAdopt, UNUM_MAX_FRACTION_DIGITS, itemPtr->decPlaces); in TestRelDateFmt()
160 unum_setAttribute(nfToAdopt, UNUM_ROUNDING_MODE, UNUM_ROUND_DOWN); in TestRelDateFmt()
Dcurrtest.c179 unum_setAttribute(fmt, UNUM_FRACTION_DIGITS, 2); in TestFractionDigitOverride()
186 unum_setAttribute(fmt, UNUM_FRACTION_DIGITS, 3); in TestFractionDigitOverride()
Dcnmdptst.c648 unum_setAttribute(nf, UNUM_MAX_FRACTION_DIGITS, maxFractionDigits); in roundingTest()
753 unum_setAttribute(f, UNUM_SECONDARY_GROUPING_SIZE, 4); in TestSecondaryGrouping()
1033 unum_setAttribute(nnf, UNUM_MAX_FRACTION_DIGITS, 2); in TestRounding5350()
1078 unum_setAttribute(nf, UNUM_ROUNDING_MODE, roundingMode); in roundingTest2()
/external/icu/icu4c/source/test/perf/howExpensiveIs/
DhowExpensiveIs.cpp350 unum_setAttribute(fmt, fAttr,fAttrValue); in initFmt()
509 unum_setAttribute(fmt, UNUM_GROUPING_USED, UNUM_NO); in initFmt()
516 unum_setAttribute(fmt, UNUM_GROUPING_USED, UNUM_NO); in initFmt()
/external/icu/icu4c/source/i18n/unicode/
Dunum.h1113 unum_setAttribute( UNumberFormat* fmt,
/external/icu/icu4c/source/i18n/
Dunum.cpp550 unum_setAttribute( UNumberFormat* fmt, in unum_setAttribute() function
/external/icu/icu4c/source/common/unicode/
Durename.h1167 #define unum_setAttribute U_ICU_ENTRY_POINT_RENAME(unum_setAttribute) macro
/external/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp7212 unum_setAttribute(fmt,UNUM_ROUNDING_MODE,UNUM_ROUND_HALFEVEN); in Test9087()