Home
last modified time | relevance | path

Searched refs:unum_setAttribute (Results 1 – 16 of 16) 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 …]
Duscanf_p.cpp733 unum_setAttribute(localFormat, UNUM_PARSE_INT_ONLY, parseIntOnly); in u_scanf_integer_handler()
/external/icu/icu4c/source/test/cintltst/
Dcnumtst.c767 unum_setAttribute(def, attr, newvalue); in TestNumberFormat()
776 unum_setAttribute(def, attr, newvalue); in TestNumberFormat()
785 unum_setAttribute(def, attr, newvalue); in TestNumberFormat()
797 unum_setAttribute(def, attr, newvalue); in TestNumberFormat()
844 unum_setAttribute(dec_en, UNUM_LENIENT_PARSE, 0); in TestNumberFormat()
1231 unum_setAttribute(fmt, UNUM_SIGNIFICANT_DIGITS_USED, TRUE); in TestSignificantDigits()
1232 unum_setAttribute(fmt, UNUM_MAX_SIGNIFICANT_DIGITS, 6); in TestSignificantDigits()
1272 unum_setAttribute(fmt, UNUM_LENIENT_PARSE, FALSE); in TestSigDigRounding()
1273 unum_setAttribute(fmt, UNUM_SIGNIFICANT_DIGITS_USED, TRUE); in TestSigDigRounding()
1274 unum_setAttribute(fmt, UNUM_MAX_SIGNIFICANT_DIGITS, 2); in TestSigDigRounding()
[all …]
Dcrelativedateformattest.c365 unum_setAttribute(nfToAdopt, UNUM_MIN_FRACTION_DIGITS, itemPtr->decPlaces); in TestRelDateFmt()
366 unum_setAttribute(nfToAdopt, UNUM_MAX_FRACTION_DIGITS, itemPtr->decPlaces); in TestRelDateFmt()
367 unum_setAttribute(nfToAdopt, UNUM_ROUNDING_MODE, UNUM_ROUND_DOWN); in TestRelDateFmt()
446 unum_setAttribute(nfToAdopt, UNUM_MIN_FRACTION_DIGITS, itemPtr->decPlaces); in TestNumericField()
447 unum_setAttribute(nfToAdopt, UNUM_MAX_FRACTION_DIGITS, itemPtr->decPlaces); in TestNumericField()
448 unum_setAttribute(nfToAdopt, UNUM_ROUNDING_MODE, UNUM_ROUND_DOWN); in TestNumericField()
Dcurrtest.c179 unum_setAttribute(fmt, UNUM_FRACTION_DIGITS, 2); in TestFractionDigitOverride()
186 unum_setAttribute(fmt, UNUM_FRACTION_DIGITS, 3); in TestFractionDigitOverride()
Dcnmdptst.c581 unum_setAttribute(nf, UNUM_MAX_FRACTION_DIGITS, maxFractionDigits); in roundingTest()
686 unum_setAttribute(f, UNUM_SECONDARY_GROUPING_SIZE, 4); in TestSecondaryGrouping()
966 unum_setAttribute(nnf, UNUM_MAX_FRACTION_DIGITS, 2); in TestRounding5350()
1011 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.h1175 unum_setAttribute( UNumberFormat* fmt,
/external/icu/libicu/cts_headers/unicode/
Dunum.h1175 unum_setAttribute( UNumberFormat* fmt,
Durename.h1237 #define unum_setAttribute U_ICU_ENTRY_POINT_RENAME(unum_setAttribute) macro
/external/icu/libandroidicu/include/unicode/
Dunum.h1175 unum_setAttribute( UNumberFormat* fmt,
Durename.h1237 #define unum_setAttribute U_ICU_ENTRY_POINT_RENAME(unum_setAttribute) macro
/external/icu/icu4c/source/i18n/
Dunum.cpp555 unum_setAttribute( UNumberFormat* fmt, in unum_setAttribute() function
/external/icu/icu4c/source/common/unicode/
Durename.h1237 #define unum_setAttribute U_ICU_ENTRY_POINT_RENAME(unum_setAttribute) macro
/external/icu/libicu/ndk_headers/unicode/
Durename.h1237 #define unum_setAttribute U_ICU_ENTRY_POINT_RENAME(unum_setAttribute) macro
/external/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp7153 unum_setAttribute(fmt,UNUM_ROUNDING_MODE,UNUM_ROUND_HALFEVEN); in Test9087()