Home
last modified time | relevance | path

Searched refs:whence (Results 1 – 25 of 212) sorted by relevance

123456789

/netbsd-src/external/gpl2/xcvs/dist/lib/
H A Dfseeko.c38 fseeko (FILE *stream, off_t offset, int whence) in fseeko() argument
44 if (fseek (stream, pos, whence) != 0) in fseeko()
47 whence = SEEK_CUR; in fseeko()
49 return fseek (stream, (long) offset, whence); in fseeko()
/netbsd-src/lib/libc/stdio/
H A Dfseek.c54 fseek(FILE *fp, long l_offset, int whence) in fseek() argument
60 if (whence == SEEK_SET) in fseek()
65 return fseeko(fp, offset, whence); in fseek()
H A Dfseeko.c63 fseeko(FILE *fp, off_t offset, int whence) in __weak_alias()
92 switch (whence) { in __weak_alias()
123 whence = SEEK_SET; in __weak_alias()
172 if (whence == SEEK_SET) in __weak_alias()
263 (*seekfn)(fp->_cookie, offset, whence) == POS_ERR) { in __weak_alias()
H A Dopen_memstream.c118 memstream_seek(void *cookie, off_t pos, int whence) in memstream_seek() argument
129 switch (whence) { in memstream_seek()
167 (intmax_t)pos, whence, old, ms->offset); in memstream_seek()
H A Dopen_wmemstream.c180 wmemstream_seek(void *cookie, off_t pos, int whence) in wmemstream_seek() argument
187 switch (whence) { in wmemstream_seek()
228 (intmax_t)pos, whence, (intmax_t)old, (intmax_t)ms->offset); in wmemstream_seek()
H A Dstdio.c100 __sseek(void *cookie, off_t offset, int whence) in __sseek() argument
108 ret = lseek(__sfileno(fp), offset, whence); in __sseek()
/netbsd-src/external/gpl3/binutils/dist/zlib/
H A Dgzlib.c368 z_off64_t ZEXPORT gzseek64(file, offset, whence) in gzseek64() argument
371 int whence;
389 if (whence != SEEK_SET && whence != SEEK_CUR)
393 if (whence == SEEK_SET)
445 z_off_t ZEXPORT gzseek(file, offset, whence) in gzseek() argument
448 int whence;
452 ret = gzseek64(file, (z_off64_t)offset, whence);
/netbsd-src/external/gpl3/gdb/dist/zlib/
H A Dgzlib.c368 z_off64_t ZEXPORT gzseek64(file, offset, whence) in gzseek64() argument
371 int whence;
389 if (whence != SEEK_SET && whence != SEEK_CUR)
393 if (whence == SEEK_SET)
445 z_off_t ZEXPORT gzseek(file, offset, whence) in gzseek() argument
448 int whence;
452 ret = gzseek64(file, (z_off64_t)offset, whence);
/netbsd-src/external/gpl3/binutils.old/dist/zlib/
H A Dgzlib.c368 z_off64_t ZEXPORT gzseek64(file, offset, whence) in gzseek64() argument
371 int whence;
389 if (whence != SEEK_SET && whence != SEEK_CUR)
393 if (whence == SEEK_SET)
445 z_off_t ZEXPORT gzseek(file, offset, whence) in gzseek() argument
448 int whence;
452 ret = gzseek64(file, (z_off64_t)offset, whence);
/netbsd-src/lib/libc/sys/
H A Dlseek.c57 lseek(int fd, off_t offset, int whence) in lseek() argument
60 return __lseek(fd, 0, offset, whence); in lseek()
/netbsd-src/sys/compat/linux/common/
H A Dlinux_llseek.c75 SCARG(&bla, whence) = SCARG(uap, whence); in linux_sys_llseek()
/netbsd-src/crypto/external/bsd/netpgp/dist/src/lib/
H A Dbufgap.c294 bufgap_seek(bufgap_t *bp, int64_t off, int whence, int type) in bufgap_seek() argument
298 switch(whence) { in bufgap_seek()
321 switch(whence) { in bufgap_seek()
339 switch(whence) { in bufgap_seek()
380 bufgap_tell(bufgap_t *bp, int whence, int type) in bufgap_tell() argument
382 switch(whence) { in bufgap_tell()
/netbsd-src/crypto/external/bsd/netpgp/dist/src/netpgpverify/
H A Dbufgap.c283 bufgap_seek(bufgap_t *bp, int64_t off, int whence, int type) in bufgap_seek() argument
287 switch(whence) { in bufgap_seek()
310 switch(whence) { in bufgap_seek()
328 switch(whence) { in bufgap_seek()
369 bufgap_tell(bufgap_t *bp, int whence, int type) in bufgap_tell() argument
371 switch(whence) { in bufgap_tell()
/netbsd-src/external/bsd/libarchive/dist/libarchive/test/
H A Dread_open_memory.c52 static int64_t memory_read_seek(struct archive *, void *, int64_t request, int whence);
182 memory_read_seek(struct archive *a, void *client_data, int64_t offset, int whence) in memory_read_seek() argument
187 switch (whence) { in memory_read_seek()
/netbsd-src/tests/compat/linux/
H A Dh_linux.h49 #define lseek(fd, off, whence) (off_t)syscall(LINUX_SYS_lseek, fd, \ argument
50 (register_t)off, whence)
/netbsd-src/lib/librmt/
H A Drmtlib.c472 _rmt_lseek(int fildes, off_t offset, int whence) in _rmt_lseek() argument
478 whence); in _rmt_lseek()
717 rmtlseek(int fildes, off_t offset, int whence) in rmtlseek() argument
721 return _rmt_lseek(fildes - REM_BIAS, offset, whence); in rmtlseek()
723 return lseek(fildes, offset, whence); in rmtlseek()
/netbsd-src/sys/arch/zaurus/stand/zboot/
H A Dpathfs.c72 pathfs_seek(struct open_file *fd, off_t offset, int whence) in pathfs_seek() argument
75 return ulseek((int)fd->f_devdata, offset, whence); in pathfs_seek()
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Dsysdep.h113 extern int fseeko (FILE *stream, off_t offset, int whence);
119 extern int fseeko64 (FILE *stream, off64_t offset, int whence);
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Dsysdep.h113 extern int fseeko (FILE *stream, off_t offset, int whence);
119 extern int fseeko64 (FILE *stream, off64_t offset, int whence);
/netbsd-src/sys/arch/hpcmips/stand/libsa/
H A Dwinfs.c138 win_seek(struct open_file *f, off_t offset, int whence) in win_seek() argument
144 switch (whence) { in win_seek()
/netbsd-src/external/bsd/iscsi/dist/src/lib/
H A Ddisk.c253 extent_lseek(disc_extent_t *xp, off_t off, int whence) in extent_lseek() argument
255 return lseek(xp->fd, (long long)(xp->sacred + off), whence); in extent_lseek()
260 device_lseek(disc_device_t *dp, off_t off, int whence) in device_lseek() argument
273 (off_t) suboff, whence); in device_lseek()
280 (off_t) suboff, whence); in device_lseek()
295 whence); in device_lseek()
302 whence); in device_lseek()
320 de_lseek(disc_de_t *dp, off_t off, int whence) in de_lseek() argument
324 return device_lseek(dp->u.dp, off, whence); in de_lseek()
326 return extent_lseek(dp->u.xp, off, whence); in de_lseek()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dstore_sock.c62 socket_seek(krb5_storage * sp, off_t offset, int whence) in socket_seek() argument
64 return lseek(SOCK(sp), offset, whence); in socket_seek()
H A Dstore_fd.c92 fd_seek(krb5_storage * sp, off_t offset, int whence) in fd_seek() argument
94 return lseek(FD(sp), offset, whence); in fd_seek()
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/unix/
H A Dstdio.c50 isc_stdio_seek(FILE *f, off_t offset, int whence) { in isc_stdio_seek() argument
53 r = fseeko(f, offset, whence); in isc_stdio_seek()
/netbsd-src/external/mpl/bind/dist/lib/isc/
H A Dstdio.c50 isc_stdio_seek(FILE *f, off_t offset, int whence) { in isc_stdio_seek() argument
53 r = fseeko(f, offset, whence); in isc_stdio_seek()

123456789