/curl/lib/ |
H A D | dict.c | 191 if(strncasecompare(path, DICT_MATCH, sizeof(DICT_MATCH)-1) || in dict_do() 192 strncasecompare(path, DICT_MATCH2, sizeof(DICT_MATCH2)-1) || in dict_do() 193 strncasecompare(path, DICT_MATCH3, sizeof(DICT_MATCH3)-1)) { in dict_do() 246 else if(strncasecompare(path, DICT_DEFINE, sizeof(DICT_DEFINE)-1) || in dict_do() 247 strncasecompare(path, DICT_DEFINE2, sizeof(DICT_DEFINE2)-1) || in dict_do() 248 strncasecompare(path, DICT_DEFINE3, sizeof(DICT_DEFINE3)-1)) { in dict_do()
|
H A D | strcase.h | 39 #define strncasecompare(a,b,c) curl_strnequal(a,b,c) macro
|
H A D | cookie.c | 119 if(!strncasecompare(cookie_domain, in cookie_tailmatch() 416 if((len == 9) && strncasecompare(domain, "localhost", 9)) in bad_domain() 559 if(strncasecompare("__Secure-", namep, 9)) in parse_cookie_header() 561 else if(strncasecompare("__Host-", namep, 7)) in parse_cookie_header() 599 if((nlen == 6) && strncasecompare("secure", namep, 6)) { in parse_cookie_header() 615 else if((nlen == 4) && strncasecompare("path", namep, 4)) { in parse_cookie_header() 625 strncasecompare("domain", namep, 6) && vlen) { in parse_cookie_header() 672 else if((nlen == 7) && strncasecompare("version", namep, 7)) { in parse_cookie_header() 904 if(strncasecompare("__Secure-", co->name, 9)) in parse_netscape() 906 else if(strncasecompare("__Host-", co->name, 7)) in parse_netscape() [all …]
|
H A D | noproxy.c | 208 match = strncasecompare(token, name, namelen); in Curl_check_noproxy() 212 strncasecompare(token, name + (namelen - tokenlen), in Curl_check_noproxy()
|
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 | hsts.c | 162 if(strncasecompare("max-age", p, 7)) { in Curl_hsts_parse() 196 else if(strncasecompare("includesubdomains", p, 17)) { in Curl_hsts_parse() 285 strncasecompare(&hostname[offs], sts->host, ntail) && in Curl_hsts() 293 if((hlen == ntail) && strncasecompare(hostname, sts->host, hlen)) in Curl_hsts()
|
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 | 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() 1000 strncasecompare(name, "chunked", 7)); in Curl_build_unencoding_stack()
|
H A D | telnet.c | 833 if(strncasecompare(option, "TTYPE", 5)) { in check_telnet_options() 843 if(strncasecompare(option, "XDISPLOC", 8)) { in check_telnet_options() 853 if(strncasecompare(option, "NEW_ENV", 7)) { in check_telnet_options() 868 if(strncasecompare(option, "WS", 2)) { in check_telnet_options() 892 if(strncasecompare(option, "BINARY", 6)) { in check_telnet_options()
|
H A D | pop3.c | 241 if(strncasecompare(pop3cmds[i].name, cmdline, pop3cmds[i].nlen)) { in pop3_is_multiline() 1438 if(strncasecompare(key, "AUTH=", 5)) { in pop3_parse_url_options() 1442 if(result && strncasecompare(value, "+APOP", ptr - value)) { in pop3_parse_url_options()
|
H A D | imap.c | 241 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 | altsvc.c | 435 return strncasecompare(host, check, hlen); in hostcompare()
|
H A D | mime.c | 341 if(strncasecompare(hdr->data, lbl, len) && hdr->data[len] == ':') in match_header() 1750 if(contenttype && strncasecompare(contenttype, target, len)) in content_type_match() 1823 (contenttype && !strncasecompare(contenttype, "multipart/", 10))) in Curl_mime_prepare_headers()
|
H A D | ldap.c | 865 !strncasecompare("LDAP", data->state.up.scheme, 4)) in _ldap_url_parse2()
|
H A D | transfer.c | 108 if(strncasecompare(head->data, thisheader, thislen) && in Curl_checkheaders()
|
H A D | http.c | 203 if(strncasecompare(head->data, thisheader, thislen) && in Curl_checkProxyheaders() 1096 if(!strncasecompare(headerline, header, hlen)) in Curl_compareheader() 1121 if(strncasecompare(start, content, clen)) in Curl_compareheader() 1242 return strncasecompare(n1, n2, n1len); in hd_name_eq()
|
H A D | hostip.c | 665 return strncasecompare(part, &full[flen - plen], plen); in tailmatch()
|
/curl/lib/vtls/ |
H A D | hostcheck.c | 54 return strncasecompare(hostname, pattern, hostlen); in pmatch()
|
H A D | sectransp.c | 839 if(strncasecompare("SSL_FORTEZZA_DMS_WITH_FORTEZZA_CBC_SHA", *str, len)) in sectransp_cipher_suite_walk_str() 841 else if(strncasecompare("SSL_FORTEZZA_DMS_WITH_NULL_SHA", *str, len)) in sectransp_cipher_suite_walk_str() 844 else if(strncasecompare("TLS_EMPTY_RENEGOTIATION_INFO_SCSV", *str, len)) in sectransp_cipher_suite_walk_str() 847 else if(strncasecompare("SSL_RSA_WITH_RC2_CBC_MD5", *str, len)) in sectransp_cipher_suite_walk_str() 849 else if(strncasecompare("SSL_RSA_WITH_IDEA_CBC_MD5", *str, len)) in sectransp_cipher_suite_walk_str() 851 else if(strncasecompare("SSL_RSA_WITH_DES_CBC_MD5", *str, len)) in sectransp_cipher_suite_walk_str() 853 else if(strncasecompare("SSL_RSA_WITH_3DES_EDE_CBC_MD5", *str, len)) in sectransp_cipher_suite_walk_str()
|
H A D | cipher_suite.c | 742 if(strncasecompare(cs_str, "TLS", 3)) in cs_str_to_zip() 757 if(elen == len && strncasecompare(entry, cur, len)) in cs_str_to_zip()
|
/curl/lib/vssh/ |
H A D | libssh.c | 2731 if(strncasecompare(cmd, "chgrp ", 6) || in sftp_quote() 2732 strncasecompare(cmd, "chmod ", 6) || in sftp_quote() 2733 strncasecompare(cmd, "chown ", 6) || in sftp_quote() 2734 strncasecompare(cmd, "atime ", 6) || in sftp_quote() 2735 strncasecompare(cmd, "mtime ", 6)) { in sftp_quote() 2757 if(strncasecompare(cmd, "ln ", 3) || in sftp_quote() 2758 strncasecompare(cmd, "symlink ", 8)) { in sftp_quote() 2806 else if(strncasecompare(cmd, "rm ", 3)) { in sftp_quote() 2862 if(strncasecompare(cmd, "chgrp", 5)) { in sftp_quote_stat() 2876 else if(strncasecompare(cmd, "chmod", 5)) { in sftp_quote_stat() [all …]
|
H A D | libssh2.c | 1032 if(strncasecompare(cmd, "chgrp ", 6) || in sftp_quote() 1033 strncasecompare(cmd, "chmod ", 6) || in sftp_quote() 1034 strncasecompare(cmd, "chown ", 6) || in sftp_quote() 1035 strncasecompare(cmd, "atime ", 6) || in sftp_quote() 1036 strncasecompare(cmd, "mtime ", 6)) { in sftp_quote() 1052 if(strncasecompare(cmd, "ln ", 3) || in sftp_quote() 1053 strncasecompare(cmd, "symlink ", 8)) { in sftp_quote() 1091 else if(strncasecompare(cmd, "rm ", 3)) { in sftp_quote() 1408 if(!strncasecompare(cmd, "chmod", 5)) { in sftp_quote_stat() 1430 if(strncasecompare(cmd, "chgrp", 5)) { in sftp_quote_stat() [all …]
|
/curl/tests/server/ |
H A D | rtspd.c | 467 if((req->cl == 0) && strncasecompare("Content-Length:", line, 15)) { in ProcessRequest() 493 else if(strncasecompare("Transfer-Encoding: chunked", line, in ProcessRequest()
|
H A D | sws.c | 622 if((req->cl == 0) && strncasecompare("Content-Length:", line, 15)) { in ProcessRequest() 650 else if(strncasecompare("Transfer-Encoding: chunked", line, in ProcessRequest() 656 strncasecompare("Expect: 100-continue", line, in ProcessRequest()
|
/curl/src/ |
H A D | tool_getparam.c | 1926 else if(strlen(nextarg) > 4 && strncasecompare("pn:", nextarg, 3)) { in getparameter() 1930 else if(strlen(nextarg) > 5 && strncasecompare("ecl:", nextarg, 4)) { in getparameter()
|