Home
last modified time | relevance | path

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

/external/curl/lib/
Dcookie.c120 static bool tailmatch(const char *cooke_domain, const char *hostname) in tailmatch() function
537 || (!is_ip && tailmatch(whatptr, domain))) { in Curl_cookie_add()
544 co->tailmatch = TRUE; /* we always do that if the domain name was in Curl_cookie_add()
744 co->tailmatch = strcasecompare(ptr, "TRUE")?TRUE:FALSE; in Curl_cookie_add()
850 (clist->tailmatch == co->tailmatch)) in Curl_cookie_add()
1106 d->tailmatch = src->tailmatch; in dup_cookie()
1161 (co->tailmatch && !is_ip && tailmatch(co->domain, host)) || in Curl_cookie_getlist()
1162 ((!co->tailmatch || is_ip) && strcasecompare(host, co->domain)) ) { in Curl_cookie_getlist()
1337 (co->tailmatch && co->domain && co->domain[0] != '.')? ".":"", in get_netscape_format()
1339 co->tailmatch?"TRUE":"FALSE", in get_netscape_format()
Dcookie.h37 bool tailmatch; /* weather we do tail-matchning of the domain name */ member
/external/python/cpython3/Objects/
Dbytes_methods.c674 tailmatch(const char *str, Py_ssize_t len, PyObject *substr, in tailmatch() function
734 result = tailmatch(str, len, PyTuple_GET_ITEM(subobj, i), in _Py_bytes_tailmatch()
744 result = tailmatch(str, len, subobj, start, end, direction); in _Py_bytes_tailmatch()
Dunicodeobject.c9519 tailmatch(PyObject *self, in tailmatch() function
9595 return tailmatch(str, substr, start, end, direction); in PyUnicode_Tailmatch()
13324 result = tailmatch(self, substring, start, end, -1); in unicode_startswith()
13340 result = tailmatch(self, subobj, start, end, -1); in unicode_startswith()
13378 result = tailmatch(self, substring, start, end, +1); in unicode_endswith()
13393 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
184 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()
7780 result = tailmatch(self, substring, start, end, -1); in unicode_startswith()
7796 result = tailmatch(self, substring, start, end, -1); in unicode_startswith()
7829 result = tailmatch(self, substring, start, end, +1); in unicode_endswith()
7844 result = tailmatch(self, substring, start, end, +1); in unicode_endswith()