Home
last modified time | relevance | path

Searched refs:order (Results 1 – 25 of 60) sorted by relevance

123

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DCollationElementIteratorTest.java63 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/
DByteBufferTest.java172 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 …]
DShortBufferTest.java95 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()
DFloatBufferTest.java96 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()
DLongBufferTest.java96 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()
DIntBufferTest.java96 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()
DDoubleBufferTest.java120 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());
DCharBufferTest.java99 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()
DDirectFloatBufferTest.java76 assertEquals(ByteOrder.BIG_ENDIAN, buf.order()); in testOrder()
DDirectLongBufferTest.java76 assertEquals(ByteOrder.BIG_ENDIAN, buf.order()); in testOrder()
DDirectIntBufferTest.java76 assertEquals(ByteOrder.BIG_ENDIAN, buf.order()); in testOrder()
/libcore/ojluni/src/main/java/java/text/
DCollationElementIterator.java183 public final static int primaryOrder(int order) in primaryOrder() argument
186 return android.icu.text.CollationElementIterator.primaryOrder(order); in primaryOrder()
193 public final static short secondaryOrder(int order) in secondaryOrder() argument
196 return (short) android.icu.text.CollationElementIterator.secondaryOrder(order); in secondaryOrder()
203 public final static short tertiaryOrder(int order) in tertiaryOrder() argument
206 return (short) android.icu.text.CollationElementIterator.tertiaryOrder(order); in tertiaryOrder()
260 public int getMaxExpansion(int order) in getMaxExpansion() argument
263 return icuIterator.getMaxExpansion(order); in getMaxExpansion()
/libcore/ojluni/src/main/java/java/nio/
DByteBufferAsIntBuffer.java34 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()
DByteBufferAsShortBuffer.java34 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()
DByteBufferAsFloatBuffer.java34 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()
DByteBufferAsLongBuffer.java34 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()
DByteBufferAsDoubleBuffer.java35 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()
DByteBufferAsCharBuffer.java34 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()
DHeapByteBuffer.java253 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/
DMemory.java51 public static int peekInt(byte[] src, int offset, ByteOrder order) { in peekInt() argument
52 if (order == ByteOrder.BIG_ENDIAN) { in peekInt()
65 public static long peekLong(byte[] src, int offset, ByteOrder order) { in peekLong() argument
66 if (order == ByteOrder.BIG_ENDIAN) { in peekLong()
90 public static short peekShort(byte[] src, int offset, ByteOrder order) { in peekShort() argument
91 if (order == ByteOrder.BIG_ENDIAN) { in peekShort()
99 public static void pokeInt(byte[] dst, int offset, int value, ByteOrder order) { in pokeInt() argument
100 if (order == ByteOrder.BIG_ENDIAN) { in pokeInt()
114 public static void pokeLong(byte[] dst, int offset, long value, ByteOrder order) { in pokeLong() argument
115 if (order == ByteOrder.BIG_ENDIAN) { in pokeLong()
[all …]
/libcore/luni/src/test/java/libcore/java/nio/
DOldAndroidNIOTest.java75 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 …]
DOldDirectShortBufferTest.java30 byteBuffer.order(ByteOrder.nativeOrder()); in testPutWhenOffsetIsNonZero()
DOldDirectIntBufferTest.java30 byteBuffer.order(ByteOrder.nativeOrder()); in testPutWhenOffsetIsNonZero()
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
DChunkHandler.java77 out.order(ChunkHandler.CHUNK_ORDER); in createFailChunk()
93 in.order(CHUNK_ORDER); in wrapChunk()
/libcore/ojluni/annotations/mmodule/java/nio/
DByteBuffer.annotated.java88 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

123