Home
last modified time | relevance | path

Searched refs:bcdLong (Results 1 – 10 of 10) sorted by relevance

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DDecimalQuantity_DualStorageBCD.java26 private long bcdLong = 0L; field in DecimalQuantity_DualStorageBCD
101 return (byte) ((bcdLong >>> (position * 4)) & 0xf); in getDigitPos()
117 bcdLong = bcdLong & ~(0xfL << shift) | ((long) value << shift); in setDigitPos()
136 bcdLong <<= (numDigits * 4); in shiftLeft()
153 bcdLong >>>= (numDigits * 4); in shiftRight()
168 bcdLong &= (1L << ((precision - numDigits) * 4)) - 1; in popFromLeft()
179 bcdLong = 0L; in setBcdToZero()
198 bcdLong = result >>> (i * 4); in readIntToBcd()
223 bcdLong = result >>> (i * 4); in readLongToBcd()
300 if (bcdLong == 0L) { in compact()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity_DualStorageBCD.java25 private long bcdLong = 0L; field in DecimalQuantity_DualStorageBCD
100 return (byte) ((bcdLong >>> (position * 4)) & 0xf); in getDigitPos()
116 bcdLong = bcdLong & ~(0xfL << shift) | ((long) value << shift); in setDigitPos()
130 bcdLong <<= (numDigits * 4); in shiftLeft()
147 bcdLong >>>= (numDigits * 4); in shiftRight()
162 bcdLong &= (1L << ((precision - numDigits) * 4)) - 1; in popFromLeft()
173 bcdLong = 0L; in setBcdToZero()
192 bcdLong = result >>> (i * 4); in readIntToBcd()
217 bcdLong = result >>> (i * 4); in readLongToBcd()
294 if (bcdLong == 0L) { in compact()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_decimalquantity.cpp855 return (int8_t) ((fBCD.bcdLong >> (position * 4)) & 0xf); in getDigitPos()
870 fBCD.bcdLong = (fBCD.bcdLong & ~(0xfL << shift)) | ((long) value << shift); in setDigitPos()
888 fBCD.bcdLong <<= (numDigits * 4); in shiftLeft()
904 fBCD.bcdLong >>= (numDigits * 4); in shiftRight()
916 fBCD.bcdLong = 0L; in setBcdToZero()
933 fBCD.bcdLong = result >> (i * 4); in readIntToBcd()
957 fBCD.bcdLong = result >> (i * 4); in readLongToBcd()
975 fBCD.bcdLong = result; in readDecNumberToBcd()
995 fBCD.bcdLong = result; in readDoubleConversionToBcd()
1025 if (fBCD.bcdLong == 0L) { in compact()
[all …]
Dnumber_decimalquantity.h373 uint64_t bcdLong; member
/third_party/node/deps/icu-small/source/i18n/
Dnumber_decimalquantity.cpp1005 return (int8_t) ((fBCD.bcdLong >> (position * 4)) & 0xf); in getDigitPos()
1020 fBCD.bcdLong = (fBCD.bcdLong & ~(0xfL << shift)) | ((long) value << shift); in setDigitPos()
1033 fBCD.bcdLong <<= (numDigits * 4); in shiftLeft()
1049 fBCD.bcdLong >>= (numDigits * 4); in shiftRight()
1063 fBCD.bcdLong &= (static_cast<uint64_t>(1) << ((precision - numDigits) * 4)) - 1; in popFromLeft()
1074 fBCD.bcdLong = 0L; in setBcdToZero()
1092 fBCD.bcdLong = result >> (i * 4); in readIntToBcd()
1116 fBCD.bcdLong = result >> (i * 4); in readLongToBcd()
1134 fBCD.bcdLong = result; in readDecNumberToBcd()
1154 fBCD.bcdLong = result; in readDoubleConversionToBcd()
[all …]
Dnumber_decimalquantity.h411 uint64_t bcdLong; member
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_decimalquantity.cpp990 return (int8_t) ((fBCD.bcdLong >> (position * 4)) & 0xf); in getDigitPos()
1005 fBCD.bcdLong = (fBCD.bcdLong & ~(0xfL << shift)) | ((long) value << shift); in setDigitPos()
1018 fBCD.bcdLong <<= (numDigits * 4); in shiftLeft()
1034 fBCD.bcdLong >>= (numDigits * 4); in shiftRight()
1048 fBCD.bcdLong &= (static_cast<uint64_t>(1) << ((precision - numDigits) * 4)) - 1; in popFromLeft()
1059 fBCD.bcdLong = 0L; in setBcdToZero()
1077 fBCD.bcdLong = result >> (i * 4); in readIntToBcd()
1101 fBCD.bcdLong = result >> (i * 4); in readLongToBcd()
1119 fBCD.bcdLong = result; in readDecNumberToBcd()
1139 fBCD.bcdLong = result; in readDoubleConversionToBcd()
[all …]
Dnumber_decimalquantity.h406 uint64_t bcdLong; member
/third_party/icu/icu4c/source/i18n/
Dnumber_decimalquantity.cpp990 return (int8_t) ((fBCD.bcdLong >> (position * 4)) & 0xf); in getDigitPos()
1005 fBCD.bcdLong = (fBCD.bcdLong & ~(0xfL << shift)) | ((long) value << shift); in setDigitPos()
1018 fBCD.bcdLong <<= (numDigits * 4); in shiftLeft()
1034 fBCD.bcdLong >>= (numDigits * 4); in shiftRight()
1048 fBCD.bcdLong &= (static_cast<uint64_t>(1) << ((precision - numDigits) * 4)) - 1; in popFromLeft()
1059 fBCD.bcdLong = 0L; in setBcdToZero()
1077 fBCD.bcdLong = result >> (i * 4); in readIntToBcd()
1101 fBCD.bcdLong = result >> (i * 4); in readLongToBcd()
1119 fBCD.bcdLong = result; in readDecNumberToBcd()
1139 fBCD.bcdLong = result; in readDoubleConversionToBcd()
[all …]
Dnumber_decimalquantity.h406 uint64_t bcdLong; member