/external/icu/icu4c/source/i18n/ |
D | number_modifiers.cpp | 116 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 …]
|
D | number_modifiers.h | 57 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();
|
D | numrange_impl.h | 59 SimpleModifier fApproximatelyModifier;
|
D | number_microprops.h | 117 SimpleModifier mixedUnitModifier;
|
D | number_longnames.cpp | 380 … 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() 541 … SimpleModifier(premixedCompiled, kUndefinedField, false, {this, SIGNUM_POS_ZERO, finalPlural}); in getMixedUnitModifier()
|
D | number_longnames.h | 79 SimpleModifier fModifiers[StandardPlural::Form::COUNT];
|
D | numrange_impl.cpp | 332 int32_t lengthRange = SimpleModifier::formatTwoArgPattern( in formatRange()
|
D | reldatefmt.cpp | 973 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/ |
D | SimpleModifier.java | 18 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()
|
D | LongNameHandler.java | 165 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()
|
D | MixedUnitLongNameHandler.java | 216 return new SimpleModifier(premixedCompiled, null, false, params); in getMixedUnitModifier()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | SimpleModifier.java | 16 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()
|
D | LongNameHandler.java | 161 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()
|
D | MixedUnitLongNameHandler.java | 214 return new SimpleModifier(premixedCompiled, null, false, params); in getMixedUnitModifier()
|
/external/icu/libicu/cts_headers/ |
D | number_modifiers.h | 57 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();
|
D | numrange_impl.h | 59 SimpleModifier fApproximatelyModifier;
|
D | number_microprops.h | 117 SimpleModifier mixedUnitModifier;
|
D | number_longnames.h | 79 SimpleModifier fModifiers[StandardPlural::Form::COUNT];
|
/external/icu/icu4c/source/common/unicode/ |
D | simpleformatter.h | 30 class SimpleModifier; variable 334 friend class number::impl::SimpleModifier;
|
/external/icu/libicu/cts_headers/unicode/ |
D | simpleformatter.h | 30 class SimpleModifier; variable 334 friend class number::impl::SimpleModifier;
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | NumberRangeFormatterImpl.java | 18 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/ |
D | NumberRangeFormatterImpl.java | 17 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/ |
D | ModifierTest.java | 17 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/ |
D | ModifierTest.java | 16 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/ |
D | numbertest_modifiers.cpp | 83 SimpleModifier mod(compiledFormatter, {UFIELD_CATEGORY_NUMBER, UNUM_PERCENT_FIELD}, false); in testSimpleModifier()
|