Home
last modified time | relevance | path

Searched refs:cookie_domain (Results 1 – 7 of 7) sorted by relevance

/third_party/libpsl/tests/
Dtest-is-cookie-domain-acceptable.c55 *cookie_domain; in test_psl() member
93 int result = psl_is_cookie_domain_acceptable(psl, t->request_domain, t->cookie_domain); in test_psl()
100 t->request_domain, t->cookie_domain, result, t->result); in test_psl()
/third_party/libpsl/tools/
Dpsl.c82 const char *const *arg, *psl_file = NULL, *cookie_domain = NULL; in main() local
100 cookie_domain = *(++arg); in main()
215 printf("%d\n", psl_is_cookie_domain_acceptable(psl, lower, cookie_domain)); in main()
218 …, "%s: Failed to convert cookie domain '%s' to lowercase UTF-8 (%d)\n", domain, cookie_domain, rc); in main()
259 printf("%d\n", psl_is_cookie_domain_acceptable(psl, *arg, cookie_domain)); in main()
/third_party/cef/libcef/common/net_service/
Dnet_service_util.cc246 std::string cookie_domain; in MakeCefCookie() local
247 if (!GetCookieDomain(url, pc, &cookie_domain)) in MakeCefCookie()
261 CefString(&cookie.domain).FromString(cookie_domain); in MakeCefCookie()
/third_party/libpsl/src/
Dpsl.c1636 …_is_cookie_domain_acceptable(const psl_ctx_t *psl, const char *hostname, const char *cookie_domain) in psl_is_cookie_domain_acceptable() argument
1641 if (!psl || !hostname || !cookie_domain) in psl_is_cookie_domain_acceptable()
1644 while (*cookie_domain == '.') in psl_is_cookie_domain_acceptable()
1645 cookie_domain++; in psl_is_cookie_domain_acceptable()
1647 if (!strcmp(hostname, cookie_domain)) in psl_is_cookie_domain_acceptable()
1653 cookie_domain_length = strlen(cookie_domain); in psl_is_cookie_domain_acceptable()
1660 if (!strcmp(p, cookie_domain) && p[-1] == '.') { in psl_is_cookie_domain_acceptable()
/third_party/libpsl/
DREADME.md62 const char *cookie_domain = ".com";
69 is_acceptable = psl_is_cookie_domain_acceptable(psl, domain, cookie_domain);
71 cookie_domain, is_acceptable ? "is" : "is not", domain);
/third_party/libpsl/include/
Dlibpsl.h139 …is_cookie_domain_acceptable(const psl_ctx_t *psl, const char *hostname, const char *cookie_domain);
Dlibpsl.h.in136 /* checks whether cookie_domain is acceptable for domain or not */
139 …is_cookie_domain_acceptable(const psl_ctx_t *psl, const char *hostname, const char *cookie_domain);