/libcore/luni/src/main/java/java/nio/ |
D | ByteBufferAsIntBuffer.java | 45 super(byteBuffer.capacity() / SizeOf.INT, byteBuffer.effectiveDirectAddress); in ByteBufferAsIntBuffer() 65 byteBuffer.limit(limit * SizeOf.INT); in compact() 66 byteBuffer.position(position * SizeOf.INT); in compact() 90 return byteBuffer.getInt(position++ * SizeOf.INT); in get() 96 return byteBuffer.getInt(index * SizeOf.INT); in get() 101 byteBuffer.limit(limit * SizeOf.INT); in get() 102 byteBuffer.position(position * SizeOf.INT); in get() 144 byteBuffer.putInt(position++ * SizeOf.INT, c); in put() 151 byteBuffer.putInt(index * SizeOf.INT, c); in put() 157 byteBuffer.limit(limit * SizeOf.INT); in put() [all …]
|
D | ByteArrayBuffer.java | 133 int byteCount = checkGetBounds(SizeOf.INT, dst.length, dstOffset, intCount); in get() 134 …kGet(dst, dstOffset, byteCount, backingArray, arrayOffset + position, SizeOf.INT, order.needsSwap); in get() 194 int newPosition = position + SizeOf.INT; in getInt() 204 checkIndex(index, SizeOf.INT); in getInt() 291 int byteCount = checkPutBounds(SizeOf.INT, src.length, srcOffset, intCount); in put() 292 …kPut(backingArray, arrayOffset + position, byteCount, src, srcOffset, SizeOf.INT, order.needsSwap); in put() 350 int newPosition = position + SizeOf.INT; in putInt() 363 checkIndex(index, SizeOf.INT); in putInt()
|
D | DirectByteBuffer.java | 142 int byteCount = checkGetBounds(SizeOf.INT, dst.length, dstOffset, intCount); in get() 228 int newPosition = position + SizeOf.INT; in getInt() 239 checkIndex(index, SizeOf.INT); in getInt() 385 int byteCount = checkPutBounds(SizeOf.INT, src.length, srcOffset, intCount); in put() 481 int newPosition = position + SizeOf.INT; in putInt() 495 checkIndex(index, SizeOf.INT); in putInt()
|
/libcore/luni/src/main/java/libcore/io/ |
D | HeapBufferIterator.java | 63 position += SizeOf.INT; in readInt() 68 final int byteCount = intCount * SizeOf.INT; in readIntArray() 69 …Memory.unsafeBulkGet(dst, dstOffset, byteCount, buffer, offset + position, SizeOf.INT, order.needs… in readIntArray()
|
D | NioBufferIterator.java | 61 position += SizeOf.INT; in readInt() 67 position += SizeOf.INT * intCount; in readIntArray()
|
D | SizeOf.java | 23 public static final int INT = 4; field in SizeOf
|
/libcore/luni/src/main/java/java/io/ |
D | DataOutputStream.java | 180 out.write(scratch, 0, SizeOf.INT); in writeInt() 181 written += SizeOf.INT; in writeInt()
|
D | RandomAccessFile.java | 438 readFully(scratch, 0, SizeOf.INT); in readInt() 830 write(scratch, 0, SizeOf.INT); in writeInt()
|
D | DataInputStream.java | 103 Streams.readFully(in, scratch, 0, SizeOf.INT); in readInt()
|
/libcore/luni/src/main/java/libcore/util/ |
D | EmptyArray.java | 27 public static final int[] INT = new int[0]; field in EmptyArray
|
/libcore/luni/src/test/java/libcore/io/ |
D | MemoryTest.java | 32 int scale = SizeOf.INT; in testSetIntArray() 62 assertEquals(expectedValues[i], Memory.peekInt(ptr + SizeOf.INT * i, swap)); in assertIntsEqual()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | CharacterBenchmark.java | 39 public enum Overload { CHAR, INT } enumConstant
|
/libcore/luni/src/test/java/libcore/java/nio/ |
D | BufferTest.java | 895 assertEquals(SizeOf.INT, 1 << IntBuffer.allocate(0).getElementSizeShift()); in testElementSizeShifts()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ArraysTest.java | 2209 INT { enumConstant
|