Home
last modified time | relevance | path

Searched refs:strncasecompare (Results 1 – 24 of 24) sorted by relevance

/external/curl/lib/
Ddict.c147 if(strncasecompare(path, DICT_MATCH, sizeof(DICT_MATCH)-1) || in dict_do()
148 strncasecompare(path, DICT_MATCH2, sizeof(DICT_MATCH2)-1) || in dict_do()
149 strncasecompare(path, DICT_MATCH3, sizeof(DICT_MATCH3)-1)) { in dict_do()
204 else if(strncasecompare(path, DICT_DEFINE, sizeof(DICT_DEFINE)-1) || in dict_do()
205 strncasecompare(path, DICT_DEFINE2, sizeof(DICT_DEFINE2)-1) || in dict_do()
206 strncasecompare(path, DICT_DEFINE3, sizeof(DICT_DEFINE3)-1)) { in dict_do()
Dhostcheck.c102 strncasecompare(pattern, "xn--", 4)) { in hostmatch()
122 return strncasecompare(pattern, hostname, prefixlen) && in hostmatch()
123 strncasecompare(pattern_wildcard + 1, hostname_label_end - suffixlen, in hostmatch()
Dssh-libssh.c2569 if(strncasecompare(cmd, "chgrp ", 6) || in sftp_quote()
2570 strncasecompare(cmd, "chmod ", 6) || in sftp_quote()
2571 strncasecompare(cmd, "chown ", 6)) { in sftp_quote()
2593 if(strncasecompare(cmd, "ln ", 3) || in sftp_quote()
2594 strncasecompare(cmd, "symlink ", 8)) { in sftp_quote()
2613 else if(strncasecompare(cmd, "mkdir ", 6)) { in sftp_quote()
2618 else if(strncasecompare(cmd, "rename ", 7)) { in sftp_quote()
2637 else if(strncasecompare(cmd, "rmdir ", 6)) { in sftp_quote()
2642 else if(strncasecompare(cmd, "rm ", 3)) { in sftp_quote()
2647 else if(strncasecompare(cmd, "statvfs ", 8)) { in sftp_quote()
[all …]
Dstrcase.h36 #define strncasecompare(a,b,c) Curl_strncasecompare(a,b,c) macro
Dssh.c1234 if(strncasecompare(cmd, "chgrp ", 6) || in ssh_statemach_act()
1235 strncasecompare(cmd, "chmod ", 6) || in ssh_statemach_act()
1236 strncasecompare(cmd, "chown ", 6) ) { in ssh_statemach_act()
1258 if(strncasecompare(cmd, "ln ", 3) || in ssh_statemach_act()
1259 strncasecompare(cmd, "symlink ", 8)) { in ssh_statemach_act()
1279 else if(strncasecompare(cmd, "mkdir ", 6)) { in ssh_statemach_act()
1284 else if(strncasecompare(cmd, "rename ", 7)) { in ssh_statemach_act()
1303 else if(strncasecompare(cmd, "rmdir ", 6)) { in ssh_statemach_act()
1308 else if(strncasecompare(cmd, "rm ", 3)) { in ssh_statemach_act()
1313 else if(strncasecompare(cmd, "statvfs ", 8)) { in ssh_statemach_act()
[all …]
Dcookie.c538 if(strncasecompare("__Secure-", name, 9)) in Curl_cookie_add()
540 else if(strncasecompare("__Host-", name, 7)) in Curl_cookie_add()
877 if(strncasecompare("__Secure-", co->name, 9)) in Curl_cookie_add()
879 else if(strncasecompare("__Host-", co->name, 7)) in Curl_cookie_add()
1007 if(strncasecompare(clist->spath, co->spath, cllen)) { in Curl_cookie_add()
Dhttp2.c1793 if(strncasecompare("trailers", p, sizeof("trailers") - 1)) { in contains_trailers()
1823 if(!strncasecompare("te", name, namelen)) in inspect_header()
1829 return strncasecompare("upgrade", name, namelen) ? in inspect_header()
1832 return (strncasecompare("connection", name, namelen) || in inspect_header()
1833 strncasecompare("keep-alive", name, namelen)) ? in inspect_header()
1836 return strncasecompare("proxy-connection", name, namelen) ? in inspect_header()
1839 return strncasecompare("transfer-encoding", name, namelen) ? in inspect_header()
2018 if(hlen == 4 && strncasecompare("host", hdbuf, 4)) { in http2_send()
Dcontent_encoding.c930 if((strncasecompare(name, ce->name, len) && !ce->name[len]) || in find_encoding()
931 (ce->alias && strncasecompare(name, ce->alias, len) && !ce->alias[len])) in find_encoding()
960 if(maybechunked && namelen == 7 && strncasecompare(name, "chunked", 7)) { in Curl_build_unencoding_stack()
Dpipeline.c249 if(strncasecompare(bl->server_name, server_name, in Curl_pipeline_server_blacklisted()
Dpop3.c1352 if(strncasecompare(key, "AUTH=", 5)) { in pop3_parse_url_options()
1356 if(result && strncasecompare(value, "+APOP", ptr - value)) { in pop3_parse_url_options()
Dimap.c230 if(line + cmd_len <= end && strncasecompare(line, cmd, cmd_len) && in imap_matchresp()
1922 if(strncasecompare(key, "AUTH=", 5)) in imap_parse_url_options()
Dmime.c306 if(strncasecompare(hdr->data, lbl, len) && hdr->data[len] == ':') in match_header()
1727 (contenttype && !strncasecompare(contenttype, "multipart/", 10))) in Curl_mime_prepare_headers()
Dldap.c850 !strncasecompare("LDAP", conn->data->state.up.scheme, 4)) in _ldap_url_parse2()
Dhttp.c200 if(strncasecompare(head->data, thisheader, thislen) && in Curl_checkProxyheaders()
1399 if(!strncasecompare(headerline, header, hlen)) in Curl_compareheader()
1425 if(strncasecompare(start, content, clen)) in Curl_compareheader()
Dsetopt.c2515 strncasecompare(argptr, "SRP", strlen("SRP"))) in vsetopt()
2523 strncasecompare(argptr, "SRP", strlen("SRP"))) in vsetopt()
Dsmtp.c1488 if(strncasecompare(key, "AUTH=", 5)) in smtp_parse_url_options()
Dtransfer.c101 if(strncasecompare(head->data, thisheader, thislen) && in Curl_checkheaders()
Durl.c2371 if(strncasecompare(no_proxy + tok_start, checkn, in check_noproxy()
3301 host_match = strncasecompare(ptr, hostname_to_match, in parse_connect_to_string()
/external/curl/tests/server/
Dutil.h67 int strncasecompare(const char *first, const char *second, size_t max);
Dutil.c387 int strncasecompare(const char *first, const char *second, size_t max) in strncasecompare() function
Drtspd.c600 if((req->cl == 0) && strncasecompare("Content-Length:", line, 15)) { in ProcessRequest()
626 else if(strncasecompare("Transfer-Encoding: chunked", line, in ProcessRequest()
Dsws.c729 if((req->cl == 0) && strncasecompare("Content-Length:", line, 15)) { in ProcessRequest()
755 else if(strncasecompare("Transfer-Encoding: chunked", line, in ProcessRequest()
/external/curl/lib/vtls/
Dgskit.c354 if(strncasecompare(ctp->name, clp, l) && !ctp->name[l]) in set_ciphers()
Dopenssl.c603 return (string && strncasecompare(string, "pkcs11:", 7)); in is_pkcs11_uri()