Searched refs:uformatter (Results 1 – 4 of 4) sorted by relevance
/external/icu/icu4c/source/test/cintltst/ |
D | unumberformattertst.c | 81 UNumberFormatter* uformatter = unumf_openForSkeletonAndLocale( in TestSkeletonFormatToFields() local 86 unumf_formatInt(uformatter, 9876543210L, uresult, &ec); // "+9,876,543,210.00 m" in TestSkeletonFormatToFields() 154 unumf_close(uformatter); in TestSkeletonFormatToFields() 164 …UNumberFormatter* uformatter = unumf_openForSkeletonAndLocale(u"precision-integer", -1, "en", &ec); in TestExampleCode() local 170 unumf_formatDouble(uformatter, 5142.3, uresult, &ec); in TestExampleCode() 184 unumf_close(uformatter); in TestExampleCode()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | unumberformatter.h | 486 unumf_formatInt(const UNumberFormatter* uformatter, int64_t value, UFormattedNumber* uresult, 506 unumf_formatDouble(const UNumberFormatter* uformatter, double value, UFormattedNumber* uresult, 530 unumf_formatDecimal(const UNumberFormatter* uformatter, const char* value, int32_t valueLen, 620 unumf_close(UNumberFormatter* uformatter);
|
/external/icu/icu4c/source/i18n/ |
D | number_capi.cpp | 111 unumf_formatInt(const UNumberFormatter* uformatter, int64_t value, UFormattedNumber* uresult, in unumf_formatInt() argument 113 const UNumberFormatterData* formatter = UNumberFormatterData::validate(uformatter, *ec); in unumf_formatInt() 123 unumf_formatDouble(const UNumberFormatter* uformatter, double value, UFormattedNumber* uresult, in unumf_formatDouble() argument 125 const UNumberFormatterData* formatter = UNumberFormatterData::validate(uformatter, *ec); in unumf_formatDouble() 135 unumf_formatDecimal(const UNumberFormatter* uformatter, const char* value, int32_t valueLen, in unumf_formatDecimal() argument 137 const UNumberFormatterData* formatter = UNumberFormatterData::validate(uformatter, *ec); in unumf_formatDecimal()
|
/external/icu/icu4c/source/test/intltest/ |
D | numbertest_api.cpp | 2440 …LocalUNumberFormatterPointer uformatter(unumf_openForSkeletonAndLocale(u"percent", -1, "en", &ec)); in localPointerCAPI() local 2445 unumf_formatDecimal(uformatter.getAlias(), "9.87E-3", -1, uresult.getAlias(), &ec); in localPointerCAPI()
|