Lines Matching refs:pDexFile
94 void dumpMethod(DexFile* pDexFile, const char* fileName, in dumpMethod() argument
107 pMethodId = dexGetMethodId(pDexFile, pDexMethod->methodIdx); in dumpMethod()
108 methodName = dexStringById(pDexFile, pMethodId->nameIdx); in dumpMethod()
110 classDescriptor = dexStringByTypeIdx(pDexFile, pMethodId->classIdx); in dumpMethod()
112 pCode = dexGetCode(pDexFile, pDexMethod); in dumpMethod()
128 dexDecodeDebugInfo(pDexFile, pCode, classDescriptor, pMethodId->protoIdx, in dumpMethod()
132 char* desc = dexCopyDescriptorFromMethodId(pDexFile, pMethodId); in dumpMethod()
155 void dumpClass(DexFile* pDexFile, int idx) in dumpClass() argument
163 pClassDef = dexGetClassDef(pDexFile, idx); in dumpClass()
164 pEncodedData = dexGetClassData(pDexFile, pClassDef); in dumpClass()
175 fileName = dexStringById(pDexFile, pClassDef->sourceFileIdx); in dumpClass()
185 dumpMethod(pDexFile, fileName, &pClassData->directMethods[i], i); in dumpClass()
189 dumpMethod(pDexFile, fileName, &pClassData->virtualMethods[i], i); in dumpClass()
202 DexFile* pDexFile = NULL; in process() local
220 pDexFile = dexFileParse((u1*)map.addr, map.length, kDexParseDefault); in process()
221 if (pDexFile == NULL) { in process()
229 for (i = 0; i < (int) pDexFile->pHeader->classDefsSize; i++) { in process()
230 dumpClass(pDexFile, i); in process()
238 if (pDexFile != NULL) in process()
239 dexFileFree(pDexFile); in process()