/external/icu/icu4c/source/i18n/ |
D | number_modifiers.cpp | 117 SimpleModifier::SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong) in SimpleModifier() function in SimpleModifier 118 : SimpleModifier(simpleFormatter, field, strong, {}) {} in SimpleModifier() 120 SimpleModifier::SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong, in SimpleModifier() function in SimpleModifier 154 SimpleModifier::SimpleModifier() in SimpleModifier() function in SimpleModifier 158 int32_t SimpleModifier::apply(NumberStringBuilder &output, int leftIndex, int rightIndex, in apply() 163 int32_t SimpleModifier::getPrefixLength() const { in getPrefixLength() 167 int32_t SimpleModifier::getCodePointCount() const { in getCodePointCount() 178 bool SimpleModifier::isStrong() const { in isStrong() 182 bool SimpleModifier::containsField(UNumberFormatFields field) const { in containsField() 189 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 | number_longnames.h | 34 SimpleModifier fModifiers[StandardPlural::Form::COUNT];
|
D | numrange_impl.h | 89 SimpleModifier fApproximatelyModifier;
|
D | number_longnames.cpp | 252 fModifiers[i] = SimpleModifier(compiledFormatter, field, false, {this, 0, plural}); in simpleFormatsToModifiers() 269 fModifiers[i] = SimpleModifier(compoundCompiled, field, false, {this, 0, plural}); in multiSimpleFormatsToModifiers()
|
D | numrange_impl.cpp | 392 int32_t lengthRange = SimpleModifier::formatTwoArgPattern( in formatRange()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | SimpleModifier.java | 16 public class SimpleModifier implements Modifier { class 31 public SimpleModifier(String compiledPattern, Field field, boolean strong) { in SimpleModifier() method in SimpleModifier 36 …public SimpleModifier(String compiledPattern, Field field, boolean strong, Parameters parameters) { in SimpleModifier() method in SimpleModifier 110 if (!(other instanceof SimpleModifier)) { in semanticallyEquivalent() 113 SimpleModifier _other = (SimpleModifier) other; in semanticallyEquivalent()
|
D | LongNameHandler.java | 155 private final Map<StandardPlural, SimpleModifier> modifiers; 160 Map<StandardPlural, SimpleModifier> modifiers, in LongNameHandler() 182 Map<StandardPlural, SimpleModifier> modifiers = new EnumMap<>( in forCurrencyLongNames() 211 Map<StandardPlural, SimpleModifier> modifiers = new EnumMap<>( in forMeasureUnit() 247 Map<StandardPlural, SimpleModifier> modifiers = new EnumMap<>( in forCompoundUnit() 265 modifiers.put(plural, new SimpleModifier(compiled, field, false, parameters)); in simpleFormatsToModifiers() 284 modifiers.put(plural, new SimpleModifier(compoundCompiled, field, false, parameters)); in multiSimpleFormatsToModifiers()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | SimpleModifier.java | 14 public class SimpleModifier implements Modifier { class 29 public SimpleModifier(String compiledPattern, Field field, boolean strong) { in SimpleModifier() method in SimpleModifier 34 …public SimpleModifier(String compiledPattern, Field field, boolean strong, Parameters parameters) { in SimpleModifier() method in SimpleModifier 108 if (!(other instanceof SimpleModifier)) { in semanticallyEquivalent() 111 SimpleModifier _other = (SimpleModifier) other; in semanticallyEquivalent()
|
D | LongNameHandler.java | 151 private final Map<StandardPlural, SimpleModifier> modifiers; 156 Map<StandardPlural, SimpleModifier> modifiers, in LongNameHandler() 178 Map<StandardPlural, SimpleModifier> modifiers = new EnumMap<>( in forCurrencyLongNames() 207 Map<StandardPlural, SimpleModifier> modifiers = new EnumMap<>( in forMeasureUnit() 243 Map<StandardPlural, SimpleModifier> modifiers = new EnumMap<>( in forCompoundUnit() 261 modifiers.put(plural, new SimpleModifier(compiled, field, false, parameters)); in simpleFormatsToModifiers() 280 modifiers.put(plural, new SimpleModifier(compoundCompiled, field, false, parameters)); in multiSimpleFormatsToModifiers()
|
/external/icu/icu4c/source/common/unicode/ |
D | simpleformatter.h | 27 class SimpleModifier; variable 298 friend class number::impl::SimpleModifier;
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | NumberRangeFormatterImpl.java | 16 import android.icu.impl.number.SimpleModifier; 42 /* final */ SimpleModifier fApproximatelyModifier; 105 out.fApproximatelyModifier = new SimpleModifier(sink.approximatelyPattern, null, false); in getNumberRangeData() 294 SimpleModifier.formatTwoArgPattern(fRangePattern, string, 0, h, null); in formatRange()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | NumberRangeFormatterImpl.java | 15 import com.ibm.icu.impl.number.SimpleModifier; 41 /* final */ SimpleModifier fApproximatelyModifier; 104 out.fApproximatelyModifier = new SimpleModifier(sink.approximatelyPattern, null, false); in getNumberRangeData() 293 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, UNUM_PERCENT_FIELD, false); in testSimpleModifier()
|
/external/icu/icu4j/ |
D | coverage-exclusion.txt | 485 com/ibm/icu/impl/number/modifiers/SimpleModifier#<init>:(Ljava/lang/String;Lcom/ibm/icu/text/Number… 486 com/ibm/icu/impl/number/modifiers/SimpleModifier#apply:(Lcom/ibm/icu/impl/number/NumberStringBuilde… 487 com/ibm/icu/impl/number/modifiers/SimpleModifier#export:(Lcom/ibm/icu/impl/number/Properties;)V 488 com/ibm/icu/impl/number/modifiers/SimpleModifier#formatAsPrefixSuffix:(Ljava/lang/String;Lcom/ibm/i… 489 com/ibm/icu/impl/number/modifiers/SimpleModifier#getPrefix:()Ljava/lang/String; 490 com/ibm/icu/impl/number/modifiers/SimpleModifier#getSuffix:()Ljava/lang/String; 491 com/ibm/icu/impl/number/modifiers/SimpleModifier#isStrong:()Z 492 com/ibm/icu/impl/number/modifiers/SimpleModifier#length:()I 493 com/ibm/icu/impl/number/modifiers/SimpleModifier#testFormatAsPrefixSuffix:()V
|