/libcore/ojluni/src/test/java/nio/Buffer/ |
D | EqualsCompareTest.java | 125 abstract T construct(int length, ByteOrder bo); in construct() argument 212 ByteBuffer construct(int length, ByteOrder bo) { in construct() argument 215 return ByteBuffer.allocateDirect(length).order(bo); in construct() 219 return ByteBuffer.allocate(length).order(bo); in construct() 237 CharBuffer construct(int length, ByteOrder bo) { in construct() argument 241 order(bo). in construct() 245 order(bo). in construct() 273 ShortBuffer construct(int length, ByteOrder bo) { in construct() argument 277 order(bo). in construct() 281 order(bo). in construct() [all …]
|
/libcore/luni/src/test/java/libcore/java/nio/ |
D | BufferTest.java | 287 private void testCharBufferByteOrder(CharBuffer b, ByteOrder bo) throws Exception { in testCharBufferByteOrder() argument 288 assertEquals(bo, b.order()); in testCharBufferByteOrder() 289 assertEquals(bo, b.duplicate().order()); in testCharBufferByteOrder() 290 assertEquals(bo, b.slice().order()); in testCharBufferByteOrder() 292 assertEquals(bo, b.order()); in testCharBufferByteOrder() 293 assertEquals(bo, b.duplicate().order()); in testCharBufferByteOrder() 294 assertEquals(bo, b.slice().order()); in testCharBufferByteOrder() 318 private void testDoubleBufferByteOrder(DoubleBuffer b, ByteOrder bo) throws Exception { in testDoubleBufferByteOrder() argument 319 assertEquals(bo, b.order()); in testDoubleBufferByteOrder() 320 assertEquals(bo, b.duplicate().order()); in testDoubleBufferByteOrder() [all …]
|
/libcore/ojluni/src/test/java/lang/invoke/ |
D | LoopCombinatorTest.java | 818 …public static void testIterateParameters(MethodType it, MethodType in, MethodType bo, String msg) { in testIterateParameters() argument 825 loop = MethodHandles.iteratedLoop(iterator, init, MethodHandles.empty(bo)); in testIterateParameters() 838 assertEquals(bo.dropParameterTypes(0, 1), lt); in testIterateParameters() 841 … assertEquals(bo.dropParameterTypes(0, in.returnType() == void.class ? 1 : 2), lt); in testIterateParameters() 843 assertEquals(methodType(bo.returnType(), in.parameterArray()), lt); in testIterateParameters() 846 assertEquals(methodType(bo.returnType(), it.parameterArray()), lt); in testIterateParameters() 848 assertEquals(methodType(bo.returnType(), it.parameterArray()), lt); in testIterateParameters() 850 assertEquals(methodType(bo.returnType(), in.parameterArray()), lt); in testIterateParameters() 855 assertEquals(bo.returnType(), lt.returnType()); in testIterateParameters()
|
/libcore/ojluni/annotations/mmodule/java/nio/ |
D | ByteBuffer.annotated.java | 90 public final java.nio.ByteBuffer order(java.nio.ByteOrder bo) { throw new RuntimeException("Stub!")… in order() argument
|
/libcore/ojluni/src/main/java/java/nio/ |
D | ByteBuffer.java | 2239 public final ByteBuffer order(ByteOrder bo) { in order() argument 2240 bigEndian = (bo == ByteOrder.BIG_ENDIAN); in order()
|
D | X-Buffer.java.template | 2232 * @param bo 2239 public final $Type$Buffer order(ByteOrder bo) { 2240 bigEndian = (bo == ByteOrder.BIG_ENDIAN);
|
/libcore/ojluni/annotations/flagged_api/java/nio/ |
D | ByteBuffer.annotated.java | 123 public final java.nio.ByteBuffer order(java.nio.ByteOrder bo) { throw new RuntimeException("Stub!")… in order() argument
|
/libcore/ojluni/annotations/hiddenapi/java/nio/ |
D | ByteBuffer.java | 141 public final java.nio.ByteBuffer order(java.nio.ByteOrder bo) { in order() argument
|
/libcore/ojluni/src/test/java/lang/invoke/VarHandles/ |
D | VarHandleTestByteArrayAsShort.java | 65 ByteOrder bo = endianess == MemoryMode.BIG_ENDIAN in setupVarHandleSources() local 68 MethodHandles.byteArrayViewVarHandle(short[].class, bo), in setupVarHandleSources() 73 MethodHandles.byteBufferViewVarHandle(short[].class, bo), in setupVarHandleSources()
|
D | VarHandleTestByteArrayAsChar.java | 65 ByteOrder bo = endianess == MemoryMode.BIG_ENDIAN in setupVarHandleSources() local 68 MethodHandles.byteArrayViewVarHandle(char[].class, bo), in setupVarHandleSources() 73 MethodHandles.byteBufferViewVarHandle(char[].class, bo), in setupVarHandleSources()
|
D | VarHandleTestByteArrayAsFloat.java | 65 ByteOrder bo = endianess == MemoryMode.BIG_ENDIAN in setupVarHandleSources() local 68 MethodHandles.byteArrayViewVarHandle(float[].class, bo), in setupVarHandleSources() 73 MethodHandles.byteBufferViewVarHandle(float[].class, bo), in setupVarHandleSources()
|
D | VarHandleTestByteArrayAsDouble.java | 65 ByteOrder bo = endianess == MemoryMode.BIG_ENDIAN in setupVarHandleSources() local 68 MethodHandles.byteArrayViewVarHandle(double[].class, bo), in setupVarHandleSources() 73 MethodHandles.byteBufferViewVarHandle(double[].class, bo), in setupVarHandleSources()
|
D | VarHandleTestByteArrayAsLong.java | 65 ByteOrder bo = endianess == MemoryMode.BIG_ENDIAN in setupVarHandleSources() local 68 MethodHandles.byteArrayViewVarHandle(long[].class, bo), in setupVarHandleSources() 73 MethodHandles.byteBufferViewVarHandle(long[].class, bo), in setupVarHandleSources()
|
D | VarHandleTestByteArrayAsInt.java | 65 ByteOrder bo = endianess == MemoryMode.BIG_ENDIAN in setupVarHandleSources() local 68 MethodHandles.byteArrayViewVarHandle(int[].class, bo), in setupVarHandleSources() 73 MethodHandles.byteBufferViewVarHandle(int[].class, bo), in setupVarHandleSources()
|
D | X-VarHandleTestByteArrayView.java.template | 65 ByteOrder bo = endianess == MemoryMode.BIG_ENDIAN 68 MethodHandles.byteArrayViewVarHandle($type$[].class, bo), 73 MethodHandles.byteBufferViewVarHandle($type$[].class, bo),
|
/libcore/ojluni/annotations/sdk/nullability/java/nio/ |
D | ByteBuffer.annotated.java | 115 …c final java.nio.ByteBuffer order(@libcore.util.NonNull java.nio.ByteOrder bo) { throw new Runtime… in order() argument
|