Searched refs:dexOffset (Results 1 - 9 of 9) sorted by relevance

/dalvik/vm/analysis/
H A DDexPrepare.h113 bool dvmOptimizeDexFile(int fd, off_t dexOffset, long dexLen,
119 bool dvmContinueOptimization(int fd, off_t dexOffset, long dexLength,
H A DDexPrepare.c297 bool dvmOptimizeDexFile(int fd, off_t dexOffset, long dexLength, argument
373 sprintf(values[4], "%d", (int) dexOffset);
474 bool dvmContinueOptimization(int fd, off_t dexOffset, long dexLength, argument
486 assert(dexOffset >= 0);
493 if (dexOffset < (int) sizeof(DexOptHeader)) {
515 mapAddr = mmap(NULL, dexOffset + dexLength, PROT_READ|PROT_WRITE,
534 success = rewriteDex(((u1*) mapAddr) + dexOffset, dexLength,
539 u1* dexAddr = ((u1*) mapAddr) + dexOffset;
566 if (msync(mapAddr, dexOffset + dexLength, MS_SYNC) != 0) {
577 if (munmap(mapAddr, dexOffset
[all...]
/dalvik/libdex/
H A DOptInvocation.c110 * initialized to garbage, but we fill in "dexOffset" so others can
133 optHdr.dexOffset = sizeof(optHdr);
H A DDexFile.c517 pDexFile->pOptHeader->dexOffset, pDexFile->pOptHeader->flags);
524 data += pDexFile->pOptHeader->dexOffset;
525 length -= pDexFile->pOptHeader->dexOffset;
H A DDexFile.h454 u4 dexOffset; /* file offset of DEX header */ member in struct:DexOptHeader
/dalvik/vm/
H A DJarFile.c279 off_t dexOffset; local
281 dexOffset = lseek(fd, 0, SEEK_CUR);
282 result = (dexOffset > 0);
290 result = dvmOptimizeDexFile(fd, dexOffset,
H A DProfile.c787 addr = (u4) method->insns - pOptHdr->dexOffset;
/dalvik/dexopt/
H A DOptMain.c65 off_t dexOffset; local
86 dexOffset = lseek(cacheFd, 0, SEEK_CUR);
87 if (dexOffset < 0)
187 if (!dvmContinueOptimization(cacheFd, dexOffset, uncompLen, debugFileName,
/dalvik/dexdump/
H A DDexDump.c404 pOptHeader->dexOffset, pOptHeader->dexOffset);

Completed in 15 milliseconds