Home
last modified time | relevance | path

Searched refs:unum_setAttribute (Results 1 – 13 of 13) 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.c750 unum_setAttribute(def, attr, newvalue); in TestNumberFormat()
759 unum_setAttribute(def, attr, newvalue); in TestNumberFormat()
768 unum_setAttribute(def, attr, newvalue); in TestNumberFormat()
780 unum_setAttribute(def, attr, newvalue); in TestNumberFormat()
827 unum_setAttribute(dec_en, UNUM_LENIENT_PARSE, 0); in TestNumberFormat()
1214 unum_setAttribute(fmt, UNUM_SIGNIFICANT_DIGITS_USED, TRUE); in TestSignificantDigits()
1215 unum_setAttribute(fmt, UNUM_MAX_SIGNIFICANT_DIGITS, 6); in TestSignificantDigits()
1255 unum_setAttribute(fmt, UNUM_LENIENT_PARSE, FALSE); in TestSigDigRounding()
1256 unum_setAttribute(fmt, UNUM_SIGNIFICANT_DIGITS_USED, TRUE); in TestSigDigRounding()
1257 unum_setAttribute(fmt, UNUM_MAX_SIGNIFICANT_DIGITS, 2); in TestSigDigRounding()
[all …]
Dcrelativedateformattest.c180 unum_setAttribute(nfToAdopt, UNUM_MIN_FRACTION_DIGITS, itemPtr->decPlaces); in TestRelDateFmt()
181 unum_setAttribute(nfToAdopt, UNUM_MAX_FRACTION_DIGITS, itemPtr->decPlaces); in TestRelDateFmt()
182 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.h1135 unum_setAttribute( UNumberFormat* fmt,
/external/icu/libandroidicu/include/unicode/
Dunum.h1135 unum_setAttribute( UNumberFormat* fmt,
Durename.h1198 #define unum_setAttribute U_ICU_ENTRY_POINT_RENAME(unum_setAttribute) macro
/external/icu/icu4c/source/i18n/
Dunum.cpp550 unum_setAttribute( UNumberFormat* fmt, in unum_setAttribute() function
/external/icu/icu4c/source/common/unicode/
Durename.h1198 #define unum_setAttribute U_ICU_ENTRY_POINT_RENAME(unum_setAttribute) macro
/external/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp6954 unum_setAttribute(fmt,UNUM_ROUNDING_MODE,UNUM_ROUND_HALFEVEN); in Test9087()
/external/icu/libandroidicu/static_shim/
Dshim.cpp2080 unum_setAttribute(fmt, attr, newValue); in unum_setAttribute_android()