Searched defs:getField (Results 1 - 12 of 12) sorted by relevance

/libcore/ojluni/src/main/java/java/security/spec/
H A DEllipticCurve.java130 public ECField getField() { method in class:EllipticCurve
/libcore/benchmarks/src/benchmarks/
H A DMethodInvocationBenchmark.java30 private int getField() { method in class:MethodInvocationBenchmark.C
37 result = getField();
/libcore/ojluni/src/main/java/java/io/
H A DObjectStreamField.java273 Field getField() { method in class:ObjectStreamField
H A DObjectStreamClass.java286 public ObjectStreamField getField(String name) { method in class:ObjectStreamClass
287 return getField(name, null);
520 if (fields[i].getField() == null) {
820 ObjectStreamField getField(String name, Class<?> type) { method in class:ObjectStreamClass
1896 Field rf = f.getField();
2081 Field f = fields[i].getField();
2252 if (lf.getField() != null) {
2254 lf.getField(), lf.isUnshared(), false);
/libcore/luni/src/main/java/javax/xml/datatype/
H A DDuration.java221 * {@link #getField(DatatypeConstants.Field field) getField(DatatypeConstants.YEARS)}.</p>
225 * Use {@link #getField(DatatypeConstants.Field field) getField(DatatypeConstants.YEARS)} to avoid possible loss of precision.</p>
400 public abstract Number getField(final DatatypeConstants.Field field); method in class:Duration
413 Number n = getField(field);
892 BigInteger years = (BigInteger) getField(DatatypeConstants.YEARS);
897 BigInteger months = (BigInteger) getField(DatatypeConstants.MONTHS);
902 BigInteger days = (BigInteger) getField(DatatypeConstants.DAYS);
907 BigInteger hours = (BigInteger) getField(DatatypeConstant
[all...]
/libcore/ojluni/src/main/java/java/text/
H A DFieldPosition.java164 public int getField() { method in class:FieldPosition
/libcore/support/src/test/java/tests/support/
H A DSupport_GetPutFields.java34 public ObjectInputStream.GetField getField; field in class:Support_GetPutFields
107 getField = ois.readFields();
108 booleanValue = getField.get("booleanValue", false);
109 byteValue = getField.get("byteValue", (byte) 0);
110 charValue = getField.get("charValue", (char) 0);
111 doubleValue = getField.get("doubleValue", 0.0);
112 floatValue = getField.get("floatValue", 0.0f);
113 longValue = getField.get("longValue", (long) 0);
114 intValue = getField.get("intValue", 0);
116 getField
[all...]
H A DSupport_GetPutFieldsDefaulted.java45 public ObjectInputStream.GetField getField; field in class:Support_GetPutFieldsDefaulted
118 getField = ois.readFields();
119 booleanValue = getField.get("booleanValue", true);
120 byteValue = getField.get("byteValue", (byte) 0x0b);
121 charValue = getField.get("charValue", (char) 'D');
122 doubleValue = getField.get("doubleValue", 523452.4532);
123 floatValue = getField.get("floatValue", 298.54f);
124 longValue = getField.get("longValue", (long) 1234567890L);
125 intValue = getField.get("intValue", 999999);
127 getField
[all...]
H A DSupport_GetPutFieldsDeprecated.java36 public ObjectInputStream.GetField getField; field in class:Support_GetPutFieldsDeprecated
109 booleanValue = getField.get("booleanValue", false);
110 byteValue = getField.get("byteValue", (byte) 0);
111 charValue = getField.get("charValue", (char) 0);
112 doubleValue = getField.get("doubleValue", 0.0);
113 floatValue = getField.get("floatValue", 0.0f);
114 longValue = getField.get("longValue", (long) 0);
115 intValue = getField.get("intValue", 0);
117 getField.get("objectValue", (Object) null);
118 shortValue = getField
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DObjectStreamFieldTest.java170 ObjectStreamField field = oc.getField("i");
191 ObjectStreamField field = oc.getField("i");
208 ObjectInputStream.GetField getField = newObj.getGetField();
209 ObjectStreamClass objectStreamClass = getField.getObjectStreamClass();
211 assertTrue(objectStreamClass.getField("i").isUnshared());
212 assertFalse(objectStreamClass.getField("d").isUnshared());
213 assertTrue(objectStreamClass.getField("s").isUnshared());
215 assertEquals(1000, getField.get("i", null));
216 assertEquals(SerializableObject2.today, getField.get("d", null));
217 assertEquals("Richard", getField
257 public ObjectInputStream.GetField getField = null; field in class:SerializableObject
327 private ObjectInputStream.GetField getField; field in class:SerializableObject2
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
H A DFieldTest.java241 Object getField(char primitiveType, Object o, Field f, method in class:FieldTest.SupportSubClass
511 subclass.getField(type, subclass, field,
515 subclass.getField(type, subclass, field, null);
516 subclass.getField(type, otherSubclass, field, null);
517 subclass.getField(type, parentClass, field,
519 subclass.getField(type, plainObject, field,
526 subclass.getField(type, subclass, field,
532 subclass.getField('Z', subclass, booleanField, null);
533 subclass.getField('Z', otherSubclass, booleanField, null);
534 subclass.getField('
[all...]
/libcore/ojluni/src/main/java/java/lang/
H A DClass.java1594 public Field getField(String name) method in class:Class
1607 * The native implementation of the {@code getField} method.
1611 * @see #getField(String)

Completed in 382 milliseconds