Home
last modified time | relevance | path

Searched refs:shift (Results 1 – 9 of 9) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DBigDecimalScaleOperationsTest.java258 int shift = 18; in testMovePointLeftPos() local
261 BigDecimal bNumber = aNumber.movePointLeft(shift); in testMovePointLeftPos()
272 int shift = -18; in testMovePointLeftNeg() local
275 BigDecimal bNumber = aNumber.movePointLeft(shift); in testMovePointLeftNeg()
286 int shift = 18; in testMovePointRightPosGreater() local
289 BigDecimal bNumber = aNumber.movePointRight(shift); in testMovePointRightPosGreater()
301 int shift = 30; in testMovePointRightPosLess() local
304 BigDecimal bNumber = aNumber.movePointRight(shift); in testMovePointRightPosLess()
315 int shift = -18; in testMovePointRightNeg() local
318 BigDecimal bNumber = aNumber.movePointRight(shift); in testMovePointRightNeg()
[all …]
/libcore/luni/src/main/java/java/util/concurrent/atomic/
DAtomicLongArray.java22 private static final int shift; field in AtomicLongArray
29 shift = 31 - Integer.numberOfLeadingZeros(scale);
40 return ((long) i << shift) + base; in byteOffset()
DAtomicIntegerArray.java23 private static final int shift; field in AtomicIntegerArray
30 shift = 31 - Integer.numberOfLeadingZeros(scale);
41 return ((long) i << shift) + base; in byteOffset()
DAtomicReferenceArray.java27 private static final int shift; field in AtomicReferenceArray
40 shift = 31 - Integer.numberOfLeadingZeros(scale);
54 return ((long) i << shift) + base; in byteOffset()
/libcore/luni/src/main/java/java/math/
DBigInt.java232 static BigInt shift(BigInt a, int n) { in shift() method in BigInt
238 void shift(int n) { in shift() method in BigInt
DBigInteger.java491 return new BigInteger(BigInt.shift(getBigInt(), n)); in shiftLeft()
DBigDecimal.java497 bi.shift(-scale); in BigDecimal()
/libcore/luni/src/main/native/
Dcbigint.cpp83 #define bitSection(x, mask, shift) (((x) & (mask)) >> (shift)) argument
/libcore/luni/src/test/java/tests/api/java/util/
DCalendarTest.java1062 Map<String, Integer> result, int shift) { in assertDisplayNameMap() argument
1071 assertEquals(i + shift, result.get(trimValue.get(i)).intValue()); in assertDisplayNameMap()