Searched refs:dexOffset (Results 1 – 9 of 9) sorted by relevance
/dalvik/vm/analysis/ |
D | DexPrepare.h | 113 bool dvmOptimizeDexFile(int fd, off_t dexOffset, long dexLen, 119 bool dvmContinueOptimization(int fd, off_t dexOffset, long dexLength,
|
D | DexPrepare.c | 297 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/ |
D | JarFile.c | 279 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()
|
D | Profile.c | 787 addr = (u4) method->insns - pOptHdr->dexOffset; in dvmEmitEmulatorTrace()
|
/dalvik/dexopt/ |
D | OptMain.c | 65 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/ |
D | OptInvocation.c | 133 optHdr.dexOffset = sizeof(optHdr); in dexOptCreateEmptyHeader()
|
D | DexFile.c | 517 pDexFile->pOptHeader->dexOffset, pDexFile->pOptHeader->flags); in dexFileParse() 524 data += pDexFile->pOptHeader->dexOffset; in dexFileParse() 525 length -= pDexFile->pOptHeader->dexOffset; in dexFileParse()
|
D | DexFile.h | 454 u4 dexOffset; /* file offset of DEX header */ member
|
/dalvik/dexdump/ |
D | DexDump.c | 404 pOptHeader->dexOffset, pOptHeader->dexOffset); in dumpFileHeader()
|