Home
last modified time | relevance | path

Searched refs:Bits (Results 1 – 12 of 12) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/
DHeapByteBuffer.java189 return Bits.getChar(this, ix(nextGetIndex(2)), bigEndian); in getChar()
193 return Bits.getChar(this, ix(checkIndex(i, 2)), bigEndian); in getChar()
197 return Bits.getChar(this, ix(i), bigEndian); in getCharUnchecked()
208 Bits.putChar(this, ix(nextPutIndex(2)), x, bigEndian); in putChar()
216 Bits.putChar(this, ix(checkIndex(i, 2)), x, bigEndian); in putChar()
221 Bits.putChar(this, ix(i), x, bigEndian); in putCharUnchecked()
241 return Bits.getShort(this, ix(nextGetIndex(2)), bigEndian); in getShort()
245 return Bits.getShort(this, ix(checkIndex(i, 2)), bigEndian); in getShort()
249 return Bits.getShort(this, ix(i), bigEndian); in getShortUnchecked()
260 Bits.putShort(this, ix(nextPutIndex(2)), x, bigEndian); in putShort()
[all …]
DMappedByteBuffer.java106 int ps = Bits.pageSize(); in mappingOffset()
143 return isLoaded0(mappingAddress(offset), length, Bits.pageCount(length)); in isLoaded()
171 int ps = Bits.pageSize(); in load()
172 int count = Bits.pageCount(length); in load()
DByteOrder.java73 return Bits.byteOrder(); in nativeOrder()
DByteBuffer.java897 = (Bits.byteOrder() == ByteOrder.BIG_ENDIAN);
924 (bigEndian == (Bits.byteOrder() == ByteOrder.BIG_ENDIAN)); in order()
DBits.java38 class Bits { // package-private class
40 private Bits() { in Bits() method in Bits
703 synchronized (Bits.class) { in reserveMemory()
726 synchronized (Bits.class) { in reserveMemory()
/libcore/ojluni/src/main/native/
DBits.c286 NATIVE_METHOD(Bits, copyFromShortArray, "(Ljava/lang/Object;JJJ)V"),
287 NATIVE_METHOD(Bits, copyToShortArray, "(JLjava/lang/Object;JJ)V"),
288 NATIVE_METHOD(Bits, copyFromIntArray, "(Ljava/lang/Object;JJJ)V"),
289 NATIVE_METHOD(Bits, copyToIntArray, "(JLjava/lang/Object;JJ)V"),
290 NATIVE_METHOD(Bits, copyFromLongArray, "(Ljava/lang/Object;JJJ)V"),
291 NATIVE_METHOD(Bits, copyToLongArray, "(JLjava/lang/Object;JJ)V"),
Dopenjdksub.mk65 Bits.c \
/libcore/ojluni/src/main/java/java/io/
DObjectOutputStream.java1659 Bits.putBoolean(primVals, getFieldOffset(name, Boolean.TYPE), val); in put()
1667 Bits.putChar(primVals, getFieldOffset(name, Character.TYPE), val); in put()
1671 Bits.putShort(primVals, getFieldOffset(name, Short.TYPE), val); in put()
1675 Bits.putInt(primVals, getFieldOffset(name, Integer.TYPE), val); in put()
1679 Bits.putFloat(primVals, getFieldOffset(name, Float.TYPE), val); in put()
1683 Bits.putLong(primVals, getFieldOffset(name, Long.TYPE), val); in put()
1687 Bits.putDouble(primVals, getFieldOffset(name, Double.TYPE), val); in put()
1963 Bits.putInt(hbuf, 1, len); in writeBlockHeader()
1981 Bits.putBoolean(buf, pos++, v); in writeBoolean()
1993 Bits.putChar(buf, pos, (char) v); in writeChar()
[all …]
DObjectInputStream.java2099 return (off >= 0) ? Bits.getBoolean(primVals, off) : val; in get()
2109 return (off >= 0) ? Bits.getChar(primVals, off) : val; in get()
2114 return (off >= 0) ? Bits.getShort(primVals, off) : val; in get()
2119 return (off >= 0) ? Bits.getInt(primVals, off) : val; in get()
2124 return (off >= 0) ? Bits.getFloat(primVals, off) : val; in get()
2129 return (off >= 0) ? Bits.getLong(primVals, off) : val; in get()
2134 return (off >= 0) ? Bits.getDouble(primVals, off) : val; in get()
2493 int len = Bits.getInt(hbuf, 1); in readBlockHeader()
2792 char v = Bits.getChar(buf, pos); in readChar()
2804 short v = Bits.getShort(buf, pos); in readShort()
[all …]
DObjectStreamClass.java1941 Bits.putBoolean(buf, off, unsafe.getBoolean(obj, key)); in getPrimFieldValues()
1949 Bits.putChar(buf, off, unsafe.getChar(obj, key)); in getPrimFieldValues()
1953 Bits.putShort(buf, off, unsafe.getShort(obj, key)); in getPrimFieldValues()
1957 Bits.putInt(buf, off, unsafe.getInt(obj, key)); in getPrimFieldValues()
1961 Bits.putFloat(buf, off, unsafe.getFloat(obj, key)); in getPrimFieldValues()
1965 Bits.putLong(buf, off, unsafe.getLong(obj, key)); in getPrimFieldValues()
1969 Bits.putDouble(buf, off, unsafe.getDouble(obj, key)); in getPrimFieldValues()
1995 unsafe.putBoolean(obj, key, Bits.getBoolean(buf, off)); in setPrimFieldValues()
2003 unsafe.putChar(obj, key, Bits.getChar(buf, off)); in setPrimFieldValues()
2007 unsafe.putShort(obj, key, Bits.getShort(buf, off)); in setPrimFieldValues()
[all …]
DBits.java32 class Bits { class
/libcore/
Dopenjdk_java_files.mk9 ojluni/src/main/java/java/io/Bits.java \
313 ojluni/src/main/java/java/nio/Bits.java \