Searched refs:bigEndian (Results 1 – 5 of 5) sorted by relevance
/libcore/ojluni/src/main/java/java/nio/ |
D | HeapByteBuffer.java | 197 return Bits.getChar(this, ix(nextGetIndex(2)), bigEndian); in getChar() 202 return Bits.getChar(this, ix(checkIndex(i, 2)), bigEndian); in getChar() 207 return Bits.getChar(this, ix(i), bigEndian); in getCharUnchecked() 220 Bits.putChar(this, ix(nextPutIndex(2)), x, bigEndian); in putChar() 229 Bits.putChar(this, ix(checkIndex(i, 2)), x, bigEndian); in putChar() 235 Bits.putChar(this, ix(i), x, bigEndian); in putCharUnchecked() 258 return Bits.getShort(this, ix(nextGetIndex(2)), bigEndian); in getShort() 263 return Bits.getShort(this, ix(checkIndex(i, 2)), bigEndian); in getShort() 268 return Bits.getShort(this, ix(i), bigEndian); in getShortUnchecked() 281 Bits.putShort(this, ix(nextPutIndex(2)), x, bigEndian); in putShort() [all …]
|
D | ByteBuffer.java | 1036 boolean bigEndian // package-private field in ByteBuffer 1052 return bigEndian ? ByteOrder.BIG_ENDIAN : ByteOrder.LITTLE_ENDIAN; in order() 1066 bigEndian = (bo == ByteOrder.BIG_ENDIAN); in order() 1068 (bigEndian == (Bits.byteOrder() == ByteOrder.BIG_ENDIAN)); in order()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
D | UTF16CharsetDecoderTest.java | 32 boolean bigEndian = true; field in UTF16CharsetDecoderTest 55 byte[] b = (bigEndian) ? new byte[] { -1, -2, 32, 0, 98, 0, 117, 0, in getByteBuffer() 71 bigEndian = false; in testLittleEndianByteBufferCharBuffer() 73 bigEndian = true; in testLittleEndianByteBufferCharBuffer() 78 bigEndian = false; in testLittleEndianReadOnlyByteBufferCharBuffer() 80 bigEndian = true; in testLittleEndianReadOnlyByteBufferCharBuffer() 85 bigEndian = false; in testLittleEndian() 87 bigEndian = true; in testLittleEndian()
|
/libcore/luni/src/test/java/libcore/java/nio/ |
D | BufferTest.java | 1323 ByteBuffer bigEndian = byteBuffer.duplicate().order(ByteOrder.BIG_ENDIAN); in test_ByteBufferAsXBuffer_ByteOrder() local 1328 assertFalse(bigEndian.asShortBuffer().get() == littleEndian.asShortBuffer().get()); in test_ByteBufferAsXBuffer_ByteOrder() 1329 assertFalse(bigEndian.asIntBuffer().get() == littleEndian.asIntBuffer().get()); in test_ByteBufferAsXBuffer_ByteOrder() 1330 assertFalse(bigEndian.asLongBuffer().get() == littleEndian.asLongBuffer().get()); in test_ByteBufferAsXBuffer_ByteOrder() 1331 assertFalse(bigEndian.asDoubleBuffer().get() == littleEndian.asDoubleBuffer().get()); in test_ByteBufferAsXBuffer_ByteOrder() 1332 assertFalse(bigEndian.asCharBuffer().get() == littleEndian.asCharBuffer().get()); in test_ByteBufferAsXBuffer_ByteOrder() 1333 assertFalse(bigEndian.asFloatBuffer().get() == littleEndian.asFloatBuffer().get()); in test_ByteBufferAsXBuffer_ByteOrder() 1336 assertFalse(bigEndian.asShortBuffer().asReadOnlyBuffer().get() == in test_ByteBufferAsXBuffer_ByteOrder() 1338 assertFalse(bigEndian.asIntBuffer().asReadOnlyBuffer().get() == in test_ByteBufferAsXBuffer_ByteOrder() 1340 assertFalse(bigEndian.asLongBuffer().asReadOnlyBuffer().get() == in test_ByteBufferAsXBuffer_ByteOrder() [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/nio/ |
D | ByteBuffer.java | 265 boolean bigEndian = true; field in ByteBuffer
|