Searched refs:fpos_t (Results 1 - 23 of 23) sorted by relevance

/freebsd-current/lib/libc/stdio/
H A Dfgetpos.c38 fgetpos(FILE * __restrict fp, fpos_t * __restrict pos)
43 if ((*pos = ftello(fp)) == (fpos_t)-1)
H A Dfsetpos.c42 fsetpos(FILE *iop, const fpos_t *pos)
H A Dfunopen.c44 fpos_t (*seekfn)(void *, fpos_t, int),
H A Dftell.c66 fpos_t rv;
82 _ftello(FILE *fp, fpos_t *offset)
84 fpos_t pos;
99 pos = _sseek(fp, (fpos_t)0, SEEK_END);
105 pos = _sseek(fp, (fpos_t)0, SEEK_CUR);
H A Dstdio.c64 fpos_t
65 __sseek(void *cookie, fpos_t offset, int whence)
108 if (_sseek(fp, (fpos_t)0, SEEK_END) == -1 &&
127 fpos_t
128 _sseek(FILE *fp, fpos_t offset, int whence)
130 fpos_t ret;
H A Dfopencookie.c42 static fpos_t _fopencookie_seek(void *, fpos_t, int);
113 static fpos_t
114 _fopencookie_seek(void *cookie, fpos_t offset, int whence)
147 return ((fpos_t)off64);
H A Dlocal.h56 extern fpos_t _sseek(FILE *, fpos_t, int);
57 extern int _ftello(FILE *, fpos_t *);
69 extern fpos_t __sseek(void *, fpos_t, int);
H A Dopen_memstream.c43 /* XXX: There is no FPOS_MAX. This assumes fpos_t is an off_t. */
50 fpos_t offset;
54 memstream_grow(struct memstream *ms, fpos_t newoff)
109 static fpos_t
110 memstream_seek(void *cookie, fpos_t pos, int whence)
114 fpos_t old;
H A Dfmemopen.c48 static fpos_t fmemopen_seek(void *cookie, fpos_t offset, int whence);
211 static fpos_t
212 fmemopen_seek(void *cookie, fpos_t offset, int whence)
H A Dopen_wmemstream.c43 /* XXX: There is no FPOS_MAX. This assumes fpos_t is an off_t. */
50 fpos_t offset;
55 wmemstream_grow(struct wmemstream *ms, fpos_t newoff)
171 static fpos_t
172 wmemstream_seek(void *cookie, fpos_t pos, int whence)
175 fpos_t old;
H A Dfseek.c47 #define POS_ERR (-(fpos_t)1)
92 fpos_t (*seekfn)(void *, fpos_t, int);
93 fpos_t target, curoff, ret;
281 (ret = _sseek(fp, (fpos_t)offset, whence)) == POS_ERR)
H A Dfopen.c92 (void)_sseek(fp, (fpos_t)0, SEEK_END);
H A Dfreopen.c115 (void) _sseek(fp, (fpos_t)0, SEEK_SET);
242 (void) _sseek(fp, (fpos_t)0, SEEK_END);
/freebsd-current/contrib/flex/src/
H A Dtables.h51 fpos_t th_ssize_pos;
H A Dtables.c195 fpos_t pos;
/freebsd-current/lib/libz/
H A Dzopen.c31 static fpos_t
32 xgzseek(void *cookie, fpos_t offset, int whence)
/freebsd-current/contrib/llvm-project/libcxx/modules/std.compat/
H A Dcstdio.inc12 using ::fpos_t;
/freebsd-current/include/
H A Dstdio.h44 typedef __off_t fpos_t; typedef
134 fpos_t (* _Nullable _seek)(void *, fpos_t, int);
151 fpos_t _offset; /* current lseek offset */
254 int fgetpos(FILE * __restrict, fpos_t * __restrict);
264 int fsetpos(FILE *, const fpos_t *);
411 fpos_t (* _Nullable)(void *, fpos_t, int),
/freebsd-current/contrib/llvm-project/libcxx/modules/std/
H A Dcstdio.inc12 using std::fpos_t;
/freebsd-current/contrib/libarchive/libarchive/test/
H A Dtest_read_set_format.c207 fpos_t pos;
/freebsd-current/lib/libfetch/
H A Dftp.c488 static fpos_t ftp_seekfn(void *, fpos_t, int);
551 static fpos_t
552 ftp_seekfn(void *v, fpos_t pos __unused, int whence __unused)
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_freebsd.cpp126 unsigned fpos_t_sz = sizeof(fpos_t);
H A Dsanitizer_platform_limits_netbsd.cpp2490 const unsigned fpos_t_sz = sizeof(fpos_t);

Completed in 293 milliseconds