Searched refs:_cookie (Results 1 – 18 of 18) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | freopen.c | 84 (void) (*fp->_close)(fp->_cookie); in freopen() 94 (void) (*fp->_close)(fp->_cookie); in freopen() 107 (void) (*fp->_close)(fp->_cookie); in freopen() 153 fp->_cookie = fp; in freopen()
|
D | fseek.c | 86 curoff = (*seekfn)(fp->_cookie, (fpos_t)0, SEEK_CUR); in fseeko() 155 curoff = (*seekfn)(fp->_cookie, (fpos_t)0, SEEK_CUR); in fseeko() 209 if ((*seekfn)(fp->_cookie, curoff, SEEK_SET) == POS_ERR) in fseeko() 232 (*seekfn)(fp->_cookie, (fpos_t)offset, whence) == POS_ERR) { in fseeko()
|
D | fclose.c | 51 if (fp->_close != NULL && (*fp->_close)(fp->_cookie) < 0) in fclose()
|
D | funopen.c | 62 fp->_cookie = (void *)cookie; /* SAFE: cookie not modified */ in funopen()
|
D | fvwrite.c | 85 w = (*fp->_write)(fp->_cookie, p, MIN(len, BUFSIZ)); in __sfvwrite() 141 w = (*fp->_write)(fp->_cookie, p, w); in __sfvwrite() 180 w = (*fp->_write)(fp->_cookie, p, w); in __sfvwrite()
|
D | fopen.c | 69 fp->_cookie = fp; in fopen()
|
D | vdprintf.c | 66 f._cookie = &fd; in vdprintf()
|
D | ftell.c | 62 pos = (*fp->_seek)(fp->_cookie, (fpos_t)0, SEEK_CUR); in ftello()
|
D | fdopen.c | 85 fp->_cookie = fp; in fdopen()
|
D | fflush.c | 79 t = (*fp->_write)(fp->_cookie, (char *)p, n); in __sflush()
|
D | refill.c | 116 fp->_r = (*fp->_read)(fp->_cookie, (char *)fp->_p, fp->_bf._size); in __srefill()
|
D | open_memstream.c | 150 fp->_cookie = st; in open_memstream()
|
D | fmemopen.c | 176 fp->_cookie = (void *)st; in fmemopen()
|
D | open_wmemstream.c | 161 fp->_cookie = st; in open_wmemstream()
|
D | vfwprintf.c | 108 fake._cookie = fp->_cookie; in __sbprintf()
|
D | vfprintf.c | 130 fake._cookie = fp->_cookie; in __sbprintf()
|
/bionic/libc/stdio/ |
D | fread.c | 127 ssize_t bytes_read = (*fp->_read)(fp->_cookie, dst, total); in fread()
|
/bionic/libc/include/ |
D | stdio.h | 123 void *_cookie; /* cookie passed to io functions */ member
|