HomeSort by: relevance | last modified time | path
    Searched refs:whence (Results 1 - 25 of 67) sorted by relevancy

1 2 3

  /src/lib/libc/stdio/
fseek.c 54 fseek(FILE *fp, long l_offset, int whence)
60 if (whence == SEEK_SET)
65 return fseeko(fp, offset, whence);
stdio.c 100 __sseek(void *cookie, off_t offset, int whence)
108 ret = lseek(__sfileno(fp), offset, whence);
fseeko.c 60 * `Whence' must be one of the three SEEK_* macros.
63 fseeko(FILE *fp, off_t offset, int whence)
89 * Change any SEEK_CUR to SEEK_SET, and check `whence' argument.
90 * After this, whence is either SEEK_SET or SEEK_END.
92 switch (whence) {
123 whence = SEEK_SET;
172 if (whence == SEEK_SET)
263 (*seekfn)(fp->_cookie, offset, whence) == POS_ERR) {
open_memstream.c 118 memstream_seek(void *cookie, off_t pos, int whence)
129 switch (whence) {
167 (intmax_t)pos, whence, old, ms->offset);
funopen.c 128 cseekfn(void *dookie, off_t off, int whence)
131 return (*d->seekfn)(d->cookie, off, whence);
open_wmemstream.c 180 wmemstream_seek(void *cookie, off_t pos, int whence)
187 switch (whence) {
228 (intmax_t)pos, whence, (intmax_t)old, (intmax_t)ms->offset);
fmemopen.c 118 fmemopen_seek(void *cookie, off_t offset, int whence)
125 switch (whence) {
  /src/lib/libc/sys/
lseek.c 57 lseek(int fd, off_t offset, int whence)
60 return __lseek(fd, 0, offset, whence);
  /src/sys/compat/linux/common/
linux_llseek.c 65 syscallarg(int) whence;
75 SCARG(&bla, whence) = SCARG(uap, whence);
  /src/sys/compat/linux32/arch/amd64/
linux32_missing.h 57 syscallarg(int) whence; member in struct:linux_sys_llseek_args
  /src/sys/arch/hpcmips/stand/libsa/
winfs.c 138 win_seek(struct open_file *f, off_t offset, int whence)
144 switch (whence) {
  /src/sys/arch/zaurus/stand/zboot/
pathfs.c 72 pathfs_seek(struct open_file *fd, off_t offset, int whence)
75 return ulseek((int)fd->f_devdata, offset, whence);
  /src/tests/compat/linux/
h_linux.h 49 #define lseek(fd, off, whence) (off_t)syscall(LINUX_SYS_lseek, fd, \
50 (register_t)off, whence)
  /src/common/dist/zlib/
gzlib.c 339 z_off64_t ZEXPORT gzseek64(gzFile file, z_off64_t offset, int whence) {
356 if (whence != SEEK_SET && whence != SEEK_CUR)
360 if (whence == SEEK_SET)
412 z_off_t ZEXPORT gzseek(gzFile file, z_off_t offset, int whence) {
415 ret = gzseek64(file, (z_off64_t)offset, whence);
  /src/sys/compat/linux/arch/aarch64/
linux_machdep.h 98 syscallarg(int) whence; member in struct:linux_sys_llseek_args
  /src/lib/librmt/
rmtlib.c 472 _rmt_lseek(int fildes, off_t offset, int whence)
478 whence);
717 rmtlseek(int fildes, off_t offset, int whence)
721 return _rmt_lseek(fildes - REM_BIAS, offset, whence);
723 return lseek(fildes, offset, whence);
  /src/sys/external/bsd/drm2/linux/
linux_dma_buf.c 51 static int dmabuf_fop_seek(struct file *fp, off_t delta, int whence,
301 dmabuf_fop_seek(struct file *fp, off_t delta, int whence, off_t *newoffp,
311 switch (whence) {
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_posix.h 57 uptr internal_lseek(fd_t fd, OFF_T offset, int whence);
sanitizer_solaris.cc 172 DECLARE__REAL_AND_INTERNAL64(uptr, lseek, fd_t fd, OFF_T offset, int whence) {
173 return _REAL64(lseek)(fd, offset, whence);
sanitizer_netbsd.cc 275 uptr internal_lseek(fd_t fd, OFF_T offset, int whence) {
277 return __lseek(fd, 0, offset, whence);
  /src/sys/arch/i386/stand/dosboot/
dos_file.S 170 movl 0x10(%ebp) , %edx # whence
176 movb %dl, %al # whence
  /src/sys/external/bsd/drm2/dist/drm/
drm_dp_aux_dev.c 148 static loff_t auxdev_llseek(struct file *file, loff_t offset, int whence)
150 return fixed_size_llseek(file, offset, whence, AUX_MAX_OFFSET);
  /src/sys/compat/common/
vfs_syscalls_43.c 273 syscallarg(int) whence;
279 syscallarg(int) whence;
286 SCARG(&nuap, whence) = SCARG(uap, whence);
  /src/sys/kern/
sys_memfd.c 376 memfd_seek(file_t *fp, off_t delta, int whence, off_t *newoffp,
384 switch (whence) {
  /src/sys/lib/libsa/
ustarfs.c 465 ustarfs_seek(struct open_file *f, off_t offs, int whence)
470 switch (whence) {

Completed in 29 milliseconds

1 2 3