Home
last modified time | relevance | path

Searched refs:NumberFormatterImpl (Results 1 – 25 of 34) sorted by relevance

12

/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_formatimpl.cpp70 NumberFormatterImpl::NumberFormatterImpl(const MacroProps& macros, UErrorCode& status) in NumberFormatterImpl() function in NumberFormatterImpl
71 : NumberFormatterImpl(macros, true, status) { in NumberFormatterImpl()
74 int32_t NumberFormatterImpl::formatStatic(const MacroProps& macros, DecimalQuantity& inValue, in formatStatic()
76 NumberFormatterImpl impl(macros, false, status); in formatStatic()
84 int32_t NumberFormatterImpl::getPrefixSuffixStatic(const MacroProps& macros, int8_t signum, in getPrefixSuffixStatic()
87 NumberFormatterImpl impl(macros, false, status); in getPrefixSuffixStatic()
96 int32_t NumberFormatterImpl::format(DecimalQuantity& inValue, NumberStringBuilder& outString, in format()
106 void NumberFormatterImpl::preProcess(DecimalQuantity& inValue, MicroProps& microsOut, in preProcess()
118 MicroProps& NumberFormatterImpl::preProcessUnsafe(DecimalQuantity& inValue, UErrorCode& status) { in preProcessUnsafe()
132 int32_t NumberFormatterImpl::getPrefixSuffix(int8_t signum, StandardPlural::Form plural, in getPrefixSuffix()
[all …]
Dnumber_formatimpl.h26 class NumberFormatterImpl : public UMemory {
32 NumberFormatterImpl(const MacroProps &macros, UErrorCode &status);
104 NumberFormatterImpl(const MacroProps &macros, bool safe, UErrorCode &status);
Dnumrange_impl.h81 NumberFormatterImpl formatterImpl1;
82 NumberFormatterImpl formatterImpl2;
Dnumrange_impl.cpp283 …int32_t length = NumberFormatterImpl::writeNumber(micros1, data.quantity1, data.string, 0, status); in formatSingleValue()
284 NumberFormatterImpl::writeAffixes(micros1, data.string, 0, length, status); in formatSingleValue()
296 …int32_t length = NumberFormatterImpl::writeNumber(micros1, data.quantity1, data.string, 0, status); in formatApproximately()
424 …length1 += NumberFormatterImpl::writeNumber(micros1, data.quantity1, string, UPRV_INDEX_0, status); in formatRange()
425 …length2 += NumberFormatterImpl::writeNumber(micros2, data.quantity2, string, UPRV_INDEX_2, status); in formatRange()
/third_party/node/deps/icu-small/source/i18n/
Dnumber_formatimpl.cpp28 NumberFormatterImpl::NumberFormatterImpl(const MacroProps& macros, UErrorCode& status) in NumberFormatterImpl() function in NumberFormatterImpl
29 : NumberFormatterImpl(macros, true, status) { in NumberFormatterImpl()
32 int32_t NumberFormatterImpl::formatStatic(const MacroProps &macros, UFormattedNumberData *results, in formatStatic()
36 NumberFormatterImpl impl(macros, false, status); in formatStatic()
46 int32_t NumberFormatterImpl::getPrefixSuffixStatic(const MacroProps& macros, Signum signum, in getPrefixSuffixStatic()
49 NumberFormatterImpl impl(macros, false, status); in getPrefixSuffixStatic()
58 int32_t NumberFormatterImpl::format(UFormattedNumberData *results, UErrorCode &status) const { in format()
71 void NumberFormatterImpl::preProcess(DecimalQuantity& inValue, MicroProps& microsOut, in preProcess()
82 MicroProps& NumberFormatterImpl::preProcessUnsafe(DecimalQuantity& inValue, UErrorCode& status) { in preProcessUnsafe()
95 int32_t NumberFormatterImpl::getPrefixSuffix(Signum signum, StandardPlural::Form plural, in getPrefixSuffix()
[all …]
Dnumber_formatimpl.h28 class NumberFormatterImpl : public UMemory {
34 NumberFormatterImpl(const MacroProps &macros, UErrorCode &status);
40 NumberFormatterImpl(UErrorCode &) {} in NumberFormatterImpl() function
118 NumberFormatterImpl(const MacroProps &macros, bool safe, UErrorCode &status);
Dnumrange_impl.h51 NumberFormatterImpl formatterImpl1;
52 NumberFormatterImpl formatterImpl2;
59 NumberFormatterImpl fApproximatelyFormatter;
Dnumrange_impl.cpp149 fApproximatelyFormatter.~NumberFormatterImpl(); in NumberRangeFormatterImpl()
150 new (&fApproximatelyFormatter) NumberFormatterImpl(approximatelyMacros, status); in NumberRangeFormatterImpl()
242 …int32_t length = NumberFormatterImpl::writeNumber(micros1, data.quantity1, data.getStringRef(), 0,… in formatSingleValue()
243 NumberFormatterImpl::writeAffixes(micros1, data.getStringRef(), 0, length, status); in formatSingleValue()
259 …int32_t length = NumberFormatterImpl::writeNumber(microsAppx, data.quantity1, data.getStringRef(),… in formatApproximately()
387 …length1 += NumberFormatterImpl::writeNumber(micros1, data.quantity1, string, UPRV_INDEX_0, status); in formatRange()
390 NumberFormatterImpl::writeNumber(micros2, data.quantity2, tempString, 0, status); in formatRange()
Dnumber_longnames.h101 friend class NumberFormatterImpl; variable
209 friend class NumberFormatterImpl; variable
/third_party/icu/icu4c/source/i18n/
Dnumber_formatimpl.cpp28 NumberFormatterImpl::NumberFormatterImpl(const MacroProps& macros, UErrorCode& status) in NumberFormatterImpl() function in NumberFormatterImpl
29 : NumberFormatterImpl(macros, true, status) { in NumberFormatterImpl()
32 int32_t NumberFormatterImpl::formatStatic(const MacroProps &macros, UFormattedNumberData *results, in formatStatic()
36 NumberFormatterImpl impl(macros, false, status); in formatStatic()
46 int32_t NumberFormatterImpl::getPrefixSuffixStatic(const MacroProps& macros, Signum signum, in getPrefixSuffixStatic()
49 NumberFormatterImpl impl(macros, false, status); in getPrefixSuffixStatic()
58 int32_t NumberFormatterImpl::format(UFormattedNumberData *results, UErrorCode &status) const { in format()
71 void NumberFormatterImpl::preProcess(DecimalQuantity& inValue, MicroProps& microsOut, in preProcess()
82 MicroProps& NumberFormatterImpl::preProcessUnsafe(DecimalQuantity& inValue, UErrorCode& status) { in preProcessUnsafe()
95 int32_t NumberFormatterImpl::getPrefixSuffix(Signum signum, StandardPlural::Form plural, in getPrefixSuffix()
[all …]
Dnumber_formatimpl.h28 class NumberFormatterImpl : public UMemory {
34 NumberFormatterImpl(const MacroProps &macros, UErrorCode &status);
118 NumberFormatterImpl(const MacroProps &macros, bool safe, UErrorCode &status);
Dnumrange_impl.h51 NumberFormatterImpl formatterImpl1;
52 NumberFormatterImpl formatterImpl2;
Dnumrange_impl.cpp222 …int32_t length = NumberFormatterImpl::writeNumber(micros1, data.quantity1, data.getStringRef(), 0,… in formatSingleValue()
223 NumberFormatterImpl::writeAffixes(micros1, data.getStringRef(), 0, length, status); in formatSingleValue()
235 …int32_t length = NumberFormatterImpl::writeNumber(micros1, data.quantity1, data.getStringRef(), 0,… in formatApproximately()
365 …length1 += NumberFormatterImpl::writeNumber(micros1, data.quantity1, string, UPRV_INDEX_0, status); in formatRange()
366 …length2 += NumberFormatterImpl::writeNumber(micros2, data.quantity2, string, UPRV_INDEX_2, status); in formatRange()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_formatimpl.cpp28 NumberFormatterImpl::NumberFormatterImpl(const MacroProps& macros, UErrorCode& status) in NumberFormatterImpl() function in NumberFormatterImpl
29 : NumberFormatterImpl(macros, true, status) { in NumberFormatterImpl()
32 int32_t NumberFormatterImpl::formatStatic(const MacroProps &macros, UFormattedNumberData *results, in formatStatic()
36 NumberFormatterImpl impl(macros, false, status); in formatStatic()
46 int32_t NumberFormatterImpl::getPrefixSuffixStatic(const MacroProps& macros, Signum signum, in getPrefixSuffixStatic()
49 NumberFormatterImpl impl(macros, false, status); in getPrefixSuffixStatic()
58 int32_t NumberFormatterImpl::format(UFormattedNumberData *results, UErrorCode &status) const { in format()
71 void NumberFormatterImpl::preProcess(DecimalQuantity& inValue, MicroProps& microsOut, in preProcess()
82 MicroProps& NumberFormatterImpl::preProcessUnsafe(DecimalQuantity& inValue, UErrorCode& status) { in preProcessUnsafe()
95 int32_t NumberFormatterImpl::getPrefixSuffix(Signum signum, StandardPlural::Form plural, in getPrefixSuffix()
[all …]
Dnumber_formatimpl.h28 class NumberFormatterImpl : public UMemory {
34 NumberFormatterImpl(const MacroProps &macros, UErrorCode &status);
118 NumberFormatterImpl(const MacroProps &macros, bool safe, UErrorCode &status);
Dnumrange_impl.h51 NumberFormatterImpl formatterImpl1;
52 NumberFormatterImpl formatterImpl2;
Dnumrange_impl.cpp222 …int32_t length = NumberFormatterImpl::writeNumber(micros1, data.quantity1, data.getStringRef(), 0,… in formatSingleValue()
223 NumberFormatterImpl::writeAffixes(micros1, data.getStringRef(), 0, length, status); in formatSingleValue()
235 …int32_t length = NumberFormatterImpl::writeNumber(micros1, data.quantity1, data.getStringRef(), 0,… in formatApproximately()
365 …length1 += NumberFormatterImpl::writeNumber(micros1, data.quantity1, string, UPRV_INDEX_0, status); in formatRange()
366 …length2 += NumberFormatterImpl::writeNumber(micros2, data.quantity2, string, UPRV_INDEX_2, status); in formatRange()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/
DNumberRangeFormatterImpl.java34 final NumberFormatterImpl formatterImpl1;
35 final NumberFormatterImpl formatterImpl2;
136 … formatterImpl1 = new NumberFormatterImpl(macros.formatter1 != null ? macros.formatter1.resolve() in NumberRangeFormatterImpl()
138 … formatterImpl2 = new NumberFormatterImpl(macros.formatter2 != null ? macros.formatter2.resolve() in NumberRangeFormatterImpl()
222 int length = NumberFormatterImpl.writeNumber(micros1, quantity1, string, 0); in formatSingleValue()
223 NumberFormatterImpl.writeAffixes(micros1, string, 0, length); in formatSingleValue()
233 int length = NumberFormatterImpl.writeNumber(micros1, quantity1, string, 0); in formatApproximately()
339 h.length1 += NumberFormatterImpl.writeNumber(micros1, quantity1, string, h.index0()); in formatRange()
340 h.length2 += NumberFormatterImpl.writeNumber(micros2, quantity2, string, h.index2()); in formatRange()
DLocalizedNumberFormatter.java37 volatile NumberFormatterImpl compiled;
146 NumberFormatterImpl.formatStatic(resolve(), fq, string); in formatImpl()
188 … prefixLength = NumberFormatterImpl.getPrefixSuffixStatic(resolve(), signum, plural, string); in getAffixImpl()
204 compiled = new NumberFormatterImpl(macros); in computeCompiled()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberRangeFormatterImpl.java34 final NumberFormatterImpl formatterImpl1;
35 final NumberFormatterImpl formatterImpl2;
136 … formatterImpl1 = new NumberFormatterImpl(macros.formatter1 != null ? macros.formatter1.resolve() in NumberRangeFormatterImpl()
138 … formatterImpl2 = new NumberFormatterImpl(macros.formatter2 != null ? macros.formatter2.resolve() in NumberRangeFormatterImpl()
222 int length = NumberFormatterImpl.writeNumber(micros1, quantity1, string, 0); in formatSingleValue()
223 NumberFormatterImpl.writeAffixes(micros1, string, 0, length); in formatSingleValue()
233 int length = NumberFormatterImpl.writeNumber(micros1, quantity1, string, 0); in formatApproximately()
339 h.length1 += NumberFormatterImpl.writeNumber(micros1, quantity1, string, h.index0()); in formatRange()
340 h.length2 += NumberFormatterImpl.writeNumber(micros2, quantity2, string, h.index2()); in formatRange()
DLocalizedNumberFormatter.java38 volatile NumberFormatterImpl compiled;
154 return NumberFormatterImpl.formatStatic(resolve(), fq, string); in formatImpl()
195 … prefixLength = NumberFormatterImpl.getPrefixSuffixStatic(resolve(), signum, plural, string); in getAffixImpl()
211 compiled = new NumberFormatterImpl(macros); in computeCompiled()
/third_party/node/deps/icu-small/source/i18n/unicode/
Dnumberformatter.h147 class NumberFormatterImpl; variable
391 friend class impl::NumberFormatterImpl;
773 friend class impl::NumberFormatterImpl;
1030 friend class impl::NumberFormatterImpl;
1158 friend class impl::NumberFormatterImpl;
1233 friend class impl::NumberFormatterImpl;
1407 friend class NumberFormatterImpl; variable
1476 friend class impl::NumberFormatterImpl;
2510 const impl::NumberFormatterImpl* getCompiled() const;
2595 const impl::NumberFormatterImpl* fCompiled {nullptr};
/third_party/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h147 class NumberFormatterImpl; variable
391 friend class impl::NumberFormatterImpl;
773 friend class impl::NumberFormatterImpl;
1030 friend class impl::NumberFormatterImpl;
1158 friend class impl::NumberFormatterImpl;
1233 friend class impl::NumberFormatterImpl;
1407 friend class NumberFormatterImpl; variable
1476 friend class impl::NumberFormatterImpl;
2503 const impl::NumberFormatterImpl* getCompiled() const;
2588 const impl::NumberFormatterImpl* fCompiled {nullptr};
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dnumberformatter.h147 class NumberFormatterImpl; variable
391 friend class impl::NumberFormatterImpl;
773 friend class impl::NumberFormatterImpl;
1030 friend class impl::NumberFormatterImpl;
1158 friend class impl::NumberFormatterImpl;
1233 friend class impl::NumberFormatterImpl;
1407 friend class NumberFormatterImpl; variable
1476 friend class impl::NumberFormatterImpl;
2503 const impl::NumberFormatterImpl* getCompiled() const;
2588 const impl::NumberFormatterImpl* fCompiled {nullptr};
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Dnumberformatter.h132 class NumberFormatterImpl; variable
373 friend class impl::NumberFormatterImpl;
798 friend class impl::NumberFormatterImpl;
1030 friend class impl::NumberFormatterImpl;
1154 friend class impl::NumberFormatterImpl;
1333 friend class NumberFormatterImpl; variable
1402 friend class impl::NumberFormatterImpl;
2319 const impl::NumberFormatterImpl* getCompiled() const;
2404 const impl::NumberFormatterImpl* fCompiled {nullptr};

12