/third_party/curl/lib/ |
H A D | cookie.c | 132 if(!strncasecompare(cookie_domain, in cookie_tailmatch() 432 if((len == 9) && strncasecompare(domain, "localhost", 9)) in bad_domain() 593 if(strncasecompare("__Secure-", namep, 9)) in Curl_cookie_add() 595 else if(strncasecompare("__Host-", namep, 7)) in Curl_cookie_add() 636 if((nlen == 6) && strncasecompare("secure", namep, 6)) { in Curl_cookie_add() 645 else if((nlen == 8) && strncasecompare("httponly", namep, 8)) in Curl_cookie_add() 653 else if((nlen == 4) && strncasecompare("path", namep, 4)) { in Curl_cookie_add() 667 strncasecompare("domain", namep, 6) && vlen) { in Curl_cookie_add() 715 else if((nlen == 7) && strncasecompare("version", namep, 7)) { in Curl_cookie_add() 718 else if((nlen == 7) && strncasecompare("ma in Curl_cookie_add() [all...] |
H A D | parsedate.c | 224 strncasecompare(check, what[0], len)) in checkday() 239 if(strncasecompare(check, what[0], 3)) in checkmonth() 259 strncasecompare(check, what->name, len)) in checktz()
|
H A D | noproxy.c | 209 match = strncasecompare(token, name, namelen); in Curl_check_noproxy() 213 strncasecompare(token, name + (namelen - tokenlen), in Curl_check_noproxy()
|
H A D | strcase.h | 39 #define strncasecompare(a,b,c) curl_strnequal(a,b,c) macro
|
H A D | content_encoding.c | 953 if((strncasecompare(name, ce->name, len) && !ce->name[len]) || in find_unencode_writer() 954 (ce->alias && strncasecompare(name, ce->alias, len) in find_unencode_writer() 962 if((strncasecompare(name, ce->name, len) && !ce->name[len]) || in find_unencode_writer() 963 (ce->alias && strncasecompare(name, ce->alias, len) && !ce->alias[len])) in find_unencode_writer() 999 (namelen != 7 || !strncasecompare(name, "chunked", 7))) || in Curl_build_unencoding_stack()
|
H A D | dynhds.c | 153 strncasecompare(dynhds->hds[i]->name, name, namelen)) { in Curl_dynhds_get() 300 strncasecompare(name, dynhds->hds[i]->name, namelen)) in Curl_dynhds_count_name() 328 strncasecompare(name, dynhds->hds[i]->name, namelen)) { in Curl_dynhds_remove()
|
H A D | hsts.c | 167 if(strncasecompare("max-age=", p, 8)) { in Curl_hsts_parse() 196 else if(strncasecompare("includesubdomains", p, 17)) { in Curl_hsts_parse() 287 strncasecompare(&hostname[offs], sts->host, ntail)) in Curl_hsts()
|
H A D | telnet.c | 832 if(strncasecompare(option, "TTYPE", 5)) { in check_telnet_options() 845 if(strncasecompare(option, "XDISPLOC", 8)) { in check_telnet_options() 858 if(strncasecompare(option, "NEW_ENV", 7)) { in check_telnet_options() 873 if(strncasecompare(option, "WS", 2)) { in check_telnet_options() 897 if(strncasecompare(option, "BINARY", 6)) { in check_telnet_options()
|
H A D | altsvc.c | 443 return strncasecompare(host, check, hlen); in hostcompare()
|
H A D | pop3.c | 1379 if(strncasecompare(key, "AUTH=", 5)) { in pop3_parse_url_options() 1383 if(result && strncasecompare(value, "+APOP", ptr - value)) { in pop3_parse_url_options()
|
H A D | mime.c | 338 if(strncasecompare(hdr->data, lbl, len) && hdr->data[len] == ':') in match_header() 1744 if(contenttype && strncasecompare(contenttype, target, len)) in content_type_match() 1817 (contenttype && !strncasecompare(contenttype, "multipart/", 10))) in Curl_mime_prepare_headers()
|
H A D | http.c | 206 if(strncasecompare(head->data, thisheader, thislen) && in Curl_checkProxyheaders() 1470 if(!strncasecompare(headerline, header, hlen)) in Curl_compareheader() 1495 if(strncasecompare(start, content, clen)) in Curl_compareheader() 1697 return strncasecompare(n1, n2, n1len); in hd_name_eq()
|
H A D | hostip.c | 664 return strncasecompare(part, &full[flen - plen], plen); in tailmatch()
|
H A D | ldap.c | 856 !strncasecompare("LDAP", data->state.up.scheme, 4)) in _ldap_url_parse2()
|
H A D | setopt.c | 2870 if(argptr && !strncasecompare(argptr, "SRP", strlen("SRP"))) in Curl_vsetopt() 2876 if(argptr || !strncasecompare(argptr, "SRP", strlen("SRP"))) in Curl_vsetopt()
|
H A D | smtp.c | 1691 if(strncasecompare(key, "AUTH=", 5)) in smtp_parse_url_options()
|
H A D | transfer.c | 108 if(strncasecompare(head->data, thisheader, thislen) && in Curl_checkheaders()
|
H A D | imap.c | 239 if(line + cmd_len <= end && strncasecompare(line, cmd, cmd_len) && in imap_matchresp() 1908 if(strncasecompare(key, "AUTH=+LOGIN", 11)) { in imap_parse_url_options() 1913 else if(strncasecompare(key, "AUTH=", 5)) { in imap_parse_url_options()
|
H A D | url.c | 1662 if(h && strncasecompare(scheme, h->scheme, len) && !h->scheme[len]) in Curl_getn_scheme_handler() 3004 host_match = strncasecompare(ptr, hostname_to_match,
|
/third_party/curl/lib/vssh/ |
H A D | libssh.c | 2721 if(strncasecompare(cmd, "chgrp ", 6) || in sftp_quote() 2722 strncasecompare(cmd, "chmod ", 6) || in sftp_quote() 2723 strncasecompare(cmd, "chown ", 6) || in sftp_quote() 2724 strncasecompare(cmd, "atime ", 6) || in sftp_quote() 2725 strncasecompare(cmd, "mtime ", 6)) { in sftp_quote() 2747 if(strncasecompare(cmd, "ln ", 3) || in sftp_quote() 2748 strncasecompare(cmd, "symlink ", 8)) { in sftp_quote() 2767 else if(strncasecompare(cmd, "mkdir ", 6)) { in sftp_quote() 2772 else if(strncasecompare(cmd, "rename ", 7)) { in sftp_quote() 2791 else if(strncasecompare(cm in sftp_quote() [all...] |
H A D | libssh2.c | 1575 if(strncasecompare(cmd, "chgrp ", 6) || in ssh_statemach_act() 1576 strncasecompare(cmd, "chmod ", 6) || in ssh_statemach_act() 1577 strncasecompare(cmd, "chown ", 6) || in ssh_statemach_act() 1578 strncasecompare(cmd, "atime ", 6) || in ssh_statemach_act() 1579 strncasecompare(cmd, "mtime ", 6)) { in ssh_statemach_act() 1600 if(strncasecompare(cmd, "ln ", 3) || in ssh_statemach_act() 1601 strncasecompare(cmd, "symlink ", 8)) { in ssh_statemach_act() 1621 else if(strncasecompare(cmd, "mkdir ", 6)) { in ssh_statemach_act() 1626 else if(strncasecompare(cmd, "rename ", 7)) { in ssh_statemach_act() 1645 else if(strncasecompare(cm in ssh_statemach_act() [all...] |
/third_party/curl/lib/vtls/ |
H A D | hostcheck.c | 54 return strncasecompare(hostname, pattern, hostlen); in pmatch()
|
H A D | bearssl.c | 540 if(strncasecompare(cipher, "TLS_", 4)) { in bearssl_set_selected_ciphers() 543 !strncasecompare(cipher, ciphertable[i].name, clen); ++i); in bearssl_set_selected_ciphers() 548 !strncasecompare(cipher, ciphertable[i].alias_name, clen); ++i); in bearssl_set_selected_ciphers()
|
/third_party/curl/tests/server/ |
H A D | rtspd.c | 470 if((req->cl == 0) && strncasecompare("Content-Length:", line, 15)) { in ProcessRequest() 496 else if(strncasecompare("Transfer-Encoding: chunked", line, in ProcessRequest()
|
H A D | sws.c | 623 if((req->cl == 0) && strncasecompare("Content-Length:", line, 15)) { in ProcessRequest() 651 else if(strncasecompare("Transfer-Encoding: chunked", line, in ProcessRequest() 657 strncasecompare("Expect: 100-continue", line, in ProcessRequest()
|