Home
last modified time | relevance | path

Searched refs:bcdBytes (Results 1 – 4 of 4) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalQuantity_DualStorageBCD.java24 private byte[] bcdBytes; field in DecimalQuantity_DualStorageBCD
97 return bcdBytes[position]; in getDigitPos()
110 bcdBytes[position] = value; in setDigitPos()
114 bcdBytes[position] = value; in setDigitPos()
130 bcdBytes[i] = bcdBytes[i - numDigits]; in shiftLeft()
133 bcdBytes[i] = 0; in shiftLeft()
147 bcdBytes[i] = bcdBytes[i + numDigits]; in shiftRight()
150 bcdBytes[i] = 0; in shiftRight()
162 bcdBytes = null; in setBcdToZero()
195 bcdBytes[i] = (byte) (n % 10); in readLongToBcd()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity_DualStorageBCD.java22 private byte[] bcdBytes; field in DecimalQuantity_DualStorageBCD
95 return bcdBytes[position]; in getDigitPos()
108 bcdBytes[position] = value; in setDigitPos()
112 bcdBytes[position] = value; in setDigitPos()
128 bcdBytes[i] = bcdBytes[i - numDigits]; in shiftLeft()
131 bcdBytes[i] = 0; in shiftLeft()
145 bcdBytes[i] = bcdBytes[i + numDigits]; in shiftRight()
148 bcdBytes[i] = 0; in shiftRight()
160 bcdBytes = null; in setBcdToZero()
193 bcdBytes[i] = (byte) (n % 10); in readLongToBcd()
[all …]
/external/icu/icu4c/source/i18n/
Dnumber_decimalquantity.cpp81 uprv_free(fBCD.bcdBytes.ptr); in ~DecimalQuantity()
82 fBCD.bcdBytes.ptr = nullptr; in ~DecimalQuantity()
852 return fBCD.bcdBytes.ptr[position]; in getDigitPos()
863 fBCD.bcdBytes.ptr[position] = value; in setDigitPos()
867 fBCD.bcdBytes.ptr[position] = value; in setDigitPos()
882 fBCD.bcdBytes.ptr[i] = fBCD.bcdBytes.ptr[i - numDigits]; in shiftLeft()
885 fBCD.bcdBytes.ptr[i] = 0; in shiftLeft()
898 fBCD.bcdBytes.ptr[i] = fBCD.bcdBytes.ptr[i + numDigits]; in shiftRight()
901 fBCD.bcdBytes.ptr[i] = 0; in shiftRight()
912 uprv_free(fBCD.bcdBytes.ptr); in setBcdToZero()
[all …]
Dnumber_decimalquantity.h372 } bcdBytes; member