/dalvik/vm/ |
D | LinearAlloc.h | 48 LinearAllocHdr* dvmLinearAllocCreate(Object* classLoader); 53 void dvmLinearAllocDestroy(Object* classLoader); 60 void* dvmLinearAlloc(Object* classLoader, size_t size); 69 void* dvmLinearRealloc(Object* classLoader, void* mem, size_t newSize); 72 void dvmLinearSetReadOnly(Object* classLoader, void* mem); 73 void dvmLinearSetReadWrite(Object* classLoader, void* mem); 80 INLINE void dvmLinearReadOnly(Object* classLoader, void* mem) in dvmLinearReadOnly() argument 83 dvmLinearSetReadOnly(classLoader, mem); in dvmLinearReadOnly() 89 INLINE void dvmLinearReadWrite(Object* classLoader, void* mem) in dvmLinearReadWrite() argument 92 dvmLinearSetReadWrite(classLoader, mem); in dvmLinearReadWrite() [all …]
|
D | LinearAlloc.c | 84 static void checkAllFree(Object* classLoader); 91 static inline LinearAllocHdr* getHeader(Object* classLoader) in getHeader() argument 108 LinearAllocHdr* dvmLinearAllocCreate(Object* classLoader) in dvmLinearAllocCreate() argument 226 void dvmLinearAllocDestroy(Object* classLoader) in dvmLinearAllocDestroy() argument 231 LinearAllocHdr* pHdr = getHeader(classLoader); in dvmLinearAllocDestroy() 235 checkAllFree(classLoader); in dvmLinearAllocDestroy() 242 classLoader, pHdr->curOffset, pHdr->mapLength, in dvmLinearAllocDestroy() 265 void* dvmLinearAlloc(Object* classLoader, size_t size) in dvmLinearAlloc() argument 267 LinearAllocHdr* pHdr = getHeader(classLoader); in dvmLinearAlloc() 275 LOGVV("--- LinearAlloc(%p, %d)\n", classLoader, size); in dvmLinearAlloc() [all …]
|
D | Native.c | 154 Object* classLoader; /* ClassLoader we are associated with */ member 319 bool dvmLoadNativeCode(const char* pathName, Object* classLoader, in dvmLoadNativeCode() argument 331 LOGD("Trying to load lib %s %p\n", pathName, classLoader); in dvmLoadNativeCode() 341 if (pEntry->classLoader != classLoader) { in dvmLoadNativeCode() 343 pathName, pEntry->classLoader, classLoader); in dvmLoadNativeCode() 348 pathName, classLoader); in dvmLoadNativeCode() 397 pNewEntry->classLoader = classLoader; in dvmLoadNativeCode() 407 pathName, classLoader); in dvmLoadNativeCode() 412 LOGD("Added shared lib %s %p\n", pathName, classLoader); in dvmLoadNativeCode() 421 pathName, classLoader); in dvmLoadNativeCode() [all …]
|
D | Native.h | 66 bool dvmLoadNativeCode(const char* fileName, Object* classLoader,
|
D | Debugger.c | 566 return objectToObjectId(clazz->classLoader); in dvmDbgGetClassLoader() 632 Object* classLoader; in dvmDbgGetVisibleClassList() local 635 classLoader = objectIdToObject(classLoaderId); in dvmDbgGetVisibleClassList() 638 LOGVV("GetVisibleList: comparing to %p\n", classLoader); in dvmDbgGetVisibleClassList() 655 if (clazz->classLoader == classLoader || in dvmDbgGetVisibleClassList() 656 dvmLoaderInInitiatingList(clazz, classLoader)) in dvmDbgGetVisibleClassList()
|
/dalvik/vm/oo/ |
D | Class.c | 209 get_process_name(), (int) clazz->classLoader, clazz->descriptor, in logClassLoadWithTime() 896 if (loader != clazz->classLoader) { in dvmAddInitiatingLoader() 967 (clazz->classLoader == pCrit->loader || in hashcmpClassByCrit() 988 (clazz->classLoader == addClazz->classLoader || in hashcmpClassByClass() 989 (addClazz->classLoader != NULL && in hashcmpClassByClass() 990 dvmLoaderInInitiatingList(clazz, addClazz->classLoader)) )); in hashcmpClassByClass() 1074 clazz->descriptor, clazz->classLoader, in dvmAddClassToHash() 1300 descriptor, clazz->classLoader, loader, clazz); in findClassFromLoaderNoInit() 1314 Object* classLoader) in dvmDefineClass() argument 1318 return findClassNoInit(descriptor, classLoader, pDvmDex); in dvmDefineClass() [all …]
|
D | Array.c | 113 arrayClass = dvmFindArrayClass(className, elemClassObj->classLoader); in dvmFindArrayClassForElement() 252 subArrayClass = dvmFindArrayClass(elemName, arrayClass->classLoader); in dvmAllocMultiArray() 397 if (loader != elementClass->classLoader) { in createArrayClass() 399 descriptor, loader, elementClass->classLoader); in createArrayClass() 400 newClass = dvmLookupClass(descriptor, elementClass->classLoader, false); in createArrayClass() 403 descriptor, elementClass->classLoader, loader); in createArrayClass() 436 offsetof(ClassObject, classLoader), in createArrayClass() 437 (Object *)elementClass->classLoader); in createArrayClass() 464 newClass->interfaces = (ClassObject**)dvmLinearAlloc(newClass->classLoader, in createArrayClass() 471 dvmLinearReadOnly(newClass->classLoader, newClass->interfaces); in createArrayClass() [all …]
|
D | AccessCheck.c | 46 if (class1->classLoader != class2->classLoader) in dvmInSamePackage()
|
D | Resolve.c | 79 classIdx, referrer->descriptor, referrer->classLoader); in dvmResolveClass() 95 resClass = dvmFindClassNoInit(className, referrer->classLoader); in dvmResolveClass() 126 resClassCheck->classLoader != NULL) in dvmResolveClass() 130 referrer->descriptor, referrer->classLoader, in dvmResolveClass() 133 resClassCheck->classLoader, resClassCheck->pDvmDex); in dvmResolveClass() 145 referrer->classLoader, classIdx); in dvmResolveClass() 406 ifieldIdx, referrer->descriptor, referrer->classLoader); in dvmResolveInstField()
|
D | Class.h | 104 Object* classLoader);
|
D | Object.h | 438 Object* classLoader; member
|
/dalvik/vm/hprof/ |
D | HprofClass.c | 50 hash = (u4)clazz->classLoader; in computeClassHash() 65 diff = (uintptr_t)c1->classLoader - (uintptr_t)c2->classLoader; in classCmp()
|
D | HprofHeap.c | 314 hprofAddIdToRecord(rec, (hprof_object_id)thisClass->classLoader); in hprofDumpHeapObject()
|
/dalvik/vm/native/ |
D | java_lang_Runtime.c | 74 Object* classLoader = (Object*) args[1]; in Dalvik_java_lang_Runtime_nativeLoad() local 83 success = dvmLoadNativeCode(fileName, classLoader, &reason); in Dalvik_java_lang_Runtime_nativeLoad()
|
D | dalvik_system_VMStack.c | 38 RETURN_PTR(clazz->classLoader); in Dalvik_dalvik_system_VMStack_getCallingClassLoader() 55 RETURN_PTR(clazz->classLoader); in Dalvik_dalvik_system_VMStack_getCallingClassLoader2()
|
D | java_lang_reflect_Array.c | 120 arrayClass = dvmFindArrayClass(acDescriptor, elementClass->classLoader); in Dalvik_java_lang_reflect_Array_createMultiArray()
|
D | InternalNative.c | 251 descriptor, doInit, clazz, clazz->classLoader); in dvmFindClassByName()
|
D | java_lang_Class.c | 142 RETURN_PTR(clazz->classLoader); in Dalvik_java_lang_Class_getClassLoader() 166 thisPtr->classLoader)); in Dalvik_java_lang_Class_getComponentType()
|
/dalvik/vm/reflect/ |
D | Proxy.c | 196 offsetof(ClassObject, classLoader), in dvmGenerateProxyClass() 206 newClass->directMethods = (Method*) dvmLinearAlloc(newClass->classLoader, in dvmGenerateProxyClass() 209 dvmLinearReadOnly(newClass->classLoader, newClass->directMethods); in dvmGenerateProxyClass() 215 newClass->virtualMethods = (Method*) dvmLinearAlloc(newClass->classLoader, in dvmGenerateProxyClass() 220 dvmLinearReadOnly(newClass->classLoader, newClass->virtualMethods); in dvmGenerateProxyClass() 228 newClass->interfaces = (ClassObject**)dvmLinearAlloc(newClass->classLoader, in dvmGenerateProxyClass() 232 dvmLinearReadOnly(newClass->classLoader, newClass->interfaces); in dvmGenerateProxyClass() 787 baseClass = dvmFindClass(baseSig, baseMethod->clazz->classLoader); in returnTypesAreCompatible() 788 subClass = dvmFindClass(subSig, subMethod->clazz->classLoader); in returnTypesAreCompatible()
|
D | Reflect.c | 206 clazz = dvmFindArrayClass(*pSignature, defClass->classLoader); in convertSignaturePartToClass() 215 clazz = dvmFindClassNoInit(*pSignature, defClass->classLoader); in convertSignaturePartToClass() 1151 return dvmFindClass(sig, meth->clazz->classLoader); in dvmGetBoxedReturnType()
|
D | Annotation.c | 657 methodReturn->classLoader); in convertReturnType()
|
/dalvik/vm/analysis/ |
D | Optimize.c | 362 assert(referrer->classLoader == NULL); in tweakLoader() 363 assert(resClass->classLoader == NULL); in tweakLoader() 370 resClass->classLoader = (Object*) 0xdead3333; in tweakLoader() 384 resClass->classLoader = NULL; in untweakLoader() 414 resClass = dvmFindClassNoInit(className, referrer->classLoader); in dvmOptResolveClass()
|
D | CodeVerify.c | 576 clazz = dvmFindClassNoInit(pDescriptor, meth->clazz->classLoader); in lookupClassByDescriptor() 608 meth->clazz->classLoader); in lookupClassByDescriptor() 1341 meth->clazz->classLoader); in getFieldClass() 3691 resClass->descriptor, resClass->classLoader, in verifyInstruction() 3692 declClass->descriptor, declClass->classLoader); in verifyInstruction() 4249 resClass->classLoader); in verifyInstruction() 4431 arrayClass->classLoader); in verifyInstruction()
|
/dalvik/vm/alloc/ |
D | VisitInlines.h | 105 (*visitor)(&classObj->classLoader, arg); in visitClassObject()
|
D | MarkSweep.c | 338 markObject(obj->classLoader, ctx); in scanClassObject()
|