/dalvik/vm/oo/ |
TypeCheck.h | 28 extern "C" int dvmInstanceofNonTrivial(const ClassObject* instance, 29 const ClassObject* clazz); 36 INLINE int dvmInstanceof(const ClassObject* instance, const ClassObject* clazz) 51 int dvmImplements(const ClassObject* clazz, const ClassObject* interface); 58 INLINE int dvmIsSubClass(const ClassObject* sub, const ClassObject* clazz) { 75 extern "C" bool dvmCanPutArrayElement(const ClassObject* elemClass, 76 const ClassObject* arrayClass) [all...] |
AccessCheck.h | 25 bool dvmCheckClassAccess(const ClassObject* accessFrom, 26 const ClassObject* clazz); 31 bool dvmCheckMethodAccess(const ClassObject* accessFrom, const Method* method); 36 bool dvmCheckFieldAccess(const ClassObject* accessFrom, const Field* field); 41 bool dvmInSamePackage(const ClassObject* class1, const ClassObject* class2);
|
Resolve.h | 46 extern "C" ClassObject* dvmResolveClass(const ClassObject* referrer, 58 extern "C" Method* dvmResolveMethod(const ClassObject* referrer, u4 methodIdx, 66 Method* dvmResolveInterfaceMethod(const ClassObject* referrer, u4 methodIdx); 73 extern "C" InstField* dvmResolveInstField(const ClassObject* referrer, 83 extern "C" StaticField* dvmResolveStaticField(const ClassObject* referrer, 91 extern "C" StringObject* dvmResolveString(const ClassObject* referrer, u4 stringIdx);
|
Array.h | 30 ClassObject* dvmFindArrayClass(const char* descriptor, Object* loader); 36 ClassObject* dvmFindArrayClassForElement(ClassObject* elemClassObj); 44 extern "C" ArrayObject* dvmAllocArrayByClass(ClassObject* arrayClass, 66 ArrayObject* dvmAllocMultiArray(ClassObject* arrayClass, int curDim, 84 INLINE bool dvmIsObjectArrayClass(const ClassObject* clazz) 107 INLINE bool dvmIsArrayClass(const ClassObject* clazz) 119 ClassObject* dstElemClass); 127 ClassObject* dstElemClass); 138 size_t dvmArrayClassElementWidth(const ClassObject* clazz) [all...] |
Class.h | 69 void dvmSetClassSerialNumber(ClassObject* clazz); 76 ClassObject* dvmFindPrimitiveClass(char type); 84 ClassObject* dvmFindClass(const char* descriptor, Object* loader); 85 ClassObject* dvmFindClassNoInit(const char* descriptor, Object* loader); 90 ClassObject* dvmFindSystemClass(const char* descriptor); 91 ClassObject* dvmFindSystemClassNoInit(const char* descriptor); 103 ClassObject* dvmFindLoadedClass(const char* descriptor); 110 ClassObject* dvmDefineClass(DvmDex* pDvmDex, const char* descriptor, 118 bool dvmLinkClass(ClassObject* clazz); 123 INLINE bool dvmIsClassInitialized(const ClassObject* clazz) [all...] |
AccessCheck.cpp | 39 bool dvmInSamePackage(const ClassObject* class1, const ClassObject* class2) 88 static bool checkAccess(const ClassObject* accessFrom, 89 const ClassObject* accessTo, u4 accessFlags) 125 bool dvmCheckClassAccess(const ClassObject* accessFrom, 126 const ClassObject* clazz) 136 bool dvmCheckMethodAccess(const ClassObject* accessFrom, const Method* method) 144 bool dvmCheckFieldAccess(const ClassObject* accessFrom, const Field* field)
|
Object.h | 30 struct ClassObject; 138 * Definitions for packing refOffsets in ClassObject. 177 * Used for iftable in ClassObject. 181 ClassObject* clazz; 206 ClassObject* clazz; 217 * void DVM_OBJECT_INIT(Object *obj, ClassObject *clazz_) 299 ClassObject* clazz; /* class in which the field is declared */ 348 struct ClassObject : Object { 372 ClassObject* verifyErrorClass; 385 ClassObject* elementClass [all...] |
TypeCheck.cpp | 81 static int isArrayInstanceOfArray(const ClassObject* subElemClass, int subDim, 82 const ClassObject* clazz) 137 static int isArrayInstanceOf(const ClassObject* sub, const ClassObject* clazz) 170 int dvmImplements(const ClassObject* clazz, const ClassObject* interface) 197 bool dvmCanPutArrayElement(const ClassObject* objectClass, 198 const ClassObject* arrayClass) 224 static inline int isInstanceof(const ClassObject* instance, 225 const ClassObject* clazz [all...] |
/dalvik/vm/reflect/ |
Reflect.h | 32 ArrayObject* dvmGetDeclaredFields(ClassObject* clazz, bool publicOnly); 37 Object* dvmGetDeclaredField(ClassObject* clazz, StringObject* nameObj); 42 ArrayObject* dvmGetDeclaredConstructors(ClassObject* clazz, bool publicOnly); 51 ArrayObject* dvmGetDeclaredMethods(ClassObject* clazz, bool publicOnly); 56 Object* dvmGetDeclaredConstructorOrMethod(ClassObject* clazz, 63 ArrayObject* dvmGetInterfaces(ClassObject* clazz); 68 Field* dvmSlotToField(ClassObject* clazz, int slot); 69 Method* dvmSlotToMethod(ClassObject* clazz, int slot); 83 int dvmConvertArgument(DataObject* arg, ClassObject* type, s4* ins); 89 DataObject* dvmBoxPrimitive(JValue value, ClassObject* returnType) [all...] |
Proxy.cpp | 39 static void createConstructor(ClassObject* clazz, Method* meth); 40 static void createHandlerMethod(ClassObject* clazz, Method* dstMeth, 66 ClassObject* dvmGenerateProxyClass(StringObject* str, ArrayObject* interfaces, 69 ClassObject* result = NULL; 106 sizeof(ClassObject) + kProxySFieldCount * sizeof(StaticField); 107 ClassObject* newClass = 108 (ClassObject*) dvmMalloc(newClassSize, ALLOC_NON_MOVING); 117 OFFSETOF_MEMBER(ClassObject, super), 121 OFFSETOF_MEMBER(ClassObject, classLoader), 161 ClassObject** ifArray = (ClassObject**)(void*)interfaces->contents [all...] |
/dalvik/vm/analysis/ |
Optimize.h | 26 void dvmOptimizeClass(ClassObject* clazz, bool essentialOnly); 37 ClassObject* dvmOptResolveClass(ClassObject* referrer, u4 classIdx, 39 Method* dvmOptResolveMethod(ClassObject* referrer, u4 methodIdx, 41 Method* dvmOptResolveInterfaceMethod(ClassObject* referrer, u4 methodIdx); 42 InstField* dvmOptResolveInstField(ClassObject* referrer, u4 ifieldIdx, 44 StaticField* dvmOptResolveStaticField(ClassObject* referrer, u4 sfieldIdx,
|
/dalvik/vm/ |
Globals.h | 186 * Loaded classes, hashed by class name. Each entry is a ClassObject*, 225 ClassObject* classJavaLangClass; 228 ClassObject* typeVoid; 229 ClassObject* typeBoolean; 230 ClassObject* typeByte; 231 ClassObject* typeShort; 232 ClassObject* typeChar; 233 ClassObject* typeInt; 234 ClassObject* typeLong; 235 ClassObject* typeFloat [all...] |
/dalvik/vm/native/ |
java_lang_reflect_Method.cpp | 33 ClassObject* declaringClass = (ClassObject*) args[0]; 53 ClassObject* declaringClass = (ClassObject*) args[3]; 55 ClassObject* returnType = (ClassObject*) args[5]; 123 ClassObject* declaringClass = (ClassObject*) args[0]; 142 ClassObject* clazz = (ClassObject*) args[0] [all...] |
java_lang_Class.cpp | 34 ClassObject* thisPtr = (ClassObject*) args[0]; 140 ClassObject* clazz = (ClassObject*) args[0]; 154 ClassObject* thisPtr = (ClassObject*) args[0]; 182 ClassObject* clazz = (ClassObject*) args[0]; 195 ClassObject** pSource = (ClassObject**)(void*)classes->contents [all...] |
java_lang_reflect_Array.cpp | 33 ClassObject* elementClass = (ClassObject*) args[0]; 42 ClassObject* arrayClass = 69 ClassObject* elementClass = (ClassObject*) args[0]; 71 ClassObject* arrayClass;
|
java_lang_reflect_AccessibleObject.cpp | 33 ClassObject* clazz = (ClassObject*) args[0];
|
java_lang_reflect_Field.cpp | 58 static Field* validateFieldAccess(Object* obj, ClassObject* declaringClass, 73 ClassObject* callerClass = 440 ClassObject* declaringClass = (ClassObject*) args[1]; 459 ClassObject* declaringClass = (ClassObject*) args[2]; 460 ClassObject* fieldType = (ClassObject*) args[3]; 494 ClassObject* declaringClass = (ClassObject*) args[2] [all...] |
/dalvik/vm/mterp/c/ |
OP_CONST_CLASS.cpp | 3 ClassObject* clazz;
|
OP_CHECK_CAST.cpp | 3 ClassObject* clazz;
|
OP_INSTANCE_OF.cpp | 3 ClassObject* clazz;
|
OP_IPUT_OBJECT.cpp | 8 * To make this spec-complaint, we'd need to add a ClassObject pointer to
|
/dalvik/vm/compiler/codegen/arm/ |
CalloutHelper.h | 70 bool dvmCanPutArrayElement(const ClassObject* elemClass, // OP_APUT_OBJECT 71 const ClassObject* arrayClass); 72 int dvmInstanceofNonTrivial(const ClassObject* instance, // OP_CHECK_CAST && 73 const ClassObject* clazz); // OP_INSTANCE_OF 76 ArrayObject* dvmAllocArrayByClass(ClassObject* arrayClass, // OP_NEW_ARRAY 87 const ClassObject *clazz); 95 * INLINE Method* dvmFindInterfaceMethodInCache(ClassObject* thisClass, 100 Object* dvmAllocObject(ClassObject* clazz, int flags); // OP_NEW_INSTANCE
|
/dalvik/vm/compiler/codegen/mips/ |
CalloutHelper.h | 67 bool dvmCanPutArrayElement(const ClassObject* elemClass, // OP_APUT_OBJECT 68 const ClassObject* arrayClass); 69 int dvmInstanceofNonTrivial(const ClassObject* instance, // OP_CHECK_CAST && 70 const ClassObject* clazz); // OP_INSTANCE_OF 73 ArrayObject* dvmAllocArrayByClass(ClassObject* arrayClass, // OP_NEW_ARRAY 84 const ClassObject *clazz); 92 * INLINE Method* dvmFindInterfaceMethodInCache(ClassObject* thisClass, 97 Object* dvmAllocObject(ClassObject* clazz, int flags); // OP_NEW_INSTANCE
|
/dalvik/vm/hprof/ |
HprofClass.cpp | 40 static u4 computeClassHash(const ClassObject *clazz) 57 const ClassObject *c1 = (const ClassObject *)v1; 58 const ClassObject *c2 = (const ClassObject *)v2; 73 hprof_class_object_id hprofLookupClassId(const ClassObject *clazz) 119 const ClassObject *clazz; 121 clazz = (const ClassObject *)dvmHashIterData(&iter);
|
/dalvik/vm/mterp/common/ |
asm-constants.h | 243 /* ClassObject fields */ 244 MTERP_OFFSET(offClassObject_descriptor, ClassObject, descriptor, 24) 245 MTERP_OFFSET(offClassObject_accessFlags, ClassObject, accessFlags, 32) 246 MTERP_OFFSET(offClassObject_pDvmDex, ClassObject, pDvmDex, 40) 247 MTERP_OFFSET(offClassObject_status, ClassObject, status, 44) 248 MTERP_OFFSET(offClassObject_super, ClassObject, super, 72) 249 MTERP_OFFSET(offClassObject_vtableCount, ClassObject, vtableCount, 112) 250 MTERP_OFFSET(offClassObject_vtable, ClassObject, vtable, 116) 286 /* ClassObject constants */
|