/external/cronet/net/cookies/ |
D | cookie_util.cc | 591 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()
|
D | canonical_cookie.cc | 580 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()
|
D | cookie_monster_store_test.cc | 118 std::string cookie_path = pc.Path(); in BuildCanonicalCookie() local 121 pc.Name(), pc.Value(), "." + url.host(), cookie_path, creation_time, in BuildCanonicalCookie()
|
D | cookie_util.h | 135 NET_EXPORT bool IsOnPath(const std::string& cookie_path,
|
D | canonical_cookie_unittest.cc | 1088 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/ |
D | cookie.c | 158 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/ |
D | gob_util.py | 165 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/ |
D | url_request_http_job.cc | 108 const std::string& cookie_path, in CookieInclusionStatusNetLogParams() argument 119 if (!cookie_path.empty()) in CookieInclusionStatusNetLogParams() 120 dict.Set("path", cookie_path); in CookieInclusionStatusNetLogParams()
|