Home
last modified time | relevance | path

Searched refs:LITTLE_ENDIAN (Results 1 – 13 of 13) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DByteBufferTest.java518 buf.order(ByteOrder.LITTLE_ENDIAN); in testOrder()
519 assertEquals(ByteOrder.LITTLE_ENDIAN, buf.order()); in testOrder()
526 assertEquals(ByteOrder.LITTLE_ENDIAN, buf.order()); in testOrder()
862 buf.order(ByteOrder.LITTLE_ENDIAN); in testAsCharBuffer()
864 assertSame(ByteOrder.LITTLE_ENDIAN, charBuffer.order()); in testAsCharBuffer()
886 buf.order(ByteOrder.LITTLE_ENDIAN); in testAsCharBuffer()
888 assertSame(ByteOrder.LITTLE_ENDIAN, charBuffer.order()); in testAsCharBuffer()
921 buf.order(ByteOrder.LITTLE_ENDIAN); in testAsDoubleBuffer()
923 assertSame(ByteOrder.LITTLE_ENDIAN, doubleBuffer.order()); in testAsDoubleBuffer()
948 buf.order(ByteOrder.LITTLE_ENDIAN); in testAsDoubleBuffer()
[all …]
DByteOrderTest.java32 assertEquals(ByteOrder.LITTLE_ENDIAN.toString(), "LITTLE_ENDIAN"); in testToString()
37 assertTrue(o == ByteOrder.BIG_ENDIAN || o == ByteOrder.LITTLE_ENDIAN); in testNativeOrder()
/libcore/luni/src/test/java/libcore/java/nio/
DBufferTest.java83 b.order(ByteOrder.LITTLE_ENDIAN).asCharBuffer().get(chars, 1, 4); in testByteSwappedBulkGet()
91 b.order(ByteOrder.LITTLE_ENDIAN).asDoubleBuffer().get(doubles, 1, 1); in testByteSwappedBulkGet()
102 b.order(ByteOrder.LITTLE_ENDIAN).asFloatBuffer().get(floats, 1, 2); in testByteSwappedBulkGet()
114 b.order(ByteOrder.LITTLE_ENDIAN).asIntBuffer().get(ints, 1, 2); in testByteSwappedBulkGet()
125 b.order(ByteOrder.LITTLE_ENDIAN).asLongBuffer().get(longs, 1, 1); in testByteSwappedBulkGet()
138 b.order(ByteOrder.LITTLE_ENDIAN).asShortBuffer().get(shorts, 1, 4); in testByteSwappedBulkGet()
173 b.order(ByteOrder.LITTLE_ENDIAN).asCharBuffer().put(chars, 1, 4); in testByteSwappedBulkPut()
179 b.order(ByteOrder.LITTLE_ENDIAN).asDoubleBuffer().put(doubles, 1, 1); in testByteSwappedBulkPut()
186 b.order(ByteOrder.LITTLE_ENDIAN).asFloatBuffer().put(floats, 1, 2); in testByteSwappedBulkPut()
192 b.order(ByteOrder.LITTLE_ENDIAN).asIntBuffer().put(ints, 1, 2); in testByteSwappedBulkPut()
[all …]
DOldAndroidNIOTest.java75 b.order(ByteOrder.LITTLE_ENDIAN); in byteBufferTest()
153 b.order(ByteOrder.LITTLE_ENDIAN); in byteBufferTest()
224 b.order(ByteOrder.LITTLE_ENDIAN); in byteBufferTest()
255 b.order(ByteOrder.LITTLE_ENDIAN); in byteBufferTest()
280 b.order(ByteOrder.LITTLE_ENDIAN); in byteBufferTest()
305 b.order(ByteOrder.LITTLE_ENDIAN); in byteBufferTest()
340 b.order(ByteOrder.LITTLE_ENDIAN); in byteBufferTest()
345 bb.order(ByteOrder.LITTLE_ENDIAN); in byteBufferTest()
348 bb.order(ByteOrder.LITTLE_ENDIAN); in byteBufferTest()
364 bb.order(ByteOrder.LITTLE_ENDIAN); in byteBufferTest()
[all …]
/libcore/ojluni/src/main/java/java/nio/
DByteOrder.java57 public static final ByteOrder LITTLE_ENDIAN field in ByteOrder
DByteBuffer.java1052 return bigEndian ? ByteOrder.BIG_ENDIAN : ByteOrder.LITTLE_ENDIAN; in order()
DBits.java596 byteOrder = ByteOrder.LITTLE_ENDIAN;
/libcore/luni/src/main/java/libcore/io/
DMemoryMappedFile.java97 this, this.address, this.size, ByteOrder.nativeOrder() != ByteOrder.LITTLE_ENDIAN); in littleEndianIterator()
/libcore/ojluni/src/main/java/sun/nio/ch/
DNativeObject.java381 case 0x08: byteOrder = ByteOrder.LITTLE_ENDIAN; break; in byteOrder()
/libcore/ojluni/src/main/java/java/util/
DBitSet.java269 bb = bb.slice().order(ByteOrder.LITTLE_ENDIAN); in valueOf()
304 ByteBuffer bb = ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN); in toByteArray()
/libcore/dalvik/src/main/java/dalvik/system/
DEmulatedStackFrame.java337 frameBuf = ByteBuffer.wrap(frame.stackFrame).order(ByteOrder.LITTLE_ENDIAN); in attach()
/libcore/benchmarks/src/benchmarks/regression/
DByteBufferBenchmark.java35 BIG(ByteOrder.BIG_ENDIAN), LITTLE(ByteOrder.LITTLE_ENDIAN);
/libcore/luni/src/test/java/libcore/libcore/io/
DMemoryMappedFileTest.java359 checkReadIntArray(MemoryMappedFile::littleEndianIterator, ByteOrder.LITTLE_ENDIAN); in testReadIntArray()