Searched refs:tailmatch (Results 1 – 6 of 6) sorted by relevance
/external/curl/lib/ |
D | cookie.c | 117 static bool tailmatch(const char *cooke_domain, const char *hostname) in tailmatch() function 621 || (!is_ip && tailmatch(whatptr, domain))) { in Curl_cookie_add() 628 co->tailmatch = TRUE; /* we always do that if the domain name was in Curl_cookie_add() 831 co->tailmatch = strcasecompare(ptr, "TRUE")?TRUE:FALSE; in Curl_cookie_add() 921 if(co->secure && co->path && strcmp(co->path, "/") == 0 && !co->tailmatch) in Curl_cookie_add() 978 (clist->tailmatch == co->tailmatch)) in Curl_cookie_add() 1272 d->tailmatch = src->tailmatch; in dup_cookie() 1325 (co->tailmatch && !is_ip && tailmatch(co->domain, host)) || in Curl_cookie_getlist() 1326 ((!co->tailmatch || is_ip) && strcasecompare(host, co->domain)) ) { in Curl_cookie_getlist() 1513 (co->tailmatch && co->domain && co->domain[0] != '.')? ".":"", in get_netscape_format() [all …]
|
D | cookie.h | 37 bool tailmatch; /* whether we do tail-matching of the domain name */ member
|
/external/python/cpython3/Objects/ |
D | bytes_methods.c | 738 tailmatch(const char *str, Py_ssize_t len, PyObject *substr, in tailmatch() function 798 result = tailmatch(str, len, PyTuple_GET_ITEM(subobj, i), in _Py_bytes_tailmatch() 808 result = tailmatch(str, len, subobj, start, end, direction); in _Py_bytes_tailmatch()
|
D | unicodeobject.c | 9581 tailmatch(PyObject *self, in tailmatch() function 9657 return tailmatch(str, substr, start, end, direction); in PyUnicode_Tailmatch() 13387 result = tailmatch(self, substring, start, end, -1); in unicode_startswith() 13403 result = tailmatch(self, subobj, start, end, -1); in unicode_startswith() 13441 result = tailmatch(self, substring, start, end, +1); in unicode_endswith() 13456 result = tailmatch(self, subobj, start, end, +1); in unicode_endswith()
|
/external/curl/tests/data/ |
D | test506 | 49 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/ |
D | unicodeobject.c | 5441 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()
|