Home
last modified time | relevance | path

Searched refs:bo (Results 1 – 16 of 16) sorted by relevance

/libcore/ojluni/src/test/java/nio/Buffer/
DEqualsCompareTest.java125 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/
DBufferTest.java287 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/
DLoopCombinatorTest.java818 …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/
DByteBuffer.annotated.java90 public final java.nio.ByteBuffer order(java.nio.ByteOrder bo) { throw new RuntimeException("Stub!")… in order() argument
/libcore/ojluni/src/main/java/java/nio/
DByteBuffer.java2239 public final ByteBuffer order(ByteOrder bo) { in order() argument
2240 bigEndian = (bo == ByteOrder.BIG_ENDIAN); in order()
DX-Buffer.java.template2232 * @param bo
2239 public final $Type$Buffer order(ByteOrder bo) {
2240 bigEndian = (bo == ByteOrder.BIG_ENDIAN);
/libcore/ojluni/annotations/flagged_api/java/nio/
DByteBuffer.annotated.java123 public final java.nio.ByteBuffer order(java.nio.ByteOrder bo) { throw new RuntimeException("Stub!")… in order() argument
/libcore/ojluni/annotations/hiddenapi/java/nio/
DByteBuffer.java141 public final java.nio.ByteBuffer order(java.nio.ByteOrder bo) { in order() argument
/libcore/ojluni/src/test/java/lang/invoke/VarHandles/
DVarHandleTestByteArrayAsShort.java65 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()
DVarHandleTestByteArrayAsChar.java65 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()
DVarHandleTestByteArrayAsFloat.java65 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()
DVarHandleTestByteArrayAsDouble.java65 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()
DVarHandleTestByteArrayAsLong.java65 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()
DVarHandleTestByteArrayAsInt.java65 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()
DX-VarHandleTestByteArrayView.java.template65 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/
DByteBuffer.annotated.java115 …c final java.nio.ByteBuffer order(@libcore.util.NonNull java.nio.ByteOrder bo) { throw new Runtime… in order() argument