Home
last modified time | relevance | path

Searched refs:nativeOrder (Results 1 – 22 of 22) sorted by relevance

/libcore/luni/src/main/java/libcore/io/
DMemoryMappedFile.java89 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/
DBufferTest.java275 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 …]
DOldDirectShortBufferTest.java30 byteBuffer.order(ByteOrder.nativeOrder()); in testPutWhenOffsetIsNonZero()
DOldDirectIntBufferTest.java30 byteBuffer.order(ByteOrder.nativeOrder()); in testPutWhenOffsetIsNonZero()
/libcore/ojluni/src/main/java/java/nio/
DByteOrder.java71 public static ByteOrder nativeOrder() { in nativeOrder() method in ByteOrder
DStringCharBuffer.java125 return ByteOrder.nativeOrder(); in order()
DHeapLongBuffer.java203 return ByteOrder.nativeOrder(); in order()
DHeapDoubleBuffer.java202 return ByteOrder.nativeOrder(); in order()
DHeapIntBuffer.java202 return ByteOrder.nativeOrder(); in order()
DHeapShortBuffer.java202 return ByteOrder.nativeOrder(); in order()
DHeapFloatBuffer.java201 return ByteOrder.nativeOrder(); in order()
DHeapCharBuffer.java229 return ByteOrder.nativeOrder(); in order()
/libcore/libart/src/main/java/java/lang/invoke/
DByteArrayViewVarHandle.java31 this.nativeByteOrder = byteOrder.equals(ByteOrder.nativeOrder()); in ByteArrayViewVarHandle()
DByteBufferViewVarHandle.java32 this.nativeByteOrder = byteOrder.equals(ByteOrder.nativeOrder()); in ByteBufferViewVarHandle()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DByteOrderTest.java36 ByteOrder o = ByteOrder.nativeOrder(); in testNativeOrder()
DDoubleBufferTest.java424 assertEquals(ByteOrder.nativeOrder(), buf.order());
DFloatBufferTest.java413 assertEquals(ByteOrder.nativeOrder(), buf.order()); in testOrder()
DIntBufferTest.java390 assertEquals(ByteOrder.nativeOrder(), buf.order()); in testOrder()
DLongBufferTest.java391 assertEquals(ByteOrder.nativeOrder(), buf.order()); in testOrder()
DShortBufferTest.java377 assertEquals(ByteOrder.nativeOrder(), buf.order()); in testOrder()
DCharBufferTest.java1075 assertEquals(ByteOrder.nativeOrder(), buf.order()); in testOrder()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCharsetTest.java200 if (ByteOrder.nativeOrder().equals(ByteOrder.BIG_ENDIAN)) { in test_UTF_32()