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 | 553 int intCount = n >> 5; in testBit() local 554 if (intCount >= numberLength) { in testBit() 557 int digit = digits[intCount]; in testBit() 561 if (intCount < firstNonZeroDigit) { in testBit() 563 } 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 = Integer.BYTES * intCount; in readIntArray() 95 Memory.peekIntArray(address + position, dst, dstOffset, intCount, swap); in readIntArray()
|
D | BufferIterator.java | 78 public abstract void readIntArray(int[] dst, int dstOffset, int intCount); in readIntArray() argument
|
D | Memory.java | 205 …public static native void peekIntArray(long address, int[] dst, int dstOffset, int intCount, boole… in peekIntArray() argument
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | MemoryMappedFileTest.java | 519 BufferIterator iterator, byte[] dst, int offset, int intCount) { in assertReadByteArrayFails() argument 523 iterator.readByteArray(dst, offset, intCount); in assertReadByteArrayFails() 556 BufferIterator iterator, int[] dst, int offset, int intCount) { in assertReadIntArrayFails() argument 560 iterator.readIntArray(dst, offset, intCount); in assertReadIntArrayFails() 568 BufferIterator iterator, byte[] underlyingData, ByteOrder byteOrder, int intCount) { in assertReadIntArraySucceeds() argument 584 int[] expectedInts = new int[intCount + 2]; in assertReadIntArraySucceeds() 586 expectedInts[intCount - 1] = Integer.MIN_VALUE; in assertReadIntArraySucceeds() 587 expectedIntsBuffer.get(expectedInts, 1, intCount); in assertReadIntArraySucceeds() 590 int[] dst = new int[intCount + 2]; in assertReadIntArraySucceeds() 592 dst[intCount - 1] = expectedInts[intCount - 1]; in assertReadIntArraySucceeds() [all …]
|
/libcore/luni/src/test/java/libcore/libcore/util/ |
D | ZoneInfoTest.java | 804 public void readIntArray(int[] dst, int dstOffset, int intCount) { in readIntArray() argument 805 buffer.asIntBuffer().get(dst, dstOffset, intCount); in readIntArray() 808 skip(4 * intCount); in readIntArray()
|