Lines Matching defs:cookie
77 _nss_services_cookie_t *cookie;
79 if ((cookie = calloc(1, sizeof (*cookie))) == NULL)
86 cookie->result = result;
88 cookie->index = index;
89 cookie->cname = cname;
91 return (cookie);
119 _nss_services_cookie_t *cookie = (_nss_services_cookie_t *)
122 if (cookie) {
127 result = cookie->result;
128 cname = cookie->cname;
188 if (cookie) {
193 protoval = protocol->attrvalue[cookie->index++];
254 if (be->enumcookie != NULL && cookie == NULL &&
260 * Create cookie and save result in the cookie
280 if (cookie) {
286 cookie->index >= protocol->value_count) {
289 * ipservicesprotocol value(s) then free cookie and
299 * getservent_r with single value or can't create cookie