Lines Matching refs:cookie
60 __sread(void *cookie, void *buf, size_t n)
62 FILE *fp = cookie;
65 _DIAGASSERT(cookie != NULL);
66 _DIAGASSERT(cookie == fp->_cookie);
80 __swrite(void *cookie, const void *buf, size_t n)
82 FILE *fp = cookie;
84 _DIAGASSERT(cookie != NULL);
85 _DIAGASSERT(cookie == fp->_cookie);
100 __sseek(void *cookie, off_t offset, int whence)
102 FILE *fp = cookie;
105 _DIAGASSERT(cookie != NULL);
106 _DIAGASSERT(cookie == fp->_cookie);
119 __sclose(void *cookie)
121 FILE *fp = cookie;
123 _DIAGASSERT(cookie != NULL);
124 _DIAGASSERT(cookie == fp->_cookie);