Lines Matching refs:cookie
92 void *cookie; member
102 void *cookie, in fcreader() argument
107 fccookie *c = (fccookie *) cookie; in fcreader()
109 if ((result = c->readfn (c->cookie, buf, n)) < 0 && errno) in fcreader()
116 void *cookie, in fcwriter() argument
121 fccookie *c = (fccookie *) cookie; in fcwriter()
125 c->fp->_seek64 (cookie, 0, SEEK_END); in fcwriter()
127 c->fp->_seek (cookie, 0, SEEK_END); in fcwriter()
131 if ((result = c->writefn (c->cookie, buf, n)) < 0 && errno) in fcwriter()
138 void *cookie, in fcseeker() argument
142 fccookie *c = (fccookie *) cookie; in fcseeker()
150 if (c->seekfn (c->cookie, &offset, whence) < 0 && errno) in fcseeker()
165 void *cookie, in fcseeker64() argument
170 fccookie *c = (fccookie *) cookie; in fcseeker64()
172 if (c->seekfn (c->cookie, &offset, whence) < 0 && errno) in fcseeker64()
180 void *cookie) in fccloser() argument
183 fccookie *c = (fccookie *) cookie; in fccloser()
187 if ((result = c->closefn (c->cookie)) < 0 && errno) in fccloser()
196 void *cookie, in fopencookie() argument
229 c->cookie = cookie; in fopencookie()