Home
last modified time | relevance | path

Searched refs:ScientificModifier (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4c/source/i18n/
Dnumber_scientific.cpp30 ScientificModifier::ScientificModifier() : fExponent(0), fHandler(nullptr) {} in ScientificModifier() function in ScientificModifier
32 void ScientificModifier::set(int32_t exponent, const ScientificHandler *handler) { in set()
39 int32_t ScientificModifier::apply(FormattedStringBuilder &output, int32_t /*leftIndex*/, int32_t ri… in apply()
79 int32_t ScientificModifier::getPrefixLength() const { in getPrefixLength()
84 int32_t ScientificModifier::getCodePointCount() const { in getCodePointCount()
91 bool ScientificModifier::isStrong() const { in isStrong()
96 bool ScientificModifier::containsField(UNumberFormatFields field) const { in containsField()
102 void ScientificModifier::getParameters(Parameters& output) const { in getParameters()
107 bool ScientificModifier::semanticallyEquivalent(const Modifier& other) const { in semanticallyEquivalent()
108 auto* _other = dynamic_cast<const ScientificModifier*>(&other); in semanticallyEquivalent()
[all …]
Dnumber_scientific.h18 class U_I18N_API ScientificModifier : public UMemory, public Modifier {
20 ScientificModifier();
59 friend class ScientificModifier; variable
Dnumber_microprops.h46 ScientificModifier scientificModifier;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DScientificNotation.java131 final ScientificModifier[] precomputedMods;
146 precomputedMods = new ScientificModifier[25]; in ScientificHandler()
148 precomputedMods[i + 12] = new ScientificModifier(i, this); in ScientificHandler()
188 micros.modInner = new ScientificModifier(exponent, this); in processQuantity()
285 private static class ScientificModifier implements Modifier { class in ScientificNotation
289 ScientificModifier(int exponent, ScientificHandler handler) { in ScientificModifier() method in ScientificNotation.ScientificModifier
333 if (!(other instanceof ScientificModifier)) { in semanticallyEquivalent()
336 ScientificModifier _other = (ScientificModifier) other; in semanticallyEquivalent()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DScientificNotation.java129 final ScientificModifier[] precomputedMods;
144 precomputedMods = new ScientificModifier[25]; in ScientificHandler()
146 precomputedMods[i + 12] = new ScientificModifier(i, this); in ScientificHandler()
186 micros.modInner = new ScientificModifier(exponent, this); in processQuantity()
283 private static class ScientificModifier implements Modifier { class in ScientificNotation
287 ScientificModifier(int exponent, ScientificHandler handler) { in ScientificModifier() method in ScientificNotation.ScientificModifier
331 if (!(other instanceof ScientificModifier)) { in semanticallyEquivalent()
334 ScientificModifier _other = (ScientificModifier) other; in semanticallyEquivalent()
/external/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h143 class ScientificModifier; variable
383 friend class impl::ScientificModifier;