Home
last modified time | relevance | path

Searched refs:tailmatch (Results 1 – 5 of 5) sorted by relevance

/third_party/curl/lib/
Dcookie.c122 static bool tailmatch(const char *cooke_domain, const char *hostname) in tailmatch() function
681 || (!is_ip && tailmatch(whatptr, domain))) { in Curl_cookie_add()
688 co->tailmatch = TRUE; /* we always do that if the domain name was in Curl_cookie_add()
904 co->tailmatch = strcasecompare(ptr, "TRUE")?TRUE:FALSE; in Curl_cookie_add()
994 if(co->secure && co->path && strcmp(co->path, "/") == 0 && !co->tailmatch) in Curl_cookie_add()
1057 (clist->tailmatch == co->tailmatch)) in Curl_cookie_add()
1360 d->tailmatch = src->tailmatch; in dup_cookie()
1411 (co->tailmatch && !is_ip && tailmatch(co->domain, host)) || in Curl_cookie_getlist()
1412 ((!co->tailmatch || is_ip) && strcasecompare(host, co->domain)) ) { in Curl_cookie_getlist()
1604 (co->tailmatch && co->domain && co->domain[0] != '.')? ".":"", in get_netscape_format()
[all …]
Dcookie.h42 bool tailmatch; /* whether we do tail-matching of the domain name */ member
/third_party/python/Objects/
Dbytes_methods.c724 tailmatch(const char *str, Py_ssize_t len, PyObject *substr, in tailmatch() function
784 result = tailmatch(str, len, PyTuple_GET_ITEM(subobj, i), in _Py_bytes_tailmatch()
794 result = tailmatch(str, len, subobj, start, end, direction); in _Py_bytes_tailmatch()
Dunicodeobject.c10052 tailmatch(PyObject *self, in tailmatch() function
10128 return tailmatch(str, substr, start, end, direction); in PyUnicode_Tailmatch()
13170 int match = tailmatch(self, prefix, 0, PY_SSIZE_T_MAX, -1); in unicode_removeprefix_impl()
13198 int match = tailmatch(self, suffix, 0, PY_SSIZE_T_MAX, +1); in unicode_removesuffix_impl()
13979 result = tailmatch(self, substring, start, end, -1); in unicode_startswith()
13995 result = tailmatch(self, subobj, start, end, -1); in unicode_startswith()
14033 result = tailmatch(self, substring, start, end, +1); in unicode_endswith()
14048 result = tailmatch(self, subobj, start, end, +1); in unicode_endswith()
/third_party/curl/tests/data/
Dtest50649 run 3: overwrite cookie 1 and 4, set cookie 6 with and without tailmatch
189 run 3: overwrite cookie 1 and 4, set cookie 6 with and without tailmatch