Home
last modified time | relevance | path

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

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