• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/wget-1.12/src/

Lines Matching defs:chains

75   /* Cookie chains indexed by domain.  */
76 struct hash_table *chains;
89 jar->chains = make_nocase_string_hash_table (0);
162 All cookies can be reached beginning with jar->chains. The key in
180 chain = hash_table_get (jar->chains, cookie->domain);
214 if (hash_table_get_pair (jar->chains, cookie->domain,
257 hash_table_put (jar->chains, chain_key, cookie);
285 if (!hash_table_count (jar->chains))
302 res = hash_table_get_pair (jar->chains, victim->domain,
309 hash_table_remove (jar->chains, victim->domain);
313 hash_table_put (jar->chains, chain_key, victim->next);
756 /* Find the cookie chains whose domains match HOST and store them to
761 will return the chains for "img.search.xemacs.org",
776 if (!hash_table_count (jar->chains))
790 /* Find chains that match HOST, starting with exact match and
796 struct cookie *chain = hash_table_get (jar->chains, host);
968 struct cookie **chains;
978 /* First, find the cookie chains whose domains match HOST. */
981 chains can at most equal the number of subdomains, hence
983 chains = alloca_array (struct cookie *, 1 + count_char (host, '.'));
984 chain_count = find_chains_of_host (jar, host, chains);
992 /* Now extract from the chains those cookies that match our host
999 for (cookie = chains[i]; cookie; cookie = cookie->next)
1008 /* Fill the array with all the matching cookies from the chains that
1012 for (cookie = chains[i]; cookie; cookie = cookie->next)
1268 for (hash_table_iterate (jar->chains, &iter);
1311 /* Iterate over chains (indexed by domain) and free them. */
1313 for (hash_table_iterate (jar->chains, &iter); hash_table_iter_next (&iter); )
1325 hash_table_destroy (jar->chains);