/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | CollationElementIteratorTest.java | 63 int order = iterator.next(); in testNext() local 65 while (order != CollationElementIterator.NULLORDER) { in testNext() 66 orders[i++] = order; in testNext() 67 order = iterator.next(); in testNext() 74 order = iterator.previous(); in testNext() 76 while (order != CollationElementIterator.NULLORDER) { in testNext() 77 assertEquals(orders[--i], order); in testNext() 78 order = iterator.previous(); in testNext() 90 int order = iterator.next(); in testPrevious() local 92 while (order != CollationElementIterator.NULLORDER) { in testPrevious() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
D | ByteBufferTest.java | 172 assertEquals(buf.order(), readonly.order()); in testAsReadOnlyBuffer() 285 assertEquals(buf.order(), duplicate.order()); 516 assertEquals(ByteOrder.BIG_ENDIAN, buf.order()); in testOrder() 518 buf.order(ByteOrder.LITTLE_ENDIAN); in testOrder() 519 assertEquals(ByteOrder.LITTLE_ENDIAN, buf.order()); in testOrder() 521 buf.order(ByteOrder.BIG_ENDIAN); in testOrder() 522 assertEquals(ByteOrder.BIG_ENDIAN, buf.order()); in testOrder() 525 buf.order((ByteOrder)null); in testOrder() 526 assertEquals(ByteOrder.LITTLE_ENDIAN, buf.order()); in testOrder() 528 buf.order(ByteOrder.BIG_ENDIAN); in testOrder() [all …]
|
D | LongBufferTest.java | 96 assertEquals(buf.order(), readonly.order()); in testAsReadOnlyBuffer() 194 assertEquals(buf.order(), duplicate.order()); 390 buf.order(); in testOrder() 391 assertEquals(ByteOrder.nativeOrder(), buf.order()); in testOrder() 581 assertEquals(buf.order(), slice.order()); in testSlice()
|
D | FloatBufferTest.java | 96 assertEquals(buf.order(), readonly.order()); in testAsReadOnlyBuffer() 214 assertEquals(buf.order(), duplicate.order()); 411 buf.order(); in testOrder() 413 assertEquals(ByteOrder.nativeOrder(), buf.order()); in testOrder() 598 assertEquals(buf.order(), slice.order()); in testSlice()
|
D | IntBufferTest.java | 96 assertEquals(buf.order(), readonly.order()); in testAsReadOnlyBuffer() 194 assertEquals(buf.order(), duplicate.order()); 389 buf.order(); in testOrder() 390 assertEquals(ByteOrder.nativeOrder(), buf.order()); in testOrder() 574 assertEquals(buf.order(), slice.order()); in testSlice()
|
D | ShortBufferTest.java | 95 assertEquals(buf.order(), readonly.order()); in testAsReadOnlyBuffer() 193 assertEquals(buf.order(), duplicate.order()); 376 buf.order(); in testOrder() 377 assertEquals(ByteOrder.nativeOrder(), buf.order()); in testOrder() 561 assertEquals(buf.order(), slice.order()); in testSlice()
|
D | DoubleBufferTest.java | 120 assertEquals(buf.order(), readonly.order()); in testAsReadOnlyBuffer() 234 assertEquals(buf.order(), duplicate.order()); 424 assertEquals(ByteOrder.nativeOrder(), buf.order()); 598 assertEquals(buf.order(), slice.order());
|
D | CharBufferTest.java | 99 assertEquals(buf.order(), readonly.order()); in testAsReadOnlyBuffer() 124 assertEquals(buf.order(), readonly.order()); in testAsReadOnlyBuffer() 227 assertEquals(buf.order(), duplicate.order()); 254 assertEquals(buf.order(), duplicate.order()); 630 assertEquals(buf.order(), slice.order()); in testSlice() 1075 assertEquals(ByteOrder.nativeOrder(), buf.order()); in testOrder()
|
/libcore/luni/src/test/java/libcore/java/nio/ |
D | BufferTest.java | 81 b.order(ByteOrder.BIG_ENDIAN).asCharBuffer().get(chars, 1, 4); in testByteSwappedBulkGet() 83 b.order(ByteOrder.LITTLE_ENDIAN).asCharBuffer().get(chars, 1, 4); in testByteSwappedBulkGet() 87 b.order(ByteOrder.BIG_ENDIAN).asDoubleBuffer().get(doubles, 1, 1); in testByteSwappedBulkGet() 91 b.order(ByteOrder.LITTLE_ENDIAN).asDoubleBuffer().get(doubles, 1, 1); in testByteSwappedBulkGet() 97 b.order(ByteOrder.BIG_ENDIAN).asFloatBuffer().get(floats, 1, 2); in testByteSwappedBulkGet() 102 b.order(ByteOrder.LITTLE_ENDIAN).asFloatBuffer().get(floats, 1, 2); in testByteSwappedBulkGet() 109 b.order(ByteOrder.BIG_ENDIAN).asIntBuffer().get(ints, 1, 2); in testByteSwappedBulkGet() 114 b.order(ByteOrder.LITTLE_ENDIAN).asIntBuffer().get(ints, 1, 2); in testByteSwappedBulkGet() 121 b.order(ByteOrder.BIG_ENDIAN).asLongBuffer().get(longs, 1, 1); in testByteSwappedBulkGet() 125 b.order(ByteOrder.LITTLE_ENDIAN).asLongBuffer().get(longs, 1, 1); in testByteSwappedBulkGet() [all …]
|
D | OldAndroidNIOTest.java | 75 b.order(ByteOrder.LITTLE_ENDIAN); in byteBufferTest() 77 assertEquals(ByteOrder.BIG_ENDIAN, dupe.order()); in byteBufferTest() 78 b.order(ByteOrder.BIG_ENDIAN); in byteBufferTest() 153 b.order(ByteOrder.LITTLE_ENDIAN); in byteBufferTest() 174 b.order(ByteOrder.BIG_ENDIAN); in byteBufferTest() 224 b.order(ByteOrder.LITTLE_ENDIAN); in byteBufferTest() 239 b.order(ByteOrder.BIG_ENDIAN); in byteBufferTest() 255 b.order(ByteOrder.LITTLE_ENDIAN); in byteBufferTest() 267 b.order(ByteOrder.BIG_ENDIAN); in byteBufferTest() 280 b.order(ByteOrder.LITTLE_ENDIAN); in byteBufferTest() [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/text/ |
D | CollationElementIterator.java | 182 public final static int primaryOrder(int order) in primaryOrder() argument 185 return android.icu.text.CollationElementIterator.primaryOrder(order); in primaryOrder() 192 public final static short secondaryOrder(int order) in secondaryOrder() argument 195 return (short) android.icu.text.CollationElementIterator.secondaryOrder(order); in secondaryOrder() 202 public final static short tertiaryOrder(int order) in tertiaryOrder() argument 205 return (short) android.icu.text.CollationElementIterator.tertiaryOrder(order); in tertiaryOrder() 259 public int getMaxExpansion(int order) in getMaxExpansion() argument 262 return icuIterator.getMaxExpansion(order); in getMaxExpansion()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | ByteBufferAsFloatBuffer.java | 34 private final ByteOrder order; field in ByteBufferAsFloatBuffer 38 int off, ByteOrder order) { in ByteBufferAsFloatBuffer() argument 52 this.bb.order(order); in ByteBufferAsFloatBuffer() 53 this.order = order; in ByteBufferAsFloatBuffer() 64 return new ByteBufferAsFloatBuffer(bb, -1, 0, rem, rem, off, order); in slice() 74 order); in duplicate() 84 order); in asReadOnlyBuffer() 157 public ByteOrder order() { in order() method in ByteBufferAsFloatBuffer 158 return order; in order()
|
D | ByteBufferAsLongBuffer.java | 34 private final ByteOrder order; field in ByteBufferAsLongBuffer 38 int off, ByteOrder order) { in ByteBufferAsLongBuffer() argument 52 this.bb.order(order); in ByteBufferAsLongBuffer() 53 this.order = order; in ByteBufferAsLongBuffer() 64 return new ByteBufferAsLongBuffer(bb, -1, 0, rem, rem, off, order); in slice() 74 order); in duplicate() 84 order); in asReadOnlyBuffer() 157 public ByteOrder order() { in order() method in ByteBufferAsLongBuffer 158 return order; in order()
|
D | ByteBufferAsIntBuffer.java | 34 private final ByteOrder order; field in ByteBufferAsIntBuffer 38 int off, ByteOrder order) { in ByteBufferAsIntBuffer() argument 52 this.bb.order(order); in ByteBufferAsIntBuffer() 53 this.order = order; in ByteBufferAsIntBuffer() 64 return new ByteBufferAsIntBuffer(bb, -1, 0, rem, rem, off, order); in slice() 74 order); in duplicate() 84 order); in asReadOnlyBuffer() 157 public ByteOrder order() { in order() method in ByteBufferAsIntBuffer 158 return order; in order()
|
D | ByteBufferAsShortBuffer.java | 34 private final ByteOrder order; field in ByteBufferAsShortBuffer 38 int off, ByteOrder order) { in ByteBufferAsShortBuffer() argument 52 this.bb.order(order); in ByteBufferAsShortBuffer() 53 this.order = order; in ByteBufferAsShortBuffer() 64 return new ByteBufferAsShortBuffer(bb, -1, 0, rem, rem, off, order); in slice() 73 offset, order); in duplicate() 82 offset, order); in asReadOnlyBuffer() 156 public ByteOrder order() { in order() method in ByteBufferAsShortBuffer 157 return order; in order()
|
D | ByteBufferAsDoubleBuffer.java | 35 private final ByteOrder order; field in ByteBufferAsDoubleBuffer 39 int off, ByteOrder order) { in ByteBufferAsDoubleBuffer() argument 53 this.bb.order(order); in ByteBufferAsDoubleBuffer() 54 this.order = order; in ByteBufferAsDoubleBuffer() 65 return new ByteBufferAsDoubleBuffer(bb, -1, 0, rem, rem, off, order); in slice() 75 order); in duplicate() 85 order); in asReadOnlyBuffer() 158 public ByteOrder order() { in order() method in ByteBufferAsDoubleBuffer 159 return order; in order()
|
D | ByteBufferAsCharBuffer.java | 34 private final ByteOrder order; field in ByteBufferAsCharBuffer 38 int off, ByteOrder order) { in ByteBufferAsCharBuffer() argument 52 this.bb.order(order); in ByteBufferAsCharBuffer() 53 this.order = order; in ByteBufferAsCharBuffer() 64 return new ByteBufferAsCharBuffer(bb, -1, 0, rem, rem, off, order); in slice() 74 order); in duplicate() 84 order); in asReadOnlyBuffer() 195 order); in subSequence() 198 public ByteOrder order() { in order() method in ByteBufferAsCharBuffer 199 return order; in order()
|
D | HeapByteBuffer.java | 253 order()); in asCharBuffer() 314 order()); in asShortBuffer() 376 order()); in asIntBuffer() 437 order()); in asLongBuffer() 498 order()); in asFloatBuffer() 559 order()); in asDoubleBuffer()
|
/libcore/luni/src/main/java/libcore/io/ |
D | Memory.java | 72 public static int peekInt(@NonNull byte[] src, int offset, @NonNull ByteOrder order) { in peekInt() argument 73 if (order == ByteOrder.BIG_ENDIAN) { in peekInt() 89 public static long peekLong(byte[] src, int offset, ByteOrder order) { in peekLong() argument 90 if (order == ByteOrder.BIG_ENDIAN) { in peekLong() 126 public static short peekShort(@NonNull byte[] src, int offset, @NonNull ByteOrder order) { in peekShort() argument 127 if (order == ByteOrder.BIG_ENDIAN) { in peekShort() 147 … public static void pokeInt(@NonNull byte[] dst, int offset, int value, @NonNull ByteOrder order) { in pokeInt() argument 148 if (order == ByteOrder.BIG_ENDIAN) { in pokeInt() 174 …ublic static void pokeLong(@NonNull byte[] dst, int offset, long value, @NonNull ByteOrder order) { in pokeLong() argument 175 if (order == ByteOrder.BIG_ENDIAN) { in pokeLong() [all …]
|
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
D | ChunkHandler.java | 114 out.order(ChunkHandler.CHUNK_ORDER); in createFailChunk() 139 in.order(CHUNK_ORDER); in wrapChunk()
|
/libcore/luni/src/main/java/android/system/ |
D | StructCmsghdr.java | 41 buf.order(ByteOrder.nativeOrder()); in StructCmsghdr()
|
/libcore/ojluni/annotations/mmodule/java/nio/ |
D | ByteBuffer.annotated.java | 88 public final java.nio.ByteOrder order() { throw new RuntimeException("Stub!"); } in order() method in ByteBuffer 90 public final java.nio.ByteBuffer order(java.nio.ByteOrder bo) { throw new RuntimeException("Stub!")… in order() method in ByteBuffer
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | MapDefaultMethodTester.java | 453 final List<Integer> order = new ArrayList<>(new AbstractList<Integer>() { in test_entrySet_spliterator_unordered() local 460 int i = order.get(index); in test_entrySet_spliterator_unordered() 463 @Override public int size() { return order.size(); } in test_entrySet_spliterator_unordered() 465 Collections.shuffle(order, random); // Pick a random put() order of the entries in test_entrySet_spliterator_unordered() 469 Collections.shuffle(order, random); // Pick a different random order for the assertion in test_entrySet_spliterator_unordered()
|