/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.cpp | 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)", classLoader, size); in dvmLinearAlloc() [all …]
|
D | Native.cpp | 153 Object* classLoader; /* ClassLoader we are associated with */ member 318 bool dvmLoadNativeCode(const char* pathName, Object* classLoader, in dvmLoadNativeCode() argument 330 ALOGD("Trying to load lib %s %p", pathName, classLoader); in dvmLoadNativeCode() 340 if (pEntry->classLoader != classLoader) { in dvmLoadNativeCode() 342 pathName, pEntry->classLoader, classLoader); in dvmLoadNativeCode() 347 pathName, classLoader); in dvmLoadNativeCode() 397 pNewEntry->classLoader = classLoader; in dvmLoadNativeCode() 407 pathName, classLoader); in dvmLoadNativeCode() 412 ALOGD("Added shared lib %s %p", pathName, classLoader); in dvmLoadNativeCode() 420 ALOGD("No JNI_OnLoad found in %s %p, skipping init", pathName, classLoader); in dvmLoadNativeCode() [all …]
|
D | Native.h | 65 bool dvmLoadNativeCode(const char* fileName, Object* classLoader,
|
D | Debugger.cpp | 542 return objectToObjectId(clazz->classLoader); in dvmDbgGetClassLoader() 609 Object* classLoader; in dvmDbgGetVisibleClassList() local 612 classLoader = objectIdToObject(classLoaderId); in dvmDbgGetVisibleClassList() 615 LOGVV("GetVisibleList: comparing to %p", classLoader); in dvmDbgGetVisibleClassList() 632 if (clazz->classLoader == classLoader || in dvmDbgGetVisibleClassList() 633 dvmLoaderInInitiatingList(clazz, classLoader)) in dvmDbgGetVisibleClassList()
|
/dalvik/vm/oo/ |
D | Class.cpp | 209 get_process_name(), (int) clazz->classLoader, clazz->descriptor, in logClassLoadWithTime() 1004 if (loader != clazz->classLoader) { in dvmAddInitiatingLoader() 1075 (clazz->classLoader == pCrit->loader || in hashcmpClassByCrit() 1096 (clazz->classLoader == addClazz->classLoader || in hashcmpClassByClass() 1097 (addClazz->classLoader != NULL && in hashcmpClassByClass() 1098 dvmLoaderInInitiatingList(clazz, addClazz->classLoader)) )); in hashcmpClassByClass() 1182 clazz->descriptor, clazz->classLoader, in dvmAddClassToHash() 1400 descriptor, clazz->classLoader, loader, clazz); in findClassFromLoaderNoInit() 1414 Object* classLoader) in dvmDefineClass() argument 1418 return findClassNoInit(descriptor, classLoader, pDvmDex); in dvmDefineClass() [all …]
|
D | Array.cpp | 103 arrayClass = dvmFindArrayClass(className, elemClassObj->classLoader); in dvmFindArrayClassForElement() 198 subArrayClass = dvmFindArrayClass(elemName, arrayClass->classLoader); in dvmAllocMultiArray() 343 if (loader != elementClass->classLoader) { in createArrayClass() 345 descriptor, loader, elementClass->classLoader); in createArrayClass() 346 newClass = dvmLookupClass(descriptor, elementClass->classLoader, false); in createArrayClass() 349 descriptor, elementClass->classLoader, loader); in createArrayClass() 382 OFFSETOF_MEMBER(ClassObject, classLoader), in createArrayClass() 383 (Object *)elementClass->classLoader); in createArrayClass() 407 newClass->interfaces = (ClassObject**)dvmLinearAlloc(newClass->classLoader, in createArrayClass() 414 dvmLinearReadOnly(newClass->classLoader, newClass->interfaces); in createArrayClass() [all …]
|
D | Resolve.cpp | 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() 397 ifieldIdx, referrer->descriptor, referrer->classLoader); in dvmResolveInstField()
|
D | AccessCheck.cpp | 46 if (class1->classLoader != class2->classLoader) in dvmInSamePackage()
|
D | Class.h | 111 Object* classLoader);
|
D | Object.h | 397 Object* classLoader; member
|
/dalvik/vm/hprof/ |
D | HprofClass.cpp | 47 hash = (u4)clazz->classLoader; in computeClassHash() 61 diff = (uintptr_t)c1->classLoader - (uintptr_t)c2->classLoader; in classCmp()
|
D | HprofHeap.cpp | 290 hprofAddIdToRecord(rec, (hprof_object_id)thisClass->classLoader); in hprofDumpHeapObject()
|
/dalvik/vm/native/ |
D | java_lang_Runtime.cpp | 74 Object* classLoader = (Object*) args[1]; in Dalvik_java_lang_Runtime_nativeLoad() local 95 bool success = dvmLoadNativeCode(fileName, classLoader, &reason); in Dalvik_java_lang_Runtime_nativeLoad()
|
D | java_lang_reflect_Array.cpp | 121 arrayClass = dvmFindArrayClass(acDescriptor, elementClass->classLoader); in Dalvik_java_lang_reflect_Array_createMultiArray()
|
D | InternalNative.cpp | 221 descriptor, doInit, clazz, clazz->classLoader); in dvmFindClassByName()
|
D | dalvik_system_VMStack.cpp | 39 RETURN_PTR(clazz->classLoader); in Dalvik_dalvik_system_VMStack_getCallingClassLoader()
|
D | java_lang_Class.cpp | 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.cpp | 121 OFFSETOF_MEMBER(ClassObject, classLoader), in dvmGenerateProxyClass() 128 newClass->directMethods = (Method*) dvmLinearAlloc(newClass->classLoader, in dvmGenerateProxyClass() 131 dvmLinearReadOnly(newClass->classLoader, newClass->directMethods); in dvmGenerateProxyClass() 148 (Method*)dvmLinearAlloc(newClass->classLoader, virtualMethodsSize); in dvmGenerateProxyClass() 153 dvmLinearReadOnly(newClass->classLoader, newClass->virtualMethods); in dvmGenerateProxyClass() 165 (ClassObject**)dvmLinearAlloc(newClass->classLoader, interfacesSize); in dvmGenerateProxyClass() 168 dvmLinearReadOnly(newClass->classLoader, newClass->interfaces); in dvmGenerateProxyClass() 724 baseClass = dvmFindClass(baseSig, baseMethod->clazz->classLoader); in returnTypesAreCompatible() 725 subClass = dvmFindClass(subSig, subMethod->clazz->classLoader); in returnTypesAreCompatible()
|
D | Reflect.cpp | 94 clazz = dvmFindArrayClass(*pSignature, defClass->classLoader); in convertSignaturePartToClass() 103 clazz = dvmFindClassNoInit(*pSignature, defClass->classLoader); in convertSignaturePartToClass() 1176 return dvmFindClass(sig, meth->clazz->classLoader); in dvmGetBoxedReturnType()
|
/dalvik/vm/analysis/ |
D | Optimize.cpp | 402 assert(referrer->classLoader == NULL); in tweakLoader() 403 assert(resClass->classLoader == NULL); in tweakLoader() 410 resClass->classLoader = (Object*) 0xdead3333; in tweakLoader() 424 resClass->classLoader = NULL; in untweakLoader() 454 resClass = dvmFindClassNoInit(className, referrer->classLoader); in dvmOptResolveClass()
|
/dalvik/vm/alloc/ |
D | VisitInlines.h | 99 (*visitor)(&asClass->classLoader, arg); in visitClassObject()
|
/dalvik/vm/compiler/ |
D | CompilerIR.h | 123 Object *classLoader; member
|
D | Compiler.h | 127 Object *classLoader; /* Class loader */ member
|
/dalvik/vm/compiler/codegen/x86/ |
D | CodegenInterface.cpp | 121 workOrder->classLoader); in dvmCompilerPatchInlineCache() 380 gDvmJit.compilerICPatchQueue[index].classLoader = clazz->classLoader; in inlineCachePatchEnqueue()
|