Searched refs:nativeOrder (Results 1 – 22 of 22) sorted by relevance
/libcore/luni/src/main/java/libcore/io/ |
D | MemoryMappedFile.java | 89 this, address, size, ByteOrder.nativeOrder() != ByteOrder.BIG_ENDIAN); in bigEndianIterator() 97 this, this.address, this.size, ByteOrder.nativeOrder() != ByteOrder.LITTLE_ENDIAN); in littleEndianIterator()
|
/libcore/luni/src/test/java/libcore/java/nio/ |
D | BufferTest.java | 275 assertEquals(ByteOrder.nativeOrder(), CharBuffer.wrap(new char[10]).order()); in testCharBufferByteOrderWrapped() 276 … assertEquals(ByteOrder.nativeOrder(), CharBuffer.wrap(new char[10]).asReadOnlyBuffer().order()); in testCharBufferByteOrderWrapped() 294 testCharBufferByteOrder(CharBuffer.allocate(10), ByteOrder.nativeOrder()); in testCharBufferByteOrderArray() 306 assertEquals(ByteOrder.nativeOrder(), DoubleBuffer.wrap(new double[10]).order()); in testDoubleBufferByteOrderWrapped() 307 …assertEquals(ByteOrder.nativeOrder(), DoubleBuffer.wrap(new double[10]).asReadOnlyBuffer().order()… in testDoubleBufferByteOrderWrapped() 325 testDoubleBufferByteOrder(DoubleBuffer.allocate(10), ByteOrder.nativeOrder()); in testDoubleBufferByteOrderArray() 337 assertEquals(ByteOrder.nativeOrder(), FloatBuffer.wrap(new float[10]).order()); in testFloatBufferByteOrderWrapped() 338 … assertEquals(ByteOrder.nativeOrder(), FloatBuffer.wrap(new float[10]).asReadOnlyBuffer().order()); in testFloatBufferByteOrderWrapped() 356 testFloatBufferByteOrder(FloatBuffer.allocate(10), ByteOrder.nativeOrder()); in testFloatBufferByteOrderArray() 368 assertEquals(ByteOrder.nativeOrder(), IntBuffer.wrap(new int[10]).order()); in testIntBufferByteOrderWrapped() [all …]
|
D | OldDirectShortBufferTest.java | 30 byteBuffer.order(ByteOrder.nativeOrder()); in testPutWhenOffsetIsNonZero()
|
D | OldDirectIntBufferTest.java | 30 byteBuffer.order(ByteOrder.nativeOrder()); in testPutWhenOffsetIsNonZero()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | ByteOrder.java | 71 public static ByteOrder nativeOrder() { in nativeOrder() method in ByteOrder
|
D | StringCharBuffer.java | 125 return ByteOrder.nativeOrder(); in order()
|
D | HeapLongBuffer.java | 203 return ByteOrder.nativeOrder(); in order()
|
D | HeapDoubleBuffer.java | 202 return ByteOrder.nativeOrder(); in order()
|
D | HeapIntBuffer.java | 202 return ByteOrder.nativeOrder(); in order()
|
D | HeapShortBuffer.java | 202 return ByteOrder.nativeOrder(); in order()
|
D | HeapFloatBuffer.java | 201 return ByteOrder.nativeOrder(); in order()
|
D | HeapCharBuffer.java | 229 return ByteOrder.nativeOrder(); in order()
|
/libcore/libart/src/main/java/java/lang/invoke/ |
D | ByteArrayViewVarHandle.java | 31 this.nativeByteOrder = byteOrder.equals(ByteOrder.nativeOrder()); in ByteArrayViewVarHandle()
|
D | ByteBufferViewVarHandle.java | 32 this.nativeByteOrder = byteOrder.equals(ByteOrder.nativeOrder()); in ByteBufferViewVarHandle()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | ByteOrderTest.java | 36 ByteOrder o = ByteOrder.nativeOrder(); in testNativeOrder()
|
D | DoubleBufferTest.java | 424 assertEquals(ByteOrder.nativeOrder(), buf.order());
|
D | FloatBufferTest.java | 413 assertEquals(ByteOrder.nativeOrder(), buf.order()); in testOrder()
|
D | IntBufferTest.java | 390 assertEquals(ByteOrder.nativeOrder(), buf.order()); in testOrder()
|
D | LongBufferTest.java | 391 assertEquals(ByteOrder.nativeOrder(), buf.order()); in testOrder()
|
D | ShortBufferTest.java | 377 assertEquals(ByteOrder.nativeOrder(), buf.order()); in testOrder()
|
D | CharBufferTest.java | 1075 assertEquals(ByteOrder.nativeOrder(), buf.order()); in testOrder()
|
/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()
|