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

/dalvik/vm/analysis/
H A DDexOptimize.h106 bool dvmOptimizeDexFile(int fd, off_t dexOffset, long dexLen,
112 bool dvmContinueOptimization(int fd, off_t dexOffset, long dexLength,
H A DDexOptimize.c312 bool dvmOptimizeDexFile(int fd, off_t dexOffset, long dexLength, argument
337 return dvmContinueOptimization(fd, dexOffset, dexLength,
409 sprintf(values[4], "%d", (int) dexOffset);
511 bool dvmContinueOptimization(int fd, off_t dexOffset, long dexLength, argument
537 assert(dexOffset >= 0);
544 if (dexOffset < (int) sizeof(DexOptHeader)) {
566 mapAddr = mmap(NULL, dexOffset + dexLength, PROT_READ|PROT_WRITE,
585 success = rewriteDex(((u1*) mapAddr) + dexOffset, dexLength,
590 u1* dexAddr = ((u1*) mapAddr) + dexOffset;
625 if (msync(mapAddr, dexOffset
[all...]
/dalvik/dexopt/
H A DOptMain.c60 off_t dexOffset; local
81 dexOffset = lseek(cacheFd, 0, SEEK_CUR);
82 if (dexOffset < 0)
168 if (!dvmContinueOptimization(cacheFd, dexOffset, uncompLen, debugFileName,
/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.c726 pDexFile->pOptHeader->dexOffset, pDexFile->pOptHeader->flags);
733 data += pDexFile->pOptHeader->dexOffset;
734 length -= pDexFile->pOptHeader->dexOffset;
H A DDexFile.h479 u4 dexOffset; /* file offset of DEX header */ member in struct:DexOptHeader
/dalvik/vm/
H A DJarFile.c279 off_t dexOffset, fileLen; local
281 dexOffset = lseek(fd, 0, SEEK_CUR);
282 result = (dexOffset > 0);
290 result = dvmOptimizeDexFile(fd, dexOffset,
H A DProfile.c780 addr = (u4) method->insns - pOptHdr->dexOffset;

Completed in 187 milliseconds