Home
last modified time | relevance | path

Searched refs:pDexFile (Results 1 – 10 of 10) sorted by relevance

/dalvik/libdex/
DDexFile.h626 void dexFileFree(DexFile* pDexFile);
631 DexClassLookup* dexCreateClassLookup(DexFile* pDexFile);
642 void dexFileSetupBasicPointers(DexFile* pDexFile, const u1* data);
645 DEX_INLINE const DexMapList* dexGetMap(const DexFile* pDexFile) { in dexGetMap() argument
646 u4 mapOff = pDexFile->pHeader->mapOff; in dexGetMap()
651 return (const DexMapList*) (pDexFile->baseAddr + mapOff); in dexGetMap()
656 DEX_INLINE const char* dexGetStringData(const DexFile* pDexFile, in dexGetStringData() argument
658 const u1* ptr = pDexFile->baseAddr + pStringId->stringDataOff; in dexGetStringData()
666 DEX_INLINE const DexStringId* dexGetStringId(const DexFile* pDexFile, u4 idx) { in dexGetStringId() argument
667 assert(idx < pDexFile->pHeader->stringIdsSize); in dexGetStringId()
[all …]
DDexFile.cpp105 const char* dexStringAndSizeById(const DexFile* pDexFile, u4 idx, in dexStringAndSizeById() argument
107 const DexStringId* pStringId = dexGetStringId(pDexFile, idx); in dexStringAndSizeById()
108 const u1* ptr = pDexFile->baseAddr + pStringId->stringDataOff; in dexStringAndSizeById()
177 static void classLookupAdd(DexFile* pDexFile, DexClassLookup* pLookup, in classLookupAdd() argument
181 (const char*) (pDexFile->baseAddr + stringOff); in classLookupAdd()
183 (const DexClassDef*) (pDexFile->baseAddr + classDefOff); in classLookupAdd()
211 DexClassLookup* dexCreateClassLookup(DexFile* pDexFile) in dexCreateClassLookup() argument
220 assert(pDexFile != NULL); in dexCreateClassLookup()
229 numEntries = dexRoundUpPower2(pDexFile->pHeader->classDefsSize * 2); in dexCreateClassLookup()
239 for (i = 0; i < (int)pDexFile->pHeader->classDefsSize; i++) { in dexCreateClassLookup()
[all …]
DDexProto.h88 const DexFile* pDexFile, const DexMethodId* pMethodId) in dexProtoSetFromMethodId() argument
90 pProto->dexFile = pDexFile; in dexProtoSetFromMethodId()
123 DEX_INLINE const char* dexGetDescriptorFromMethodId(const DexFile* pDexFile, in dexGetDescriptorFromMethodId() argument
128 dexProtoSetFromMethodId(&proto, pDexFile, pMethodId); in dexGetDescriptorFromMethodId()
137 DEX_INLINE char* dexCopyDescriptorFromMethodId(const DexFile* pDexFile, in dexCopyDescriptorFromMethodId() argument
142 dexProtoSetFromMethodId(&proto, pDexFile, pMethodId); in dexCopyDescriptorFromMethodId()
DDexDebugInfo.cpp84 static const char* readStringIdx(const DexFile* pDexFile, in readStringIdx() argument
92 return dexStringById(pDexFile, stringIdx - 1); in readStringIdx()
100 static const char* readTypeIdx(const DexFile* pDexFile, in readTypeIdx() argument
108 return dexStringByTypeIdx(pDexFile, typeIdx - 1); in readTypeIdx()
142 const DexFile* pDexFile, in dexDecodeDebugInfo0() argument
152 DexProto proto = { pDexFile, protoIdx }; in dexDecodeDebugInfo0()
189 name = readStringIdx(pDexFile, &stream); in dexDecodeDebugInfo0()
239 localInReg[reg].name = readStringIdx(pDexFile, &stream); in dexDecodeDebugInfo0()
240 localInReg[reg].descriptor = readTypeIdx(pDexFile, &stream); in dexDecodeDebugInfo0()
243 = readStringIdx(pDexFile, &stream); in dexDecodeDebugInfo0()
[all …]
DDexOptData.cpp49 bool dexParseOptData(const u1* data, size_t length, DexFile* pDexFile) in dexParseOptData() argument
51 const void* pOptStart = data + pDexFile->pOptHeader->optOffset; in dexParseOptData()
109 pDexFile->pClassLookup = (const DexClassLookup*) pOptData; in dexParseOptData()
113 pDexFile->pRegisterMapPool = pOptData; in dexParseOptData()
DDexOptData.h34 bool dexParseOptData(const u1* data, size_t length, DexFile* pDexFile);
DDexDebugInfo.h47 const DexFile* pDexFile,
DDexClass.h109 DEX_INLINE const DexCode* dexGetCode(const DexFile* pDexFile, in dexGetCode() argument
114 return (const DexCode*) (pDexFile->baseAddr + pDexMethod->codeOff); in dexGetCode()
DDexSwapVerify.cpp51 const DexFile* pDexFile; // set after intraitem verification member
209 const DexFieldId* field = dexGetFieldId(state->pDexFile, fieldIdx); in verifyFieldDefiner()
216 const DexMethodId* meth = dexGetMethodId(state->pDexFile, methodIdx); in verifyMethodDefiner()
542 const char* s0 = dexGetStringData(state->pDexFile, item0); in crossVerifyStringIdItem()
543 const char* s1 = dexGetStringData(state->pDexFile, item); in crossVerifyStringIdItem()
567 dexStringById(state->pDexFile, item->descriptorIdx); in crossVerifyTypeIdItem()
648 dexStringById(state->pDexFile, item->shortyIdx); in crossVerifyProtoIdItem()
656 dexStringByTypeIdx(state->pDexFile, item->returnTypeIdx), in crossVerifyProtoIdItem()
661 u4 protoIdx = item - state->pDexFile->pProtoIds; in crossVerifyProtoIdItem()
662 DexProto proto = { state->pDexFile, protoIdx }; in crossVerifyProtoIdItem()
[all …]
/dalvik/dexdump/
DDexDump.cpp393 void dumpFileHeader(const DexFile* pDexFile) in dumpFileHeader() argument
395 const DexOptHeader* pOptHeader = pDexFile->pOptHeader; in dumpFileHeader()
396 const DexHeader* pHeader = pDexFile->pHeader; in dumpFileHeader()
460 void dumpOptDirectory(const DexFile* pDexFile) in dumpOptDirectory() argument
462 const DexOptHeader* pOptHeader = pDexFile->pOptHeader; in dumpOptDirectory()
509 void dumpClassDef(DexFile* pDexFile, int idx) in dumpClassDef() argument
515 pClassDef = dexGetClassDef(pDexFile, idx); in dumpClassDef()
516 pEncodedData = dexGetClassData(pDexFile, pClassDef); in dumpClassDef()
550 void dumpInterface(const DexFile* pDexFile, const DexTypeItem* pTypeItem, in dumpInterface() argument
554 dexStringByTypeIdx(pDexFile, pTypeItem->typeIdx); in dumpInterface()
[all …]