/libcore/benchmarks/src/benchmarks/regression/ |
D | ByteBufferBenchmark.java | 36 final ByteOrder byteOrder; field in ByteBufferBenchmark.MyByteOrder 37 MyByteOrder(ByteOrder byteOrder) { in MyByteOrder() argument 38 this.byteOrder = byteOrder; in MyByteOrder() 42 @Param private MyByteOrder byteOrder; field in ByteBufferBenchmark 51 …public static ByteBuffer newBuffer(MyByteOrder byteOrder, boolean aligned, MyBufferType bufferType… in newBuffer() argument 75 result.order(byteOrder.byteOrder); in newBuffer() 85 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getByte() 95 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getByteArray() 106 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getByte_indexed() 116 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getChar() [all …]
|
D | ByteBufferScalarVersusVectorBenchmark.java | 23 @Param private ByteBufferBenchmark.MyByteOrder byteOrder; field in ByteBufferScalarVersusVectorBenchmark 28 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeManualByteBufferCopy() 29 ByteBuffer dst = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeManualByteBufferCopy()
|
/libcore/libart/src/main/java/java/lang/invoke/ |
D | ByteArrayViewVarHandle.java | 28 private ByteArrayViewVarHandle(Class<?> arrayClass, ByteOrder byteOrder) { in ByteArrayViewVarHandle() argument 31 this.nativeByteOrder = byteOrder.equals(ByteOrder.nativeOrder()); in ByteArrayViewVarHandle() 34 static ByteArrayViewVarHandle create(Class<?> arrayClass, ByteOrder byteOrder) { in create() argument 35 return new ByteArrayViewVarHandle(arrayClass, byteOrder); in create()
|
D | ByteBufferViewVarHandle.java | 29 private ByteBufferViewVarHandle(Class<?> arrayClass, ByteOrder byteOrder) { in ByteBufferViewVarHandle() argument 32 this.nativeByteOrder = byteOrder.equals(ByteOrder.nativeOrder()); in ByteBufferViewVarHandle() 35 static ByteBufferViewVarHandle create(Class<?> arrayClass, ByteOrder byteOrder) { in create() argument 36 return new ByteBufferViewVarHandle(arrayClass, byteOrder); in create()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | NativeObject.java | 365 private static ByteOrder byteOrder = null; field in NativeObject 372 static ByteOrder byteOrder() { in byteOrder() method in NativeObject 373 if (byteOrder != null) in byteOrder() 374 return byteOrder; in byteOrder() 380 case 0x01: byteOrder = ByteOrder.BIG_ENDIAN; break; in byteOrder() 381 case 0x08: byteOrder = ByteOrder.LITTLE_ENDIAN; break; in byteOrder() 388 return byteOrder; in byteOrder()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | ByteOrder.java | 72 return Bits.byteOrder(); in nativeOrder()
|
D | Bits.java | 567 private static final ByteOrder byteOrder; field in Bits 569 static ByteOrder byteOrder() { in byteOrder() method in Bits 575 return byteOrder; in byteOrder() 596 byteOrder = ByteOrder.LITTLE_ENDIAN;
|
D | ByteBuffer.java | 1039 = (Bits.byteOrder() == ByteOrder.BIG_ENDIAN); 1068 (bigEndian == (Bits.byteOrder() == ByteOrder.BIG_ENDIAN)); in order()
|
/libcore/ojluni/src/main/java/java/net/ |
D | URLConnection.java | 1655 int byteOrder = c[0]; in checkfpx() local 1664 if(byteOrder == 0xFE) { in checkfpx() 1688 if(byteOrder == 0xFE) { in checkfpx() 1740 if (byteOrder == 0xFE && in checkfpx()
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | MemoryMappedFileTest.java | 568 BufferIterator iterator, byte[] underlyingData, ByteOrder byteOrder, int intCount) { in assertReadIntArraySucceeds() argument 580 IntBuffer expectedIntsBuffer = byteBuffer.slice().order(byteOrder).asIntBuffer(); in assertReadIntArraySucceeds() 581 assertEquals(byteOrder, expectedIntsBuffer.order()); in assertReadIntArraySucceeds()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodHandles.java | 2238 ByteOrder byteOrder) throws IllegalArgumentException { in byteArrayViewVarHandle() argument 2241 return ByteArrayViewVarHandle.create(viewArrayClass, byteOrder); in byteArrayViewVarHandle() 2327 ByteOrder byteOrder) throws IllegalArgumentException { in byteBufferViewVarHandle() argument 2330 return ByteBufferViewVarHandle.create(viewArrayClass, byteOrder); in byteBufferViewVarHandle()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/invoke/ |
D | MethodHandles.java | 143 java.lang.Class<?> viewArrayClass, java.nio.ByteOrder byteOrder) in byteArrayViewVarHandle() argument 149 java.lang.Class<?> viewArrayClass, java.nio.ByteOrder byteOrder) in byteBufferViewVarHandle() argument
|