Home
last modified time | relevance | path

Searched refs:uformatter (Results 1 – 17 of 17) sorted by relevance

/third_party/icu/icu4c/source/test/cintltst/
Dunumberrangeformattertst.c50 UNumberRangeFormatter* uformatter = unumrf_openForSkeletonWithCollapseAndIdentityFallback( in TestExampleCode() local
62 unumrf_formatDoubleRange(uformatter, 3.0, 5.0, uresult, &ec); in TestExampleCode()
74 unumrf_close(uformatter); in TestExampleCode()
81 UNumberRangeFormatter* uformatter = unumrf_openForSkeletonWithCollapseAndIdentityFallback( in TestFormattedValue() local
94 unumrf_formatDecimalRange(uformatter, "5.5e4", -1, "1.5e5", -1, uresult, &ec); in TestFormattedValue()
121 unumrf_close(uformatter); in TestFormattedValue()
127 UNumberRangeFormatter* uformatter; in TestSkeletonParseError() local
131 uformatter = unumrf_openForSkeletonWithCollapseAndIdentityFallback( in TestSkeletonParseError()
139 unumrf_close(uformatter); in TestSkeletonParseError()
143 uformatter = unumrf_openForSkeletonWithCollapseAndIdentityFallback( in TestSkeletonParseError()
[all …]
Dunumberformattertst.c98 UNumberFormatter* uformatter = unumf_openForSkeletonAndLocale( in TestSkeletonFormatToFields() local
103 unumf_formatInt(uformatter, 9876543210L, uresult, &ec); // "+9,876,543,210.00 m" in TestSkeletonFormatToFields()
172 unumf_close(uformatter); in TestSkeletonFormatToFields()
182 …UNumberFormatter* uformatter = unumf_openForSkeletonAndLocale(u"precision-integer", -1, "en", &ec); in TestExampleCode() local
188 unumf_formatDouble(uformatter, 5142.3, uresult, &ec); in TestExampleCode()
202 unumf_close(uformatter); in TestExampleCode()
210 UNumberFormatter* uformatter = unumf_openForSkeletonAndLocale( in TestFormattedValue() local
216 unumf_formatInt(uformatter, 55000, uresult, &ec); // "55.00 K" in TestFormattedValue()
237 unumf_close(uformatter); in TestFormattedValue()
243 UNumberFormatter* uformatter; in TestSkeletonParseError() local
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Dunumberformatter.h486 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);
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dunumberformatter.h623 unumf_formatInt(const UNumberFormatter* uformatter, int64_t value, UFormattedNumber* uresult,
643 unumf_formatDouble(const UNumberFormatter* uformatter, double value, UFormattedNumber* uresult,
667 unumf_formatDecimal(const UNumberFormatter* uformatter, const char* value, int32_t valueLen,
810 unumf_close(UNumberFormatter* uformatter);
Dunumberrangeformatter.h286 const UNumberRangeFormatter* uformatter,
314 const UNumberRangeFormatter* uformatter,
418 unumrf_close(UNumberRangeFormatter* uformatter);
/third_party/icu/icu4c/source/i18n/unicode/
Dunumberformatter.h623 unumf_formatInt(const UNumberFormatter* uformatter, int64_t value, UFormattedNumber* uresult,
643 unumf_formatDouble(const UNumberFormatter* uformatter, double value, UFormattedNumber* uresult,
667 unumf_formatDecimal(const UNumberFormatter* uformatter, const char* value, int32_t valueLen,
810 unumf_close(UNumberFormatter* uformatter);
Dunumberrangeformatter.h286 const UNumberRangeFormatter* uformatter,
314 const UNumberRangeFormatter* uformatter,
418 unumrf_close(UNumberRangeFormatter* uformatter);
/third_party/node/deps/icu-small/source/i18n/unicode/
Dunumberformatter.h621 unumf_formatInt(const UNumberFormatter* uformatter, int64_t value, UFormattedNumber* uresult,
641 unumf_formatDouble(const UNumberFormatter* uformatter, double value, UFormattedNumber* uresult,
665 unumf_formatDecimal(const UNumberFormatter* uformatter, const char* value, int32_t valueLen,
806 unumf_close(UNumberFormatter* uformatter);
Dunumberrangeformatter.h284 const UNumberRangeFormatter* uformatter,
312 const UNumberRangeFormatter* uformatter,
416 unumrf_close(UNumberRangeFormatter* uformatter);
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_capi.cpp111 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()
/third_party/icu/icu4c/source/i18n/
Dnumber_capi.cpp113 unumf_formatInt(const UNumberFormatter* uformatter, int64_t value, UFormattedNumber* uresult, in unumf_formatInt() argument
115 const UNumberFormatterData* formatter = UNumberFormatterData::validate(uformatter, *ec); in unumf_formatInt()
125 unumf_formatDouble(const UNumberFormatter* uformatter, double value, UFormattedNumber* uresult, in unumf_formatDouble() argument
127 const UNumberFormatterData* formatter = UNumberFormatterData::validate(uformatter, *ec); in unumf_formatDouble()
137 unumf_formatDecimal(const UNumberFormatter* uformatter, const char* value, int32_t valueLen, in unumf_formatDecimal() argument
139 const UNumberFormatterData* formatter = UNumberFormatterData::validate(uformatter, *ec); in unumf_formatDecimal()
Dnumrange_capi.cpp109 const UNumberRangeFormatter* uformatter, in unumrf_formatDoubleRange() argument
114 … const UNumberRangeFormatterData* formatter = UNumberRangeFormatterData::validate(uformatter, *ec); in unumrf_formatDoubleRange()
126 const UNumberRangeFormatter* uformatter, in unumrf_formatDecimalRange() argument
131 … const UNumberRangeFormatterData* formatter = UNumberRangeFormatterData::validate(uformatter, *ec); in unumrf_formatDecimalRange()
/third_party/node/deps/icu-small/source/i18n/
Dnumber_capi.cpp113 unumf_formatInt(const UNumberFormatter* uformatter, int64_t value, UFormattedNumber* uresult, in unumf_formatInt() argument
115 const UNumberFormatterData* formatter = UNumberFormatterData::validate(uformatter, *ec); in unumf_formatInt()
126 unumf_formatDouble(const UNumberFormatter* uformatter, double value, UFormattedNumber* uresult, in unumf_formatDouble() argument
128 const UNumberFormatterData* formatter = UNumberFormatterData::validate(uformatter, *ec); in unumf_formatDouble()
139 unumf_formatDecimal(const UNumberFormatter* uformatter, const char* value, int32_t valueLen, in unumf_formatDecimal() argument
141 const UNumberFormatterData* formatter = UNumberFormatterData::validate(uformatter, *ec); in unumf_formatDecimal()
Dnumrange_capi.cpp109 const UNumberRangeFormatter* uformatter, in unumrf_formatDoubleRange() argument
114 … const UNumberRangeFormatterData* formatter = UNumberRangeFormatterData::validate(uformatter, *ec); in unumrf_formatDoubleRange()
128 const UNumberRangeFormatter* uformatter, in unumrf_formatDecimalRange() argument
133 … const UNumberRangeFormatterData* formatter = UNumberRangeFormatterData::validate(uformatter, *ec); in unumrf_formatDecimalRange()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_capi.cpp113 unumf_formatInt(const UNumberFormatter* uformatter, int64_t value, UFormattedNumber* uresult, in unumf_formatInt() argument
115 const UNumberFormatterData* formatter = UNumberFormatterData::validate(uformatter, *ec); in unumf_formatInt()
125 unumf_formatDouble(const UNumberFormatter* uformatter, double value, UFormattedNumber* uresult, in unumf_formatDouble() argument
127 const UNumberFormatterData* formatter = UNumberFormatterData::validate(uformatter, *ec); in unumf_formatDouble()
137 unumf_formatDecimal(const UNumberFormatter* uformatter, const char* value, int32_t valueLen, in unumf_formatDecimal() argument
139 const UNumberFormatterData* formatter = UNumberFormatterData::validate(uformatter, *ec); in unumf_formatDecimal()
Dnumrange_capi.cpp109 const UNumberRangeFormatter* uformatter, in unumrf_formatDoubleRange() argument
114 … const UNumberRangeFormatterData* formatter = UNumberRangeFormatterData::validate(uformatter, *ec); in unumrf_formatDoubleRange()
126 const UNumberRangeFormatter* uformatter, in unumrf_formatDecimalRange() argument
131 … const UNumberRangeFormatterData* formatter = UNumberRangeFormatterData::validate(uformatter, *ec); in unumrf_formatDecimalRange()
/third_party/icu/icu4c/source/test/intltest/
Dnumbertest_api.cpp5249 …LocalUNumberFormatterPointer uformatter(unumf_openForSkeletonAndLocale(u"percent", -1, "en", &ec)); in localPointerCAPI() local
5254 unumf_formatDecimal(uformatter.getAlias(), "9.87E-3", -1, uresult.getAlias(), &ec); in localPointerCAPI()