/external/curl/docs/examples/ |
D | chkspeed.c | 74 if(strncasecmp(*argv, "-", 1) == 0) { in main() 75 if(strncasecmp(*argv, "-H", 2) == 0) { in main() 81 else if(strncasecmp(*argv, "-V", 2) == 0) { in main() 86 else if(strncasecmp(*argv, "-A", 2) == 0) { in main() 89 else if(strncasecmp(*argv, "-X", 2) == 0) { in main() 92 else if(strncasecmp(*argv, "-T", 2) == 0) { in main() 95 else if(strncasecmp(*argv, "-M=", 3) == 0) { in main()
|
/external/clang/test/Analysis/ |
D | string.c | 989 #define strncasecmp BUILTIN(strncasecmp) macro 990 int strncasecmp(const char *s1, const char *s2, size_t n); 995 clang_analyzer_eval(strncasecmp(x, y, 2) > 0); // expected-warning{{TRUE}} in strncasecmp_check_modelling() 996 clang_analyzer_eval(strncasecmp(x, y, 2) <= 0); // expected-warning{{FALSE}} in strncasecmp_check_modelling() 997 clang_analyzer_eval(strncasecmp(x, y, 2) > 1); // expected-warning{{UNKNOWN}} in strncasecmp_check_modelling() 999 clang_analyzer_eval(strncasecmp(y, x, 2) < 0); // expected-warning{{TRUE}} in strncasecmp_check_modelling() 1000 clang_analyzer_eval(strncasecmp(y, x, 2) >= 0); // expected-warning{{FALSE}} in strncasecmp_check_modelling() 1001 clang_analyzer_eval(strncasecmp(y, x, 2) < -1); // expected-warning{{UNKNOWN}} in strncasecmp_check_modelling() 1005 clang_analyzer_eval(strncasecmp("abc", "Abc", 3) == 0); // expected-warning{{TRUE}} in strncasecmp_constant0() 1010 clang_analyzer_eval(strncasecmp(x, "Abc", 3) == 0); // expected-warning{{TRUE}} in strncasecmp_constant_and_var_0() [all …]
|
/external/linux-kselftest/tools/testing/selftests/watchdog/ |
D | watchdog-test.c | 65 if (!strncasecmp(argv[1], "-d", 2)) { in main() 70 } else if (!strncasecmp(argv[1], "-e", 2)) { in main() 75 } else if (!strncasecmp(argv[1], "-t", 2) && argv[2]) { in main() 80 } else if (!strncasecmp(argv[1], "-p", 2) && argv[2]) { in main()
|
/external/syslinux/com32/rosh/ |
D | rosh.c | 1160 if ((strncasecmp("exit", argv[0], tlen) == 0) || in rosh_command() 1161 (strncasecmp("quit", argv[0], tlen) == 0)) in rosh_command() 1168 if (strncasecmp("echo", argv[0], tlen) == 0) in rosh_command() 1182 if (strncasecmp("cat", argv[0], tlen) == 0) in rosh_command() 1189 if (strncasecmp("cd", argv[0], tlen) == 0) in rosh_command() 1196 if (strncasecmp("cfg", argv[0], tlen) == 0) in rosh_command() 1207 if (strncasecmp("dir", argv[0], tlen) == 0) in rosh_command() 1215 if ((strncasecmp("help", argv[0], tlen) == 0) || (tlen == 1)) in rosh_command() 1226 if (strncasecmp("ls", argv[0], tlen) == 0) in rosh_command() 1233 if (strncasecmp("less", argv[0], tlen) == 0) in rosh_command() [all …]
|
/external/openssh/openbsd-compat/ |
D | strptime.c | 176 if (strncasecmp(_ctloc(day[i]), bp, len) == 0) in _strptime() 181 if (strncasecmp(_ctloc(abday[i]), bp, len) == 0) in _strptime() 200 if (strncasecmp(_ctloc(mon[i]), bp, len) == 0) in _strptime() 205 if (strncasecmp(_ctloc(abmon[i]), bp, len) == 0) in _strptime() 276 if (strncasecmp(_ctloc(am_pm[0]), bp, len) == 0) { in _strptime() 287 if (strncasecmp(_ctloc(am_pm[1]), bp, len) == 0) { in _strptime()
|
/external/iptables/extensions/ |
D | libxt_conntrack.c | 191 if (strncasecmp(state, "INVALID", len) == 0) in parse_state() 193 else if (strncasecmp(state, "NEW", len) == 0) in parse_state() 195 else if (strncasecmp(state, "ESTABLISHED", len) == 0) in parse_state() 197 else if (strncasecmp(state, "RELATED", len) == 0) in parse_state() 199 else if (strncasecmp(state, "UNTRACKED", len) == 0) in parse_state() 201 else if (strncasecmp(state, "SNAT", len) == 0) in parse_state() 203 else if (strncasecmp(state, "DNAT", len) == 0) in parse_state() 232 if (strncasecmp(state, "INVALID", z) == 0) in conntrack_ps_state() 234 else if (strncasecmp(state, "NEW", z) == 0) in conntrack_ps_state() 236 else if (strncasecmp(state, "ESTABLISHED", z) == 0) in conntrack_ps_state() [all …]
|
D | libebt_limit.c | 61 if (strncasecmp(delim+1, "second", strlen(delim+1)) == 0) in parse_rate() 63 else if (strncasecmp(delim+1, "minute", strlen(delim+1)) == 0) in parse_rate() 65 else if (strncasecmp(delim+1, "hour", strlen(delim+1)) == 0) in parse_rate() 67 else if (strncasecmp(delim+1, "day", strlen(delim+1)) == 0) in parse_rate()
|
D | libipt_REJECT.c | 106 if (strncasecmp(reject_table[i].name, in REJECT_parse() 108 strncasecmp(reject_table[i].alias, in REJECT_parse() 114 if (strncasecmp("echo-reply", cb->arg, strlen(cb->arg)) == 0 || in REJECT_parse() 115 strncasecmp("echoreply", cb->arg, strlen(cb->arg)) == 0) in REJECT_parse()
|
D | libxt_limit.c | 55 if (strncasecmp(delim+1, "second", strlen(delim+1)) == 0) in parse_rate() 57 else if (strncasecmp(delim+1, "minute", strlen(delim+1)) == 0) in parse_rate() 59 else if (strncasecmp(delim+1, "hour", strlen(delim+1)) == 0) in parse_rate() 61 else if (strncasecmp(delim+1, "day", strlen(delim+1)) == 0) in parse_rate()
|
D | libxt_HMARK.c | 146 if (strncasecmp(type, "ct", len) == 0) { in hmark_parse() 149 } else if (strncasecmp(type, "src", len) == 0) { in hmark_parse() 153 } else if (strncasecmp(type, "dst", len) == 0) { in hmark_parse() 157 } else if (strncasecmp(type, "sport", len) == 0) { in hmark_parse() 162 } else if (strncasecmp(type, "dport", len) == 0) { in hmark_parse() 167 } else if (strncasecmp(type, "proto", len) == 0) { in hmark_parse() 171 } else if (strncasecmp(type, "spi", len) == 0) { in hmark_parse()
|
D | libip6t_REJECT.c | 95 if (strncasecmp(reject_table[i].name, in REJECT_parse() 97 strncasecmp(reject_table[i].alias, in REJECT_parse()
|
/external/openssh/ |
D | auth-options.c | 102 if (allow_negate && strncasecmp(opts, "no-", 3) == 0) { in match_flag() 106 if (strncasecmp(opts, opt, opt_len) == 0) { in match_flag() 174 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options() 204 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options() 235 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options() 277 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options() 332 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options() 387 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
|
/external/selinux/libselinux/src/ |
D | selinux_config.c | 103 if (!strncasecmp in selinux_getenforcemode() 109 if (!strncasecmp in selinux_getenforcemode() 116 if (!strncasecmp in selinux_getenforcemode() 178 if (!strncasecmp(buf_p, SELINUXTYPETAG, in init_selinux_config() 205 else if (strncasecmp(value, "true", sizeof("true") - 1)) in init_selinux_config() 207 else if (strncasecmp in init_selinux_config()
|
/external/selinux/libsepol/src/ |
D | genusers.c | 72 if (strncasecmp(p, "user", 4)) 131 if (strncasecmp(p, "roles", 5)) 194 if (strncasecmp(p, "level", 5)) 204 while (*p && strncasecmp(p, "range", 5)) 241 if (strncasecmp(p, "range", 5))
|
/external/valgrind/memcheck/tests/ |
D | str_tester.c | 1354 check(strncasecmp("a", "a", 5) == 0, 1); in test_strncasecmp() 1355 check(strncasecmp("a", "A", 5) == 0, 2); in test_strncasecmp() 1356 check(strncasecmp("A", "a", 5) == 0, 3); in test_strncasecmp() 1357 check(strncasecmp("a", "b", 5) < 0, 4); in test_strncasecmp() 1358 check(strncasecmp("c", "b", 5) > 0, 5); in test_strncasecmp() 1359 check(strncasecmp("abc", "AbC", 5) == 0, 6); in test_strncasecmp() 1360 check(strncasecmp("0123456789", "0123456789", 10) == 0, 7); in test_strncasecmp() 1361 check(strncasecmp("", "0123456789", 10) < 0, 8); in test_strncasecmp() 1362 check(strncasecmp("AbC", "", 5) > 0, 9); in test_strncasecmp() 1363 check(strncasecmp("AbC", "A", 5) > 0, 10); in test_strncasecmp() [all …]
|
/external/compiler-rt/lib/asan/tests/ |
D | asan_str_test.cc | 284 EXPECT_EQ(0, strncasecmp("a", "b", 0)); in TEST() 285 EXPECT_EQ(0, strncasecmp("abCD", "ABcd", 10)); in TEST() 286 EXPECT_EQ(0, strncasecmp("abCd", "ABcef", 3)); in TEST() 287 EXPECT_GT(0, strncasecmp("abcde", "ABCfa", 4)); in TEST() 288 EXPECT_GT(0, strncasecmp("a", "B", 5)); in TEST() 289 EXPECT_GT(0, strncasecmp("bc", "BCde", 4)); in TEST() 290 EXPECT_LT(0, strncasecmp("xyz", "xyy", 10)); in TEST() 291 EXPECT_LT(0, strncasecmp("Baa", "aaa", 1)); in TEST() 292 EXPECT_LT(0, strncasecmp("zyx", "", 2)); in TEST() 372 RunStrNCmpTest(&strncasecmp); in TEST()
|
/external/libusb/libusb/ |
D | strerror.c | 32 #define strncasecmp _strnicmp macro 167 if (strncasecmp(usbi_locale_supported[i], locale, 2) == 0) in libusb_setlocale()
|
/external/xmlrpcpp/src/ |
D | XmlRpcUtil.h | 18 # define strncasecmp _strnicmp macro 21 # define strncasecmp strnicmp macro
|
D | XmlRpcServerConnection.cpp | 87 if ((ep - cp > 16) && (strncasecmp(cp, "Content-length: ", 16) == 0)) in readHeader() 89 else if ((ep - cp > 12) && (strncasecmp(cp, "Connection: ", 12) == 0)) in readHeader() 130 if (kp == 0 || strncasecmp(kp, "keep-alive", 10) != 0) in readHeader() 133 if (kp != 0 && strncasecmp(kp, "close", 5) == 0) in readHeader()
|
/external/libvncserver/libvncserver/ |
D | websockets.c | 319 } else if ((strncasecmp("host: ", line, min(llen,6))) == 0) { in webSocketsHandshake() 323 } else if ((strncasecmp("origin: ", line, min(llen,8))) == 0) { in webSocketsHandshake() 327 } else if ((strncasecmp("sec-websocket-key1: ", line, min(llen,20))) == 0) { in webSocketsHandshake() 331 } else if ((strncasecmp("sec-websocket-key2: ", line, min(llen,20))) == 0) { in webSocketsHandshake() 337 } else if ((strncasecmp("sec-websocket-protocol: ", line, min(llen,24))) == 0) { in webSocketsHandshake() 341 } else if ((strncasecmp("sec-websocket-origin: ", line, min(llen,22))) == 0) { in webSocketsHandshake() 344 } else if ((strncasecmp("sec-websocket-key: ", line, min(llen,19))) == 0) { in webSocketsHandshake() 347 } else if ((strncasecmp("sec-websocket-version: ", line, min(llen,23))) == 0) { in webSocketsHandshake()
|
/external/mdnsresponder/mDNSShared/ |
D | dnssd_clientlib.c | 41 #define strncasecmp _strnicmp macro 86 if (p <= e && *keylen <= x[0] && !strncasecmp(key, (char*)x+1, *keylen)) in InternalTXTRecordSearch() 119 …if (strncasecmp((regtype + len - 4), "_tcp", 4) && strncasecmp((regtype + len - 4), "_udp", 4)) re… in DNSServiceConstructFullName()
|
/external/syslinux/com32/gpllib/dmi/ |
D | dmi_processor.c | 315 || strncasecmp(manufacturer, "Intel", 5) == 0) in dmi_processor_family() 318 || strncasecmp(manufacturer, "AMD", 3) == 0) in dmi_processor_family()
|
/external/clang/test/SemaCXX/ |
D | warn-memsize-comparison.cpp | 10 extern "C" int strncasecmp(const char *s1, const char *s2, size_t n); 49 if (strncasecmp(b1, b2, sizeof(b1) >= 0)) {} // \ in f() 53 if (strncasecmp(b1, b2, sizeof(b1)) >= 0) {} in f()
|
D | warn-memset-bad-sizeof.cpp | 127 extern "C" int strncasecmp(const char *s1, const char *s2, unsigned n); 138 strncasecmp(FOO, BAR, sizeof(FOO)); // \ in strcpy_and_friends()
|
/external/webrtc/webrtc/modules/video_capture/ |
D | device_info_impl.cc | 53 if(strncasecmp((char*)_lastUsedDeviceName, in NumberOfCapabilities() 85 || (strncasecmp((char*)_lastUsedDeviceName, in GetCapability() 133 || (strncasecmp((char*)_lastUsedDeviceName, in GetBestMatchedCapability()
|