/dalvik/vm/ |
RawDexFile.h | 30 DvmDex* pDvmDex; 63 return pRawDexFile->pDvmDex;
|
DvmDex.cpp | 42 DvmDex* pDvmDex; 46 pDvmDex = (DvmDex*) calloc(1, sizeof(DvmDex)); 47 if (pDvmDex == NULL) 50 pDvmDex->pDexFile = pDexFile; 51 pDvmDex->pHeader = pDexFile->pHeader; 53 pHeader = pDvmDex->pHeader; 60 pDvmDex->pResStrings = (struct StringObject**) 63 pDvmDex->pResClasses = (struct ClassObject**) 66 pDvmDex->pResMethods = (struct Method**) 69 pDvmDex->pResFields = (struct Field** [all...] |
JarFile.h | 30 DvmDex* pDvmDex; 49 return pJarFile->pDvmDex;
|
JarFile.cpp | 197 DvmDex* pDvmDex = NULL; 329 if (dvmDexFileOpenFromFd(fd, &pDvmDex) != 0) { 349 (*ppJarFile)->pDvmDex = pDvmDex; 374 dvmDexFileFree(pJarFile->pDvmDex);
|
RawDexFile.cpp | 117 DvmDex* pDvmDex = NULL; 212 if (dvmDexFileOpenFromFd(optFd, &pDvmDex) != 0) { 231 (*ppRawDexFile)->pDvmDex = pDvmDex; 251 DvmDex* pDvmDex = NULL; 253 if (!dvmPrepareDexInMemory(pBytes, length, &pDvmDex)) { 257 assert(pDvmDex != NULL); 260 (*ppRawDexFile)->pDvmDex = pDvmDex; 273 dvmDexFileFree(pRawDexFile->pDvmDex); [all...] |
Exception.cpp | 614 DvmDex* pDvmDex = method->clazz->pDvmDex; 635 dvmDexGetResolvedClass(pDvmDex, handler->typeIdx); [all...] |
/dalvik/vm/oo/ |
Resolve.cpp | 66 DvmDex* pDvmDex = referrer->pDvmDex; 74 resClass = dvmDexGetResolvedClass(pDvmDex, classIdx); 90 className = dexStringByTypeIdx(pDvmDex->pDexFile, classIdx); 125 if (referrer->pDvmDex != resClassCheck->pDvmDex && 131 referrer->pDvmDex, 133 resClassCheck->classLoader, resClassCheck->pDvmDex); 144 resClass->descriptor, referrer->descriptor, referrer->pDvmDex, 154 dvmDexSetResolvedClass(pDvmDex, classIdx, resClass) [all...] |
Object.h | 368 DvmDex* pDvmDex;
|
Class.cpp | 176 DvmDex* pDvmDex); 177 static ClassObject* loadClassFromDex(DvmDex* pDvmDex, 520 DvmDex* pDvmDex = dvmGetJarFileDex(pJarFile); 521 dvmDumpAtomicCacheStats(pDvmDex->pInterfaceCache); 785 DvmDex* pDvmDex; 787 pDvmDex = dvmGetJarFileDex(pJarFile); 788 pClassDef = dexFindClass(pDvmDex->pDexFile, descriptor); 792 pFoundFile = pDvmDex; 801 DvmDex* pDvmDex; 803 pDvmDex = dvmGetRawDexFileDex(pRawDexFile) [all...] |
/dalvik/vm/compiler/codegen/arm/armv7-a-neon/ |
MethodCodegenDriver.cpp | 48 int pDvmDex = r9; 69 loadConstant(cUnit, pDvmDex, (int) cUnit->method->clazz->pDvmDex); 91 /* thread->methodClassDex = pDvmDex */ 93 pDvmDex);
|
/dalvik/vm/native/ |
dalvik_system_DexFile.cpp | 356 DvmDex* pDvmDex; 370 pDvmDex = dvmGetRawDexFileDex(pDexOrJar->pRawDexFile); 372 pDvmDex = dvmGetJarFileDex(pDexOrJar->pJarFile); 377 clazz = dvmDefineClass(pDvmDex, descriptor, loader); 416 DvmDex* pDvmDex; 418 pDvmDex = dvmGetRawDexFileDex(pDexOrJar->pRawDexFile); 420 pDvmDex = dvmGetJarFileDex(pDexOrJar->pJarFile); 421 assert(pDvmDex != NULL); 422 DexFile* pDexFile = pDvmDex->pDexFile;
|
/dalvik/vm/analysis/ |
DexVerify.cpp | 400 static bool checkNewInstance(const DvmDex* pDvmDex, u4 idx) 404 if (idx >= pDvmDex->pHeader->typeIdsSize) { 406 idx, pDvmDex->pHeader->typeIdsSize); 410 classDescriptor = dexStringByTypeIdx(pDvmDex->pDexFile, idx); 425 static bool checkNewArray(const DvmDex* pDvmDex, u4 idx) 429 if (idx >= pDvmDex->pHeader->typeIdsSize) { 431 idx, pDvmDex->pHeader->typeIdsSize); 435 classDescriptor = dexStringByTypeIdx(pDvmDex->pDexFile, idx); 461 static bool checkTypeIndex(const DvmDex* pDvmDex, u4 idx) 463 if (idx >= pDvmDex->pHeader->typeIdsSize) [all...] |
Optimize.cpp | 437 DvmDex* pDvmDex = meth->clazz->pDvmDex; 439 if (!pDvmDex->isMappedReadOnly) { 444 dvmDexChangeDex2(pDvmDex, ptr, newVal); 486 if (referrer->pDvmDex != resClass->pDvmDex) 518 DvmDex* pDvmDex = referrer->pDvmDex; 524 resClass = dvmDexGetResolvedClass(pDvmDex, classIdx); 526 const char* className = dexStringByTypeIdx(pDvmDex->pDexFile, classIdx) [all...] |
DexPrepare.cpp | 51 static bool loadAllClasses(DvmDex* pDvmDex); 606 DvmDex* pDvmDex = NULL; 609 if (dvmDexFileOpenPartial(dexAddr, dexLength, &pDvmDex) != 0) { 619 pRegMapBuilder = dvmGenerateRegisterMaps(pDvmDex); 626 DexHeader* pHeader = (DexHeader*)pDvmDex->pHeader; 629 dvmDexFileFree(pDvmDex); 799 DvmDex* pDvmDex = NULL; 811 if (dvmDexFileOpenPartial(addr, len, &pDvmDex) != 0) { 823 pClassLookup = dexCreateClassLookup(pDvmDex->pDexFile); 826 pDvmDex->pDexFile->pClassLookup = pClassLookup [all...] |
/dalvik/vm/interp/ |
Interp.cpp | 286 dvmDexChangeDex1(method->clazz->pDvmDex, (u1*)addr, 338 dvmDexChangeDex1(method->clazz->pDvmDex, (u1*)addr, 382 dvmDexChangeDex1(clazz->pDvmDex, (u1*)pBreak->addr, [all...] |