Home
last modified time | relevance | path

Searched refs:classLoader (Results 1 – 25 of 28) sorted by relevance

12

/dalvik/vm/
DLinearAlloc.h48 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 …]
DLinearAlloc.c84 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 …]
DNative.c154 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 …]
DNative.h66 bool dvmLoadNativeCode(const char* fileName, Object* classLoader,
DDebugger.c566 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/
DClass.c209 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 …]
DArray.c113 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 …]
DAccessCheck.c46 if (class1->classLoader != class2->classLoader) in dvmInSamePackage()
DResolve.c79 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()
DClass.h104 Object* classLoader);
DObject.h438 Object* classLoader; member
/dalvik/vm/hprof/
DHprofClass.c50 hash = (u4)clazz->classLoader; in computeClassHash()
65 diff = (uintptr_t)c1->classLoader - (uintptr_t)c2->classLoader; in classCmp()
DHprofHeap.c314 hprofAddIdToRecord(rec, (hprof_object_id)thisClass->classLoader); in hprofDumpHeapObject()
/dalvik/vm/native/
Djava_lang_Runtime.c74 Object* classLoader = (Object*) args[1]; in Dalvik_java_lang_Runtime_nativeLoad() local
83 success = dvmLoadNativeCode(fileName, classLoader, &reason); in Dalvik_java_lang_Runtime_nativeLoad()
Ddalvik_system_VMStack.c38 RETURN_PTR(clazz->classLoader); in Dalvik_dalvik_system_VMStack_getCallingClassLoader()
55 RETURN_PTR(clazz->classLoader); in Dalvik_dalvik_system_VMStack_getCallingClassLoader2()
Djava_lang_reflect_Array.c120 arrayClass = dvmFindArrayClass(acDescriptor, elementClass->classLoader); in Dalvik_java_lang_reflect_Array_createMultiArray()
DInternalNative.c251 descriptor, doInit, clazz, clazz->classLoader); in dvmFindClassByName()
Djava_lang_Class.c142 RETURN_PTR(clazz->classLoader); in Dalvik_java_lang_Class_getClassLoader()
166 thisPtr->classLoader)); in Dalvik_java_lang_Class_getComponentType()
/dalvik/vm/reflect/
DProxy.c196 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()
DReflect.c206 clazz = dvmFindArrayClass(*pSignature, defClass->classLoader); in convertSignaturePartToClass()
215 clazz = dvmFindClassNoInit(*pSignature, defClass->classLoader); in convertSignaturePartToClass()
1151 return dvmFindClass(sig, meth->clazz->classLoader); in dvmGetBoxedReturnType()
DAnnotation.c657 methodReturn->classLoader); in convertReturnType()
/dalvik/vm/analysis/
DOptimize.c362 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()
DCodeVerify.c576 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/
DVisitInlines.h105 (*visitor)(&classObj->classLoader, arg); in visitClassObject()
DMarkSweep.c338 markObject(obj->classLoader, ctx); in scanClassObject()

12