Home
last modified time | relevance | path

Searched refs:cookie_path (Results 1 – 8 of 8) sorted by relevance

/external/cronet/net/cookies/
Dcookie_util.cc591 bool IsOnPath(const std::string& cookie_path, const std::string& url_path) { in IsOnPath() argument
596 if (cookie_path.empty()) { in IsOnPath()
606 if (!base::StartsWith(url_path, cookie_path, base::CompareCase::SENSITIVE)) { in IsOnPath()
619 if (cookie_path.length() != url_path.length() && cookie_path.back() != '/' && in IsOnPath()
620 url_path[cookie_path.length()] != '/') { in IsOnPath()
Dcanonical_cookie.cc580 std::string cookie_path = CanonPathWithString( in Create() local
656 parsed_cookie.Value(), cookie_domain, cookie_path, creation_time, in Create()
788 std::string cookie_path = CanonicalCookie::CanonPathWithString(url, path); in CreateSanitizedCookie() local
790 url::Component path_component(0, cookie_path.length()); in CreateSanitizedCookie()
793 url::CanonicalizePath(cookie_path.data(), path_component, &canon_path, in CreateSanitizedCookie()
799 if (cookie_path != path) { in CreateSanitizedCookie()
815 cookie_path)) { in CreateSanitizedCookie()
Dcookie_monster_store_test.cc118 std::string cookie_path = pc.Path(); in BuildCanonicalCookie() local
121 pc.Name(), pc.Value(), "." + url.host(), cookie_path, creation_time, in BuildCanonicalCookie()
Dcookie_util.h135 NET_EXPORT bool IsOnPath(const std::string& cookie_path,
Dcanonical_cookie_unittest.cc1088 std::string cookie_path = "/path"; in TEST() local
1099 cookie_name, cookie_value, cookie_domain, cookie_path, creation_time, in TEST()
1107 cookie_name, cookie_value, cookie_domain, cookie_path, creation_time, in TEST()
1116 cookie_name, "2", cookie_domain, cookie_path, creation_time, in TEST()
1125 cookie_name, "2", cookie_domain, cookie_path, other_creation_time, in TEST()
1133 cookie_name, cookie_name, cookie_domain, cookie_path, creation_time, in TEST()
1141 cookie_name, cookie_name, cookie_domain, cookie_path, creation_time, in TEST()
1149 cookie_name, cookie_name, cookie_domain, cookie_path, creation_time, in TEST()
1158 cookie_name, cookie_name, cookie_domain, cookie_path, creation_time, in TEST()
1168 "B", cookie_value, cookie_domain, cookie_path, creation_time, in TEST()
[all …]
/external/curl/lib/
Dcookie.c158 static bool pathmatch(const char *cookie_path, const char *request_uri) in pathmatch() argument
167 cookie_path_len = strlen(cookie_path); in pathmatch()
205 if(strncmp(cookie_path, uri_path, cookie_path_len)) { in pathmatch()
296 static char *sanitize_cookie_path(const char *cookie_path) in sanitize_cookie_path() argument
299 char *new_path = strdup(cookie_path); in sanitize_cookie_path()
/external/autotest/utils/frozen_chromite/lib/
Dgob_util.py165 for cookie_path in cookie_paths:
166 if os.path.isfile(cookie_path):
167 with open(cookie_path) as f:
/external/cronet/net/url_request/
Durl_request_http_job.cc108 const std::string& cookie_path, in CookieInclusionStatusNetLogParams() argument
119 if (!cookie_path.empty()) in CookieInclusionStatusNetLogParams()
120 dict.Set("path", cookie_path); in CookieInclusionStatusNetLogParams()