Searched refs:getFieldOffset (Results 1 – 2 of 2) sorted by relevance
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectOutputStream.java | 1659 Bits.putBoolean(primVals, getFieldOffset(name, Boolean.TYPE), val); in put() 1663 primVals[getFieldOffset(name, Byte.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() 1691 objVals[getFieldOffset(name, Object.class)] = val; in put() 1759 private int getFieldOffset(String name, Class type) { in getFieldOffset() method in ObjectOutputStream.PutFieldImpl
|
D | ObjectInputStream.java | 2094 return (getFieldOffset(name, null) < 0); in defaulted() 2098 int off = getFieldOffset(name, Boolean.TYPE); in get() 2103 int off = getFieldOffset(name, Byte.TYPE); in get() 2108 int off = getFieldOffset(name, Character.TYPE); in get() 2113 int off = getFieldOffset(name, Short.TYPE); in get() 2118 int off = getFieldOffset(name, Integer.TYPE); in get() 2123 int off = getFieldOffset(name, Float.TYPE); in get() 2128 int off = getFieldOffset(name, Long.TYPE); in get() 2133 int off = getFieldOffset(name, Double.TYPE); in get() 2138 int off = getFieldOffset(name, Object.class); in get() [all …]
|