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.h539 const DexOptHeader* pOptHeader; member
/dalvik/dexdump/
DDexDump.cpp394 const DexOptHeader* pOptHeader = pDexFile->pOptHeader; in dumpFileHeader() local
398 assert(sizeof(pHeader->magic) == sizeof(pOptHeader->magic)); in dumpFileHeader()
400 if (pOptHeader != NULL) { in dumpFileHeader()
403 asciify(sanitized, pOptHeader->magic, sizeof(pOptHeader->magic)); in dumpFileHeader()
406 pOptHeader->dexOffset, pOptHeader->dexOffset); in dumpFileHeader()
407 printf("dex_length : %d\n", pOptHeader->dexLength); in dumpFileHeader()
409 pOptHeader->depsOffset, pOptHeader->depsOffset); in dumpFileHeader()
410 printf("deps_length : %d\n", pOptHeader->depsLength); in dumpFileHeader()
412 pOptHeader->optOffset, pOptHeader->optOffset); in dumpFileHeader()
413 printf("opt_length : %d\n", pOptHeader->optLength); in dumpFileHeader()
[all …]