/libcore/support/src/test/java/tests/support/ |
D | Support_GetPutFieldsDefaulted.java | 45 public ObjectInputStream.GetField getField; field in Support_GetPutFieldsDefaulted 118 getField = ois.readFields(); in readObject() 119 booleanValue = getField.get("booleanValue", true); in readObject() 120 byteValue = getField.get("byteValue", (byte) 0x0b); in readObject() 121 charValue = getField.get("charValue", (char) 'D'); in readObject() 122 doubleValue = getField.get("doubleValue", 523452.4532); in readObject() 123 floatValue = getField.get("floatValue", 298.54f); in readObject() 124 longValue = getField.get("longValue", (long) 1234567890l); in readObject() 125 intValue = getField.get("intValue", 999999); in readObject() 127 getField.get("objectValue", in readObject() [all …]
|
D | Support_GetPutFields.java | 34 public ObjectInputStream.GetField getField; field in Support_GetPutFields 107 getField = ois.readFields(); in readObject() 108 booleanValue = getField.get("booleanValue", false); in readObject() 109 byteValue = getField.get("byteValue", (byte) 0); in readObject() 110 charValue = getField.get("charValue", (char) 0); in readObject() 111 doubleValue = getField.get("doubleValue", 0.0); in readObject() 112 floatValue = getField.get("floatValue", 0.0f); in readObject() 113 longValue = getField.get("longValue", (long) 0); in readObject() 114 intValue = getField.get("intValue", 0); in readObject() 116 getField.get("objectValue", (Object) null); in readObject() [all …]
|
D | Support_GetPutFieldsDeprecated.java | 36 public ObjectInputStream.GetField getField; field in Support_GetPutFieldsDeprecated 109 booleanValue = getField.get("booleanValue", false); in readObject() 110 byteValue = getField.get("byteValue", (byte) 0); in readObject() 111 charValue = getField.get("charValue", (char) 0); in readObject() 112 doubleValue = getField.get("doubleValue", 0.0); in readObject() 113 floatValue = getField.get("floatValue", 0.0f); in readObject() 114 longValue = getField.get("longValue", (long) 0); in readObject() 115 intValue = getField.get("intValue", 0); in readObject() 117 getField.get("objectValue", (Object) null); in readObject() 118 shortValue = getField.get("shortValue", (short) 0); in readObject()
|
/libcore/luni/src/test/java/tests/api/java/io/ |
D | ObjectStreamFieldTest.java | 318 ObjectStreamField field = oc.getField("i"); in test_getType_Deserialized() 361 ObjectStreamField field = oc.getField("i"); in test_getType_MockObjectInputStream() 407 ObjectInputStream.GetField getField = newObj.getGetField(); in test_isUnshared() local 408 ObjectStreamClass objectStreamClass = getField.getObjectStreamClass(); in test_isUnshared() 410 assertTrue(objectStreamClass.getField("i").isUnshared()); in test_isUnshared() 411 assertFalse(objectStreamClass.getField("d").isUnshared()); in test_isUnshared() 412 assertTrue(objectStreamClass.getField("s").isUnshared()); in test_isUnshared() 414 assertEquals(1000, getField.get("i", null)); in test_isUnshared() 415 assertEquals(SerializableObject2.today, getField.get("d", null)); in test_isUnshared() 416 assertEquals("Richard", getField.get("s", null)); in test_isUnshared() [all …]
|
D | ObjectInputStreamGetFieldTest.java | 173 ObjectInputStream.GetField fields = object.getField; in test_defaultedLjava_lang_String() 187 fields = defaultedObject.getField; in test_defaultedLjava_lang_String() 255 ObjectInputStream.GetField fields = object.getField; in test_getException() 380 object.getField.getObjectStreamClass()); in test_getObjectStreamClass()
|
D | ObjectStreamClassTest.java | 65 .getField("bam").getTypeCode()); in test_getFieldLjava_lang_String() 67 .getField("wham")); in test_getFieldLjava_lang_String()
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | Duration.java | 400 public abstract Number getField(final DatatypeConstants.Field field); in getField() method in Duration 413 Number n = getField(field); in getFieldValueAsInt() 896 BigInteger years = (BigInteger) getField(DatatypeConstants.YEARS); in toString() 901 BigInteger months = (BigInteger) getField(DatatypeConstants.MONTHS); in toString() 906 BigInteger days = (BigInteger) getField(DatatypeConstants.DAYS); in toString() 911 BigInteger hours = (BigInteger) getField(DatatypeConstants.HOURS); in toString() 912 BigInteger minutes = (BigInteger) getField(DatatypeConstants.MINUTES); in toString() 913 BigDecimal seconds = (BigDecimal) getField(DatatypeConstants.SECONDS); in toString()
|
/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
D | AccessibleObjectTest.java | 114 AccessibleObject ao = TestClass.class.getField("aField"); in test_isAccessible() 136 AccessibleObject ao = TestClass.class.getField("aField"); in test_setAccessible$Ljava_lang_reflect_AccessibleObjectZ() 157 AccessibleObject ao = TestClass.class.getField("aField"); in test_setAccessible()
|
D | FieldTest.java | 271 Object getField(char primitiveType, Object o, Field f, in getField() method in FieldTest.SupportSubClass 649 subclass.getField(type, subclass, field, in testProtectedFieldAccess() 653 subclass.getField(type, subclass, field, null); in testProtectedFieldAccess() 654 subclass.getField(type, otherSubclass, field, null); in testProtectedFieldAccess() 655 subclass.getField(type, parentClass, field, in testProtectedFieldAccess() 657 subclass.getField(type, plainObject, field, in testProtectedFieldAccess() 664 subclass.getField(type, subclass, field, in testProtectedFieldAccess() 670 subclass.getField('Z', subclass, booleanField, null); in testProtectedFieldAccess() 671 subclass.getField('Z', otherSubclass, booleanField, null); in testProtectedFieldAccess() 672 subclass.getField('Z', parentClass, booleanField, in testProtectedFieldAccess() [all …]
|
/libcore/luni/src/main/java/java/text/ |
D | FieldPosition.java | 122 public int getField() { in getField() method in FieldPosition
|
D | SimpleDateFormat.java | 705 .getFieldAttribute() == null && position.getField() == index)) in append()
|
/libcore/luni/src/main/java/org/apache/xalan/xslt/ |
D | EnvironmentCheck.java | 847 Field f = clazz.getField("PRODUCT"); in checkProcessorVersion() 852 f = clazz.getField("LANGUAGE"); in checkProcessorVersion() 857 f = clazz.getField("S_VERSION"); in checkProcessorVersion() 880 Field f = clazz.getField("S_VERSION"); in checkProcessorVersion() 934 Field f = clazz.getField("fVersion"); in checkParserVersion() 953 Field f = clazz.getField("fVersion"); in checkParserVersion()
|
/libcore/luni/src/main/java/java/security/spec/ |
D | EllipticCurve.java | 141 public ECField getField() { in getField() method in EllipticCurve
|
/libcore/luni/src/main/java/java/io/ |
D | EmulatedFieldsForDumping.java | 200 Class<?> type = slot.getField().getType(); in write()
|
D | EmulatedFields.java | 50 public ObjectStreamField getField() { in getField() method in EmulatedFields.ObjectSlot
|
D | ObjectStreamClass.java | 677 public ObjectStreamField getField(String name) { in getField() method in ObjectStreamClass
|
D | ObjectOutputStream.java | 1034 Class<?> type = slot.getField().getType(); in writeFieldValues()
|
D | ObjectInputStream.java | 1281 ObjectStreamField field = classDesc.getField(fieldName); in readFieldValues()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
D | ClassTest.java | 1078 Field f = TestClass.class.getField("pubField"); in test_getFieldLjava_lang_String() 1081 f = PublicTestClass.class.getField("TEST_FIELD"); in test_getFieldLjava_lang_String() 1085 f = PublicTestClass.class.getField("TEST_INTERFACE_FIELD"); in test_getFieldLjava_lang_String() 1090 f = TestClass.class.getField("privField"); in test_getFieldLjava_lang_String() 1097 TestClass.class.getField(null); in test_getFieldLjava_lang_String() 1137 Cls3.class.getField("field1")); in test_getFields2() 1151 Cls3.class.getField("field2")); in test_getFields2() 1182 assertEquals(expected, Cls2.class.getField("field1")); in test_getFields()
|
/libcore/luni/src/main/java/java/lang/reflect/ |
D | Field.java | 237 return getField(object, declaringClass, type, slot, flag); in get() 850 private native Object getField(Object o, Class<?> declaringClass, Class<?> type, int slot, in getField() method in Field
|
/libcore/luni/src/test/java/tests/security/spec/ |
D | EllipticCurveTest.java | 516 assertEquals("incorrect size", ec.getField().getFieldSize(), 2); in testEllipticCurveECFieldBigIntegerBigInteger05() 563 assertEquals(f, c.getField()); in testGetField() 564 assertSame(f, c.getField()); in testGetField()
|
/libcore/luni/src/main/java/com/ibm/icu4jni/text/ |
D | NativeDecimalFormat.java | 514 if (fp != null && fp.getField() != -1) { in forFieldPosition() 527 int id = fp.getField(); in getNativeFieldPositionId()
|
/libcore/luni/src/main/java/java/lang/ |
D | Class.java | 860 public Field getField(String name) throws NoSuchFieldException, SecurityException { in getField() method in Class
|