Home
last modified time | relevance | path

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

/external/icu/icu4c/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()
Dnumber_fluent.cpp671 NumberFormatterImpl::formatStatic(fMacros, results->quantity, results->string, status); in formatImpl()
685 …prefixLength = NumberFormatterImpl::getPrefixSuffixStatic(fMacros, signum, plural, string, status); in getAffixImpl()
718 const NumberFormatterImpl* compiled = new NumberFormatterImpl(fMacros, status); in computeCompiled()
737 const impl::NumberFormatterImpl* LocalizedNumberFormatter::getCompiled() const { in getCompiled()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DNumberRangeFormatterImpl.java32 final NumberFormatterImpl formatterImpl1;
33 final NumberFormatterImpl formatterImpl2;
111 … formatterImpl1 = new NumberFormatterImpl(macros.formatter1 != null ? macros.formatter1.resolve() in NumberRangeFormatterImpl()
113 … formatterImpl2 = new NumberFormatterImpl(macros.formatter2 != null ? macros.formatter2.resolve() in NumberRangeFormatterImpl()
200 int length = NumberFormatterImpl.writeNumber(micros1, quantity1, string, 0); in formatSingleValue()
201 NumberFormatterImpl.writeAffixes(micros1, string, 0, length); in formatSingleValue()
211 int length = NumberFormatterImpl.writeNumber(micros1, quantity1, string, 0); in formatApproximately()
317 h.length1 += NumberFormatterImpl.writeNumber(micros1, quantity1, string, h.index0()); in formatRange()
318 h.length2 += NumberFormatterImpl.writeNumber(micros2, quantity2, string, h.index2()); in formatRange()
DLocalizedNumberFormatter.java37 volatile NumberFormatterImpl compiled;
153 NumberFormatterImpl.formatStatic(resolve(), fq, string); in format()
173 … prefixLength = NumberFormatterImpl.getPrefixSuffixStatic(resolve(), signum, plural, string); in getAffixImpl()
189 compiled = new NumberFormatterImpl(macros); in computeCompiled()
DNumberFormatterImpl.java43 class NumberFormatterImpl { class
46 public NumberFormatterImpl(MacroProps macros) { in NumberFormatterImpl() method in NumberFormatterImpl
82 private NumberFormatterImpl(MicroPropsGenerator microPropsGenerator) { in NumberFormatterImpl() method in NumberFormatterImpl
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberRangeFormatterImpl.java31 final NumberFormatterImpl formatterImpl1;
32 final NumberFormatterImpl formatterImpl2;
110 … formatterImpl1 = new NumberFormatterImpl(macros.formatter1 != null ? macros.formatter1.resolve() in NumberRangeFormatterImpl()
112 … formatterImpl2 = new NumberFormatterImpl(macros.formatter2 != null ? macros.formatter2.resolve() in NumberRangeFormatterImpl()
199 int length = NumberFormatterImpl.writeNumber(micros1, quantity1, string, 0); in formatSingleValue()
200 NumberFormatterImpl.writeAffixes(micros1, string, 0, length); in formatSingleValue()
210 int length = NumberFormatterImpl.writeNumber(micros1, quantity1, string, 0); in formatApproximately()
316 h.length1 += NumberFormatterImpl.writeNumber(micros1, quantity1, string, h.index0()); in formatRange()
317 h.length2 += NumberFormatterImpl.writeNumber(micros2, quantity2, string, h.index2()); in formatRange()
DLocalizedNumberFormatter.java36 volatile NumberFormatterImpl compiled;
157 NumberFormatterImpl.formatStatic(resolve(), fq, string); in format()
177 … prefixLength = NumberFormatterImpl.getPrefixSuffixStatic(resolve(), signum, plural, string); in getAffixImpl()
193 compiled = new NumberFormatterImpl(macros); in computeCompiled()
DNumberFormatterImpl.java42 class NumberFormatterImpl { class
45 public NumberFormatterImpl(MacroProps macros) { in NumberFormatterImpl() method in NumberFormatterImpl
81 private NumberFormatterImpl(MicroPropsGenerator microPropsGenerator) { in NumberFormatterImpl() method in NumberFormatterImpl
/external/icu/icu4c/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};