Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/icu/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.h121 SimpleModifier mixedUnitModifier;
Dnumber_longnames.h80 SimpleModifier fModifiers[StandardPlural::Form::COUNT];
/third_party/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();
Dnumber_microprops.h125 SimpleModifier mixedUnitModifier;
Dnumber_longnames.h80 SimpleModifier fModifiers[StandardPlural::Form::COUNT];
/third_party/node/deps/icu-small/source/i18n/
Dnumber_modifiers.cpp125 SimpleModifier::SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong) in SimpleModifier() function in SimpleModifier
126 : SimpleModifier(simpleFormatter, field, strong, {}) {} in SimpleModifier()
128 SimpleModifier::SimpleModifier(const SimpleFormatter &simpleFormatter, Field field, bool strong, in SimpleModifier() function in SimpleModifier
162 SimpleModifier::SimpleModifier() in SimpleModifier() function in SimpleModifier
166 int32_t SimpleModifier::apply(FormattedStringBuilder &output, int leftIndex, int rightIndex, in apply()
171 int32_t SimpleModifier::getPrefixLength() const { in getPrefixLength()
175 int32_t SimpleModifier::getCodePointCount() const { in getCodePointCount()
186 bool SimpleModifier::isStrong() const { in isStrong()
190 bool SimpleModifier::containsField(Field field) const { in containsField()
196 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();
Dnumber_microprops.h131 SimpleModifier mixedUnitModifier;
Dnumber_longnames.h80 SimpleModifier fModifiers[StandardPlural::Form::COUNT];
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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.java164 private final Map<StandardPlural, SimpleModifier> modifiers;
169 Map<StandardPlural, SimpleModifier> modifiers, in LongNameHandler()
191 Map<StandardPlural, SimpleModifier> modifiers = new EnumMap<>( in forCurrencyLongNames()
219 Map<StandardPlural, SimpleModifier> modifiers = new EnumMap<>( in forMeasureUnit()
256 Map<StandardPlural, SimpleModifier> modifiers = new EnumMap<>( in forCompoundUnit()
274 modifiers.put(plural, new SimpleModifier(compiled, field, false, parameters)); in simpleFormatsToModifiers()
293 modifiers.put(plural, new SimpleModifier(compoundCompiled, field, false, parameters)); in multiSimpleFormatsToModifiers()
/third_party/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.java751 private final Map<StandardPlural, SimpleModifier> modifiers;
758 Map<StandardPlural, SimpleModifier> modifiers, in LongNameHandler()
780 Map<StandardPlural, SimpleModifier> modifiers = new EnumMap<>( in forCurrencyLongNames()
818 Map<StandardPlural, SimpleModifier> modifiers = new EnumMap<>(StandardPlural.class); in forMeasureUnit()
931 Map<StandardPlural, SimpleModifier> modifiers = new EnumMap<>( in forArbitraryUnit()
1297 modifiers.put(plural, new SimpleModifier(compiled, field, false, parameters)); in simpleFormatsToModifiers()
1329 modifiers.put(plural, new SimpleModifier(compoundCompiled, field, false, parameters)); in multiSimpleFormatsToModifiers()
DMixedUnitLongNameHandler.java235 return new SimpleModifier(premixedCompiled, null, false, params); in getMixedUnitModifier()
/third_party/node/deps/icu-small/source/common/unicode/
Dsimpleformatter.h30 class SimpleModifier; variable
334 friend class number::impl::SimpleModifier;
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dsimpleformatter.h30 class SimpleModifier; variable
334 friend class number::impl::SimpleModifier;
/third_party/icu/icu4c/source/common/unicode/
Dsimpleformatter.h30 class SimpleModifier; variable
334 friend class number::impl::SimpleModifier;
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/
DNumberRangeFormatterImpl.java18 import ohos.global.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()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
DModifierTest.java17 import ohos.global.icu.impl.number.SimpleModifier;
73 Modifier mod = new SimpleModifier(compiledPattern, NumberFormat.Field.PERCENT, false); in testSimpleModifier()
/third_party/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()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberRangeFormatterImpl.java19 import com.ibm.icu.impl.number.SimpleModifier;
343 SimpleModifier.formatTwoArgPattern(fRangePattern, string, 0, h, null); in formatRange()

12