Lines Matching refs:Cookie
105 static void freecookie(struct Cookie *co) in freecookie()
380 struct Cookie *co, *nx; in remove_expired()
385 struct Cookie *pv = NULL; in remove_expired()
426 struct Cookie *
442 struct Cookie *clist; in Curl_cookie_add()
443 struct Cookie *co; in Curl_cookie_add()
444 struct Cookie *lastc = NULL; in Curl_cookie_add()
455 co = calloc(1, sizeof(struct Cookie)); in Curl_cookie_add()
1184 struct Cookie *c1 = *(struct Cookie **)p1; in cookie_sort()
1185 struct Cookie *c2 = *(struct Cookie **)p2; in cookie_sort()
1216 struct Cookie *c1 = *(struct Cookie **)p1; in cookie_sort_ct()
1217 struct Cookie *c2 = *(struct Cookie **)p2; in cookie_sort_ct()
1231 static struct Cookie *dup_cookie(struct Cookie *src) in dup_cookie()
1233 struct Cookie *d = calloc(sizeof(struct Cookie), 1); in dup_cookie()
1269 struct Cookie *Curl_cookie_getlist(struct CookieInfo *c, in Curl_cookie_getlist()
1273 struct Cookie *newco; in Curl_cookie_getlist()
1274 struct Cookie *co; in Curl_cookie_getlist()
1275 struct Cookie *mainco = NULL; in Curl_cookie_getlist()
1331 struct Cookie **array; in Curl_cookie_getlist()
1335 array = malloc(sizeof(struct Cookie *) * matches); in Curl_cookie_getlist()
1345 qsort(array, matches, sizeof(struct Cookie *), cookie_sort); in Curl_cookie_getlist()
1392 void Curl_cookie_freelist(struct Cookie *co) in Curl_cookie_freelist()
1394 struct Cookie *next; in Curl_cookie_freelist()
1412 struct Cookie *first, *curr, *next, *prev = NULL; in Curl_cookie_clearsess()
1471 static char *get_netscape_format(const struct Cookie *co) in get_netscape_format()
1505 struct Cookie *co; in cookie_output()
1536 struct Cookie **array; in cookie_output()
1538 array = calloc(1, sizeof(struct Cookie *) * c->numcookies); in cookie_output()
1554 qsort(array, nvalid, sizeof(struct Cookie *), cookie_sort_ct); in cookie_output()
1581 struct Cookie *c; in cookie_list()