Searched refs:pOpt (Results 1 – 2 of 2) sorted by relevance
/dalvik/libdex/ |
D | DexOptData.cpp | 53 const u4* pOpt = (const u4*) pOptStart; in dexParseOptData() local 63 if (!isValidPointer(pOpt, pOptStart, pOptEnd)) { in dexParseOptData() 84 while (*pOpt != kDexChunkEnd) { in dexParseOptData() 85 if (!isValidPointer(pOpt + 2, pOptStart, pOptEnd)) { in dexParseOptData() 86 const u4 offset = ((const u1*) pOpt) - data; in dexParseOptData() 91 u4 size = *(pOpt + 1); in dexParseOptData() 92 const u1* pOptData = (const u1*) (pOpt + 2); in dexParseOptData() 99 const u4* pNextOpt = pOpt + (roundedSize / sizeof(u4)); in dexParseOptData() 102 const u4 offset = ((const u1*) pOpt) - data; in dexParseOptData() 107 switch (*pOpt) { in dexParseOptData() [all …]
|
/dalvik/dexdump/ |
D | DexDump.cpp | 468 const u4* pOpt = (const u4*) ((u1*) pOptHeader + pOptHeader->optOffset); in dumpOptDirectory() local 470 if (*pOpt == 0) { in dumpOptDirectory() 479 while (*pOpt != kDexChunkEnd) { in dumpOptDirectory() 482 u4 size = *(pOpt+1); in dumpOptDirectory() 484 switch (*pOpt) { in dumpOptDirectory() 496 printf("Chunk %08x (%c%c%c%c) - %s (%d bytes)\n", *pOpt, in dumpOptDirectory() 497 *pOpt >> 24, (char)(*pOpt >> 16), (char)(*pOpt >> 8), (char)*pOpt, in dumpOptDirectory() 501 pOpt += size / sizeof(u4); in dumpOptDirectory()
|