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

/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
[all...]
H A DByteOrder.java73 return Bits.byteOrder();
H A DMappedByteBuffer.java106 int ps = Bits.pageSize();
143 return isLoaded0(mappingAddress(offset), length, Bits.pageCount(length));
171 int ps = Bits.pageSize();
172 int count = Bits.pageCount(length);
H A DByteBuffer.java897 = (Bits.byteOrder() == ByteOrder.BIG_ENDIAN);
924 (bigEndian == (Bits.byteOrder() == ByteOrder.BIG_ENDIAN));
H A DBits.java38 class Bits { // package-private class
40 private Bits() { method in class:Bits
703 synchronized (Bits.class) {
726 synchronized (Bits.class) {
761 return Bits.count;
765 return Bits.totalCapacity;
769 return Bits.reservedMemory;
/libcore/ojluni/src/main/native/
H A 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"),
295 jniRegisterNativeMethods(env, "java/nio/Bits", gMethods, NELEM(gMethods));
H A Dopenjdksub.mk65 Bits.c \
/libcore/ojluni/src/main/java/java/io/
H A DObjectOutputStream.java1659 Bits.putBoolean(primVals, getFieldOffset(name, Boolean.TYPE), val);
1667 Bits.putChar(primVals, getFieldOffset(name, Character.TYPE), val);
1671 Bits.putShort(primVals, getFieldOffset(name, Short.TYPE), val);
1675 Bits.putInt(primVals, getFieldOffset(name, Integer.TYPE), val);
1679 Bits.putFloat(primVals, getFieldOffset(name, Float.TYPE), val);
1683 Bits.putLong(primVals, getFieldOffset(name, Long.TYPE), val);
1687 Bits.putDouble(primVals, getFieldOffset(name, Double.TYPE), val);
1963 Bits.putInt(hbuf, 1, len);
1981 Bits.putBoolean(buf, pos++, v);
1993 Bits
[all...]
H A DObjectInputStream.java2099 return (off >= 0) ? Bits.getBoolean(primVals, off) : val;
2109 return (off >= 0) ? Bits.getChar(primVals, off) : val;
2114 return (off >= 0) ? Bits.getShort(primVals, off) : val;
2119 return (off >= 0) ? Bits.getInt(primVals, off) : val;
2124 return (off >= 0) ? Bits.getFloat(primVals, off) : val;
2129 return (off >= 0) ? Bits.getLong(primVals, off) : val;
2134 return (off >= 0) ? Bits.getDouble(primVals, off) : val;
2493 int len = Bits.getInt(hbuf, 1);
2792 char v = Bits.getChar(buf, pos);
2804 short v = Bits
[all...]
H A DBits.java32 class Bits { class
H A DObjectStreamClass.java1941 Bits.putBoolean(buf, off, unsafe.getBoolean(obj, key));
1949 Bits.putChar(buf, off, unsafe.getChar(obj, key));
1953 Bits.putShort(buf, off, unsafe.getShort(obj, key));
1957 Bits.putInt(buf, off, unsafe.getInt(obj, key));
1961 Bits.putFloat(buf, off, unsafe.getFloat(obj, key));
1965 Bits.putLong(buf, off, unsafe.getLong(obj, key));
1969 Bits.putDouble(buf, off, unsafe.getDouble(obj, key));
1995 unsafe.putBoolean(obj, key, Bits.getBoolean(buf, off));
2003 unsafe.putChar(obj, key, Bits.getChar(buf, off));
2007 unsafe.putShort(obj, key, Bits
[all...]
/libcore/
H A Dopenjdk_java_files.mk9 ojluni/src/main/java/java/io/Bits.java \
313 ojluni/src/main/java/java/nio/Bits.java \

Completed in 331 milliseconds