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

/freebsd-10-stable/lib/libc/stdio/
H A Dfgetpos.c42 fgetpos(FILE * __restrict fp, fpos_t * __restrict pos)
47 if ((*pos = ftello(fp)) == (fpos_t)-1)
H A Dfsetpos.c46 fsetpos(FILE *iop, const fpos_t *pos)
H A Dftell.c70 fpos_t rv;
86 _ftello(FILE *fp, fpos_t *offset)
88 fpos_t pos;
103 pos = _sseek(fp, (fpos_t)0, SEEK_END);
109 pos = _sseek(fp, (fpos_t)0, SEEK_CUR);
H A Dstdio.c68 fpos_t
69 __sseek(void *cookie, fpos_t offset, int whence)
112 if (_sseek(fp, (fpos_t)0, SEEK_END) == -1 &&
131 fpos_t
132 _sseek(FILE *fp, fpos_t offset, int whence)
134 fpos_t ret;
H A Dfunopen.c48 fpos_t (*seekfn)(void *, fpos_t, int),
H A Dlocal.h57 extern fpos_t _sseek(FILE *, fpos_t, int);
58 extern int _ftello(FILE *, fpos_t *);
70 extern fpos_t __sseek(void *, fpos_t, int);
H A Dopen_memstream.c44 /* XXX: There is no FPOS_MAX. This assumes fpos_t is an off_t. */
51 fpos_t offset;
55 memstream_grow(struct memstream *ms, fpos_t newoff)
110 static fpos_t
111 memstream_seek(void *cookie, fpos_t pos, int whence)
115 fpos_t old;
H A Dfmemopen.c49 static fpos_t fmemopen_seek(void *cookie, fpos_t offset, int whence);
212 static fpos_t
213 fmemopen_seek(void *cookie, fpos_t offset, int whence)
H A Dopen_wmemstream.c44 /* XXX: There is no FPOS_MAX. This assumes fpos_t is an off_t. */
51 fpos_t offset;
56 wmemstream_grow(struct wmemstream *ms, fpos_t newoff)
172 static fpos_t
173 wmemstream_seek(void *cookie, fpos_t pos, int whence)
176 fpos_t old;
H A Dfseek.c51 #define POS_ERR (-(fpos_t)1)
96 fpos_t (*seekfn)(void *, fpos_t, int);
97 fpos_t target, curoff, ret;
285 (ret = _sseek(fp, (fpos_t)offset, whence)) == POS_ERR)
H A Dfopen.c96 (void)_sseek(fp, (fpos_t)0, SEEK_END);
H A Dfreopen.c119 (void) _sseek(fp, (fpos_t)0, SEEK_SET);
246 (void) _sseek(fp, (fpos_t)0, SEEK_END);
/freebsd-10-stable/contrib/flex/
H A Dtables.h51 fpos_t th_ssize_pos;
H A Dtables.c196 fpos_t pos;
/freebsd-10-stable/include/
H A Dstdio.h43 typedef __off_t fpos_t; typedef
123 fpos_t (*_seek)(void *, fpos_t, int);
140 fpos_t _offset; /* current lseek offset */
243 int fgetpos(FILE * __restrict, fpos_t * __restrict);
253 int fsetpos(FILE *, const fpos_t *);
425 fpos_t (*)(void *, fpos_t, int),
/freebsd-10-stable/contrib/libstdc++/include/c_compatibility/
H A Dstdio.h36 using std::fpos_t;
/freebsd-10-stable/contrib/gcc/
H A Dsys-types.h136 typedef int fpos_t; typedef
H A Dscan-types.sh39 for TYPE in dev_t clock_t fpos_t gid_t ino_t mode_t nlink_t off_t pid_t size_t ssize_t time_t uid_t va_list int32_t uint_32_t ; do
73 #define ${macro_prefix}fpos_t ${fpos_t-long /* default */}
H A Dsys-protos.h337 extern int fgetpos(FILE *, fpos_t *);
407 extern int fsetpos(FILE *, const fpos_t *);
/freebsd-10-stable/contrib/libstdc++/include/c_std/
H A Dstd_cstdio.h101 using ::fpos_t;
/freebsd-10-stable/usr.bin/xlint/llib/
H A Dllib-lstdc172 int (fgetpos)(FILE *stream, fpos_t *pos);
174 int (fsetpos)(FILE *stream, const fpos_t *pos);
H A Dllib-lposix125 int (fgetpos)(FILE *stream, fpos_t *pos);
144 int (fsetpos)(FILE *stream, const fpos_t *pos);
/freebsd-10-stable/lib/libfetch/
H A Dftp.c489 static fpos_t ftp_seekfn(void *, fpos_t, int);
552 static fpos_t
553 ftp_seekfn(void *v, fpos_t pos __unused, int whence __unused)
/freebsd-10-stable/contrib/gcclibs/libmudflap/
H A Dmf-hooks2.c1202 WRAPPER2(int, fgetpos, FILE *stream, fpos_t *pos)
1212 WRAPPER2(int, fsetpos, FILE *stream, fpos_t *pos)

Completed in 146 milliseconds