Home
last modified time | relevance | path

Searched refs:MicroProps (Results 1 – 25 of 40) sorted by relevance

12

/external/icu/icu4c/source/i18n/
Dnumber_microprops.h25 struct MicroProps : public MicroPropsGenerator { struct
52 MicroProps() = default; argument
54 MicroProps(const MicroProps& other) = default;
56 MicroProps& operator=(const MicroProps& other) = default; argument
58 … void processQuantity(DecimalQuantity&, MicroProps& micros, UErrorCode& status) const U_OVERRIDE { in processQuantity() argument
Dnumber_formatimpl.h59 void preProcess(DecimalQuantity& inValue, MicroProps& microsOut, UErrorCode& status) const;
71 static int32_t writeNumber(const MicroProps& micros, DecimalQuantity& quantity,
77 … static int32_t writeAffixes(const MicroProps& micros, NumberStringBuilder& string, int32_t start,
85 MicroProps fMicros;
106 MicroProps& preProcessUnsafe(DecimalQuantity &inValue, UErrorCode &status);
135 …writeIntegerDigits(const MicroProps &micros, DecimalQuantity &quantity, NumberStringBuilder &strin…
139 …writeFractionDigits(const MicroProps &micros, DecimalQuantity &quantity, NumberStringBuilder &stri…
Dnumrange_impl.h94 MicroProps& micros1, MicroProps& micros2,
98 MicroProps& micros1, MicroProps& micros2,
102 MicroProps& micros1, MicroProps& micros2,
Dnumrange_impl.cpp203 MicroProps micros1; in format()
204 MicroProps micros2; in format()
279 MicroProps& micros1, MicroProps& micros2, in formatSingleValue()
292 MicroProps& micros1, MicroProps& micros2, in formatApproximately()
309 MicroProps& micros1, MicroProps& micros2, in formatRange()
Dnumber_formatimpl.cpp77 MicroProps& micros = impl.preProcessUnsafe(inValue, status); in formatStatic()
98 MicroProps micros; in format()
106 void NumberFormatterImpl::preProcess(DecimalQuantity& inValue, MicroProps& microsOut, in preProcess()
118 MicroProps& NumberFormatterImpl::preProcessUnsafe(DecimalQuantity& inValue, UErrorCode& status) { in preProcessUnsafe()
427 int32_t NumberFormatterImpl::writeAffixes(const MicroProps& micros, NumberStringBuilder& string, in writeAffixes()
441 int32_t NumberFormatterImpl::writeNumber(const MicroProps& micros, DecimalQuantity& quantity, in writeNumber()
483 int32_t NumberFormatterImpl::writeIntegerDigits(const MicroProps& micros, DecimalQuantity& quantity, in writeIntegerDigits()
509 int32_t NumberFormatterImpl::writeFractionDigits(const MicroProps& micros, DecimalQuantity& quantit… in writeFractionDigits()
Dnumber_patternmodifier.h43 void processQuantity(DecimalQuantity&, MicroProps& micros, UErrorCode& status) const U_OVERRIDE;
45 void applyToMicros(MicroProps& micros, DecimalQuantity& quantity) const;
178 … void processQuantity(DecimalQuantity &, MicroProps &micros, UErrorCode &status) const U_OVERRIDE;
Dnumber_patternmodifier.cpp126 void ImmutablePatternModifier::processQuantity(DecimalQuantity& quantity, MicroProps& micros, in processQuantity()
132 void ImmutablePatternModifier::applyToMicros(MicroProps& micros, DecimalQuantity& quantity) const { in applyToMicros()
159 void MutablePatternModifier::processQuantity(DecimalQuantity& fq, MicroProps& micros, in processQuantity()
Dnumber_types.h50 struct MicroProps;
265 virtual void processQuantity(DecimalQuantity& quantity, MicroProps& micros,
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DMutablePatternModifierTest.java14 import android.icu.impl.number.MicroProps;
88 MicroProps micros1 = new MicroProps(false); in mutableEqualsImmutable()
94 MicroProps micros2 = new MicroProps(true); in mutableEqualsImmutable()
99 MicroProps micros3 = new MicroProps(false); in mutableEqualsImmutable()
129 MicroProps micros = new MicroProps(false); in patternWithNoPlaceholder()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DMutablePatternModifierTest.java13 import com.ibm.icu.impl.number.MicroProps;
85 MicroProps micros1 = new MicroProps(false); in mutableEqualsImmutable()
91 MicroProps micros2 = new MicroProps(true); in mutableEqualsImmutable()
96 MicroProps micros3 = new MicroProps(false); in mutableEqualsImmutable()
126 MicroProps micros = new MicroProps(false); in patternWithNoPlaceholder()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DMicroProps.java15 public class MicroProps implements Cloneable, MicroPropsGenerator { class
40 public MicroProps(boolean immutable) { in MicroProps() method in MicroProps
45 public MicroProps processQuantity(DecimalQuantity quantity) { in processQuantity()
47 return (MicroProps) this.clone(); in processQuantity()
DMutablePatternModifier.java236 public MicroProps processQuantity(DecimalQuantity quantity) { in processQuantity()
237 MicroProps micros = parent.processQuantity(quantity); in processQuantity()
242 public void applyToMicros(MicroProps micros, DecimalQuantity quantity) { in applyToMicros()
273 public MicroProps processQuantity(DecimalQuantity fq) { in processQuantity()
274 MicroProps micros = parent.processQuantity(fq); in processQuantity()
DMultiplierFormatHandler.java22 public MicroProps processQuantity(DecimalQuantity quantity) { in processQuantity()
23 MicroProps micros = parent.processQuantity(quantity); in processQuantity()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DNumberFormatterImpl.java16 import android.icu.impl.number.MicroProps;
57 MicroProps micros = preProcessUnsafe(macros, inValue); in formatStatic()
90 MicroProps micros = preProcess(inValue); in format()
99 public MicroProps preProcess(DecimalQuantity inValue) { in preProcess()
100 MicroProps micros = microPropsGenerator.processQuantity(inValue); in preProcess()
110 private static MicroProps preProcessUnsafe(MacroProps macros, DecimalQuantity inValue) { in preProcessUnsafe()
112 MicroProps micros = microPropsGenerator.processQuantity(inValue); in preProcessUnsafe()
134 MicroProps micros = generator.processQuantity(quantity); in getPrefixSuffixImpl()
174 MicroProps micros = new MicroProps(safe); in macrosToMicroGenerator()
388 MicroProps micros, in writeAffixes()
[all …]
DNumberRangeFormatterImpl.java13 import android.icu.impl.number.MicroProps;
135 MicroProps micros1 = formatterImpl1.preProcess(quantity1); in format()
136 MicroProps micros2; in format()
198 MicroProps micros1, MicroProps micros2) { in formatSingleValue()
209 MicroProps micros1, MicroProps micros2) { in formatApproximately()
223 MicroProps micros1, MicroProps micros2) { in formatRange()
DCompactNotation.java16 import android.icu.impl.number.MicroProps;
121 public MicroProps processQuantity(DecimalQuantity quantity) { in processQuantity()
122 MicroProps micros = parent.processQuantity(quantity); in processQuantity()
DScientificNotation.java7 import android.icu.impl.number.MicroProps;
158 public MicroProps processQuantity(DecimalQuantity quantity) { in processQuantity()
159 MicroProps micros = parent.processQuantity(quantity); in processQuantity()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DMicroProps.java11 public class MicroProps implements Cloneable, MicroPropsGenerator { class
36 public MicroProps(boolean immutable) { in MicroProps() method in MicroProps
41 public MicroProps processQuantity(DecimalQuantity quantity) { in processQuantity()
43 return (MicroProps) this.clone(); in processQuantity()
DMutablePatternModifier.java231 public MicroProps processQuantity(DecimalQuantity quantity) { in processQuantity()
232 MicroProps micros = parent.processQuantity(quantity); in processQuantity()
237 public void applyToMicros(MicroProps micros, DecimalQuantity quantity) { in applyToMicros()
268 public MicroProps processQuantity(DecimalQuantity fq) { in processQuantity()
269 MicroProps micros = parent.processQuantity(fq); in processQuantity()
DMultiplierFormatHandler.java20 public MicroProps processQuantity(DecimalQuantity quantity) { in processQuantity()
21 MicroProps micros = parent.processQuantity(quantity); in processQuantity()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberFormatterImpl.java15 import com.ibm.icu.impl.number.MicroProps;
56 MicroProps micros = preProcessUnsafe(macros, inValue); in formatStatic()
89 MicroProps micros = preProcess(inValue); in format()
98 public MicroProps preProcess(DecimalQuantity inValue) { in preProcess()
99 MicroProps micros = microPropsGenerator.processQuantity(inValue); in preProcess()
109 private static MicroProps preProcessUnsafe(MacroProps macros, DecimalQuantity inValue) { in preProcessUnsafe()
111 MicroProps micros = microPropsGenerator.processQuantity(inValue); in preProcessUnsafe()
133 MicroProps micros = generator.processQuantity(quantity); in getPrefixSuffixImpl()
173 MicroProps micros = new MicroProps(safe); in macrosToMicroGenerator()
387 MicroProps micros, in writeAffixes()
[all …]
DNumberRangeFormatterImpl.java12 import com.ibm.icu.impl.number.MicroProps;
134 MicroProps micros1 = formatterImpl1.preProcess(quantity1); in format()
135 MicroProps micros2; in format()
197 MicroProps micros1, MicroProps micros2) { in formatSingleValue()
208 MicroProps micros1, MicroProps micros2) { in formatApproximately()
222 MicroProps micros1, MicroProps micros2) { in formatRange()
DCompactNotation.java15 import com.ibm.icu.impl.number.MicroProps;
120 public MicroProps processQuantity(DecimalQuantity quantity) { in processQuantity()
121 MicroProps micros = parent.processQuantity(quantity); in processQuantity()
DScientificNotation.java6 import com.ibm.icu.impl.number.MicroProps;
160 public MicroProps processQuantity(DecimalQuantity quantity) { in processQuantity()
161 MicroProps micros = parent.processQuantity(quantity); in processQuantity()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_patternmodifier.cpp113 MicroProps micros; in testPatternWithNoPlaceholder()
145 MicroProps micros1; in testMutableEqualsImmutable()
152 MicroProps micros2; in testMutableEqualsImmutable()
159 MicroProps micros3; in testMutableEqualsImmutable()

12