Home
last modified time | relevance | path

Searched refs:SimpleModifier (Results 1 – 25 of 26) sorted by relevance

12

/external/icu/icu4c/source/i18n/
Dnumber_modifiers.cpp116 SimpleModifier::SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong) in SimpleModifier() function in SimpleModifier
117 : SimpleModifier(simpleFormatter, field, strong, {}) {} in SimpleModifier()
119 SimpleModifier::SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong, in SimpleModifier() function in SimpleModifier
153 SimpleModifier::SimpleModifier() in SimpleModifier() function in SimpleModifier
157 int32_t SimpleModifier::apply(FormattedStringBuilder &output, int leftIndex, int rightIndex, in apply()
162 int32_t SimpleModifier::getPrefixLength() const { in getPrefixLength()
166 int32_t SimpleModifier::getCodePointCount() const { in getCodePointCount()
177 bool SimpleModifier::isStrong() const { in isStrong()
181 bool SimpleModifier::containsField(Field field) const { in containsField()
187 void SimpleModifier::getParameters(Parameters& output) const { in getParameters()
[all …]
Dnumber_modifiers.h57 class U_I18N_API SimpleModifier : public Modifier, public UMemory {
59 SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong);
61 SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong,
65 SimpleModifier();
Dnumrange_impl.h59 SimpleModifier fApproximatelyModifier;
Dnumber_microprops.h117 SimpleModifier mixedUnitModifier;
Dnumber_longnames.cpp380 … fModifiers[i] = SimpleModifier(compiledFormatter, field, false, {this, SIGNUM_POS_ZERO, plural}); in simpleFormatsToModifiers()
397 … fModifiers[i] = SimpleModifier(compoundCompiled, field, false, {this, SIGNUM_POS_ZERO, plural}); in multiSimpleFormatsToModifiers()
541SimpleModifier(premixedCompiled, kUndefinedField, false, {this, SIGNUM_POS_ZERO, finalPlural}); in getMixedUnitModifier()
Dnumber_longnames.h79 SimpleModifier fModifiers[StandardPlural::Form::COUNT];
Dnumrange_impl.cpp332 int32_t lengthRange = SimpleModifier::formatTwoArgPattern( in formatRange()
Dreldatefmt.cpp973 number::impl::SimpleModifier modifier(*formatter, kRDTLiteralField, false); in formatImpl()
1041 number::impl::SimpleModifier modifier(*formatter, kRDTLiteralField, false); in formatNumericImpl()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DSimpleModifier.java18 public class SimpleModifier implements Modifier { class
30 public SimpleModifier(String compiledPattern, Field field, boolean strong) { in SimpleModifier() method in SimpleModifier
35 …public SimpleModifier(String compiledPattern, Field field, boolean strong, Parameters parameters) { in SimpleModifier() method in SimpleModifier
77 if (!(other instanceof SimpleModifier)) { in semanticallyEquivalent()
80 SimpleModifier _other = (SimpleModifier) other; in semanticallyEquivalent()
DLongNameHandler.java165 private final Map<StandardPlural, SimpleModifier> modifiers;
170 Map<StandardPlural, SimpleModifier> modifiers, in LongNameHandler()
192 Map<StandardPlural, SimpleModifier> modifiers = new EnumMap<>( in forCurrencyLongNames()
242 Map<StandardPlural, SimpleModifier> modifiers = new EnumMap<>( in forMeasureUnit()
286 Map<StandardPlural, SimpleModifier> modifiers = new EnumMap<>( in forCompoundUnit()
304 modifiers.put(plural, new SimpleModifier(compiled, field, false, parameters)); in simpleFormatsToModifiers()
323 modifiers.put(plural, new SimpleModifier(compoundCompiled, field, false, parameters)); in multiSimpleFormatsToModifiers()
DMixedUnitLongNameHandler.java216 return new SimpleModifier(premixedCompiled, null, false, params); in getMixedUnitModifier()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DSimpleModifier.java16 public class SimpleModifier implements Modifier { class
28 public SimpleModifier(String compiledPattern, Field field, boolean strong) { in SimpleModifier() method in SimpleModifier
33 …public SimpleModifier(String compiledPattern, Field field, boolean strong, Parameters parameters) { in SimpleModifier() method in SimpleModifier
75 if (!(other instanceof SimpleModifier)) { in semanticallyEquivalent()
78 SimpleModifier _other = (SimpleModifier) other; in semanticallyEquivalent()
DLongNameHandler.java161 private final Map<StandardPlural, SimpleModifier> modifiers;
166 Map<StandardPlural, SimpleModifier> modifiers, in LongNameHandler()
188 Map<StandardPlural, SimpleModifier> modifiers = new EnumMap<>( in forCurrencyLongNames()
238 Map<StandardPlural, SimpleModifier> modifiers = new EnumMap<>( in forMeasureUnit()
282 Map<StandardPlural, SimpleModifier> modifiers = new EnumMap<>( in forCompoundUnit()
300 modifiers.put(plural, new SimpleModifier(compiled, field, false, parameters)); in simpleFormatsToModifiers()
319 modifiers.put(plural, new SimpleModifier(compoundCompiled, field, false, parameters)); in multiSimpleFormatsToModifiers()
DMixedUnitLongNameHandler.java214 return new SimpleModifier(premixedCompiled, null, false, params); in getMixedUnitModifier()
/external/icu/libicu/cts_headers/
Dnumber_modifiers.h57 class U_I18N_API SimpleModifier : public Modifier, public UMemory {
59 SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong);
61 SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong,
65 SimpleModifier();
Dnumrange_impl.h59 SimpleModifier fApproximatelyModifier;
Dnumber_microprops.h117 SimpleModifier mixedUnitModifier;
Dnumber_longnames.h79 SimpleModifier fModifiers[StandardPlural::Form::COUNT];
/external/icu/icu4c/source/common/unicode/
Dsimpleformatter.h30 class SimpleModifier; variable
334 friend class number::impl::SimpleModifier;
/external/icu/libicu/cts_headers/unicode/
Dsimpleformatter.h30 class SimpleModifier; variable
334 friend class number::impl::SimpleModifier;
/external/icu/android_icu4j/src/main/java/android/icu/number/
DNumberRangeFormatterImpl.java18 import android.icu.impl.number.SimpleModifier;
44 /* final */ SimpleModifier fApproximatelyModifier;
130 out.fApproximatelyModifier = new SimpleModifier(sink.approximatelyPattern, null, false); in getNumberRangeData()
316 SimpleModifier.formatTwoArgPattern(fRangePattern, string, 0, h, null); in formatRange()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberRangeFormatterImpl.java17 import com.ibm.icu.impl.number.SimpleModifier;
43 /* final */ SimpleModifier fApproximatelyModifier;
129 out.fApproximatelyModifier = new SimpleModifier(sink.approximatelyPattern, null, false); in getNumberRangeData()
315 SimpleModifier.formatTwoArgPattern(fRangePattern, string, 0, h, null); in formatRange()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DModifierTest.java17 import android.icu.impl.number.SimpleModifier;
73 Modifier mod = new SimpleModifier(compiledPattern, NumberFormat.Field.PERCENT, false); in testSimpleModifier()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DModifierTest.java16 import com.ibm.icu.impl.number.SimpleModifier;
70 Modifier mod = new SimpleModifier(compiledPattern, NumberFormat.Field.PERCENT, false); in testSimpleModifier()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_modifiers.cpp83 SimpleModifier mod(compiledFormatter, {UFIELD_CATEGORY_NUMBER, UNUM_PERCENT_FIELD}, false); in testSimpleModifier()

12