/libcore/luni/src/main/java/java/math/ |
H A D | BitLevel.java | 104 int intCount = numberOfBits >> 5; 108 for (i = 0; (i < intCount) && (digits[i] == 0); i++) { 111 return ((i != intCount) || (digits[i] << (32 - bitCount) != 0)); 138 int intCount = count >> 5; // count of integers 140 if (intCount >= source.numberLength) { 144 int resLength = source.numberLength - intCount; 147 shiftRight(resDigits, resLength, source.digits, intCount, count); 151 for (i = 0; (i < intCount) && (source.digits[i] == 0); i++) { 155 if ((i < intCount) 171 * intCount * 3 185 shiftRight(int[] result, int resultLen, int[] source, int intCount, int count) argument [all...] |
H A D | BigInteger.java | 517 int intCount = n >> 5; 518 if (intCount >= numberLength) { 521 int digit = digits[intCount]; 525 if (intCount < firstNonZeroDigit) { 527 } else if (firstNonZeroDigit == intCount) {
|
/libcore/luni/src/main/java/java/nio/ |
H A D | IntArrayBuffer.java | 67 public final IntBuffer get(int[] dst, int dstOffset, int intCount) { argument 68 if (intCount > remaining()) { 71 System.arraycopy(backingArray, offset + position, dst, dstOffset, intCount); 72 position += intCount;
|
H A D | IntBuffer.java | 70 * {@code start + intCount}, capacity will be the length of the array. 77 * @param intCount 82 * if either {@code start} or {@code intCount} is invalid. 84 public static IntBuffer wrap(int[] array, int start, int intCount) { argument 85 Arrays.checkOffsetAndCount(array.length, start, intCount); 88 buf.limit = start + intCount; 247 * @param intCount 252 * if either {@code dstOffset} or {@code intCount} is invalid. 254 * if {@code intCount} is greater than {@code remaining()}. 256 public IntBuffer get(int[] dst, int dstOffset, int intCount) { argument 397 put(int[] src, int srcOffset, int intCount) argument [all...] |
H A D | IntToByteBufferAdapter.java | 101 public IntBuffer get(int[] dst, int dstOffset, int intCount) { argument 105 ((DirectByteBuffer) byteBuffer).get(dst, dstOffset, intCount); 107 ((HeapByteBuffer) byteBuffer).get(dst, dstOffset, intCount); 109 this.position += intCount; 157 public IntBuffer put(int[] src, int srcOffset, int intCount) { argument 161 ((ReadWriteDirectByteBuffer) byteBuffer).put(src, srcOffset, intCount); 163 ((ReadWriteHeapByteBuffer) byteBuffer).put(src, srcOffset, intCount); 165 this.position += intCount;
|
H A D | ReadWriteIntArrayBuffer.java | 107 public IntBuffer put(int[] src, int srcOffset, int intCount) { argument 108 if (intCount > remaining()) { 111 System.arraycopy(src, srcOffset, backingArray, offset + position, intCount); 112 position += intCount;
|
H A D | MemoryBlock.java | 168 public final void pokeIntArray(int offset, int[] src, int srcOffset, int intCount, boolean swap) { argument 169 Memory.pokeIntArray(address + offset, src, srcOffset, intCount, swap); 200 public final void peekIntArray(int offset, int[] dst, int dstOffset, int intCount, boolean swap) { argument 201 Memory.peekIntArray(address + offset, dst, dstOffset, intCount, swap);
|
H A D | ReadOnlyIntArrayBuffer.java | 95 public final IntBuffer put(int[] src, int srcOffset, int intCount) { argument
|
H A D | DirectByteBuffer.java | 65 final void get(int[] dst, int dstOffset, int intCount) { argument 66 int byteCount = checkGetBounds(SizeOf.INT, dst.length, dstOffset, intCount); 67 this.block.peekIntArray(offset + position, dst, dstOffset, intCount, order.needsSwap);
|
H A D | ReadWriteDirectByteBuffer.java | 124 final void put(int[] src, int srcOffset, int intCount) { argument 125 int byteCount = checkPutBounds(SizeOf.INT, src.length, srcOffset, intCount); 126 this.block.pokeIntArray(offset + position, src, srcOffset, intCount, order.needsSwap);
|
H A D | HeapByteBuffer.java | 87 final void get(int[] dst, int dstOffset, int intCount) { argument 88 int byteCount = checkGetBounds(SizeOf.INT, dst.length, dstOffset, intCount);
|
H A D | ReadWriteHeapByteBuffer.java | 134 final void put(int[] src, int srcOffset, int intCount) { argument 135 int byteCount = checkPutBounds(SizeOf.INT, src.length, srcOffset, intCount);
|
/libcore/luni/src/main/java/libcore/io/ |
H A D | BufferIterator.java | 53 * Copies {@code intCount} 32-bit ints from the current position into {@code dst}, starting at 54 * {@code dstOffset}, and advances the current position {@code 4 * intCount} bytes. 56 public abstract void readIntArray(int[] dst, int dstOffset, int intCount); argument
|
H A D | NioBufferIterator.java | 65 public void readIntArray(int[] dst, int dstOffset, int intCount) { argument 66 Memory.peekIntArray(address + position, dst, dstOffset, intCount, swap); 67 position += SizeOf.INT * intCount;
|
H A D | HeapBufferIterator.java | 67 public void readIntArray(int[] dst, int dstOffset, int intCount) { argument 68 final int byteCount = intCount * SizeOf.INT;
|
H A D | Memory.java | 162 public static native void peekIntArray(int address, int[] dst, int dstOffset, int intCount, boolean swap); argument
|