Lines Matching refs:pDexFile
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);
175 fileName = dexStringById(pDexFile, pClassDef->sourceFileIdx);
185 dumpMethod(pDexFile, fileName, &pClassData->directMethods[i], i);
189 dumpMethod(pDexFile, fileName, &pClassData->virtualMethods[i], i);
202 DexFile* pDexFile = NULL;
220 pDexFile = dexFileParse((u1*)map.addr, map.length, kDexParseDefault);
221 if (pDexFile == NULL) {
229 for (i = 0; i < (int) pDexFile->pHeader->classDefsSize; i++) {
230 dumpClass(pDexFile, i);
238 if (pDexFile != NULL)
239 dexFileFree(pDexFile);