Searched refs:bigEndian (Results 1 - 4 of 4) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
H A DUTF16CharsetDecoderTest.java32 boolean bigEndian = true; field in class:UTF16CharsetDecoderTest
55 byte[] b = (bigEndian) ? new byte[] { -1, -2, 32, 0, 98, 0, 117, 0,
71 bigEndian = false;
73 bigEndian = true;
78 bigEndian = false;
80 bigEndian = true;
85 bigEndian = false;
87 bigEndian = true;
/libcore/ojluni/src/main/java/java/nio/
H A DHeapByteBuffer.java189 return Bits.getChar(this, ix(nextGetIndex(2)), bigEndian);
193 return Bits.getChar(this, ix(checkIndex(i, 2)), bigEndian);
197 return Bits.getChar(this, ix(i), bigEndian);
208 Bits.putChar(this, ix(nextPutIndex(2)), x, bigEndian);
216 Bits.putChar(this, ix(checkIndex(i, 2)), x, bigEndian);
221 Bits.putChar(this, ix(i), x, bigEndian);
241 return Bits.getShort(this, ix(nextGetIndex(2)), bigEndian);
245 return Bits.getShort(this, ix(checkIndex(i, 2)), bigEndian);
249 return Bits.getShort(this, ix(i), bigEndian);
260 Bits.putShort(this, ix(nextPutIndex(2)), x, bigEndian);
[all...]
H A DBits.java89 static char getChar(ByteBuffer bb, int bi, boolean bigEndian) { argument
90 return bigEndian ? getCharB(bb, bi) : getCharL(bb, bi);
93 static char getChar(long a, boolean bigEndian) { argument
94 return bigEndian ? getCharB(a) : getCharL(a);
125 static void putChar(ByteBuffer bb, int bi, char x, boolean bigEndian) { argument
126 if (bigEndian)
132 static void putChar(long a, char x, boolean bigEndian) { argument
133 if (bigEndian)
166 static short getShort(ByteBuffer bb, int bi, boolean bigEndian) { argument
167 return bigEndian
170 getShort(long a, boolean bigEndian) argument
202 putShort(ByteBuffer bb, int bi, short x, boolean bigEndian) argument
209 putShort(long a, short x, boolean bigEndian) argument
254 getInt(ByteBuffer bb, int bi, boolean bigEndian) argument
258 getInt(long a, boolean bigEndian) argument
306 putInt(ByteBuffer bb, int bi, int x, boolean bigEndian) argument
313 putInt(long a, int x, boolean bigEndian) argument
379 getLong(ByteBuffer bb, int bi, boolean bigEndian) argument
383 getLong(long a, boolean bigEndian) argument
463 putLong(ByteBuffer bb, int bi, long x, boolean bigEndian) argument
470 putLong(long a, long x, boolean bigEndian) argument
496 getFloat(ByteBuffer bb, int bi, boolean bigEndian) argument
500 getFloat(long a, boolean bigEndian) argument
520 putFloat(ByteBuffer bb, int bi, float x, boolean bigEndian) argument
527 putFloat(long a, float x, boolean bigEndian) argument
553 getDouble(ByteBuffer bb, int bi, boolean bigEndian) argument
557 getDouble(long a, boolean bigEndian) argument
577 putDouble(ByteBuffer bb, int bi, double x, boolean bigEndian) argument
584 putDouble(long a, double x, boolean bigEndian) argument
[all...]
H A DByteBuffer.java894 boolean bigEndian // package-private field in class:ByteBuffer
910 return bigEndian ? ByteOrder.BIG_ENDIAN : ByteOrder.LITTLE_ENDIAN;
922 bigEndian = (bo == ByteOrder.BIG_ENDIAN);
924 (bigEndian == (Bits.byteOrder() == ByteOrder.BIG_ENDIAN));

Completed in 66 milliseconds