/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | FormattedNumberRange.java | 31 final DecimalQuantity quantity1; field in FormattedNumberRange 35 …FormattedNumberRange(FormattedStringBuilder string, DecimalQuantity quantity1, DecimalQuantity qua… in FormattedNumberRange() argument 38 this.quantity1 = quantity1; in FormattedNumberRange() 156 return quantity1.toBigDecimal(); in getFirstBigDecimal() 194 ^ quantity1.toBigDecimal().hashCode() ^ quantity2.toBigDecimal().hashCode(); in hashCode() 215 && quantity1.toBigDecimal().equals(_other.quantity1.toBigDecimal()) in equals()
|
D | NumberRangeFormatterImpl.java | 155 …public FormattedNumberRange format(DecimalQuantity quantity1, DecimalQuantity quantity2, boolean e… in format() argument 157 MicroProps micros1 = formatterImpl1.preProcess(quantity1); 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() 219 …private void formatSingleValue(DecimalQuantity quantity1, DecimalQuantity quantity2, FormattedStri… in formatSingleValue() argument [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | FormattedNumberRange.java | 31 final DecimalQuantity quantity1; field in FormattedNumberRange 35 …FormattedNumberRange(FormattedStringBuilder string, DecimalQuantity quantity1, DecimalQuantity qua… in FormattedNumberRange() argument 38 this.quantity1 = quantity1; in FormattedNumberRange() 166 return quantity1.toBigDecimal(); in getFirstBigDecimal() 207 ^ quantity1.toBigDecimal().hashCode() ^ quantity2.toBigDecimal().hashCode(); in hashCode() 229 && quantity1.toBigDecimal().equals(_other.quantity1.toBigDecimal()) in equals()
|
D | NumberRangeFormatterImpl.java | 154 …public FormattedNumberRange format(DecimalQuantity quantity1, DecimalQuantity quantity2, boolean e… in format() argument 156 MicroProps micros1 = formatterImpl1.preProcess(quantity1); in format() 172 formatRange(quantity1, quantity2, string, micros1, micros2); in format() 173 … return new FormattedNumberRange(string, quantity1, quantity2, RangeIdentityResult.NOT_EQUAL); in format() 180 } else if (quantity1.equals(quantity2)) { in format() 195 formatRange(quantity1, quantity2, string, micros1, micros2); in format() 201 formatApproximately(quantity1, quantity2, string, micros1, micros2); in format() 207 formatSingleValue(quantity1, quantity2, string, micros1, micros2); in format() 215 return new FormattedNumberRange(string, quantity1, quantity2, identityResult); in format() 218 …private void formatSingleValue(DecimalQuantity quantity1, DecimalQuantity quantity2, FormattedStri… in formatSingleValue() argument [all …]
|
/external/icu/icu4c/source/i18n/ |
D | numrange_impl.cpp | 227 formatterImpl1.preProcess(data.quantity1, micros1, status); in format() 253 } else if (data.quantity1 == data.quantity2) { in format() 304 …int32_t length = NumberFormatterImpl::writeNumber(micros1, data.quantity1, data.getStringRef(), 0,… in formatSingleValue() 317 …int32_t length = NumberFormatterImpl::writeNumber(micros1, data.quantity1, data.getStringRef(), 0,… in formatApproximately() 445 …length1 += NumberFormatterImpl::writeNumber(micros1, data.quantity1, string, UPRV_INDEX_0, status); in formatRange()
|
D | numrange_impl.h | 37 DecimalQuantity quantity1; variable
|
D | numrange_fluent.cpp | 299 first.populateDecimalQuantity(results->quantity1, status); in formatFormattableRange() 401 return fData->quantity1.toScientificString(); in getFirstDecimal()
|