Home
last modified time | relevance | path

Searched refs:Field (Results 1 – 25 of 44) sorted by relevance

12

/dalvik/dx/src/com/android/dx/io/
DClassData.java20 private final Field[] staticFields;
21 private final Field[] instanceFields;
25 public ClassData(Field[] staticFields, Field[] instanceFields, in ClassData()
33 public Field[] getStaticFields() { in getStaticFields()
37 public Field[] getInstanceFields() { in getInstanceFields()
49 public Field[] allFields() { in allFields()
50 Field[] result = new Field[staticFields.length + instanceFields.length]; in allFields()
63 public static class Field { class in ClassData
67 public Field(int fieldIndex, int accessFlags) { in Field() method in ClassData.Field
/dalvik/dexgen/src/com/android/dexgen/rop/
DStdFieldList.java36 public Field get(int n) { in get()
37 return (Field) get0(n); in get()
46 public void set(int n, Field field) { in set()
DStdField.java28 public final class StdField extends StdMember implements Field {
47 public StdField(java.lang.reflect.Field field) { in StdField()
DFieldList.java47 public Field get(int n); in get()
DField.java24 public interface Field interface
/dalvik/dx/src/com/android/dx/cf/iface/
DStdFieldList.java36 public Field get(int n) { in get()
37 return (Field) get0(n); in get()
46 public void set(int n, Field field) { in set()
DFieldList.java47 public Field get(int n); in get()
DField.java24 public interface Field interface
DStdField.java28 public final class StdField extends StdMember implements Field {
/dalvik/tests/046-reflect/
Dexpected.txt36 Field name is string1
38 Field type is java.lang.String
49 Field name is superInt
51 Field type is int
62 Field name is superClassInt
64 Field type is int
67 Field name is staticDouble
69 Field type is double
74 Field name is constantString
76 Field type is java.lang.String
[all …]
/dalvik/vm/reflect/
DReflect.h68 Field* dvmSlotToField(ClassObject* clazz, int slot);
107 Field* dvmGetFieldFromReflectObj(Object* obj);
109 Object* dvmCreateReflectObjForField(const ClassObject* clazz, Field* field);
141 ArrayObject* dvmGetFieldAnnotations(const Field* field);
150 Object* dvmGetFieldAnnotation(const ClassObject* clazz, const Field* method,
159 bool dvmIsFieldAnnotationPresent(const ClassObject* clazz, const Field* method,
178 ArrayObject* dvmGetFieldSignatureAnnotation(const Field* field);
DReflect.cpp182 static int fieldToSlot(const Field* field, const ClassObject* clazz) in fieldToSlot()
201 Field* dvmSlotToField(ClassObject* clazz, int slot) in dvmSlotToField()
206 return (Field*)(void*)&clazz->sfields[slot]; in dvmSlotToField()
209 return (Field*)(void*)&clazz->ifields[slot]; in dvmSlotToField()
221 static Object* createFieldObject(Field* field, const ClassObject* clazz) in createFieldObject()
789 Field* field = &clazz->sfields[i]; in dvmGetDeclaredField()
797 Field* field = &clazz->ifields[i]; in dvmGetDeclaredField()
1189 Field* dvmGetFieldFromReflectObj(Object* obj) in dvmGetFieldFromReflectObj()
1241 Object* dvmCreateReflectObjForField(const ClassObject* clazz, Field* field) in dvmCreateReflectObjForField()
/dalvik/tests/035-enum/src/
DMain.java3 import java.lang.reflect.Field;
12 Field field; in main()
/dalvik/vm/native/
Djava_lang_reflect_Field.cpp58 static Field* validateFieldAccess(Object* obj, ClassObject* declaringClass, in validateFieldAccess()
61 Field* field; in validateFieldAccess()
266 static void getFieldValue(const Field* field, Object* obj, JValue* value) in getFieldValue()
422 static void setFieldValue(Field* field, Object* obj, const JValue* value) in setFieldValue()
442 Field* field; in Dalvik_java_lang_reflect_Field_getFieldModifiers()
463 Field* field; in Dalvik_java_lang_reflect_Field_getField()
499 Field* field; in Dalvik_java_lang_reflect_Field_setField()
533 const Field* field; in Dalvik_java_lang_reflect_Field_getPrimitiveField()
574 Field* field; in Dalvik_java_lang_reflect_Field_setPrimitiveField()
610 Field* field; in Dalvik_java_lang_reflect_Field_getDeclaredAnnotations()
[all …]
/dalvik/vm/oo/
DObject.h38 struct Field;
302 struct Field { struct
312 struct StaticField : Field { argument
319 struct InstField : Field {
651 Field* dvmFindFieldHier(const ClassObject* clazz, const char* fieldName,
718 INLINE bool dvmIsProtectedField(const Field* field) { in dvmIsProtectedField()
721 INLINE bool dvmIsStaticField(const Field* field) { in dvmIsStaticField()
724 INLINE bool dvmIsFinalField(const Field* field) { in dvmIsFinalField()
727 INLINE bool dvmIsVolatileField(const Field* field) { in dvmIsVolatileField()
DAccessCheck.h36 bool dvmCheckFieldAccess(const ClassObject* accessFrom, const Field* field);
DAccessCheck.cpp144 bool dvmCheckFieldAccess(const ClassObject* accessFrom, const Field* field) in dvmCheckFieldAccess()
DObject.cpp165 Field* dvmFindFieldHier(const ClassObject* clazz, const char* fieldName, in dvmFindFieldHier()
168 Field* pField; in dvmFindFieldHier()
174 pField = (Field*) dvmFindStaticField(clazz, fieldName, signature); in dvmFindFieldHier()
177 pField = (Field*) dvmFindInstanceField(clazz, fieldName, signature); in dvmFindFieldHier()
192 pField = (Field*) dvmFindStaticField(iface, fieldName, signature); in dvmFindFieldHier()
/dalvik/tests/064-field-access/src/
DMain.java19 import java.lang.reflect.Field;
51 public Object getValue(Field field, Object obj, char type, in getValue()
149 Field localPubByteField, localProtByteField, localProtObjectField, in doTests()
151 Field otherPubCharField, otherProtShortField, otherProtObjectField, in doTests()
153 Field subProtLongField; in doTests()
283 public Object getValue(Field field, Object obj, char type, in getValue()
/dalvik/vm/
DDvmDex.h55 struct Field** pResFields;
125 INLINE struct Field* dvmDexGetResolvedField(const DvmDex* pDvmDex, in dvmDexGetResolvedField()
155 struct Field* field) in dvmDexSetResolvedField()
DDvmDex.cpp52 fieldSize = pHeader->fieldIdsSize * sizeof(struct Field*); in allocateAuxStructures()
74 pDvmDex->pResFields = (struct Field**)blob; in allocateAuxStructures()
194 totalSize += pDvmDex->pHeader->fieldIdsSize * sizeof(struct Field*); in dvmDexFileFree()
DMisc.h161 struct Field;
162 std::string dvmHumanReadableField(const Field* field);
/dalvik/tests/067-preemptive-unpark/src/
DMain.java3 import java.lang.reflect.Field;
49 Field field = Unsafe.class.getDeclaredField("THE_ONE"); in setUp()
/dalvik/tests/004-annotations/src/android/test/anno/
DTestAnnotations.java5 import java.lang.reflect.Field;
60 for (Field f: clazz.getDeclaredFields()) { in printAnnotations()
103 Field field; in testArrays()
/dalvik/tests/031-class-attributes/src/
DClassAttrs.java5 import java.lang.reflect.Field;
61 Field field; in main()

12