/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/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()
|
D | strcasestr.c | 62 } while (strncasecmp(s, find, len) != 0); in strcasestr()
|
/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 | libipt_REJECT.c | 132 if (strncasecmp(reject_table[i].name, in REJECT_parse() 134 strncasecmp(reject_table[i].alias, in REJECT_parse() 141 if (strncasecmp("echo-reply", cb->arg, strlen(cb->arg)) == 0 || in REJECT_parse() 142 strncasecmp("echoreply", cb->arg, strlen(cb->arg)) == 0) in REJECT_parse()
|
D | libxt_limit.c | 59 if (strncasecmp(delim+1, "second", strlen(delim+1)) == 0) in parse_rate() 61 else if (strncasecmp(delim+1, "minute", strlen(delim+1)) == 0) in parse_rate() 63 else if (strncasecmp(delim+1, "hour", strlen(delim+1)) == 0) in parse_rate() 65 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 | 120 if (strncasecmp(reject_table[i].name, in REJECT_parse() 122 strncasecmp(reject_table[i].alias, in REJECT_parse()
|
/external/libjpeg-turbo/ |
D | tjexample.c | 44 #define strncasecmp strnicmp macro 183 if (!strncasecmp(argv[i], "-sc", 3) && i < argc - 1) { in main() 198 } else if (!strncasecmp(argv[i], "-su", 3) && i < argc - 1) { in main() 200 if (!strncasecmp(argv[i], "g", 1)) in main() 210 } else if (!strncasecmp(argv[i], "-q", 2) && i < argc - 1) { in main() 214 } else if (!strncasecmp(argv[i], "-g", 2)) in main() 232 else if (!strncasecmp(argv[i], "-c", 2) && i < argc - 1) { in main()
|
/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 | 104 if (!strncasecmp in selinux_getenforcemode() 110 if (!strncasecmp in selinux_getenforcemode() 117 if (!strncasecmp in selinux_getenforcemode() 179 if (!strncasecmp(buf_p, SELINUXTYPETAG, in init_selinux_config() 206 else if (strncasecmp(value, "true", sizeof("true") - 1)) in init_selinux_config() 208 else if (strncasecmp in init_selinux_config()
|
/external/python/cpython3/Modules/_decimal/libmpdec/ |
D | vccompat.h | 44 #undef strncasecmp 45 #define strncasecmp _strnicmp macro
|
/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/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/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()
|
/external/e2fsprogs/include/nonunix/ |
D | config.h | 12 #define strncasecmp _strnicmp macro
|
/external/google-breakpad/src/third_party/curl/ |
D | stdcheaders.h | 32 int strncasecmp(const char *, const char *, size_t);
|
/external/clang/test/Sema/ |
D | builtins-gnu-mode.c | 14 int strncasecmp; variable
|
/external/curl/include/curl/ |
D | stdcheaders.h | 31 int strncasecmp(const char *, const char *, size_t);
|
/external/e2fsprogs/intl/ |
D | os2compat.h | 40 #define strncasecmp strnicmp macro
|
/external/rust/crates/libc/src/windows/gnu/ |
D | mod.rs | 11 pub fn strncasecmp( in strncasecmp() function
|