/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | ByteBufferTest.java | 516 assertEquals(ByteOrder.BIG_ENDIAN, buf.order()); in testOrder() 521 buf.order(ByteOrder.BIG_ENDIAN); in testOrder() 522 assertEquals(ByteOrder.BIG_ENDIAN, buf.order()); in testOrder() 528 buf.order(ByteOrder.BIG_ENDIAN); in testOrder() 851 buf.order(ByteOrder.BIG_ENDIAN); in testAsCharBuffer() 853 assertSame(ByteOrder.BIG_ENDIAN, charBuffer.order()); in testAsCharBuffer() 874 buf.order(ByteOrder.BIG_ENDIAN); in testAsCharBuffer() 876 assertSame(ByteOrder.BIG_ENDIAN, charBuffer.order()); in testAsCharBuffer() 897 buf.order(ByteOrder.BIG_ENDIAN); in testAsCharBuffer() 907 buf.order(ByteOrder.BIG_ENDIAN); in testAsDoubleBuffer() [all …]
|
D | ByteOrderTest.java | 31 assertEquals(ByteOrder.BIG_ENDIAN.toString(), "BIG_ENDIAN"); in testToString() 37 assertTrue(o == ByteOrder.BIG_ENDIAN || o == ByteOrder.LITTLE_ENDIAN); in testNativeOrder()
|
D | DirectCharBufferTest.java | 76 assertEquals(ByteOrder.BIG_ENDIAN, buf.order()); in testOrder()
|
D | DirectShortBufferTest.java | 76 assertEquals(ByteOrder.BIG_ENDIAN, buf.order()); in testOrder()
|
D | DirectLongBufferTest.java | 76 assertEquals(ByteOrder.BIG_ENDIAN, buf.order()); in testOrder()
|
D | DirectFloatBufferTest.java | 76 assertEquals(ByteOrder.BIG_ENDIAN, buf.order()); in testOrder()
|
D | DirectIntBufferTest.java | 76 assertEquals(ByteOrder.BIG_ENDIAN, buf.order()); in testOrder()
|
D | DirectDoubleBufferTest.java | 75 assertEquals(ByteOrder.BIG_ENDIAN, buf.order()); in testOrder()
|
D | DirectByteBufferTest.java | 70 buf.order(ByteOrder.BIG_ENDIAN); in testUnalignedReadsAndWrites()
|
/libcore/luni/src/test/java/libcore/java/nio/ |
D | BufferTest.java | 81 b.order(ByteOrder.BIG_ENDIAN).asCharBuffer().get(chars, 1, 4); in testByteSwappedBulkGet() 87 b.order(ByteOrder.BIG_ENDIAN).asDoubleBuffer().get(doubles, 1, 1); in testByteSwappedBulkGet() 97 b.order(ByteOrder.BIG_ENDIAN).asFloatBuffer().get(floats, 1, 2); in testByteSwappedBulkGet() 109 b.order(ByteOrder.BIG_ENDIAN).asIntBuffer().get(ints, 1, 2); in testByteSwappedBulkGet() 121 b.order(ByteOrder.BIG_ENDIAN).asLongBuffer().get(longs, 1, 1); in testByteSwappedBulkGet() 131 b.order(ByteOrder.BIG_ENDIAN).asShortBuffer().get(shorts, 1, 4); in testByteSwappedBulkGet() 171 b.order(ByteOrder.BIG_ENDIAN).asCharBuffer().put(chars, 1, 4); in testByteSwappedBulkPut() 177 b.order(ByteOrder.BIG_ENDIAN).asDoubleBuffer().put(doubles, 1, 1); in testByteSwappedBulkPut() 184 b.order(ByteOrder.BIG_ENDIAN).asFloatBuffer().put(floats, 1, 2); in testByteSwappedBulkPut() 190 b.order(ByteOrder.BIG_ENDIAN).asIntBuffer().put(ints, 1, 2); in testByteSwappedBulkPut() [all …]
|
D | OldAndroidNIOTest.java | 77 assertEquals(ByteOrder.BIG_ENDIAN, dupe.order()); in byteBufferTest() 78 b.order(ByteOrder.BIG_ENDIAN); in byteBufferTest() 174 b.order(ByteOrder.BIG_ENDIAN); in byteBufferTest() 239 b.order(ByteOrder.BIG_ENDIAN); in byteBufferTest() 267 b.order(ByteOrder.BIG_ENDIAN); in byteBufferTest() 292 b.order(ByteOrder.BIG_ENDIAN); in byteBufferTest() 321 b.order(ByteOrder.BIG_ENDIAN); in byteBufferTest() 343 assertEquals(ByteOrder.BIG_ENDIAN, bb.order()); in byteBufferTest() 356 bb.order(ByteOrder.BIG_ENDIAN); in byteBufferTest() 371 bb.order(ByteOrder.BIG_ENDIAN); in byteBufferTest() [all …]
|
/libcore/luni/src/main/java/libcore/io/ |
D | Memory.java | 51 if (order == ByteOrder.BIG_ENDIAN) { in peekInt() 65 if (order == ByteOrder.BIG_ENDIAN) { in peekLong() 90 if (order == ByteOrder.BIG_ENDIAN) { in peekShort() 99 if (order == ByteOrder.BIG_ENDIAN) { in pokeInt() 114 if (order == ByteOrder.BIG_ENDIAN) { in pokeLong() 141 if (order == ByteOrder.BIG_ENDIAN) { in pokeShort()
|
D | MemoryMappedFile.java | 89 this, address, size, ByteOrder.nativeOrder() != ByteOrder.BIG_ENDIAN); in bigEndianIterator()
|
/libcore/ojluni/src/main/java/java/io/ |
D | DataInputStream.java | 318 return Memory.peekShort(readBuffer, 0, ByteOrder.BIG_ENDIAN); in readShort() 342 return Memory.peekShort(readBuffer, 0, ByteOrder.BIG_ENDIAN) & 0xffff; in readUnsignedShort() 366 return (char)Memory.peekShort(readBuffer, 0, ByteOrder.BIG_ENDIAN); in readChar() 390 return Memory.peekInt(readBuffer, 0, ByteOrder.BIG_ENDIAN); in readInt()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | ByteOrder.java | 49 public static final ByteOrder BIG_ENDIAN field in ByteOrder
|
D | ByteBuffer.java | 1039 = (Bits.byteOrder() == ByteOrder.BIG_ENDIAN); 1052 return bigEndian ? ByteOrder.BIG_ENDIAN : ByteOrder.LITTLE_ENDIAN; in order() 1066 bigEndian = (bo == ByteOrder.BIG_ENDIAN); in order() 1068 (bigEndian == (Bits.byteOrder() == ByteOrder.BIG_ENDIAN)); in order()
|
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
D | ChunkHandler.java | 36 public static final ByteOrder CHUNK_ORDER = ByteOrder.BIG_ENDIAN;
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | NativeObject.java | 380 case 0x01: byteOrder = ByteOrder.BIG_ENDIAN; break; in byteOrder()
|
/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 | 358 checkReadIntArray(MemoryMappedFile::bigEndianIterator, ByteOrder.BIG_ENDIAN); in testReadIntArray()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
D | CharsetTest.java | 200 if (ByteOrder.nativeOrder().equals(ByteOrder.BIG_ENDIAN)) { in test_UTF_32()
|