Home
last modified time | relevance | path

Searched refs:pOptHeader (Results 1 – 5 of 5) sorted by relevance

/dalvik/libdex/
DDexOptData.cpp37 u4 dexComputeOptChecksum(const DexOptHeader* pOptHeader) in dexComputeOptChecksum() argument
39 const u1* start = (const u1*) pOptHeader + pOptHeader->depsOffset; in dexComputeOptChecksum()
40 const u1* end = (const u1*) pOptHeader + in dexComputeOptChecksum()
41 pOptHeader->optOffset + pOptHeader->optLength; in dexComputeOptChecksum()
51 const void* pOptStart = data + pDexFile->pOptHeader->optOffset; in dexParseOptData()
DDexFile.cpp317 pDexFile->pOptHeader = (const DexOptHeader*) data; in dexFileParse()
319 pDexFile->pOptHeader->dexOffset, pDexFile->pOptHeader->flags); in dexFileParse()
326 data += pDexFile->pOptHeader->dexOffset; in dexFileParse()
327 length -= pDexFile->pOptHeader->dexOffset; in dexFileParse()
328 if (pDexFile->pOptHeader->dexLength > length) { in dexFileParse()
330 pDexFile->pOptHeader->dexLength, (int) length); in dexFileParse()
333 length = pDexFile->pOptHeader->dexLength; in dexFileParse()
359 const DexOptHeader* pOptHeader = pDexFile->pOptHeader; in dexFileParse() local
360 if (pOptHeader != NULL) { in dexFileParse()
361 adler = dexComputeOptChecksum(pOptHeader); in dexFileParse()
[all …]
DDexOptData.h40 u4 dexComputeOptChecksum(const DexOptHeader* pOptHeader);
DDexFile.h585 const DexOptHeader* pOptHeader; member
/dalvik/dexdump/
DDexDump.cpp402 const DexOptHeader* pOptHeader = pDexFile->pOptHeader; in dumpFileHeader() local
406 assert(sizeof(pHeader->magic) == sizeof(pOptHeader->magic)); in dumpFileHeader()
408 if (pOptHeader != NULL) { in dumpFileHeader()
411 asciify(sanitized, pOptHeader->magic, sizeof(pOptHeader->magic)); in dumpFileHeader()
414 pOptHeader->dexOffset, pOptHeader->dexOffset); in dumpFileHeader()
415 printf("dex_length : %d\n", pOptHeader->dexLength); in dumpFileHeader()
417 pOptHeader->depsOffset, pOptHeader->depsOffset); in dumpFileHeader()
418 printf("deps_length : %d\n", pOptHeader->depsLength); in dumpFileHeader()
420 pOptHeader->optOffset, pOptHeader->optOffset); in dumpFileHeader()
421 printf("opt_length : %d\n", pOptHeader->optLength); in dumpFileHeader()
[all …]