Home
last modified time | relevance | path

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

/external/curl/lib/
Dcookie.c126 static bool tailmatch(const char *cookie_domain, size_t cookie_domain_len, in tailmatch() function
708 || (!is_ip && tailmatch(valuep, vlen, domain))) { in Curl_cookie_add()
715 co->tailmatch = TRUE; /* we always do that if the domain name was in Curl_cookie_add()
927 co->tailmatch = strcasecompare(ptr, "TRUE")?TRUE:FALSE; in Curl_cookie_add()
1017 if(co->secure && co->path && strcmp(co->path, "/") == 0 && !co->tailmatch) in Curl_cookie_add()
1121 (clist->tailmatch == co->tailmatch)) in Curl_cookie_add()
1399 d->tailmatch = src->tailmatch; in dup_cookie()
1450 (co->tailmatch && !is_ip && in Curl_cookie_getlist()
1451 tailmatch(co->domain, co->domain? strlen(co->domain):0, host)) || in Curl_cookie_getlist()
1452 ((!co->tailmatch || is_ip) && strcasecompare(host, co->domain)) ) { in Curl_cookie_getlist()
[all …]
Dcookie.h44 bool tailmatch; /* whether we do tail-matching of the domain name */ member
Dhostip.c619 static bool tailmatch(const char *full, const char *part) in tailmatch() function
764 tailmatch(hostname, ".localhost")) in Curl_resolv()
/external/python/cpython3/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()
/external/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
/external/python/cpython2/Objects/
Dunicodeobject.c5441 int tailmatch(PyUnicodeObject *self, in tailmatch() function
5483 result = tailmatch((PyUnicodeObject *)str, in PyUnicode_Tailmatch()
7775 result = tailmatch(self, substring, start, end, -1); in unicode_startswith()
7791 result = tailmatch(self, substring, start, end, -1); in unicode_startswith()
7824 result = tailmatch(self, substring, start, end, +1); in unicode_endswith()
7839 result = tailmatch(self, substring, start, end, +1); in unicode_endswith()