/dalvik/libdex/ |
DexOptData.h | 32 * @param pDexFile pointer to the associated dex file structure 34 bool dexParseOptData(const u1* data, size_t length, DexFile* pDexFile);
|
DexFile.h | 584 void dexFileFree(DexFile* pDexFile); 589 DexClassLookup* dexCreateClassLookup(DexFile* pDexFile); 600 void dexFileSetupBasicPointers(DexFile* pDexFile, const u1* data); 603 DEX_INLINE const DexMapList* dexGetMap(const DexFile* pDexFile) { 604 u4 mapOff = pDexFile->pHeader->mapOff; 609 return (const DexMapList*) (pDexFile->baseAddr + mapOff); 614 DEX_INLINE const char* dexGetStringData(const DexFile* pDexFile, 616 const u1* ptr = pDexFile->baseAddr + pStringId->stringDataOff; 624 DEX_INLINE const DexStringId* dexGetStringId(const DexFile* pDexFile, u4 idx) { 625 assert(idx < pDexFile->pHeader->stringIdsSize) [all...] |
DexFile.cpp | 105 const char* dexStringAndSizeById(const DexFile* pDexFile, u4 idx, 107 const DexStringId* pStringId = dexGetStringId(pDexFile, idx); 108 const u1* ptr = pDexFile->baseAddr + pStringId->stringDataOff; 177 static void classLookupAdd(DexFile* pDexFile, DexClassLookup* pLookup, 181 (const char*) (pDexFile->baseAddr + stringOff); 183 (const DexClassDef*) (pDexFile->baseAddr + classDefOff); 211 DexClassLookup* dexCreateClassLookup(DexFile* pDexFile) 220 assert(pDexFile != NULL); 229 numEntries = dexRoundUpPower2(pDexFile->pHeader->classDefsSize * 2); 239 for (i = 0; i < (int)pDexFile->pHeader->classDefsSize; i++) [all...] |
DexProto.h | 88 const DexFile* pDexFile, const DexMethodId* pMethodId) 90 pProto->dexFile = pDexFile; 123 DEX_INLINE const char* dexGetDescriptorFromMethodId(const DexFile* pDexFile, 128 dexProtoSetFromMethodId(&proto, pDexFile, pMethodId); 137 DEX_INLINE char* dexCopyDescriptorFromMethodId(const DexFile* pDexFile, 142 dexProtoSetFromMethodId(&proto, pDexFile, pMethodId);
|
DexDebugInfo.cpp | 84 static const char* readStringIdx(const DexFile* pDexFile, 92 return dexStringById(pDexFile, stringIdx - 1); 100 static const char* readTypeIdx(const DexFile* pDexFile, 108 return dexStringByTypeIdx(pDexFile, typeIdx - 1); 142 const DexFile* pDexFile, 152 DexProto proto = { pDexFile, protoIdx }; 189 name = readStringIdx(pDexFile, &stream); 239 localInReg[reg].name = readStringIdx(pDexFile, &stream); 240 localInReg[reg].descriptor = readTypeIdx(pDexFile, &stream); 243 = readStringIdx(pDexFile, &stream) [all...] |
DexDebugInfo.h | 47 const DexFile* pDexFile,
|
DexOptData.cpp | 49 bool dexParseOptData(const u1* data, size_t length, DexFile* pDexFile) 51 const void* pOptStart = data + pDexFile->pOptHeader->optOffset; 109 pDexFile->pClassLookup = (const DexClassLookup*) pOptData; 113 pDexFile->pRegisterMapPool = pOptData;
|
DexClass.h | 109 DEX_INLINE const DexCode* dexGetCode(const DexFile* pDexFile, 114 return (const DexCode*) (pDexFile->baseAddr + pDexMethod->codeOff);
|
DexSwapVerify.cpp | 77 const DexFile* pDexFile; // set after intraitem verification 235 const DexFieldId* field = dexGetFieldId(state->pDexFile, fieldIdx); 242 const DexMethodId* meth = dexGetMethodId(state->pDexFile, methodIdx); 568 const char* s0 = dexGetStringData(state->pDexFile, item0); 569 const char* s1 = dexGetStringData(state->pDexFile, item); 593 dexStringById(state->pDexFile, item->descriptorIdx); 674 dexStringById(state->pDexFile, item->shortyIdx); 682 dexStringByTypeIdx(state->pDexFile, item->returnTypeIdx), 687 u4 protoIdx = item - state->pDexFile->pProtoIds; 688 DexProto proto = { state->pDexFile, protoIdx } [all...] |
/dalvik/vm/ |
DvmDex.cpp | 40 static DvmDex* allocateAuxStructures(DexFile* pDexFile) 50 pDvmDex->pDexFile = pDexFile; 51 pDvmDex->pHeader = pDexFile->pHeader; 106 DexFile* pDexFile; 124 pDexFile = dexFileParse((u1*)memMap.addr, memMap.length, parseFlags); 125 if (pDexFile == NULL) { 131 pDvmDex = allocateAuxStructures(pDexFile); 133 dexFileFree(pDexFile); 159 DexFile* pDexFile; [all...] |
DvmDex.h | 39 DexFile* pDexFile; 41 /* clone of pDexFile->pHeader (it's used frequently enough) */
|
Debugger.cpp | [all...] |
/dalvik/dexdump/ |
DexDump.cpp | 392 void dumpFileHeader(const DexFile* pDexFile) 394 const DexOptHeader* pOptHeader = pDexFile->pOptHeader; 395 const DexHeader* pHeader = pDexFile->pHeader; 456 void dumpOptDirectory(const DexFile* pDexFile) 458 const DexOptHeader* pOptHeader = pDexFile->pOptHeader; 505 void dumpClassDef(DexFile* pDexFile, int idx) 511 pClassDef = dexGetClassDef(pDexFile, idx); 512 pEncodedData = dexGetClassData(pDexFile, pClassDef); 546 void dumpInterface(const DexFile* pDexFile, const DexTypeItem* pTypeItem, 550 dexStringByTypeIdx(pDexFile, pTypeItem->typeIdx) [all...] |
/dalvik/dexlist/ |
DexList.cpp | 94 void dumpMethod(DexFile* pDexFile, const char* fileName, 107 pMethodId = dexGetMethodId(pDexFile, pDexMethod->methodIdx); 108 methodName = dexStringById(pDexFile, pMethodId->nameIdx); 110 classDescriptor = dexStringByTypeIdx(pDexFile, pMethodId->classIdx); 112 pCode = dexGetCode(pDexFile, pDexMethod); 128 dexDecodeDebugInfo(pDexFile, pCode, classDescriptor, pMethodId->protoIdx, 132 char* desc = dexCopyDescriptorFromMethodId(pDexFile, pMethodId); 155 void dumpClass(DexFile* pDexFile, int idx) 163 pClassDef = dexGetClassDef(pDexFile, idx); 164 pEncodedData = dexGetClassData(pDexFile, pClassDef) [all...] |
/dalvik/vm/oo/ |
Resolve.cpp | 90 className = dexStringByTypeIdx(pDvmDex->pDexFile, classIdx); 158 dexStringByTypeIdx(pDvmDex->pDexFile, classIdx)); 188 pMethodId = dexGetMethodId(pDvmDex->pDexFile, methodIdx); 203 const char* name = dexStringById(pDvmDex->pDexFile, pMethodId->nameIdx); 205 dexProtoSetFromMethodId(&proto, pDvmDex->pDexFile, pMethodId); 292 pMethodId = dexGetMethodId(pDvmDex->pDexFile, methodIdx); 331 dexStringById(pDvmDex->pDexFile, pMethodId->nameIdx); 334 dexProtoSetFromMethodId(&proto, pDvmDex->pDexFile, pMethodId); 392 pFieldId = dexGetFieldId(pDvmDex->pDexFile, ifieldIdx); 404 dexStringById(pDvmDex->pDexFile, pFieldId->nameIdx) [all...] |
Class.cpp | 788 pClassDef = dexFindClass(pDvmDex->pDexFile, descriptor); 804 pClassDef = dexFindClass(pDvmDex->pDexFile, descriptor); 835 dexFindClass(gDvm.bootClassPathOptExtra->pDexFile, descriptor); [all...] |
/dalvik/vm/reflect/ |
Annotation.cpp | 87 static const DexAnnotationsDirectoryItem* getAnnoDirectory(DexFile* pDexFile, 96 pClassDef = dexFindClass(pDexFile, clazz->descriptor); 98 return dexGetAnnotationsDirectoryItem(pDexFile, pClassDef); 232 DexFile* pDexFile; 243 pDexFile = referrer->pDvmDex->pDexFile; 244 pMethodId = dexGetMethodId(pDexFile, methodIdx); 258 name = dexStringById(pDexFile, pMethodId->nameIdx); 261 dexProtoSetFromMethodId(&proto, pDexFile, pMethodId); 335 (ptr-1) - (u1*)clazz->pDvmDex->pDexFile->baseAddr) [all...] |
/dalvik/vm/analysis/ |
DexPrepare.cpp | 52 static void verifyAndOptimizeClasses(DexFile* pDexFile, bool doVerify, 54 static void verifyAndOptimizeClass(DexFile* pDexFile, ClassObject* clazz, 775 (*ppDvmDex)->pDexFile->pClassLookup = pClassLookup; 823 pClassLookup = dexCreateClassLookup(pDvmDex->pDexFile); 826 pDvmDex->pDexFile->pClassLookup = pClassLookup; 864 verifyAndOptimizeClasses(pDvmDex->pDexFile, doVerify, doOpt); 887 pDvmDex->pDexFile->pClassLookup = NULL; 925 u4 count = pDvmDex->pDexFile->pHeader->classDefsSize; [all...] |
Optimize.cpp | 526 const char* className = dexStringByTypeIdx(pDvmDex->pDexFile, classIdx); 537 dexStringByTypeIdx(pDvmDex->pDexFile, classIdx)); 605 pFieldId = dexGetFieldId(pDvmDex->pDexFile, ifieldIdx); 619 dexStringById(pDvmDex->pDexFile, pFieldId->nameIdx), 620 dexStringByTypeIdx(pDvmDex->pDexFile, pFieldId->typeIdx)); 624 dexStringById(pDvmDex->pDexFile, pFieldId->nameIdx)); 632 dexStringById(pDvmDex->pDexFile, pFieldId->nameIdx)); 678 pFieldId = dexGetFieldId(pDvmDex->pDexFile, sfieldIdx); 692 dexStringById(pDvmDex->pDexFile, pFieldId->nameIdx); 695 dexStringByTypeIdx(pDvmDex->pDexFile, pFieldId->typeIdx)) [all...] |
RegisterMap.h | 193 const void* dvmRegisterMapGetClassData(const DexFile* pDexFile, u4 classIdx,
|
RegisterMap.cpp | 704 DexFile* pDexFile = pDvmDex->pDexFile; 705 u4 count = pDexFile->pHeader->classDefsSize; 728 pClassDef = dexGetClassDef(pDexFile, idx); 729 classDescriptor = dexStringByTypeIdx(pDexFile, pClassDef->classIdx); 841 const void* dvmRegisterMapGetClassData(const DexFile* pDexFile, u4 classIdx, 847 pClassPool = (const RegisterMapClassPool*) pDexFile->pRegisterMapPool; [all...] |
CodeVerify.cpp | [all...] |
DexVerify.cpp | 410 classDescriptor = dexStringByTypeIdx(pDvmDex->pDexFile, idx); 435 classDescriptor = dexStringByTypeIdx(pDvmDex->pDexFile, idx); [all...] |
/dalvik/vm/native/ |
dalvik_system_DexFile.cpp | 422 DexFile* pDexFile = pDvmDex->pDexFile; 424 int count = pDexFile->pHeader->classDefsSize; 438 const DexClassDef* pClassDef = dexGetClassDef(pDexFile, i); 440 dexStringByTypeIdx(pDexFile, pClassDef->classIdx);
|
/dalvik/vm/interp/ |
Interp.cpp | [all...] |