/freebsd-11-stable/lib/libz/ |
H A D | zopen.c | 33 xgzseek(void *cookie, fpos_t offset, int whence) argument 35 return gzseek(cookie, (z_off_t)offset, whence);
|
/freebsd-11-stable/lib/libc/tests/stdio/ |
H A D | open_memstream2_test.c | 159 #define SEEK_FAIL(offset, whence, error) do { \ 161 ATF_REQUIRE_MSG(fseeko(fp, (offset), (whence)) != 0, \ 163 __STRING(offset), __STRING(whence), \ 167 __STRING(offset), __STRING(whence), errno, \ 171 #define SEEK_OK(offset, whence, result) do { \ 172 ATF_REQUIRE_MSG(fseeko(fp, (offset), (whence)) == 0, \ 174 __STRING(offset), __STRING(whence), strerror(errno)); \ 177 __STRING(offset), __STRING(whence), \
|
H A D | open_wmemstream_test.c | 159 #define SEEK_FAIL(offset, whence, error) do { \ 161 ATF_REQUIRE_MSG(fseeko(fp, (offset), (whence)) != 0, \ 163 __STRING(offset), __STRING(whence), \ 167 __STRING(offset), __STRING(whence), errno, \ 171 #define SEEK_OK(offset, whence, result) do { \ 172 ATF_REQUIRE_MSG(fseeko(fp, (offset), (whence)) == 0, \ 174 __STRING(offset), __STRING(whence), strerror(errno)); \ 177 __STRING(offset), __STRING(whence), \
|
/freebsd-11-stable/lib/libc/stdio/ |
H A D | stdio.c | 69 __sseek(void *cookie, fpos_t offset, int whence) argument 73 return (lseek(fp->_file, (off_t)offset, whence)); 132 _sseek(FILE *fp, fpos_t offset, int whence) argument 139 ret = (*fp->_seek)(fp->_cookie, offset, whence); 150 if (offset != 0 || whence != SEEK_CUR) {
|
H A D | fseek.c | 54 fseek(FILE *fp, long offset, int whence) argument 64 ret = _fseeko(fp, (off_t)offset, whence, 1); 72 fseeko(FILE *fp, off_t offset, int whence) argument 82 ret = _fseeko(fp, offset, whence, 0); 94 _fseeko(FILE *fp, off_t offset, int whence, int ltest) argument 111 * Change any SEEK_CUR to SEEK_SET, and check `whence' argument. 112 * After this, whence is either SEEK_SET or SEEK_END. 114 switch (whence) { 142 whence = SEEK_SET; 188 if (whence [all...] |
H A D | fopencookie.c | 117 _fopencookie_seek(void *cookie, fpos_t offset, int whence) argument 123 switch (whence) { 146 res = thunk->foc_io.seek(thunk->foc_cookie, &off64, whence);
|
H A D | fmemopen.c | 49 static fpos_t fmemopen_seek(void *cookie, fpos_t offset, int whence); 213 fmemopen_seek(void *cookie, fpos_t offset, int whence) argument 218 switch (whence) {
|
H A D | open_memstream.c | 111 memstream_seek(void *cookie, fpos_t pos, int whence) argument 122 switch (whence) { 160 whence, (intmax_t)old, (intmax_t)ms->offset);
|
/freebsd-11-stable/stand/powerpc/kboot/ |
H A D | host_syscall.h | 35 ssize_t host_seek(int fd, int64_t offset, int whence); 37 ssize_t host_llseek(int fd, int32_t offset_high, int32_t offset_lo, uint64_t *result, int whence);
|
/freebsd-11-stable/contrib/sendmail/libsm/ |
H A D | syslogio.c | 121 ** offset -- the new offset position relative to 'whence' 122 ** whence -- flag indicating start of 'offset' 129 sm_syslogseek(fp, offset, whence) 132 int whence;
|
H A D | fseek.c | 68 ** offset -- seek offset based on 'whence' 69 ** whence -- indicates where seek is relative from. 77 sm_io_seek(fp, timeout, offset, whence) 81 int SM_NONVOLATILE whence; 129 ** Change any SM_IO_SEEK_CUR to SM_IO_SEEK_SET, and check `whence' 130 ** argument. After this, whence is either SM_IO_SEEK_SET or 134 switch (whence) 168 whence = SM_IO_SEEK_SET; 215 if (whence == SM_IO_SEEK_SET) 322 (*seekfn)(fp, (off_t) offset, whence) [all...] |
H A D | smstdio.c | 193 ** offset -- new location based on 'whence' 194 ** whence -- indicates "base" for 'offset' 201 sm_stdioseek(fp, offset, whence) 204 int whence; 211 return fseek(s, offset, whence);
|
/freebsd-11-stable/contrib/ntp/lib/isc/include/isc/ |
H A D | stdio.h | 51 isc_stdio_seek(FILE *f, long offset, int whence);
|
/freebsd-11-stable/contrib/ntp/lib/isc/unix/ |
H A D | stdio.c | 53 isc_stdio_seek(FILE *f, long offset, int whence) { argument 56 r = fseek(f, offset, whence);
|
/freebsd-11-stable/contrib/ntp/lib/isc/win32/ |
H A D | stdio.c | 52 isc_stdio_seek(FILE *f, long offset, int whence) { argument 55 r = fseek(f, offset, whence);
|
/freebsd-11-stable/contrib/binutils/bfd/ |
H A D | sysdep.h | 155 extern int fseeko (FILE *stream, off_t offset, int whence); 161 extern int fseeko64 (FILE *stream, off64_t offset, int whence);
|
H A D | bfdio.c | 53 real_fseek (FILE *file, file_ptr offset, int whence) argument 56 return fseeko64 (file, offset, whence); 58 return fseeko (file, offset, whence); 60 return fseek (file, offset, whence); 101 . int (*bseek) (struct bfd *abfd, file_ptr offset, int whence);
|
/freebsd-11-stable/crypto/heimdal/lib/krb5/ |
H A D | store_fd.c | 56 fd_seek(krb5_storage * sp, off_t offset, int whence) argument 58 return lseek(FD(sp), offset, whence);
|
H A D | store_mem.c | 72 mem_seek(krb5_storage *sp, off_t offset, int whence) argument 75 switch(whence){
|
/freebsd-11-stable/sys/i386/ibcs2/ |
H A D | ibcs2_other.c | 78 largs.whence = uap->whence;
|
/freebsd-11-stable/contrib/libarchive/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) argument 152 switch (whence) {
|
H A D | archive_read_open_fd.c | 179 file_seek(struct archive *a, void *client_data, int64_t request, int whence) argument 186 r = lseek(mine->fd, request, whence);
|
/freebsd-11-stable/contrib/libarchive/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) argument 188 switch (whence) {
|
/freebsd-11-stable/sys/compat/cloudabi/ |
H A D | cloudabi_fd.c | 171 int whence; local 173 switch (uap->whence) { 175 whence = SEEK_CUR; 178 whence = SEEK_END; 181 whence = SEEK_SET; 187 return (kern_lseek(td, uap->fd, uap->offset, whence));
|
/freebsd-11-stable/sys/contrib/zlib/ |
H A D | gzlib.c | 369 z_off64_t ZEXPORT gzseek64(file, offset, whence) 372 int whence; 390 if (whence != SEEK_SET && whence != SEEK_CUR) 394 if (whence == SEEK_SET) 446 z_off_t ZEXPORT gzseek(file, offset, whence) 449 int whence; 453 ret = gzseek64(file, (z_off64_t)offset, whence);
|