Lines Matching refs:cookie
47 static int fmemopen_read(void *cookie, char *buf, int nbytes);
48 static int fmemopen_write(void *cookie, const char *buf, int nbytes);
49 static fpos_t fmemopen_seek(void *cookie, fpos_t offset, int whence);
50 static int fmemopen_close(void *cookie);
162 fmemopen_read(void *cookie, char *buf, int nbytes)
164 struct fmemopen_cookie *ck = cookie;
180 fmemopen_write(void *cookie, const char *buf, int nbytes)
182 struct fmemopen_cookie *ck = cookie;
210 fmemopen_seek(void *cookie, fpos_t offset, int whence)
212 struct fmemopen_cookie *ck = cookie;
249 fmemopen_close(void *cookie)
251 struct fmemopen_cookie *ck = cookie;