/external/curl/src/ |
D | tool_cb_see.c | 67 if(LSEEK_ERROR == lseek(in->fd, 0, SEEK_SET)) in tool_seek_cb() 73 if(LSEEK_ERROR == lseek(in->fd, step, SEEK_CUR)) in tool_seek_cb() 82 if(LSEEK_ERROR == lseek(in->fd, offset, whence)) in tool_seek_cb() 95 # define _lseeki64(hnd,ofs,whence) lseek(hnd,ofs,whence) 110 # define _lseeki64(hnd,ofs,whence) lseek(hnd,ofs,whence)
|
/external/bsdiff/ |
D | file.cc | 72 off_t newpos = lseek(fd_, pos, SEEK_SET); in Seek() 114 off_t pos = lseek(fd_, 0, SEEK_CUR); in GetSize() 117 off_t end_pos = lseek(fd_, 0, SEEK_END); in GetSize() 121 lseek(fd_, 0, SEEK_END); in GetSize()
|
D | bsdiff.cc | 130 ((oldsize=lseek(fd,0,SEEK_END))==-1) || in bsdiff() 132 (lseek(fd,0,SEEK_SET)!=0) || in bsdiff() 144 ((newsize=lseek(fd,0,SEEK_END))==-1) || in bsdiff() 146 (lseek(fd,0,SEEK_SET)!=0) || in bsdiff()
|
/external/google-breakpad/src/client/mac/handler/ |
D | breakpad_nlist_64.cc | 207 if (lseek(fd, 0, SEEK_SET) == -1) { in __breakpad_fdnlist() 263 if (lseek(fd, arch_offset, SEEK_SET) == -1) { in __breakpad_fdnlist() 275 if (lseek(fd, arch_offset, SEEK_SET) == -1) { in __breakpad_fdnlist() 335 if (lseek(fd, sa, SEEK_SET) == -1) { in __breakpad_fdnlist() 353 off_t savpos = lseek(fd, 0, SEEK_CUR); in __breakpad_fdnlist() 365 if (lseek(fd, ss+q->n_un.n_strx, SEEK_SET) == -1) { in __breakpad_fdnlist() 397 if (lseek(fd, savpos, SEEK_SET) == -1) { in __breakpad_fdnlist()
|
/external/zlib/src/examples/ |
D | gzlog.c | 415 if (lseek(log->fd, 0, SEEK_SET) < 0 || in log_head() 451 ret = lseek(log->fd, HEAD, SEEK_SET) < 0 || in log_mark() 476 if (back != 8 && (lseek(log->fd, log->last - len, SEEK_SET) < 0 || in log_last() 491 return lseek(log->fd, log->last - len, SEEK_SET) < 0 || in log_last() 493 lseek(log->fd, log->stored, SEEK_CUR) < 0 ? -1 : 0; in log_last() 553 (end = lseek(log->fd, 0, SEEK_CUR)) < 0 || ftruncate(log->fd, end)) in log_append() 644 if (lseek(log->fd, log->first - (log->back > 8 ? 2 : 1), in log_compress() 646 read(log->fd, buf, 1) != 1 || lseek(log->fd, -1, SEEK_CUR) < 0) { in log_compress() 677 if ((log->first = lseek(log->fd, -1, SEEK_CUR)) < 0 || in log_compress() 705 (end = lseek(log->fd, 0, SEEK_CUR)) < 0 || ftruncate(log->fd, end)) in log_compress() [all …]
|
D | gzappend.c | 210 if (lseek(in->fd, (off_t)bypass, SEEK_CUR) == -1) in skip() 291 lastoff = lseek(gz.fd, 0L, SEEK_CUR) - gz.left; in gzscan() 331 lastoff = lseek(gz.fd, 0L, SEEK_CUR) - strm->avail_in; in gzscan() 340 end = lseek(gz.fd, 0L, SEEK_CUR) - gz.left; in gzscan() 355 lseek(gz.fd, lastoff - (lastbit != 0), SEEK_SET); in gzscan() 358 lseek(gz.fd, -1L, SEEK_CUR); in gzscan() 374 lseek(gz.fd, --end, SEEK_SET); in gzscan() 378 lseek(gz.fd, end, SEEK_SET); in gzscan()
|
/external/valgrind/none/tests/ |
D | mmap_fcntl_bug.c | 32 initial = lseek(fd, 123, SEEK_SET); in main() 35 if (lseek(fd, 0, SEEK_CUR) != 123) in main() 50 if (lseek(fd, 0, SEEK_CUR) != 123) in main()
|
/external/toybox/toys/posix/ |
D | tail.c | 78 off_t pos = lseek(fd, 0, SEEK_END); in try_lseek() 85 if (lseek(fd, bytes, SEEK_END)<0) lseek(fd, 0, SEEK_SET); in try_lseek() 99 if (pos != lseek(fd, pos, SEEK_SET)) { in try_lseek() 128 lseek(fd, bytes, SEEK_SET); in try_lseek()
|
/external/e2fsprogs/lib/ext2fs/ |
D | llseek.c | 51 #define my_llseek lseek 110 return lseek(fd, (off_t) offset, origin); in ext2fs_llseek() 134 return lseek (fd, (off_t) offset, origin); in ext2fs_llseek()
|
/external/e2fsprogs/lib/blkid/ |
D | llseek.c | 50 #define llseek lseek 97 return lseek(fd, (off_t) offset, whence); in blkid_llseek() 136 return lseek(fd, (off_t) offset, origin); in blkid_llseek()
|
/external/fsck_msdos/ |
D | boot.c | 128 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET) 155 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET) 175 if (lseek(dosfs, boot->Backup * boot->BytesPerSec, SEEK_SET) 289 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET) 303 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET)
|
/external/curl/lib/ |
D | curl_setup.h | 359 # undef lseek 360 # define lseek(fdes,offset,whence) _lseeki64(fdes, offset, whence) macro 378 # undef lseek 379 # define lseek(fdes,offset,whence) _lseek(fdes, (long)offset, whence) macro
|
/external/e2fsprogs/e2fsck/ |
D | extend.c | 60 ret = lseek(fd, nblocks*blocksize, SEEK_SET); in main() 70 ret = lseek(fd, nblocks*blocksize, SEEK_SET); in main()
|
/external/e2fsprogs/contrib/ |
D | make-sparse.c | 72 lseek(fd, sizeof(buf), SEEK_CUR); in main() 81 lseek(fd, -1, SEEK_CUR); in main()
|
/external/strace/ |
D | lseek.c | 48 SYS_FUNC(lseek) in SYS_FUNC() argument 71 SYS_FUNC(lseek) in SYS_FUNC() argument
|
/external/deqp/framework/delibs/deutil/ |
D | deFile.c | 151 return lseek(file->fd, (off_t)offset, mapSeekPosition(base)) >= 0; in deFile_seek() 156 return lseek(file->fd, 0, SEEK_CUR); in deFile_getPosition() 162 deInt64 curPos = lseek(file->fd, 0, SEEK_CUR); in deFile_getSize() 167 size = lseek(file->fd, 0, SEEK_END); in deFile_getSize() 172 lseek(file->fd, (off_t)curPos, SEEK_SET); in deFile_getSize()
|
/external/valgrind/memcheck/tests/ |
D | writev1.c | 55 lseek(fd, 0, 0); in main() 61 lseek(fd, K_1, 0); in main()
|
/external/e2fsprogs/misc/ |
D | e2label.c | 60 if (lseek(fd, 1024, SEEK_SET) != 1024) { in open_e2fs() 97 if (lseek(fd, 1024, SEEK_SET) != 1024) { in change_label()
|
/external/pdfium/core/src/fxcrt/ |
D | fxcrt_posix.cpp | 73 return lseek(m_nFD, 0, SEEK_CUR); in GetPosition() 79 return lseek(m_nFD, pos, SEEK_SET); in SetPosition()
|
/external/llvm/test/CodeGen/Generic/ |
D | 2006-02-12-InsertLibcall.ll | 11 %tmp.111.i = call i64 @lseek( i32 0, i64 %tmp.114.i, i32 1 ) ; <i64> [#uses=0] 60 declare i64 @lseek(i32, i64, i32)
|
/external/boringssl/src/crypto/bio/ |
D | fd.c | 189 ret = (long)lseek(b->num, num, SEEK_SET); in fd_ctrl() 196 ret = (long)lseek(b->num, 0, SEEK_CUR); in fd_ctrl()
|
/external/libmtp/src/ |
D | playlist-spl.c | 227 f->filesize = lseek(fd, 0, SEEK_CUR); // file desc is currently at end of file in playlist_t_to_spl() 234 lseek(fd, 0, SEEK_SET); // reset file desc. to start of file in playlist_t_to_spl() 346 offcnt = lseek(fd, 0, SEEK_SET); in read_into_spl_text_t() 352 offcnt = lseek(fd, 0, SEEK_CUR); in read_into_spl_text_t() 364 rdcnt = lseek(fd, 0, SEEK_CUR) - offcnt; in read_into_spl_text_t()
|
/external/autotest/client/tests/disktest/src/ |
D | disktest.c | 71 lseek(fd, offset, SEEK_SET); in write_block() 93 lseek(fd, offset, SEEK_SET); in verify_block() 314 lseek(fd, 0, SEEK_SET); in main()
|
/external/strace/tests/ |
D | lseek.c | 49 rc = lseek(-1, offset, SEEK_SET); in main()
|
/external/bison/lib/ |
D | unistd.in.h | 1084 # define lseek rpl_lseek 1086 _GL_FUNCDECL_RPL (lseek, off_t, (int fd, off_t offset, int whence)); 1087 _GL_CXXALIAS_RPL (lseek, off_t, (int fd, off_t offset, int whence)); 1089 _GL_CXXALIAS_SYS (lseek, off_t, (int fd, off_t offset, int whence)); 1091 _GL_CXXALIASWARN (lseek); 1093 # undef lseek 1095 _GL_WARN_ON_USE (lseek, "lseek does not fail with ESPIPE on pipes on some "
|