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.c51 UNumberRangeFormatter* uformatter = unumrf_openForSkeletonWithCollapseAndIdentityFallback( in TestExampleCode() local
63 unumrf_formatDoubleRange(uformatter, 3.0, 5.0, uresult, &ec); in TestExampleCode()
75 unumrf_close(uformatter); in TestExampleCode()
82 UNumberRangeFormatter* uformatter = unumrf_openForSkeletonWithCollapseAndIdentityFallback( in TestFormattedValue() local
95 unumrf_formatDecimalRange(uformatter, "5.5e4", -1, "1.5e5", -1, uresult, &ec); in TestFormattedValue()
122 unumrf_close(uformatter); in TestFormattedValue()
128 UNumberRangeFormatter* uformatter; in TestSkeletonParseError() local
132 uformatter = unumrf_openForSkeletonWithCollapseAndIdentityFallback( in TestSkeletonParseError()
140 unumrf_close(uformatter); in TestSkeletonParseError()
144 uformatter = unumrf_openForSkeletonWithCollapseAndIdentityFallback( in TestSkeletonParseError()
[all …]
Dunumberformattertst.c105 UNumberFormatter* uformatter = unumf_openForSkeletonAndLocale( in TestSkeletonFormatToFields() local
110 unumf_formatInt(uformatter, 9876543210L, uresult, &ec); // "+9,876,543,210.00 m" in TestSkeletonFormatToFields()
179 unumf_close(uformatter); in TestSkeletonFormatToFields()
189 …UNumberFormatter* uformatter = unumf_openForSkeletonAndLocale(u"precision-integer", -1, "en", &ec); in TestExampleCode() local
195 unumf_formatDouble(uformatter, 5142.3, uresult, &ec); in TestExampleCode()
209 unumf_close(uformatter); in TestExampleCode()
217 UNumberFormatter* uformatter = unumf_openForSkeletonAndLocale( in TestFormattedValue() local
223 unumf_formatInt(uformatter, 55000, uresult, &ec); // "55.00 K" in TestFormattedValue()
244 unumf_close(uformatter); in TestFormattedValue()
250 UNumberFormatter* uformatter; in TestSkeletonParseError() local
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dnumber_capi.cpp140 unumf_formatInt(const UNumberFormatter* uformatter, int64_t value, UFormattedNumber* uresult, in unumf_formatInt() argument
142 const UNumberFormatterData* formatter = UNumberFormatterData::validate(uformatter, *ec); in unumf_formatInt()
153 unumf_formatDouble(const UNumberFormatter* uformatter, double value, UFormattedNumber* uresult, in unumf_formatDouble() argument
155 const UNumberFormatterData* formatter = UNumberFormatterData::validate(uformatter, *ec); in unumf_formatDouble()
166 unumf_formatDecimal(const UNumberFormatter* uformatter, const char* value, int32_t valueLen, in unumf_formatDecimal() argument
168 const UNumberFormatterData* formatter = UNumberFormatterData::validate(uformatter, *ec); in unumf_formatDecimal()
356 const USimpleNumberFormatter* uformatter, in usnumf_format() argument
360 auto* formatter = USimpleNumberFormatterData::validate(uformatter, *ec); in usnumf_format()
375 const USimpleNumberFormatter* uformatter, in usnumf_formatInt64() argument
379 auto* formatter = USimpleNumberFormatterData::validate(uformatter, *ec); in usnumf_formatInt64()
[all …]
Dnumrange_capi.cpp110 const UNumberRangeFormatter* uformatter, in unumrf_formatDoubleRange() argument
115 … const UNumberRangeFormatterData* formatter = UNumberRangeFormatterData::validate(uformatter, *ec); in unumrf_formatDoubleRange()
129 const UNumberRangeFormatter* uformatter, in unumrf_formatDecimalRange() argument
134 … const UNumberRangeFormatterData* formatter = UNumberRangeFormatterData::validate(uformatter, *ec); in unumrf_formatDecimalRange()
/third_party/node/deps/icu-small/source/i18n/unicode/
Dunumberformatter.h492 unumf_formatInt(const UNumberFormatter* uformatter, int64_t value, UFormattedNumber* uresult,
512 unumf_formatDouble(const UNumberFormatter* uformatter, double value, UFormattedNumber* uresult,
536 unumf_formatDecimal(const UNumberFormatter* uformatter, const char* value, int32_t valueLen,
548 unumf_close(UNumberFormatter* uformatter);
Dunumberrangeformatter.h284 const UNumberRangeFormatter* uformatter,
312 const UNumberRangeFormatter* uformatter,
416 unumrf_close(UNumberRangeFormatter* uformatter);
Dusimplenumberformatter.h218 const USimpleNumberFormatter* uformatter,
233 const USimpleNumberFormatter* uformatter,
256 usnumf_close(USimpleNumberFormatter* uformatter);
/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/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/icu/icu4c/source/i18n/unicode/
Dunumberformatter.h615 unumf_formatInt(const UNumberFormatter* uformatter, int64_t value, UFormattedNumber* uresult,
635 unumf_formatDouble(const UNumberFormatter* uformatter, double value, UFormattedNumber* uresult,
659 unumf_formatDecimal(const UNumberFormatter* uformatter, const char* value, int32_t valueLen,
800 unumf_close(UNumberFormatter* uformatter);
Dunumberrangeformatter.h284 const UNumberRangeFormatter* uformatter,
312 const UNumberRangeFormatter* uformatter,
416 unumrf_close(UNumberRangeFormatter* 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/ohos_icu4c/src/
Dicu_addon.cpp1753 void unumf_close(UNumberFormatter * uformatter) { in unumf_close() argument
1754 U_ICU_ENTRY_POINT_RENAME(unumf_close)(uformatter); in unumf_close()
1756 void unumf_formatDecimal(const UNumberFormatter * uformatter, const char * value, int32_t valueLen,… in unumf_formatDecimal() argument
1757 U_ICU_ENTRY_POINT_RENAME(unumf_formatDecimal)(uformatter, value, valueLen, uresult, ec); in unumf_formatDecimal()
1759 void unumf_formatDouble(const UNumberFormatter * uformatter, double value, UFormattedNumber * uresu… in unumf_formatDouble() argument
1760 U_ICU_ENTRY_POINT_RENAME(unumf_formatDouble)(uformatter, value, uresult, ec); in unumf_formatDouble()
1762 void unumf_formatInt(const UNumberFormatter * uformatter, int64_t value, UFormattedNumber * uresult… in unumf_formatInt() argument
1763 U_ICU_ENTRY_POINT_RENAME(unumf_formatInt)(uformatter, value, uresult, ec); in unumf_formatInt()
/third_party/icu/icu4c/source/test/intltest/
Dnumbertest_api.cpp5902 …LocalUNumberFormatterPointer uformatter(unumf_openForSkeletonAndLocale(u"percent", -1, "en", &ec)); in localPointerCAPI() local
5907 unumf_formatDecimal(uformatter.getAlias(), "9.87E-3", -1, uresult.getAlias(), &ec); in localPointerCAPI()