/third_party/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() 129 return quantity1.toBigDecimal(); in getFirstBigDecimal() 169 ^ quantity1.toBigDecimal().hashCode() ^ quantity2.toBigDecimal().hashCode(); in hashCode() 189 && quantity1.toBigDecimal().equals(_other.quantity1.toBigDecimal()) in equals() 199 return quantity1; in getFirstFixedDecimal()
|
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 …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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() 114 return quantity1.toBigDecimal(); in getFirstBigDecimal() 150 ^ quantity1.toBigDecimal().hashCode() ^ quantity2.toBigDecimal().hashCode(); in hashCode() 169 && 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 …]
|
/third_party/node/deps/icu-small/source/i18n/ |
D | numrange_capi.cpp | 119 result->fData.quantity1.clear(); in unumrf_formatDoubleRange() 121 result->fData.quantity1.setToDouble(first); in unumrf_formatDoubleRange() 138 result->fData.quantity1.clear(); in unumrf_formatDecimalRange() 140 result->fData.quantity1.setToDecNumber({first, firstLen}, *ec); in unumrf_formatDecimalRange() 167 return result->fData.quantity1.toDecNum(decnum, *ec) in unumrf_resultGetFirstDecimalNumber()
|
D | numrange_impl.cpp | 165 formatterImpl1.preProcess(data.quantity1, micros1, status); in format() 191 } else if (data.quantity1 == data.quantity2) { in format() 242 …int32_t length = NumberFormatterImpl::writeNumber(micros1, data.quantity1, data.getStringRef(), 0,… in formatSingleValue() 257 data.quantity1.resetExponent(); in formatApproximately() 258 fApproximatelyFormatter.preProcess(data.quantity1, microsAppx, status); in formatApproximately() 259 …int32_t length = NumberFormatterImpl::writeNumber(microsAppx, data.quantity1, data.getStringRef(),… in formatApproximately() 387 …length1 += NumberFormatterImpl::writeNumber(micros1, data.quantity1, string, UPRV_INDEX_0, status); in formatRange()
|
D | numrange_impl.h | 38 DecimalQuantity quantity1; variable
|
D | number_output.cpp | 64 fData->quantity1.toDecNum(decnum1, status).toString(sink1, status); in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL()
|
D | numrange_fluent.cpp | 301 first.populateDecimalQuantity(results->quantity1, status); in formatFormattableRange()
|
D | plurrule.cpp | 333 auto form1 = StandardPlural::fromString(select(impl->quantity1), status); in select()
|
/third_party/icu/icu4c/source/i18n/ |
D | numrange_capi.cpp | 119 result->fData.quantity1.setToDouble(first); in unumrf_formatDoubleRange() 136 result->fData.quantity1.setToDecNumber({first, firstLen}, *ec); in unumrf_formatDecimalRange() 163 return result->fData.quantity1.toDecNum(decnum, *ec) in unumrf_resultGetFirstDecimalNumber()
|
D | numrange_impl.cpp | 145 formatterImpl1.preProcess(data.quantity1, micros1, status); in format() 171 } else if (data.quantity1 == data.quantity2) { in format() 222 …int32_t length = NumberFormatterImpl::writeNumber(micros1, data.quantity1, data.getStringRef(), 0,… in formatSingleValue() 235 …int32_t length = NumberFormatterImpl::writeNumber(micros1, data.quantity1, data.getStringRef(), 0,… in formatApproximately() 365 …length1 += NumberFormatterImpl::writeNumber(micros1, data.quantity1, string, UPRV_INDEX_0, status); in formatRange()
|
D | numrange_impl.h | 38 DecimalQuantity quantity1; variable
|
D | number_output.cpp | 64 fData->quantity1.toDecNum(decnum1, status).toString(sink1, status); in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL()
|
D | numrange_fluent.cpp | 301 first.populateDecimalQuantity(results->quantity1, status); in formatFormattableRange()
|
D | plurrule.cpp | 333 auto form1 = StandardPlural::fromString(select(impl->quantity1), status); in select()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | numrange_capi.cpp | 119 result->fData.quantity1.setToDouble(first); in unumrf_formatDoubleRange() 136 result->fData.quantity1.setToDecNumber({first, firstLen}, *ec); in unumrf_formatDecimalRange() 163 return result->fData.quantity1.toDecNum(decnum, *ec) in unumrf_resultGetFirstDecimalNumber()
|
D | numrange_impl.cpp | 145 formatterImpl1.preProcess(data.quantity1, micros1, status); in format() 171 } else if (data.quantity1 == data.quantity2) { in format() 222 …int32_t length = NumberFormatterImpl::writeNumber(micros1, data.quantity1, data.getStringRef(), 0,… in formatSingleValue() 235 …int32_t length = NumberFormatterImpl::writeNumber(micros1, data.quantity1, data.getStringRef(), 0,… in formatApproximately() 365 …length1 += NumberFormatterImpl::writeNumber(micros1, data.quantity1, string, UPRV_INDEX_0, status); in formatRange()
|
D | numrange_impl.h | 38 DecimalQuantity quantity1; variable
|
D | number_output.cpp | 64 fData->quantity1.toDecNum(decnum1, status).toString(sink1, status); in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL()
|
D | numrange_fluent.cpp | 301 first.populateDecimalQuantity(results->quantity1, status); in formatFormattableRange()
|
D | plurrule.cpp | 333 auto form1 = StandardPlural::fromString(select(impl->quantity1), status); in select()
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | numrange_impl.cpp | 205 formatterImpl1.preProcess(data.quantity1, micros1, status); in format() 231 } else if (data.quantity1 == data.quantity2) { in format() 283 …int32_t length = NumberFormatterImpl::writeNumber(micros1, data.quantity1, data.string, 0, status); in formatSingleValue() 296 …int32_t length = NumberFormatterImpl::writeNumber(micros1, data.quantity1, data.string, 0, status); in formatApproximately() 424 …length1 += NumberFormatterImpl::writeNumber(micros1, data.quantity1, string, UPRV_INDEX_0, status); in formatRange()
|
D | numrange_impl.h | 35 DecimalQuantity quantity1; member
|
D | numrange_fluent.cpp | 289 first.populateDecimalQuantity(results->quantity1, status); in formatFormattableRange() 441 return fResults->quantity1.toScientificString(); in getFirstDecimal()
|