Home
last modified time | relevance | path

Searched refs:fpos_t (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/lib/libc/stdio/
H A Dftell.c66 fpos_t rv; in ftello()
82 _ftello(FILE *fp, fpos_t *offset) in _ftello()
84 fpos_t pos; in _ftello()
99 pos = _sseek(fp, (fpos_t)0, SEEK_END); in _ftello()
105 pos = _sseek(fp, (fpos_t)0, SEEK_CUR); in _ftello()
H A Dstdio.c64 fpos_t
65 __sseek(void *cookie, fpos_t offset, int whence) in __sseek()
108 if (_sseek(fp, (fpos_t)0, SEEK_END) == -1 && in _swrite()
127 fpos_t
128 _sseek(FILE *fp, fpos_t offset, int whence) in _sseek()
130 fpos_t ret; in _sseek()
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) in _fopencookie_seek()
147 return ((fpos_t)off64); in _fopencookie_seek()
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.c50 fpos_t offset;
54 memstream_grow(struct memstream *ms, fpos_t newoff) in memstream_grow()
109 static fpos_t
110 memstream_seek(void *cookie, fpos_t pos, int whence) in memstream_seek()
114 fpos_t old; in memstream_seek()
H A Dfseek.c47 #define POS_ERR (-(fpos_t)1)
92 fpos_t (*seekfn)(void *, fpos_t, int); in _fseeko()
93 fpos_t target, curoff, ret; in _fseeko()
281 (ret = _sseek(fp, (fpos_t)offset, whence)) == POS_ERR) in _fseeko()
H A Dopen_wmemstream.c50 fpos_t offset;
55 wmemstream_grow(struct wmemstream *ms, fpos_t newoff) in wmemstream_grow()
171 static fpos_t
172 wmemstream_seek(void *cookie, fpos_t pos, int whence) in wmemstream_seek()
175 fpos_t old; in wmemstream_seek()
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) in fmemopen_seek()
H A Dfgetpos.c38 fgetpos(FILE * __restrict fp, fpos_t * __restrict pos) in fgetpos()
43 if ((*pos = ftello(fp)) == (fpos_t)-1) in fgetpos()
H A Dfunopen.c44 fpos_t (*seekfn)(void *, fpos_t, int), in funopen() argument
H A Dfreopen.c115 (void) _sseek(fp, (fpos_t)0, SEEK_SET); in freopen()
242 (void) _sseek(fp, (fpos_t)0, SEEK_END); in freopen()
H A Dfsetpos.c42 fsetpos(FILE *iop, const fpos_t *pos) in fsetpos()
H A Dfopen.c92 (void)_sseek(fp, (fpos_t)0, SEEK_END); in fopen()
/freebsd/include/
H A Dstdio.h44 typedef __off_t fpos_t; typedef
137 fpos_t (* _Nullable _seek)(void *, fpos_t, int);
154 fpos_t _offset; /* current lseek offset */
272 int fgetpos(FILE * __restrict, fpos_t * __restrict);
282 int fsetpos(FILE *, const fpos_t *);
420 fpos_t (* _Nullable)(void *, fpos_t, int),
/freebsd/lib/libz/
H A Dzopen.c31 static fpos_t
32 xgzseek(void *cookie, fpos_t offset, int whence) in xgzseek()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dcstdio41 fpos_t
85 int fgetpos(FILE* restrict stream, fpos_t* restrict pos);
87 int fsetpos(FILE*stream, const fpos_t* pos);
117 using ::fpos_t _LIBCPP_USING_IF_EXISTS;
/freebsd/contrib/flex/src/
H A Dtables.h50 fpos_t th_ssize_pos;
H A Dtables.c194 fpos_t pos; in yytbl_data_fwrite()
/freebsd/contrib/llvm-project/libcxx/modules/std.compat/
H A Dcstdio.inc12 using ::fpos_t _LIBCPP_USING_IF_EXISTS;
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dcstdio.cppm
H A Dcstdio.inc12 using std::fpos_t _LIBCPP_USING_IF_EXISTS;
/freebsd/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) in ftp_seekfn()
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_read_set_format.c207 fpos_t pos; in DEFINE_TEST()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_freebsd.cpp126 unsigned fpos_t_sz = sizeof(fpos_t);
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.def1257 /// int fgetpos(FILE *stream, fpos_t *pos);
1455 /// int fsetpos(FILE *stream, const fpos_t *pos);

12