Searched refs:whence (Results 26 - 50 of 90) sorted by relevance

1234

/freebsd-11-stable/stand/userboot/
H A Duserboot.h117 int whence);
/freebsd-11-stable/contrib/binutils/bfd/
H A Dcache.c252 cache_bseek (struct bfd *abfd, file_ptr offset, int whence) argument
254 FILE *f = bfd_cache_lookup (abfd, whence != SEEK_CUR ? CACHE_NO_SEEK : 0);
257 return real_fseek (f, offset, whence);
H A Dlibbfd.h674 extern int real_fseek (FILE *file, file_ptr offset, int whence);
768 int (*bseek) (struct bfd *abfd, file_ptr offset, int whence);
/freebsd-11-stable/lib/libc/stdio/
H A Dopen_wmemstream.c173 wmemstream_seek(void *cookie, fpos_t pos, int whence) argument
180 switch (whence) {
221 (intmax_t)pos, whence, (intmax_t)old, (intmax_t)ms->offset);
/freebsd-11-stable/contrib/sendmail/libsm/
H A Dstrio.c151 ** values for whence.
156 ** whence -- determines "base" for 'offset'
164 sm_strseek(fp, offset, whence)
167 int whence;
173 switch (whence)
H A Dstdio.c167 ** offset -- how far to position from "base" (set by 'whence')
168 ** whence -- indicates where the "base" of the 'offset' to start
179 sm_stdseek(fp, offset, whence)
182 int whence;
186 ret = lseek(fp->f_file, (off_t) offset, whence);
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dstore_emem.c79 emem_seek(krb5_storage *sp, off_t offset, int whence) argument
82 switch(whence){
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dfs.h278 no_llseek(struct file *file, loff_t offset, int whence) argument
285 noop_llseek(struct linux_file *file, loff_t offset, int whence) argument
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_solaris.cpp172 DECLARE__REAL_AND_INTERNAL64(uptr, lseek, fd_t fd, OFF_T offset, int whence) { argument
173 return _REAL64(lseek)(fd, offset, whence);
H A Dsanitizer_posix.h56 uptr internal_lseek(fd_t fd, OFF_T offset, int whence);
H A Dsanitizer_netbsd.cpp273 uptr internal_lseek(fd_t fd, OFF_T offset, int whence) { argument
275 return __lseek(fd, 0, offset, whence);
/freebsd-11-stable/contrib/libarchive/libarchive/test/
H A Dtest_write_format_zip_large.c190 memory_read_seek(struct archive *a, void *_private, int64_t offset, int whence) argument
195 if (whence == SEEK_END) {
197 } else if (whence == SEEK_CUR) {
H A Dtest_archive_read_multiple_data_objects.c245 file_seek(struct archive *a, void *data, int64_t request, int whence) argument
251 r = lseek(mine->fd, request, whence);
/freebsd-11-stable/sys/sys/
H A Dfile.h116 typedef int fo_seek_t(struct file *fp, off_t offset, int whence,
383 fo_seek(struct file *fp, off_t offset, int whence, struct thread *td) argument
386 return ((*fp->f_ops->fo_seek)(fp, offset, whence, td));
/freebsd-11-stable/contrib/sendmail/src/
H A Dbf.c426 ** whence -- how to seek
437 sm_bfseek(fp, offset, whence)
440 int whence;
448 switch (whence)
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_read_private.h96 int64_t (*seek)(struct archive_read_filter *self, int64_t offset, int whence);
H A Darchive_read.c231 client_seek_proxy(struct archive_read_filter *self, int64_t offset, int whence) argument
244 self->data, offset, whence);
959 archive_seek_data(struct archive *_a, int64_t offset, int whence) argument
972 return (a->format->seek_data)(a, offset, whence);
1619 __archive_read_seek(struct archive_read *a, int64_t offset, int whence) argument
1621 return __archive_read_filter_seek(a->filter, offset, whence);
1626 int whence)
1638 switch (whence) {
1742 * Hmmm... If whence was SEEK_END, we know the file
1625 __archive_read_filter_seek(struct archive_read_filter *filter, int64_t offset, int whence) argument
H A Darchive_read_open_filename.c510 file_seek(struct archive *a, void *client_data, int64_t request, int whence) argument
517 r = lseek(mine->fd, request, whence);
/freebsd-11-stable/stand/userboot/test/
H A Dtest.c214 test_seek(void *arg, void *h, uint64_t offset, int whence) argument
220 if (lseek(tf->tf_u.fd, offset, whence) < 0)
/freebsd-11-stable/stand/ficl/
H A Dloader.c663 * fseek ( fd ofs whence -- pos )
667 int fd, pos, whence; local
672 whence = stackPopINT(pVM->pStack);
675 stackPushINT(pVM->pStack, lseek(fd, pos, whence));
/freebsd-11-stable/contrib/gdb/gdb/
H A Dproc-api.c617 lseek_with_trace (int fd, off_t offset, int whence, char *file, int line) argument
623 ret = lseek (fd, offset, whence);
/freebsd-11-stable/sys/compat/svr4/
H A Dsvr4_fcntl.c484 ap.whence = uap->whence;
/freebsd-11-stable/stand/libsa/
H A Dpkgfs.c332 pkg_seek(struct open_file *f, off_t ofs, int whence) argument
346 switch (whence) {
/freebsd-11-stable/usr.sbin/bhyveload/
H A Dbhyveload.c269 cb_seek(void *arg, void *h, uint64_t offset, int whence) argument
275 if (lseek(cf->cf_u.fd, offset, whence) < 0)
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dzlib.h1186 z_off_t offset, int whence));
1190 uncompressed data stream. The whence parameter is defined as in lseek(2);

Completed in 258 milliseconds

1234