Lines Matching refs:buf
1217 * marshals them into byte array buf starting at offset 0. It is the
1221 void getPrimFieldValues(Object obj, byte[] buf) {
1222 fieldRefl.getPrimFieldValues(obj, buf);
1227 * unmarshalled from byte array buf starting at offset 0. It is the
1231 void setPrimFieldValues(Object obj, byte[] buf) {
1232 fieldRefl.setPrimFieldValues(obj, buf);
1925 * marshals them into byte array buf starting at offset 0. The caller
1928 void getPrimFieldValues(Object obj, byte[] buf) {
1941 Bits.putBoolean(buf, off, unsafe.getBoolean(obj, key));
1945 buf[off] = unsafe.getByte(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));
1980 * unmarshalled from byte array buf starting at offset 0. The caller
1983 void setPrimFieldValues(Object obj, byte[] buf) {
1995 unsafe.putBoolean(obj, key, Bits.getBoolean(buf, off));
1999 unsafe.putByte(obj, key, buf[off]);
2003 unsafe.putChar(obj, key, Bits.getChar(buf, off));
2007 unsafe.putShort(obj, key, Bits.getShort(buf, off));
2011 unsafe.putInt(obj, key, Bits.getInt(buf, off));
2015 unsafe.putFloat(obj, key, Bits.getFloat(buf, off));
2019 unsafe.putLong(obj, key, Bits.getLong(buf, off));
2023 unsafe.putDouble(obj, key, Bits.getDouble(buf, off));