Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/libcore/io/
DNioBufferIterator.java84 checkReadBounds(position, length, SizeOf.INT); in readInt()
86 position += SizeOf.INT; in readInt()
93 final int byteCount = SizeOf.INT * intCount; in readIntArray()
DSizeOf.java23 public static final int INT = 4; field in SizeOf
/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()
DMemoryMappedFileTest.java593 assertEquals(posBefore + (intCount * SizeOf.INT), iterator.pos()); in assertReadIntArraySucceeds()
609 assertEquals(posBefore + SizeOf.INT, iterator.pos()); in assertReadIntSucceeds()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DDirectIntBufferTest.java69 assertEquals(intBufferBasePointer + SizeOf.INT, NIOAccess.getBasePointer(intBuffer)); in testJNIAccessByAddress()
/libcore/ojluni/src/main/java/java/nio/
DDirectByteBuffer.java542 return getInt(ix(nextGetIndex(SizeOf.INT))); in getInt()
550 return getInt(ix(checkIndex(i, (SizeOf.INT)))); in getInt()
583 putInt(ix(nextPutIndex(SizeOf.INT)), x); in putInt()
595 putInt(ix(checkIndex(i, SizeOf.INT)), x); in putInt()
/libcore/ojluni/src/main/java/sun/invoke/util/
DWrapper.java35INT ( Integer.class, int.class, 'I', (Integer)/*(int)*/0, new int[0], Format.signed( … enumConstant
94 INT = SIGNED | (32 << SIZE_SHIFT) | (1 << SLOT_SHIFT), field in Wrapper.Format
177 if (!w.isConvertibleFrom(INT)) in checkConvertibleFrom()
/libcore/benchmarks/src/benchmarks/regression/
DCharacterBenchmark.java39 public enum Overload { CHAR, INT } enumConstant
/libcore/luni/src/test/java/libcore/java/nio/
DBufferTest.java946 assertEquals(SizeOf.INT, 1 << IntBuffer.allocate(0).getElementSizeShift()); in testElementSizeShifts()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DArraysTest.java2220 INT { enumConstant