Home
last modified time | relevance | path

Searched refs:seekfn (Results 1 – 6 of 6) sorted by relevance

/picolibc-latest/newlib/libc/stdio/
Dfunopen.c103 funseek seekfn; member
145 if ((result = c->seekfn (c->cookie, (fpos_t) off, whence)) < 0 && errno) in funseeker()
150 if ((result = c->seekfn (c->cookie, (_fpos64_t) off, whence)) < 0 && errno) in funseeker()
171 if ((result = c->seekfn (c->cookie, off, whence)) < 0 && errno) in funseeker64()
198 funseek seekfn, in funopen() argument
251 c->seekfn = seekfn; in funopen()
252 fp->_seek = seekfn ? funseeker : NULL; in funopen()
254 fp->_seek64 = seekfn ? funseeker64 : NULL; in funopen()
Dfseeko.c100 _fpos_t (*seekfn) (void *, _fpos_t, int); in fseeko() local
130 if ((seekfn = fp->_seek) == NULL) in fseeko()
155 curoff = seekfn (fp->_cookie, (_fpos_t) 0, SEEK_CUR); in fseeko()
206 if (seekfn != __sseek in fseeko()
250 curoff = seekfn (fp->_cookie, 0L, SEEK_CUR); in fseeko()
310 if (seekfn (fp->_cookie, curoff, SEEK_SET) == POS_ERR) in fseeko()
337 || seekfn (fp->_cookie, offset, whence) == POS_ERR) in fseeko()
Dfopencookie.c96 cookie_seek_function_t *seekfn; member
150 if (c->seekfn (c->cookie, &offset, whence) < 0 && errno) in fcseeker()
172 if (c->seekfn (c->cookie, &offset, whence) < 0 && errno) in fcseeker64()
236 c->seekfn = functions.seek; in fopencookie()
/picolibc-latest/newlib/libc/stdio64/
Dfseeko64.c94 _fpos64_t (*seekfn) (void *, _fpos64_t, int); in fseeko64() local
133 if ((seekfn = fp->_seek64) == NULL) in fseeko64()
158 curoff = seekfn (fp->_cookie, (_fpos64_t) 0, SEEK_CUR); in fseeko64()
209 if (seekfn != __sseek64 in fseeko64()
246 curoff = seekfn (fp->_cookie, (_fpos64_t)0, SEEK_CUR); in fseeko64()
305 if (seekfn (fp->_cookie, curoff, SEEK_SET) == POS_ERR) in fseeko64()
331 || seekfn (fp->_cookie, offset, whence) == POS_ERR) in fseeko64()
/picolibc-latest/newlib/libc/tinystdio/
Dfunopen.c44 __off_t (*seekfn)(void *cookie, __off_t off, int whence), in funopen()
65 … FDEV_SETUP_BUFIO_PTR(cookie, buf, BUFSIZ, readfn, writefn, seekfn, closefn, open_flags, __BFALL); in funopen()
Dstdio.h364 __off_t (*seekfn)(void *cookie, __off_t off, int whence),