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

1 2 3 4 5 6 7 8 91011>>

  /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);
  /src/external/gpl2/xcvs/dist/lib/
fseeko.c 38 fseeko (FILE *stream, off_t offset, int whence)
44 if (fseek (stream, pos, whence) != 0)
47 whence = SEEK_CUR;
49 return fseek (stream, (long) offset, whence);
  /src/lib/libc/sys/
lseek.c 57 lseek(int fd, off_t offset, int whence)
60 return __lseek(fd, 0, offset, whence);
  /src/external/bsd/jemalloc/dist/include/jemalloc/internal/
malloc_io.h 93 malloc_lseek(int fd, off_t offset, int whence) {
95 return (off_t)syscall(SYS_lseek, fd, offset, whence);
97 return lseek(fd, offset, whence);
  /src/external/bsd/jemalloc/include/jemalloc/internal/
malloc_io.h 93 malloc_lseek(int fd, off_t offset, int whence) {
95 return (off_t)syscall(SYS_lseek, fd, offset, whence);
97 return lseek(fd, offset, whence);
  /src/sys/compat/linux/common/
linux_llseek.c 65 syscallarg(int) whence;
75 SCARG(&bla, whence) = SCARG(uap, whence);
  /src/external/mpl/bind/dist/lib/isc/include/isc/
stdio.h 46 isc_stdio_seek(FILE *f, off_t offset, int whence);
  /src/sys/compat/linux32/arch/amd64/
linux32_missing.h 57 syscallarg(int) whence; member in struct:linux_sys_llseek_args
  /src/external/bsd/ntp/dist/libntp/lib/isc/include/isc/
stdio.h 53 isc_stdio_seek(FILE *f, long offset, int whence);
  /src/external/mpl/dhcp/bind/dist/lib/isc/include/isc/
stdio.h 47 isc_stdio_seek(FILE *f, off_t offset, int whence);
  /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/external/bsd/ntp/dist/libntp/lib/isc/unix/
stdio.c 55 isc_stdio_seek(FILE *f, long offset, int whence) {
58 r = fseek(f, offset, whence);
  /src/external/bsd/libarchive/dist/libarchive/
archive_read_open_file.c 196 FILE_seek(struct archive *a, void *client_data, int64_t request, int whence)
222 int64_t ret = lseek(fileno(mine->f), seek, whence);
227 if (_fseeki64(mine->f, seek, whence) == 0) {
231 if (fseeko(mine->f, seek, whence) == 0) {
235 if (fseek(mine->f, seek, whence) == 0) {
archive_read_open_memory.c 51 static int64_t memory_read_seek(struct archive *, void *, int64_t offset, int whence);
146 memory_read_seek(struct archive *a, void *client_data, int64_t offset, int whence)
151 switch (whence) {
  /src/external/bsd/libarchive/dist/libarchive/test/
read_open_memory.c 52 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)
187 switch (whence) {
  /src/crypto/external/bsd/heimdal/dist/lib/krb5/
store_fd.c 92 fd_seek(krb5_storage * sp, off_t offset, int whence)
94 return lseek(FD(sp), offset, whence);
store_sock.c 62 socket_seek(krb5_storage * sp, off_t offset, int whence)
64 return lseek(SOCK(sp), offset, whence);
  /src/external/gpl3/binutils/dist/bfd/
sysdep.h 137 extern int fseeko (FILE *stream, off_t offset, int whence);
143 extern int fseeko64 (FILE *stream, off64_t offset, int whence);
  /src/external/gpl3/binutils.old/dist/bfd/
sysdep.h 129 extern int fseeko (FILE *stream, off_t offset, int whence);
135 extern int fseeko64 (FILE *stream, off64_t offset, int whence);
  /src/external/gpl3/binutils.old/dist/zlib/
gzlib.c 368 z_off64_t ZEXPORT gzseek64(file, offset, whence)
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)
448 int whence;
452 ret = gzseek64(file, (z_off64_t)offset, whence);

Completed in 37 milliseconds

1 2 3 4 5 6 7 8 91011>>