Home
last modified time | relevance | path

Searched refs:INT (Results 1 – 14 of 14) sorted by relevance

/libcore/luni/src/main/java/java/nio/
DByteBufferAsIntBuffer.java45 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 …]
DByteArrayBuffer.java133 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()
DDirectByteBuffer.java142 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/
DHeapBufferIterator.java63 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()
DNioBufferIterator.java61 position += SizeOf.INT; in readInt()
67 position += SizeOf.INT * intCount; in readIntArray()
DSizeOf.java23 public static final int INT = 4; field in SizeOf
/libcore/luni/src/main/java/java/io/
DDataOutputStream.java180 out.write(scratch, 0, SizeOf.INT); in writeInt()
181 written += SizeOf.INT; in writeInt()
DRandomAccessFile.java438 readFully(scratch, 0, SizeOf.INT); in readInt()
830 write(scratch, 0, SizeOf.INT); in writeInt()
DDataInputStream.java103 Streams.readFully(in, scratch, 0, SizeOf.INT); in readInt()
/libcore/luni/src/main/java/libcore/util/
DEmptyArray.java27 public static final int[] INT = new int[0]; field in EmptyArray
/libcore/luni/src/test/java/libcore/io/
DMemoryTest.java32 int scale = SizeOf.INT; in testSetIntArray()
62 assertEquals(expectedValues[i], Memory.peekInt(ptr + SizeOf.INT * i, swap)); in assertIntsEqual()
/libcore/benchmarks/src/benchmarks/regression/
DCharacterBenchmark.java39 public enum Overload { CHAR, INT } enumConstant
/libcore/luni/src/test/java/libcore/java/nio/
DBufferTest.java895 assertEquals(SizeOf.INT, 1 << IntBuffer.allocate(0).getElementSizeShift()); in testElementSizeShifts()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DArraysTest.java2209 INT { enumConstant