/netbsd/external/gpl2/xcvs/dist/lib/ |
H A D | fseeko.c | 38 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/lib/libc/stdio/ |
H A D | fseek.c | 54 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 D | fseeko.c | 63 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 D | open_memstream.c | 113 memstream_seek(void *cookie, off_t pos, int whence) in memstream_seek() argument 124 switch (whence) { in memstream_seek() 162 (intmax_t)pos, whence, old, ms->offset); in memstream_seek()
|
H A D | stdio.c | 100 __sseek(void *cookie, off_t offset, int whence) in __sseek() argument 108 ret = lseek(__sfileno(fp), offset, whence); in __sseek()
|
H A D | open_wmemstream.c | 172 wmemstream_seek(void *cookie, off_t pos, int whence) in wmemstream_seek() argument 179 switch (whence) { in wmemstream_seek() 220 (intmax_t)pos, whence, (intmax_t)old, (intmax_t)ms->offset); in wmemstream_seek()
|
/netbsd/external/gpl3/gdb/dist/zlib/ |
H A D | gzlib.c | 366 z_off64_t ZEXPORT gzseek64(file, offset, whence) in gzseek64() argument 369 int whence; 387 if (whence != SEEK_SET && whence != SEEK_CUR) 391 if (whence == SEEK_SET) 443 z_off_t ZEXPORT gzseek(file, offset, whence) in gzseek() argument 446 int whence; 450 ret = gzseek64(file, (z_off64_t)offset, whence);
|
/netbsd/external/gpl3/binutils.old/dist/zlib/ |
H A D | gzlib.c | 366 z_off64_t ZEXPORT gzseek64(file, offset, whence) in gzseek64() argument 369 int whence; 387 if (whence != SEEK_SET && whence != SEEK_CUR) 391 if (whence == SEEK_SET) 443 z_off_t ZEXPORT gzseek(file, offset, whence) in gzseek() argument 446 int whence; 450 ret = gzseek64(file, (z_off64_t)offset, whence);
|
/netbsd/external/gpl3/gdb.old/dist/zlib/ |
H A D | gzlib.c | 366 z_off64_t ZEXPORT gzseek64(file, offset, whence) in gzseek64() argument 369 int whence; 387 if (whence != SEEK_SET && whence != SEEK_CUR) 391 if (whence == SEEK_SET) 443 z_off_t ZEXPORT gzseek(file, offset, whence) in gzseek() argument 446 int whence; 450 ret = gzseek64(file, (z_off64_t)offset, whence);
|
/netbsd/common/dist/zlib/ |
H A D | gzlib.c | 368 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/external/gpl3/binutils/dist/zlib/ |
H A D | gzlib.c | 368 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/lib/libc/sys/ |
H A D | lseek.c | 57 lseek(int fd, off_t offset, int whence) in lseek() argument 60 return __lseek(fd, 0, offset, whence); in lseek()
|
/netbsd/external/mpl/bind/dist/lib/isc/win32/ |
H A D | stdio.c | 51 isc_stdio_seek(FILE *f, off_t offset, int whence) { in isc_stdio_seek() argument 55 r = fseek(f, offset, whence); in isc_stdio_seek() 57 r = _fseeki64(f, offset, whence); in isc_stdio_seek()
|
/netbsd/external/bsd/libarchive/dist/libarchive/ |
H A D | archive_read_open_memory.c | 52 static int64_t memory_read_seek(struct archive *, void *, int64_t offset, int whence); 147 memory_read_seek(struct archive *a, void *client_data, int64_t offset, int whence) in memory_read_seek() argument 152 switch (whence) { in memory_read_seek()
|
/netbsd/sys/compat/linux/common/ |
H A D | linux_llseek.c | 75 SCARG(&bla, whence) = SCARG(uap, whence); in linux_sys_llseek()
|
/netbsd/crypto/external/bsd/netpgp/dist/src/netpgpverify/ |
H A D | bufgap.c | 283 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/crypto/external/bsd/netpgp/dist/src/lib/ |
H A D | bufgap.c | 294 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/external/bsd/libarchive/dist/libarchive/test/ |
H A D | read_open_memory.c | 53 static int64_t memory_read_seek(struct archive *, void *, int64_t request, int whence); 183 memory_read_seek(struct archive *a, void *client_data, int64_t offset, int whence) in memory_read_seek() argument 188 switch (whence) { in memory_read_seek()
|
/netbsd/external/gpl3/gdb/dist/gdb/guile/ |
H A D | scm-ports.c | 662 ioscm_lseek_address (ioscm_memory_port *iomem, LONGEST offset, int whence) in ioscm_lseek_address() argument 668 switch (whence) in ioscm_lseek_address() 796 gdbscm_memory_port_seek (SCM port, scm_t_off offset, int whence) in gdbscm_memory_port_seek() argument 805 if (offset != 0 || whence != SEEK_CUR) in gdbscm_memory_port_seek() 808 rc = ioscm_lseek_address (iomem, offset, whence); in gdbscm_memory_port_seek() 831 if (offset != 0 || whence != SEEK_CUR) in gdbscm_memory_port_seek() 834 rc = ioscm_lseek_address (iomem, offset, whence); in gdbscm_memory_port_seek() 867 rc = ioscm_lseek_address (iomem, offset, whence); in gdbscm_memory_port_seek() 1116 gdbscm_memory_port_seek (SCM port, scm_t_off offset, int whence) in gdbscm_memory_port_seek() argument 1121 rc = ioscm_lseek_address (iomem, offset, whence); in gdbscm_memory_port_seek()
|
/netbsd/external/gpl3/gdb.old/dist/gdb/guile/ |
H A D | scm-ports.c | 662 ioscm_lseek_address (ioscm_memory_port *iomem, LONGEST offset, int whence) in ioscm_lseek_address() argument 668 switch (whence) in ioscm_lseek_address() 796 gdbscm_memory_port_seek (SCM port, scm_t_off offset, int whence) in gdbscm_memory_port_seek() argument 805 if (offset != 0 || whence != SEEK_CUR) in gdbscm_memory_port_seek() 808 rc = ioscm_lseek_address (iomem, offset, whence); in gdbscm_memory_port_seek() 831 if (offset != 0 || whence != SEEK_CUR) in gdbscm_memory_port_seek() 834 rc = ioscm_lseek_address (iomem, offset, whence); in gdbscm_memory_port_seek() 867 rc = ioscm_lseek_address (iomem, offset, whence); in gdbscm_memory_port_seek() 1116 gdbscm_memory_port_seek (SCM port, scm_t_off offset, int whence) in gdbscm_memory_port_seek() argument 1121 rc = ioscm_lseek_address (iomem, offset, whence); in gdbscm_memory_port_seek()
|
/netbsd/lib/librmt/ |
H A D | rmtlib.c | 472 _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/sys/arch/zaurus/stand/zboot/ |
H A D | pathfs.c | 72 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/external/bsd/ntp/dist/lib/isc/win32/ |
H A D | stdio.c | 54 isc_stdio_seek(FILE *f, long offset, int whence) { in isc_stdio_seek() argument 57 r = fseek(f, offset, whence); in isc_stdio_seek()
|
/netbsd/external/bsd/ntp/dist/lib/isc/unix/ |
H A D | stdio.c | 55 isc_stdio_seek(FILE *f, long offset, int whence) { in isc_stdio_seek() argument 58 r = fseek(f, offset, whence); in isc_stdio_seek()
|
/netbsd/sys/arch/hpcmips/stand/libsa/ |
H A D | winfs.c | 138 win_seek(struct open_file *f, off_t offset, int whence) in win_seek() argument 144 switch (whence) { in win_seek()
|