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

/external/icu/icu4c/source/i18n/
H A Dnumber_scientific.cpp18 // NOTE: The object lifecycle of ScientificModifier and ScientificHandler differ greatly in Java and C++.
23 // ScientificHandler as a ScientificModifier, and the safe code path pre-computes 25 ScientificModifier
26 // In C++, MicroProps provides a pre-allocated ScientificModifier, and ScientificHandler simply populates
27 // the state (the exponent) into that ScientificModifier. There is no difference between safe and unsafe.
29 ScientificModifier::ScientificModifier() : fExponent(0), fHandler(nullptr) {} function in class:ScientificModifier
31 void ScientificModifier::set(int32_t exponent, const ScientificHandler *handler) {
32 // ScientificModifier should be set only once.
38 int32_t ScientificModifier
[all...]
H A Dnumber_scientific.h18 class U_I18N_API ScientificModifier : public UMemory, public Modifier { class in namespace:number::impl
20 ScientificModifier();
53 friend class ScientificModifier;
H A Dnumber_utils.h73 ScientificModifier scientificModifier;
/external/icu/android_icu4j/src/main/java/android/icu/number/
H A DScientificNotation.java108 // NOTE: The object lifecycle of ScientificModifier and ScientificHandler differ greatly in Java and C++.
113 // ScientificHandler as a ScientificModifier, and the safe code path pre-computes 25 ScientificModifier
116 // In C++, MicroProps provides a pre-allocated ScientificModifier, and ScientificHandler simply populates
117 // the state (the exponent) into that ScientificModifier. There is no difference between safe and unsafe.
123 final ScientificModifier[] precomputedMods;
135 precomputedMods = new ScientificModifier[25];
137 precomputedMods[i + 12] = new ScientificModifier(i, this);
170 micros.modInner = new ScientificModifier(exponent, this);
244 private static class ScientificModifier implement class in class:ScientificNotation
248 ScientificModifier(int exponent, ScientificHandler handler) { method in class:ScientificNotation.ScientificModifier
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
H A DScientificNotation.java109 // NOTE: The object lifecycle of ScientificModifier and ScientificHandler differ greatly in Java and C++.
114 // ScientificHandler as a ScientificModifier, and the safe code path pre-computes 25 ScientificModifier
117 // In C++, MicroProps provides a pre-allocated ScientificModifier, and ScientificHandler simply populates
118 // the state (the exponent) into that ScientificModifier. There is no difference between safe and unsafe.
124 final ScientificModifier[] precomputedMods;
136 precomputedMods = new ScientificModifier[25];
138 precomputedMods[i + 12] = new ScientificModifier(i, this);
171 micros.modInner = new ScientificModifier(exponent, this);
245 private static class ScientificModifier implement class in class:ScientificNotation
249 ScientificModifier(int exponent, ScientificHandler handler) { method in class:ScientificNotation.ScientificModifier
[all...]
/external/icu/icu4c/source/i18n/unicode/
H A Dnumberformatter.h299 class ScientificModifier;
509 friend class impl::ScientificModifier;

Completed in 405 milliseconds