Home
last modified time | relevance | path

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

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DFormattedNumberRange.java32 final DecimalQuantity quantity2; field in FormattedNumberRange
35 …tedNumberRange(FormattedStringBuilder string, DecimalQuantity quantity1, DecimalQuantity quantity2, in FormattedNumberRange() argument
39 this.quantity2 = quantity2; in FormattedNumberRange()
142 return quantity2.toBigDecimal(); in getSecondBigDecimal()
169 ^ quantity1.toBigDecimal().hashCode() ^ quantity2.toBigDecimal().hashCode(); in hashCode()
190 && quantity2.toBigDecimal().equals(_other.quantity2.toBigDecimal()); in equals()
208 return quantity2; in getSecondFixedDecimal()
DNumberRangeFormatterImpl.java155 …public FormattedNumberRange format(DecimalQuantity quantity1, DecimalQuantity quantity2, boolean e… in format() argument
160 micros2 = formatterImpl1.preProcess(quantity2); in format()
162 micros2 = formatterImpl2.preProcess(quantity2); in format()
173 formatRange(quantity1, quantity2, string, micros1, micros2); in format()
174 … return new FormattedNumberRange(string, quantity1, quantity2, RangeIdentityResult.NOT_EQUAL); in format()
181 } else if (quantity1.equals(quantity2)) { in format()
196 formatRange(quantity1, quantity2, string, micros1, micros2); in format()
202 formatApproximately(quantity1, quantity2, string, micros1, micros2); in format()
208 formatSingleValue(quantity1, quantity2, string, micros1, micros2); in format()
216 return new FormattedNumberRange(string, quantity1, quantity2, identityResult); in format()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/
DFormattedNumberRange.java32 final DecimalQuantity quantity2; field in FormattedNumberRange
35 …tedNumberRange(FormattedStringBuilder string, DecimalQuantity quantity1, DecimalQuantity quantity2, in FormattedNumberRange() argument
39 this.quantity2 = quantity2; in FormattedNumberRange()
126 return quantity2.toBigDecimal(); in getSecondBigDecimal()
150 ^ quantity1.toBigDecimal().hashCode() ^ quantity2.toBigDecimal().hashCode(); in hashCode()
170 && quantity2.toBigDecimal().equals(_other.quantity2.toBigDecimal()); in equals()
DNumberRangeFormatterImpl.java155 …public FormattedNumberRange format(DecimalQuantity quantity1, DecimalQuantity quantity2, boolean e… in format() argument
160 micros2 = formatterImpl1.preProcess(quantity2); in format()
162 micros2 = formatterImpl2.preProcess(quantity2); in format()
173 formatRange(quantity1, quantity2, string, micros1, micros2); in format()
174 … return new FormattedNumberRange(string, quantity1, quantity2, RangeIdentityResult.NOT_EQUAL); in format()
181 } else if (quantity1.equals(quantity2)) { in format()
196 formatRange(quantity1, quantity2, string, micros1, micros2); in format()
202 formatApproximately(quantity1, quantity2, string, micros1, micros2); in format()
208 formatSingleValue(quantity1, quantity2, string, micros1, micros2); in format()
216 return new FormattedNumberRange(string, quantity1, quantity2, identityResult); in format()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dnumrange_capi.cpp120 result->fData.quantity2.clear(); in unumrf_formatDoubleRange()
122 result->fData.quantity2.setToDouble(second); in unumrf_formatDoubleRange()
139 result->fData.quantity2.clear(); in unumrf_formatDecimalRange()
141 result->fData.quantity2.setToDecNumber({second, secondLen}, *ec); in unumrf_formatDecimalRange()
183 return result->fData.quantity2 in unumrf_resultGetSecondDecimalNumber()
Dnumrange_impl.cpp167 formatterImpl1.preProcess(data.quantity2, micros2, status); in format()
169 formatterImpl2.preProcess(data.quantity2, micros2, status); in format()
191 } else if (data.quantity1 == data.quantity2) { in format()
390 NumberFormatterImpl::writeNumber(micros2, data.quantity2, tempString, 0, status); in formatRange()
Dnumrange_impl.h39 DecimalQuantity quantity2; variable
Dnumber_output.cpp65 fData->quantity2.toDecNum(decnum2, status).toString(sink2, status); in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL()
Dnumrange_fluent.cpp306 second.populateDecimalQuantity(results->quantity2, status); in formatFormattableRange()
Dplurrule.cpp334 auto form2 = StandardPlural::fromString(select(impl->quantity2), status); in select()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumrange_capi.cpp120 result->fData.quantity2.setToDouble(second); in unumrf_formatDoubleRange()
137 result->fData.quantity2.setToDecNumber({second, secondLen}, *ec); in unumrf_formatDecimalRange()
179 return result->fData.quantity2 in unumrf_resultGetSecondDecimalNumber()
Dnumrange_impl.cpp147 formatterImpl1.preProcess(data.quantity2, micros2, status); in format()
149 formatterImpl2.preProcess(data.quantity2, micros2, status); in format()
171 } else if (data.quantity1 == data.quantity2) { in format()
366 …length2 += NumberFormatterImpl::writeNumber(micros2, data.quantity2, string, UPRV_INDEX_2, status); in formatRange()
Dnumrange_impl.h39 DecimalQuantity quantity2; variable
Dnumber_output.cpp65 fData->quantity2.toDecNum(decnum2, status).toString(sink2, status); in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL()
Dnumrange_fluent.cpp306 second.populateDecimalQuantity(results->quantity2, status); in formatFormattableRange()
Dplurrule.cpp334 auto form2 = StandardPlural::fromString(select(impl->quantity2), status); in select()
/third_party/icu/icu4c/source/i18n/
Dnumrange_capi.cpp120 result->fData.quantity2.setToDouble(second); in unumrf_formatDoubleRange()
137 result->fData.quantity2.setToDecNumber({second, secondLen}, *ec); in unumrf_formatDecimalRange()
179 return result->fData.quantity2 in unumrf_resultGetSecondDecimalNumber()
Dnumrange_impl.cpp147 formatterImpl1.preProcess(data.quantity2, micros2, status); in format()
149 formatterImpl2.preProcess(data.quantity2, micros2, status); in format()
171 } else if (data.quantity1 == data.quantity2) { in format()
366 …length2 += NumberFormatterImpl::writeNumber(micros2, data.quantity2, string, UPRV_INDEX_2, status); in formatRange()
Dnumrange_impl.h39 DecimalQuantity quantity2; variable
Dnumber_output.cpp65 fData->quantity2.toDecNum(decnum2, status).toString(sink2, status); in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL()
Dnumrange_fluent.cpp306 second.populateDecimalQuantity(results->quantity2, status); in formatFormattableRange()
Dplurrule.cpp334 auto form2 = StandardPlural::fromString(select(impl->quantity2), status); in select()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumrange_impl.cpp207 formatterImpl1.preProcess(data.quantity2, micros2, status); in format()
209 formatterImpl2.preProcess(data.quantity2, micros2, status); in format()
231 } else if (data.quantity1 == data.quantity2) { in format()
425 …length2 += NumberFormatterImpl::writeNumber(micros2, data.quantity2, string, UPRV_INDEX_2, status); in formatRange()
Dnumrange_impl.h36 DecimalQuantity quantity2; member
Dnumrange_fluent.cpp294 second.populateDecimalQuantity(results->quantity2, status); in formatFormattableRange()
452 return fResults->quantity2.toScientificString(); in getSecondDecimal()