/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | DecimalQuantity_DualStorageBCD.java | 91 protected byte getDigitPos(int position) { in getDigitPos() method in DecimalQuantity_DualStorageBCD 253 tempLong = tempLong * 10 + getDigitPos(shift); in bcdToBigDecimal() 382 if (getDigitPos(precision - 1) == 0) in checkHealth() 384 if (getDigitPos(0) == 0) in checkHealth() 387 if (getDigitPos(i) >= 10) in checkHealth() 389 if (getDigitPos(i) < 0) in checkHealth() 393 if (getDigitPos(i) != 0) in checkHealth() 407 if (precision != 0 && getDigitPos(precision - 1) == 0) in checkHealth() 409 if (precision != 0 && getDigitPos(0) == 0) in checkHealth() 412 if (getDigitPos(i) >= 10) in checkHealth() [all …]
|
D | DecimalQuantity_AbstractBCD.java | 289 return getDigitPos(magnitude - scale); in getDigit() 585 result = result * 10 + getDigitPos(magnitude - scale); in toLong() 607 result = result * 10 + getDigitPos(magnitude - scale); in toFractionLong() 729 byte trailingDigit = getDigitPos(position); in roundToMagnitude() 738 byte leadingDigit = getDigitPos(safeSubtract(position, 1)); in roundToMagnitude() 772 if (getDigitPos(p) != 0) { in roundToMagnitude() 784 if (getDigitPos(p) != 0) { in roundToMagnitude() 792 if (getDigitPos(p) != 9) { in roundToMagnitude() 800 if (getDigitPos(p) != 0) { in roundToMagnitude() 808 if (getDigitPos(p) != 9) { in roundToMagnitude() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | DecimalQuantity_DualStorageBCD.java | 93 protected byte getDigitPos(int position) { in getDigitPos() method in DecimalQuantity_DualStorageBCD 255 tempLong = tempLong * 10 + getDigitPos(shift); in bcdToBigDecimal() 384 if (getDigitPos(precision - 1) == 0) in checkHealth() 386 if (getDigitPos(0) == 0) in checkHealth() 389 if (getDigitPos(i) >= 10) in checkHealth() 391 if (getDigitPos(i) < 0) in checkHealth() 395 if (getDigitPos(i) != 0) in checkHealth() 409 if (precision != 0 && getDigitPos(precision - 1) == 0) in checkHealth() 411 if (precision != 0 && getDigitPos(0) == 0) in checkHealth() 414 if (getDigitPos(i) >= 10) in checkHealth() [all …]
|
D | DecimalQuantity_AbstractBCD.java | 291 return getDigitPos(magnitude - scale); in getDigit() 587 result = result * 10 + getDigitPos(magnitude - scale); in toLong() 609 result = result * 10 + getDigitPos(magnitude - scale); in toFractionLong() 731 byte trailingDigit = getDigitPos(position); in roundToMagnitude() 740 byte leadingDigit = getDigitPos(safeSubtract(position, 1)); in roundToMagnitude() 774 if (getDigitPos(p) != 0) { in roundToMagnitude() 786 if (getDigitPos(p) != 0) { in roundToMagnitude() 794 if (getDigitPos(p) != 9) { in roundToMagnitude() 802 if (getDigitPos(p) != 0) { in roundToMagnitude() 810 if (getDigitPos(p) != 9) { in roundToMagnitude() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | number_decimalquantity.cpp | 306 return getDigitPos(magnitude - scale); in getDigit() 529 result = result * 10 + getDigitPos(magnitude - scale); in toLong() 545 result = result * 10 + getDigitPos(magnitude - scale); in toFractionLong() 619 ubcd[precision - m - 1] = static_cast<uint8_t>(getDigitPos(m)); in toDecNum() 646 int8_t trailingDigit = getDigitPos(position); in roundToMagnitude() 655 int8_t leadingDigit = getDigitPos(safeSubtract(position, 1)); in roundToMagnitude() 689 if (getDigitPos(p) != 0) { in roundToMagnitude() 701 if (getDigitPos(p) != 0) { in roundToMagnitude() 709 if (getDigitPos(p) != 9) { in roundToMagnitude() 717 if (getDigitPos(p) != 0) { in roundToMagnitude() [all …]
|
D | number_decimalquantity.h | 387 int8_t getDigitPos(int32_t position) const;
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/ |
D | DecimalQuantity_64BitBCD.java | 57 protected byte getDigitPos(int position) { in getDigitPos() method in DecimalQuantity_64BitBCD 147 tempLong = tempLong * 10 + getDigitPos(shift); in bcdToBigDecimal()
|
D | DecimalQuantity_ByteArrayBCD.java | 57 protected byte getDigitPos(int position) { in getDigitPos() method in DecimalQuantity_ByteArrayBCD 177 sb.append(getDigitPos(i)); in toDumbString()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/ |
D | DecimalQuantity_64BitBCD.java | 60 protected byte getDigitPos(int position) { in getDigitPos() method in DecimalQuantity_64BitBCD 150 tempLong = tempLong * 10 + getDigitPos(shift); in bcdToBigDecimal()
|
D | DecimalQuantity_ByteArrayBCD.java | 60 protected byte getDigitPos(int position) { in getDigitPos() method in DecimalQuantity_ByteArrayBCD 180 sb.append(getDigitPos(i)); in toDumbString()
|