Lines Matching refs:pDexFile
91 void dumpMethod(DexFile* pDexFile, const char* fileName,
104 pMethodId = dexGetMethodId(pDexFile, pDexMethod->methodIdx);
105 methodName = dexStringById(pDexFile, pMethodId->nameIdx);
107 classDescriptor = dexStringByTypeIdx(pDexFile, pMethodId->classIdx);
109 pCode = dexGetCode(pDexFile, pDexMethod);
125 dexDecodeDebugInfo(pDexFile, pCode, classDescriptor, pMethodId->protoIdx,
129 char* desc = dexCopyDescriptorFromMethodId(pDexFile, pMethodId);
152 void dumpClass(DexFile* pDexFile, int idx)
160 pClassDef = dexGetClassDef(pDexFile, idx);
161 pEncodedData = dexGetClassData(pDexFile, pClassDef);
172 fileName = dexStringById(pDexFile, pClassDef->sourceFileIdx);
182 dumpMethod(pDexFile, fileName, &pClassData->directMethods[i], i);
186 dumpMethod(pDexFile, fileName, &pClassData->virtualMethods[i], i);
199 DexFile* pDexFile = NULL;
217 pDexFile = dexFileParse(map.addr, map.length, kDexParseDefault);
218 if (pDexFile == NULL) {
226 for (i = 0; i < (int) pDexFile->pHeader->classDefsSize; i++) {
227 dumpClass(pDexFile, i);
235 if (pDexFile != NULL)
236 dexFileFree(pDexFile);