Home
last modified time | relevance | path

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

/external/curl/lib/
Dcookie.c121 static bool tailmatch(const char *cooke_domain, const char *hostname) in tailmatch() function
624 || (!is_ip && tailmatch(whatptr, domain))) { in Curl_cookie_add()
631 co->tailmatch = TRUE; /* we always do that if the domain name was in Curl_cookie_add()
828 co->tailmatch = strcasecompare(ptr, "TRUE")?TRUE:FALSE; in Curl_cookie_add()
918 if(co->secure && co->path && strcmp(co->path, "/") == 0 && !co->tailmatch) in Curl_cookie_add()
975 (clist->tailmatch == co->tailmatch)) in Curl_cookie_add()
1246 d->tailmatch = src->tailmatch; in dup_cookie()
1299 (co->tailmatch && !is_ip && tailmatch(co->domain, host)) || in Curl_cookie_getlist()
1300 ((!co->tailmatch || is_ip) && strcasecompare(host, co->domain)) ) { in Curl_cookie_getlist()
1487 (co->tailmatch && co->domain && co->domain[0] != '.')? ".":"", in get_netscape_format()
[all …]
Dcookie.h37 bool tailmatch; /* whether we do tail-matching of the domain name */ member
/external/python/cpython3/Objects/
Dbytes_methods.c725 tailmatch(const char *str, Py_ssize_t len, PyObject *substr, in tailmatch() function
785 result = tailmatch(str, len, PyTuple_GET_ITEM(subobj, i), in _Py_bytes_tailmatch()
795 result = tailmatch(str, len, subobj, start, end, direction); in _Py_bytes_tailmatch()
Dunicodeobject.c9783 tailmatch(PyObject *self, in tailmatch() function
9859 return tailmatch(str, substr, start, end, direction); in PyUnicode_Tailmatch()
12898 int match = tailmatch(self, prefix, 0, PY_SSIZE_T_MAX, -1); in unicode_removeprefix_impl()
12926 int match = tailmatch(self, suffix, 0, PY_SSIZE_T_MAX, +1); in unicode_removesuffix_impl()
13719 result = tailmatch(self, substring, start, end, -1); in unicode_startswith()
13735 result = tailmatch(self, subobj, start, end, -1); in unicode_startswith()
13773 result = tailmatch(self, substring, start, end, +1); in unicode_endswith()
13788 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
188 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()