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.cpp314 pDexFile->pOptHeader = (const DexOptHeader*) data; in dexFileParse()
316 pDexFile->pOptHeader->dexOffset, pDexFile->pOptHeader->flags); in dexFileParse()
323 data += pDexFile->pOptHeader->dexOffset; in dexFileParse()
324 length -= pDexFile->pOptHeader->dexOffset; in dexFileParse()
325 if (pDexFile->pOptHeader->dexLength > length) { in dexFileParse()
327 pDexFile->pOptHeader->dexLength, (int) length); in dexFileParse()
330 length = pDexFile->pOptHeader->dexLength; in dexFileParse()
356 const DexOptHeader* pOptHeader = pDexFile->pOptHeader; in dexFileParse() local
357 if (pOptHeader != NULL) { in dexFileParse()
358 adler = dexComputeOptChecksum(pOptHeader); in dexFileParse()
[all …]
DDexOptData.h40 u4 dexComputeOptChecksum(const DexOptHeader* pOptHeader);
DDexFile.h596 const DexOptHeader* pOptHeader; member
/dalvik/dexdump/
DDexDump.cpp395 const DexOptHeader* pOptHeader = pDexFile->pOptHeader; in dumpFileHeader() local
399 assert(sizeof(pHeader->magic) == sizeof(pOptHeader->magic)); in dumpFileHeader()
401 if (pOptHeader != NULL) { in dumpFileHeader()
404 asciify(sanitized, pOptHeader->magic, sizeof(pOptHeader->magic)); in dumpFileHeader()
407 pOptHeader->dexOffset, pOptHeader->dexOffset); in dumpFileHeader()
408 printf("dex_length : %d\n", pOptHeader->dexLength); in dumpFileHeader()
410 pOptHeader->depsOffset, pOptHeader->depsOffset); in dumpFileHeader()
411 printf("deps_length : %d\n", pOptHeader->depsLength); in dumpFileHeader()
413 pOptHeader->optOffset, pOptHeader->optOffset); in dumpFileHeader()
414 printf("opt_length : %d\n", pOptHeader->optLength); in dumpFileHeader()
[all …]