/libcore/ojluni/src/main/java/java/text/ |
H A D | CollationElementIterator.java | 64 * The key of a character is an integer composed of primary order(short), 65 * secondary order(byte), and tertiary order(byte). Java strictly defines 89 * <code>CollationElementIterator.next</code> returns the collation order 90 * of the next character. A collation order consists of primary order, 91 * secondary order and tertiary order. The data type of the collation 92 * order is <strong>int</strong>. The first 16 bits of a collation order 169 primaryOrder(int order) argument 179 secondaryOrder(int order) argument 189 tertiaryOrder(int order) argument 239 getMaxExpansion(int order) argument [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
H A D | CollationElementIteratorTest.java | 63 int order = iterator.next(); 65 while (order != CollationElementIterator.NULLORDER) { 66 orders[i++] = order; 67 order = iterator.next(); 74 order = iterator.previous(); 76 while (order != CollationElementIterator.NULLORDER) { 77 assertEquals(orders[--i], order); 78 order = iterator.previous(); 90 int order = iterator.next(); 92 while (order ! [all...] |
/libcore/luni/src/test/java/libcore/java/nio/ |
H A D | BufferTest.java | 135 b.order(ByteOrder.BIG_ENDIAN).asCharBuffer().get(chars, 1, 4); 137 b.order(ByteOrder.LITTLE_ENDIAN).asCharBuffer().get(chars, 1, 4); 141 b.order(ByteOrder.BIG_ENDIAN).asDoubleBuffer().get(doubles, 1, 1); 145 b.order(ByteOrder.LITTLE_ENDIAN).asDoubleBuffer().get(doubles, 1, 1); 151 b.order(ByteOrder.BIG_ENDIAN).asFloatBuffer().get(floats, 1, 2); 156 b.order(ByteOrder.LITTLE_ENDIAN).asFloatBuffer().get(floats, 1, 2); 163 b.order(ByteOrder.BIG_ENDIAN).asIntBuffer().get(ints, 1, 2); 168 b.order(ByteOrder.LITTLE_ENDIAN).asIntBuffer().get(ints, 1, 2); 175 b.order(ByteOrder.BIG_ENDIAN).asLongBuffer().get(longs, 1, 1); 179 b.order(ByteOrde 343 allocateCharBuffer(ByteOrder order) argument 374 allocateDoubleBuffer(ByteOrder order) argument 405 allocateFloatBuffer(ByteOrder order) argument 436 allocateIntBuffer(ByteOrder order) argument 467 allocateLongBuffer(ByteOrder order) argument 498 allocateShortBuffer(ByteOrder order) argument [all...] |
H A D | OldDirectIntBufferTest.java | 30 byteBuffer.order(ByteOrder.nativeOrder());
|
H A D | OldDirectShortBufferTest.java | 30 byteBuffer.order(ByteOrder.nativeOrder());
|
H A D | OldAndroidNIOTest.java | 75 b.order(ByteOrder.LITTLE_ENDIAN); 77 assertEquals(ByteOrder.BIG_ENDIAN, dupe.order()); 78 b.order(ByteOrder.BIG_ENDIAN); 153 b.order(ByteOrder.LITTLE_ENDIAN); 174 b.order(ByteOrder.BIG_ENDIAN); 224 b.order(ByteOrder.LITTLE_ENDIAN); 239 b.order(ByteOrder.BIG_ENDIAN); 255 b.order(ByteOrder.LITTLE_ENDIAN); 267 b.order(ByteOrder.BIG_ENDIAN); 280 b.order(ByteOrde [all...] |
/libcore/ojluni/src/main/java/java/nio/ |
H A D | ByteBufferAsDoubleBuffer.java | 35 private final ByteOrder order; field in class:ByteBufferAsDoubleBuffer 39 int off, ByteOrder order) { 53 this.order = order; 64 return new ByteBufferAsDoubleBuffer(bb, -1, 0, rem, rem, off, order); 74 order); 84 order); 157 public ByteOrder order() { method in class:ByteBufferAsDoubleBuffer 158 return order; 37 ByteBufferAsDoubleBuffer(ByteBuffer bb, int mark, int pos, int lim, int cap, int off, ByteOrder order) argument
|
H A D | ByteBufferAsFloatBuffer.java | 34 private final ByteOrder order; field in class:ByteBufferAsFloatBuffer 38 int off, ByteOrder order) { 52 this.order = order; 63 return new ByteBufferAsFloatBuffer(bb, -1, 0, rem, rem, off, order); 73 order); 83 order); 156 public ByteOrder order() { method in class:ByteBufferAsFloatBuffer 157 return order; 36 ByteBufferAsFloatBuffer(ByteBuffer bb, int mark, int pos, int lim, int cap, int off, ByteOrder order) argument
|
H A D | ByteBufferAsIntBuffer.java | 34 private final ByteOrder order; field in class:ByteBufferAsIntBuffer 38 int off, ByteOrder order) { 52 this.order = order; 63 return new ByteBufferAsIntBuffer(bb, -1, 0, rem, rem, off, order); 73 order); 83 order); 156 public ByteOrder order() { method in class:ByteBufferAsIntBuffer 157 return order; 36 ByteBufferAsIntBuffer(ByteBuffer bb, int mark, int pos, int lim, int cap, int off, ByteOrder order) argument
|
H A D | ByteBufferAsLongBuffer.java | 34 private final ByteOrder order; field in class:ByteBufferAsLongBuffer 38 int off, ByteOrder order) { 52 this.order = order; 63 return new ByteBufferAsLongBuffer(bb, -1, 0, rem, rem, off, order); 73 order); 83 order); 156 public ByteOrder order() { method in class:ByteBufferAsLongBuffer 157 return order; 36 ByteBufferAsLongBuffer(ByteBuffer bb, int mark, int pos, int lim, int cap, int off, ByteOrder order) argument
|
H A D | ByteBufferAsShortBuffer.java | 34 private final ByteOrder order; field in class:ByteBufferAsShortBuffer 38 int off, ByteOrder order) { 52 this.order = order; 63 return new ByteBufferAsShortBuffer(bb, -1, 0, rem, rem, off, order); 72 offset, order); 81 offset, order); 155 public ByteOrder order() { method in class:ByteBufferAsShortBuffer 156 return order; 36 ByteBufferAsShortBuffer(ByteBuffer bb, int mark, int pos, int lim, int cap, int off, ByteOrder order) argument
|
H A D | ByteBufferAsCharBuffer.java | 34 private final ByteOrder order; field in class:ByteBufferAsCharBuffer 38 int off, ByteOrder order) { 52 this.order = order; 63 return new ByteBufferAsCharBuffer(bb, -1, 0, rem, rem, off, order); 73 order); 83 order); 194 order); 197 public ByteOrder order() { method in class:ByteBufferAsCharBuffer 198 return order; 36 ByteBufferAsCharBuffer(ByteBuffer bb, int mark, int pos, int lim, int cap, int off, ByteOrder order) argument [all...] |
H A D | HeapByteBuffer.java | 237 order())); 289 order()); 342 order())); 394 order())); 446 order())); 498 order()));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
H A D | ByteBufferTest.java | 142 assertEquals(buf.order(), readonly.order()); 255 assertEquals(buf.order(), duplicate.order()); 485 // BIG_ENDIAN is the default byte order 486 assertEquals(ByteOrder.BIG_ENDIAN, buf.order()); 488 buf.order(ByteOrder.LITTLE_ENDIAN); 489 assertEquals(ByteOrder.LITTLE_ENDIAN, buf.order()); 491 buf.order(ByteOrder.BIG_ENDIAN); 492 assertEquals(ByteOrder.BIG_ENDIAN, buf.order()); 2085 bytes2int(byte bytes[], ByteOrder order) argument 2104 bytes2long(byte bytes[], ByteOrder order) argument 2123 bytes2short(byte bytes[], ByteOrder order) argument 2142 bytes2char(byte bytes[], ByteOrder order) argument 2146 bytes2float(byte bytes[], ByteOrder order) argument 2150 bytes2double(byte bytes[], ByteOrder order) argument 2154 int2bytes(int value, ByteOrder order) argument 2173 long2bytes(long value, ByteOrder order) argument 2192 short2bytes(short value, ByteOrder order) argument 2211 char2bytes(char value, ByteOrder order) argument 2215 float2bytes(float value, ByteOrder order) argument 2219 double2bytes(double value, ByteOrder order) argument [all...] |
H A D | DirectCharBufferTest.java | 77 assertEquals(ByteOrder.BIG_ENDIAN, buf.order());
|
H A D | DirectDoubleBufferTest.java | 76 assertEquals(ByteOrder.BIG_ENDIAN, buf.order());
|
H A D | DirectFloatBufferTest.java | 77 assertEquals(ByteOrder.BIG_ENDIAN, buf.order());
|
H A D | DirectIntBufferTest.java | 77 assertEquals(ByteOrder.BIG_ENDIAN, buf.order());
|
H A D | DirectLongBufferTest.java | 77 assertEquals(ByteOrder.BIG_ENDIAN, buf.order());
|
H A D | DirectShortBufferTest.java | 77 assertEquals(ByteOrder.BIG_ENDIAN, buf.order());
|
H A D | FloatBufferTest.java | 96 assertEquals(buf.order(), readonly.order()); 214 assertEquals(buf.order(), duplicate.order()); 411 buf.order(); 413 assertEquals(ByteOrder.nativeOrder(), buf.order()); 598 assertEquals(buf.order(), slice.order());
|
H A D | IntBufferTest.java | 96 assertEquals(buf.order(), readonly.order()); 194 assertEquals(buf.order(), duplicate.order()); 389 buf.order(); 390 assertEquals(ByteOrder.nativeOrder(), buf.order()); 574 assertEquals(buf.order(), slice.order());
|
H A D | LongBufferTest.java | 96 assertEquals(buf.order(), readonly.order()); 194 assertEquals(buf.order(), duplicate.order()); 390 buf.order(); 391 assertEquals(ByteOrder.nativeOrder(), buf.order()); 581 assertEquals(buf.order(), slice.order());
|
/libcore/luni/src/main/java/libcore/io/ |
H A D | Memory.java | 45 public static int peekInt(byte[] src, int offset, ByteOrder order) { argument 46 if (order == ByteOrder.BIG_ENDIAN) { 59 public static long peekLong(byte[] src, int offset, ByteOrder order) { argument 60 if (order == ByteOrder.BIG_ENDIAN) { 83 public static short peekShort(byte[] src, int offset, ByteOrder order) { argument 84 if (order == ByteOrder.BIG_ENDIAN) { 91 public static void pokeInt(byte[] dst, int offset, int value, ByteOrder order) { argument 92 if (order == ByteOrder.BIG_ENDIAN) { 105 public static void pokeLong(byte[] dst, int offset, long value, ByteOrder order) { argument 106 if (order 131 pokeShort(byte[] dst, int offset, short value, ByteOrder order) argument [all...] |
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
H A D | ChunkHandler.java | 66 out.order(ChunkHandler.CHUNK_ORDER); 81 in.order(CHUNK_ORDER);
|