Home
last modified time | relevance | path

Searched refs:getField (Results 1 – 25 of 96) sorted by relevance

1234

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
DObjectStreamFieldTest.java170 ObjectStreamField field = oc.getField("i"); in test_getType_Deserialized()
191 ObjectStreamField field = oc.getField("i"); in test_getType_MockObjectInputStream()
208 ObjectInputStream.GetField getField = newObj.getGetField(); in test_isUnshared() local
209 ObjectStreamClass objectStreamClass = getField.getObjectStreamClass(); in test_isUnshared()
211 assertTrue(objectStreamClass.getField("i").isUnshared()); in test_isUnshared()
212 assertFalse(objectStreamClass.getField("d").isUnshared()); in test_isUnshared()
213 assertTrue(objectStreamClass.getField("s").isUnshared()); in test_isUnshared()
215 assertEquals(1000, getField.get("i", null)); in test_isUnshared()
216 assertEquals(SerializableObject2.today, getField.get("d", null)); in test_isUnshared()
217 assertEquals("Richard", getField.get("s", null)); in test_isUnshared()
[all …]
/external/protobuf/java/src/test/java/com/google/protobuf/
DUnknownFieldSetTest.java58 UnknownFieldSet.Field getField(String name) { in getField() method in UnknownFieldSetTest
61 return unknownFields.getField(field.getNumber()); in getField()
101 UnknownFieldSet.Field field = getField("optional_int32"); in testVarint()
108 UnknownFieldSet.Field field = getField("optional_fixed32"); in testFixed32()
115 UnknownFieldSet.Field field = getField("optional_fixed64"); in testFixed64()
122 UnknownFieldSet.Field field = getField("optional_bytes"); in testLengthDelimited()
133 UnknownFieldSet.Field field = getField("optionalgroup"); in testGroup()
141 group.getField(nestedFieldDescriptor.getNumber()); in testGroup()
224 destination.getUnknownFields().getField(123456); in testParseKnownAndUnknown()
303 .getField(singularField.getNumber()) in testParseUnknownEnumValue()
[all …]
DTestUtil.java3041 ((Message)message.getField(f("optionalgroup"))).hasField(groupA)); in assertAllFieldsSetViaReflection()
3043 ((Message)message.getField(f("optional_nested_message"))) in assertAllFieldsSetViaReflection()
3046 ((Message)message.getField(f("optional_foreign_message"))) in assertAllFieldsSetViaReflection()
3049 ((Message)message.getField(f("optional_import_message"))) in assertAllFieldsSetViaReflection()
3059 Assert.assertEquals(101 , message.getField(f("optional_int32" ))); in assertAllFieldsSetViaReflection()
3060 Assert.assertEquals(102L , message.getField(f("optional_int64" ))); in assertAllFieldsSetViaReflection()
3061 Assert.assertEquals(103 , message.getField(f("optional_uint32" ))); in assertAllFieldsSetViaReflection()
3062 Assert.assertEquals(104L , message.getField(f("optional_uint64" ))); in assertAllFieldsSetViaReflection()
3063 Assert.assertEquals(105 , message.getField(f("optional_sint32" ))); in assertAllFieldsSetViaReflection()
3064 Assert.assertEquals(106L , message.getField(f("optional_sint64" ))); in assertAllFieldsSetViaReflection()
[all …]
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DFieldPositionTest.java31 DateFormat.MONTH_FIELD, fpos.getField()); in test_ConstructorI()
45 fpos.getField()); in test_ConstructorLjava_text_Format$Field()
58 DateFormat.MONTH_FIELD, fpos.getField()); in test_ConstructorLjava_text_Format$FieldI()
66 DateFormat.HOUR1_FIELD, fpos2.getField()); in test_ConstructorLjava_text_Format$FieldI()
73 DateFormat.MONTH_FIELD, fpos3.getField()); in test_ConstructorLjava_text_Format$FieldI()
138 65, fpos.getField()); in test_getField()
141 -1, fpos2.getField()); in test_getField()
/external/smack/src/org/jivesoftware/smackx/
DForm.java134 FormField field = getField(variable); in setAnswer()
160 FormField field = getField(variable); in setAnswer()
184 FormField field = getField(variable); in setAnswer()
208 FormField field = getField(variable); in setAnswer()
232 FormField field = getField(variable); in setAnswer()
256 FormField field = getField(variable); in setAnswer()
310 FormField field = getField(variable); in setAnswer()
344 FormField field = getField(variable); in setDefaultAnswer()
375 public FormField getField(String variable) { in getField() method in Form
DGateway.java160 public String getField(String fieldName){ in getField() method in Gateway
161 return getRegisterInfo().getField(fieldName); in getField()
177 return getField("username"); in getUsername()
185 return getField("password"); in getPassword()
/external/protobuf/java/src/main/java/com/google/protobuf/
DGeneratedMessage.java78 final List value = (List) getField(field); in getAllFieldsMutable()
84 result.put(field, getField(field)); in getAllFieldsMutable()
104 List<Message> messageList = (List<Message>) getField(field); in isInitialized()
111 if (hasField(field) && !((Message) getField(field)).isInitialized()) { in isInitialized()
126 return internalGetFieldAccessorTable().getField(field).has(this); in hasField()
129 public Object getField(final FieldDescriptor field) { in getField() method in GeneratedMessage
130 return internalGetFieldAccessorTable().getField(field).get(this); in getField()
134 return internalGetFieldAccessorTable().getField(field) in getRepeatedFieldCount()
139 return internalGetFieldAccessorTable().getField(field) in getRepeatedField()
186 return internalGetFieldAccessorTable().getField(field).newBuilder(); in newBuilderForField()
[all …]
DDynamicMessage.java159 public Object getField(FieldDescriptor field) { in getField() method in DynamicMessage
161 Object result = fields.getField(field); in getField()
365 public Object getField(FieldDescriptor field) { in getField() method in DynamicMessage.Builder
367 Object result = fields.getField(field); in getField()
DMessage.java91 Object getField(Descriptors.FieldDescriptor field); in getField() method
222 Object getField(Descriptors.FieldDescriptor field); in getField() method
/external/mockito/src/org/mockito/internal/util/reflection/
DWhitebox.java34 Field f = getField(clazz, field); in getFieldFromHierarchy()
37 f = getField(clazz, field); in getFieldFromHierarchy()
48 private static Field getField(Class<?> clazz, String field) { in getField() method in Whitebox
/external/smack/src/org/jivesoftware/smackx/muc/
DRoomInfo.java92 FormField descField = form.getField("muc#roominfo_description"); in RoomInfo()
95 FormField subjField = form.getField("muc#roominfo_subject"); in RoomInfo()
98 FormField occCountField = form.getField("muc#roominfo_occupants"); in RoomInfo()
/external/skia/legacy/src/animator/
DSkAnimator.cpp205 const SkMemberInfo* SkAnimator::getField(const SkDisplayable* ae, const char* field) { in getField() function in SkAnimator
211 const SkMemberInfo* SkAnimator::getField(const char* elementID, const char* field) { in getField() function in SkAnimator
213 return getField(element, field); in getField()
222 const SkMemberInfo* field = getField(id, fieldID); in getFieldType()
245 const SkMemberInfo* field = getField(element, fieldID); in getArrayInt()
262 const SkMemberInfo* field = getField(element, fieldID); in getArrayScalar()
279 const SkMemberInfo* field = getField(element, fieldID); in getArrayString()
331 const SkMemberInfo* field = getField(element, fieldID); in getInt()
357 const SkMemberInfo* field = getField(element, fieldID); in getScalar()
376 const SkMemberInfo* field = getField(element, fieldID); in getString()
[all …]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/
DFieldTest.java145 Object getField(char primitiveType, Object o, Field f, in getField() method in FieldTest.SupportSubClass
409 subclass.getField(type, subclass, field, in testProtectedFieldAccess()
413 subclass.getField(type, subclass, field, null); in testProtectedFieldAccess()
414 subclass.getField(type, otherSubclass, field, null); in testProtectedFieldAccess()
415 subclass.getField(type, parentClass, field, illegalAccessExceptionClass); in testProtectedFieldAccess()
416 subclass.getField(type, plainObject, field, illegalAccessExceptionClass); in testProtectedFieldAccess()
422 subclass.getField(type, subclass, field, in testProtectedFieldAccess()
428 subclass.getField('Z', subclass, booleanField, null); in testProtectedFieldAccess()
429 subclass.getField('Z', otherSubclass, booleanField, null); in testProtectedFieldAccess()
430 subclass.getField('Z', parentClass, booleanField, illegalAccessExceptionClass); in testProtectedFieldAccess()
[all …]
DAccessibleObjectTest.java34 AccessibleObject ao = TestClass.class.getField("aField"); in test_isAccessible()
49 AccessibleObject ao = TestClass.class.getField("aField"); in test_setAccessible$Ljava_lang_reflect_AccessibleObjectZ()
/external/skia/src/animator/
DSkAnimator.cpp205 const SkMemberInfo* SkAnimator::getField(const SkDisplayable* ae, const char* field) { in getField() function in SkAnimator
211 const SkMemberInfo* SkAnimator::getField(const char* elementID, const char* field) { in getField() function in SkAnimator
213 return getField(element, field); in getField()
222 const SkMemberInfo* field = getField(id, fieldID); in getFieldType()
245 const SkMemberInfo* field = getField(element, fieldID); in getArrayInt()
262 const SkMemberInfo* field = getField(element, fieldID); in getArrayScalar()
279 const SkMemberInfo* field = getField(element, fieldID); in getArrayString()
331 const SkMemberInfo* field = getField(element, fieldID); in getInt()
357 const SkMemberInfo* field = getField(element, fieldID); in getScalar()
376 const SkMemberInfo* field = getField(element, fieldID); in getString()
[all …]
/external/icu4c/i18n/
Dfphdlimp.cpp48 if (pos.getField() == id) { in addAttribute()
56 if (delta != 0 && pos.getField() != FieldPosition::DONT_CARE && pos.getBeginIndex() != -1) { in shiftLast()
64 return pos.getField() != FieldPosition::DONT_CARE; in isRecording()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowContentProviderResult.java16 Field field = realResult.getClass().getField("uri"); in __constructor__()
22 Field field = realResult.getClass().getField("count"); in __constructor__()
DShadowAccount.java33 Field nameF = realObject.getClass().getField("name"); in set()
37 Field typeF = realObject.getClass().getField("type"); in set()
/external/junit/src/org/junit/runners/model/
DFrameworkField.java21 return getField().getName(); in getName()
47 public Field getField() { in getField() method in FrameworkField
/external/icu4c/test/intltest/
Dpptest.cpp109 if (fp.getField() == 7) { in TestFieldPosition()
116 if (fpc.getField() == 7) { in TestFieldPosition()
123 if ( fph.getField() != 3) in TestFieldPosition()
Ddtfmtrtts.cpp405 if( ! hasEra && getField(d[0], UCAL_ERA) == GregorianCalendar::BC) in test()
419 && getField(d[0], UCAL_YEAR) in test()
420 != getField(d[dmatch], UCAL_YEAR) in test()
425 || getField(d[0], UCAL_MONTH) == UCAL_APRIL in test()
426 || getField(d[0], UCAL_MONTH) == UCAL_OCTOBER)) in test()
505 int32_t DateFormatRoundTripTest::getField(UDate d, int32_t f) { in getField() function in DateFormatRoundTripTest
/external/smack/src/org/jivesoftware/smackx/pubsub/
DSubscribeForm.java218 FormField formField = getField(field.getFieldName()); in getFieldValue()
225 FormField formField = getField(field.getFieldName()); in getFieldValues()
234 if (getField(fieldName) == null) in addField()
/external/javassist/src/main/javassist/tools/reflect/
DMetaobject.java161 return jc.getField(name).get(getObject()); in trapFieldRead()
181 jc.getField(name).set(getObject(), value); in trapFieldWrite()
/external/clang/include/clang/Sema/
DDesignator.h74 const IdentifierInfo *getField() const { in getField() function
126 static Designator getField(const IdentifierInfo *II, SourceLocation DotLoc, in getField() function
/external/javassist/src/main/javassist/compiler/
DNoFieldException.java34 public String getField() { return fieldName; } in getField() method in NoFieldException

1234