Home
last modified time | relevance | path

Searched refs:modMiddle (Results 1 – 18 of 18) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/number/
DNumberRangeFormatterImpl.java149 || !micros1.modMiddle.semanticallyEquivalent(micros2.modMiddle) in format()
214 length += micros1.modMiddle.apply(string, 0, length); in formatApproximately()
245 collapseMiddle = micros1.modMiddle.semanticallyEquivalent(micros2.modMiddle); in formatRange()
256 Modifier mm = micros1.modMiddle; in formatRange()
304 boolean repeatMiddle = !collapseMiddle && micros1.modMiddle.getCodePointCount() > 0; in formatRange()
333 Modifier mod = resolveModifierPlurals(micros1.modMiddle, micros2.modMiddle); in formatRange()
336 h.length1 += micros1.modMiddle.apply(string, h.index0(), h.index1()); in formatRange()
337 h.length2 += micros2.modMiddle.apply(string, h.index2(), h.index3()); in formatRange()
DCompactNotation.java150 assert micros.modMiddle instanceof MutablePatternModifier; in processQuantity()
152 ((MutablePatternModifier) micros.modMiddle).setPatternInfo(patternInfo); in processQuantity()
DNumberFormatterImpl.java135 micros.modMiddle.apply(output, 0, 0); in getPrefixSuffixImpl()
136 return micros.modMiddle.getPrefixLength(); in getPrefixSuffixImpl()
395 … micros.padding.padAndApply(micros.modMiddle, micros.modOuter, string, start, end + length); in writeAffixes()
397 length += micros.modMiddle.apply(string, start, end + length); in writeAffixes()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberRangeFormatterImpl.java148 || !micros1.modMiddle.semanticallyEquivalent(micros2.modMiddle) in format()
213 length += micros1.modMiddle.apply(string, 0, length); in formatApproximately()
244 collapseMiddle = micros1.modMiddle.semanticallyEquivalent(micros2.modMiddle); in formatRange()
255 Modifier mm = micros1.modMiddle; in formatRange()
303 boolean repeatMiddle = !collapseMiddle && micros1.modMiddle.getCodePointCount() > 0; in formatRange()
332 Modifier mod = resolveModifierPlurals(micros1.modMiddle, micros2.modMiddle); in formatRange()
335 h.length1 += micros1.modMiddle.apply(string, h.index0(), h.index1()); in formatRange()
336 h.length2 += micros2.modMiddle.apply(string, h.index2(), h.index3()); in formatRange()
DCompactNotation.java149 assert micros.modMiddle instanceof MutablePatternModifier; in processQuantity()
151 ((MutablePatternModifier) micros.modMiddle).setPatternInfo(patternInfo); in processQuantity()
DNumberFormatterImpl.java134 micros.modMiddle.apply(output, 0, 0); in getPrefixSuffixImpl()
135 return micros.modMiddle.getPrefixLength(); in getPrefixSuffixImpl()
394 … micros.padding.padAndApply(micros.modMiddle, micros.modOuter, string, start, end + length); in writeAffixes()
396 length += micros.modMiddle.apply(string, start, end + length); in writeAffixes()
/external/icu/icu4c/source/i18n/
Dnumrange_impl.cpp221 || !micros1.modMiddle->semanticallyEquivalent(*micros2.modMiddle) in format()
299 length += micros1.modMiddle->apply(data.string, 0, length, status); in formatApproximately()
334 collapseMiddle = micros1.modMiddle->semanticallyEquivalent(*micros2.modMiddle); in formatRange()
345 const Modifier* mm = micros1.modMiddle; in formatRange()
411 bool repeatMiddle = !collapseMiddle && micros1.modMiddle->getCodePointCount() > 0; in formatRange()
440 const Modifier& mod = resolveModifierPlurals(*micros1.modMiddle, *micros2.modMiddle); in formatRange()
443 length1 += micros1.modMiddle->apply(string, UPRV_INDEX_0, UPRV_INDEX_1, status); in formatRange()
444 length2 += micros2.modMiddle->apply(string, UPRV_INDEX_2, UPRV_INDEX_3, status); in formatRange()
Dnumber_patternmodifier.cpp134 micros.modMiddle = pm->getModifierWithoutPlural(quantity.signum()); in applyToMicros()
140 micros.modMiddle = pm->getModifier(quantity.signum(), plural); in applyToMicros()
173 micros.modMiddle = this; in processQuantity()
Dnumber_microprops.h39 const Modifier* modMiddle; member
Dnumber_formatimpl.cpp433 … .padAndApply(*micros.modMiddle, *micros.modOuter, string, start, length + end, status); in writeAffixes()
435 length += micros.modMiddle->apply(string, start, length + end, status); in writeAffixes()
Dnumber_compact.cpp312 static_cast<MutablePatternModifier*>(const_cast<Modifier*>(micros.modMiddle)) in processQuantity()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DMutablePatternModifierTest.java91 micros1.modMiddle.apply(nsb1, 0, 0); in mutableEqualsImmutable()
96 micros2.modMiddle.apply(nsb2, 0, 0); in mutableEqualsImmutable()
103 micros3.modMiddle.apply(nsb3, 0, 0); in mutableEqualsImmutable()
131 micros.modMiddle.apply(nsb, 1, 4); in patternWithNoPlaceholder()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DMutablePatternModifierTest.java88 micros1.modMiddle.apply(nsb1, 0, 0); in mutableEqualsImmutable()
93 micros2.modMiddle.apply(nsb2, 0, 0); in mutableEqualsImmutable()
100 micros3.modMiddle.apply(nsb3, 0, 0); in mutableEqualsImmutable()
128 micros.modMiddle.apply(nsb, 1, 4); in patternWithNoPlaceholder()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_patternmodifier.cpp123 micros.modMiddle->apply(nsb, 1, 4, status); in testPatternWithNoPlaceholder()
148 micros1.modMiddle->apply(nsb1, 0, 0, status); in testMutableEqualsImmutable()
155 micros2.modMiddle->apply(nsb2, 0, 0, status); in testMutableEqualsImmutable()
163 micros3.modMiddle->apply(nsb3, 0, 0, status); in testMutableEqualsImmutable()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DMutablePatternModifier.java239 micros.modMiddle = pm.getModifierWithoutPlural(quantity.signum()); in applyToMicros()
245 micros.modMiddle = pm.getModifier(quantity.signum(), plural); in applyToMicros()
278 micros.modMiddle = this; in processQuantity()
DMicroProps.java21 public Modifier modMiddle; field in MicroProps
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DMutablePatternModifier.java244 micros.modMiddle = pm.getModifierWithoutPlural(quantity.signum()); in applyToMicros()
250 micros.modMiddle = pm.getModifier(quantity.signum(), plural); in applyToMicros()
283 micros.modMiddle = this; in processQuantity()
DMicroProps.java25 public Modifier modMiddle; field in MicroProps