Searched refs:LITTLE_ENDIAN (Results 1 – 13 of 13) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | ByteBufferTest.java | 518 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 …]
|
D | ByteOrderTest.java | 32 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/ |
D | BufferTest.java | 83 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 …]
|
D | OldAndroidNIOTest.java | 75 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/ |
D | ByteOrder.java | 57 public static final ByteOrder LITTLE_ENDIAN field in ByteOrder
|
D | ByteBuffer.java | 1052 return bigEndian ? ByteOrder.BIG_ENDIAN : ByteOrder.LITTLE_ENDIAN; in order()
|
D | Bits.java | 596 byteOrder = ByteOrder.LITTLE_ENDIAN;
|
/libcore/luni/src/main/java/libcore/io/ |
D | MemoryMappedFile.java | 97 this, this.address, this.size, ByteOrder.nativeOrder() != ByteOrder.LITTLE_ENDIAN); in littleEndianIterator()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | NativeObject.java | 381 case 0x08: byteOrder = ByteOrder.LITTLE_ENDIAN; break; in byteOrder()
|
/libcore/ojluni/src/main/java/java/util/ |
D | BitSet.java | 269 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/ |
D | EmulatedStackFrame.java | 337 frameBuf = ByteBuffer.wrap(frame.stackFrame).order(ByteOrder.LITTLE_ENDIAN); in attach()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | ByteBufferBenchmark.java | 35 BIG(ByteOrder.BIG_ENDIAN), LITTLE(ByteOrder.LITTLE_ENDIAN);
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | MemoryMappedFileTest.java | 359 checkReadIntArray(MemoryMappedFile::littleEndianIterator, ByteOrder.LITTLE_ENDIAN); in testReadIntArray()
|