/dalvik/vm/oo/ |
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);
|
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...] |
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);
|
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...] |
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...] |
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...] |
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; 142 * Definitions for packing refOffsets in ClassObject. 181 * Used for iftable in ClassObject. 185 ClassObject* clazz; 210 ClassObject* clazz; 221 * void DVM_OBJECT_INIT(Object *obj, ClassObject *clazz_) 303 ClassObject* clazz; /* class in which the field is declared */ 350 struct ClassObject : Object { 374 ClassObject* verifyErrorClass; 387 ClassObject* elementClass [all...] |
Array.cpp | 28 static ClassObject* createArrayClass(const char* descriptor, Object* loader); 38 static ArrayObject* allocArray(ClassObject* arrayClass, size_t length, 71 ArrayObject* dvmAllocArrayByClass(ClassObject* arrayClass, 91 ClassObject* dvmFindArrayClassForElement(ClassObject* elemClassObj) 93 ClassObject* arrayClass; 116 ClassObject* arrayClass; 171 ArrayObject* dvmAllocMultiArray(ClassObject* arrayClass, int curDim, 194 ClassObject* subArrayClass; 243 ClassObject* dvmFindArrayClass(const char* descriptor, Object* loader [all...] |
/dalvik/vm/ |
Globals.h | 179 * Loaded classes, hashed by class name. Each entry is a ClassObject*, 218 ClassObject* classJavaLangClass; 221 ClassObject* typeVoid; 222 ClassObject* typeBoolean; 223 ClassObject* typeByte; 224 ClassObject* typeShort; 225 ClassObject* typeChar; 226 ClassObject* typeInt; 227 ClassObject* typeLong; 228 ClassObject* typeFloat [all...] |
Exception.h | 41 void dvmThrowChainedException(ClassObject* exceptionClass, 43 INLINE void dvmThrowException(ClassObject* exceptionClass, 52 void dvmThrowExceptionFmtV(ClassObject* exceptionClass, 54 void dvmThrowExceptionFmt(ClassObject* exceptionClass, 60 INLINE void dvmThrowExceptionFmt(ClassObject* exceptionClass, 75 ClassObject* exceptionClass, const char* messageDescriptor, 83 ClassObject* exceptionClass, const char* messageDescriptor) 228 extern "C" void dvmThrowArrayStoreExceptionIncompatibleElement(ClassObject* objectType, ClassObject* arrayType); 235 void dvmThrowArrayStoreExceptionNotArray(ClassObject* actual, const char* label) [all...] |
AllocTracker.h | 46 void dvmDoTrackAllocation(ClassObject* clazz, size_t size);
|
Init.h | 59 bool dvmFindReferenceMembers(ClassObject* classReference);
|
/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/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...] |
/dalvik/vm/compiler/codegen/x86/ |
CalloutHelper.h | 37 bool dvmCanPutArrayElement(const ClassObject* elemClass, // OP_APUT_OBJECT 38 const ClassObject* arrayClass); 39 int dvmInstanceofNonTrivial(const ClassObject* instance, // OP_CHECK_CAST && 40 const ClassObject* clazz); // OP_INSTANCE_OF 43 ArrayObject* dvmAllocArrayByClass(ClassObject* arrayClass, // OP_NEW_ARRAY 51 Object* dvmAllocObject(ClassObject* clazz, int flags); // OP_NEW_INSTANCE
|
/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_reflect_AccessibleObject.cpp | 33 ClassObject* clazz = (ClassObject*) args[0];
|
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_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...] |
java_lang_reflect_Proxy.cpp | 37 ClassObject* result;
|
/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); 102 * INLINE Method* dvmFindInterfaceMethodInCache(ClassObject* thisClass, 107 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/alloc/ |
Alloc.h | 64 extern "C" Object* dvmAllocObject(ClassObject* clazz, int flags); 130 size_t dvmCountInstancesOfClass(const ClassObject *clazz); 135 size_t dvmCountAssignableInstancesOfClass(const ClassObject *clazz);
|
/dalvik/vm/mterp/common/ |
FindInterface.h | 29 INLINE Method* dvmFindInterfaceMethodInCache(ClassObject* thisClass,
|