Searched refs:intCount (Results 1 – 7 of 7) sorted by relevance
/libcore/luni/src/main/java/java/math/ |
D | BitLevel.java | 104 int intCount = numberOfBits >> 5; in nonZeroDroppedBits() local 108 for (i = 0; (i < intCount) && (digits[i] == 0); i++) { in nonZeroDroppedBits() 111 return ((i != intCount) || (digits[i] << (32 - bitCount) != 0)); in nonZeroDroppedBits() 138 int intCount = count >> 5; // count of integers in shiftRight() local 140 if (intCount >= source.numberLength) { in shiftRight() 144 int resLength = source.numberLength - intCount; in shiftRight() 147 shiftRight(resDigits, resLength, source.digits, intCount, count); in shiftRight() 151 for (i = 0; (i < intCount) && (source.digits[i] == 0); i++) { in shiftRight() 155 if ((i < intCount) in shiftRight() 185 static boolean shiftRight(int[] result, int resultLen, int[] source, int intCount, int count) { in shiftRight() argument [all …]
|
D | BigInteger.java | 551 int intCount = n >> 5; in testBit() local 552 if (intCount >= numberLength) { in testBit() 555 int digit = digits[intCount]; in testBit() 559 if (intCount < firstNonZeroDigit) { in testBit() 561 } else if (firstNonZeroDigit == intCount) { in testBit()
|
/libcore/luni/src/main/java/libcore/io/ |
D | NioBufferIterator.java | 90 public void readIntArray(int[] dst, int dstOffset, int intCount) { in readIntArray() argument 91 checkDstBounds(dstOffset, dst.length, intCount); in readIntArray() 93 final int byteCount = SizeOf.INT * intCount; in readIntArray() 95 Memory.peekIntArray(address + position, dst, dstOffset, intCount, swap); in readIntArray()
|
D | BufferIterator.java | 70 public abstract void readIntArray(int[] dst, int dstOffset, int intCount); in readIntArray() argument
|
D | Memory.java | 191 …public static native void peekIntArray(long address, int[] dst, int dstOffset, int intCount, boole… in peekIntArray() argument
|
/libcore/luni/src/test/java/libcore/io/ |
D | MemoryMappedFileTest.java | 516 BufferIterator iterator, byte[] dst, int offset, int intCount) { in assertReadByteArrayFails() argument 520 iterator.readByteArray(dst, offset, intCount); in assertReadByteArrayFails() 553 BufferIterator iterator, int[] dst, int offset, int intCount) { in assertReadIntArrayFails() argument 557 iterator.readIntArray(dst, offset, intCount); in assertReadIntArrayFails() 565 BufferIterator iterator, byte[] underlyingData, ByteOrder byteOrder, int intCount) { in assertReadIntArraySucceeds() argument 581 int[] expectedInts = new int[intCount + 2]; in assertReadIntArraySucceeds() 583 expectedInts[intCount - 1] = Integer.MIN_VALUE; in assertReadIntArraySucceeds() 584 expectedIntsBuffer.get(expectedInts, 1, intCount); in assertReadIntArraySucceeds() 587 int[] dst = new int[intCount + 2]; in assertReadIntArraySucceeds() 589 dst[intCount - 1] = expectedInts[intCount - 1]; in assertReadIntArraySucceeds() [all …]
|
/libcore/luni/src/test/java/libcore/util/ |
D | ZoneInfoTest.java | 621 public void readIntArray(int[] dst, int dstOffset, int intCount) { in readIntArray() argument 622 buffer.asIntBuffer().get(dst, dstOffset, intCount); in readIntArray() 625 skip(4 * intCount); in readIntArray()
|