/external/lldb/source/ |
D | lldb-log.cpp | 121 … else if (0 == ::strncasecmp(arg, "break", 5)) flag_bits &= ~LIBLLDB_LOG_BREAKPOINTS; in DisableLog() 125 else if (0 == ::strncasecmp(arg, "event", 5)) flag_bits &= ~LIBLLDB_LOG_EVENTS; in DisableLog() 126 … else if (0 == ::strncasecmp(arg, "expr", 4)) flag_bits &= ~LIBLLDB_LOG_EXPRESSIONS; in DisableLog() 127 else if (0 == ::strncasecmp(arg, "object", 6)) flag_bits &= ~LIBLLDB_LOG_OBJECT; in DisableLog() 135 … else if (0 == ::strncasecmp(arg, "watch", 5)) flag_bits &= ~LIBLLDB_LOG_WATCHPOINTS; in DisableLog() 136 else if (0 == ::strncasecmp(arg, "temp", 4)) flag_bits &= ~LIBLLDB_LOG_TEMPORARY; in DisableLog() 137 … else if (0 == ::strncasecmp(arg, "comm", 4)) flag_bits &= ~LIBLLDB_LOG_COMMUNICATION; in DisableLog() 138 … else if (0 == ::strncasecmp(arg, "conn", 4)) flag_bits &= ~LIBLLDB_LOG_CONNECTION; in DisableLog() 139 else if (0 == ::strncasecmp(arg, "host", 4)) flag_bits &= ~LIBLLDB_LOG_HOST; in DisableLog() 140 else if (0 == ::strncasecmp(arg, "unwind", 6)) flag_bits &= ~LIBLLDB_LOG_UNWIND; in DisableLog() [all …]
|
/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/openssh/ |
D | auth-options.c | 108 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options() 114 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options() 121 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options() 128 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options() 135 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options() 142 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options() 149 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options() 180 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options() 212 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options() 254 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options() [all …]
|
/external/clang/test/Analysis/ |
D | string.c | 939 #define strncasecmp BUILTIN(strncasecmp) macro 940 int strncasecmp(const char *s1, const char *s2, size_t n); 943 clang_analyzer_eval(strncasecmp("abc", "Abc", 3) == 0); // expected-warning{{TRUE}} in strncasecmp_constant0() 948 clang_analyzer_eval(strncasecmp(x, "Abc", 3) == 0); // expected-warning{{TRUE}} in strncasecmp_constant_and_var_0() 953 clang_analyzer_eval(strncasecmp("Abc", x, 3) == 0); // expected-warning{{TRUE}} in strncasecmp_constant_and_var_1() 959 clang_analyzer_eval(strncasecmp(x, y, 3) == 0); // expected-warning{{TRUE}} in strncasecmp_0() 965 clang_analyzer_eval(strncasecmp(x, y, 3) == 1); // expected-warning{{TRUE}} in strncasecmp_1() 971 clang_analyzer_eval(strncasecmp(x, y, 3) == -1); // expected-warning{{TRUE}} in strncasecmp_2() 977 …strncasecmp(x, y, 3); // expected-warning{{Null pointer argument in call to string comparison func… in strncasecmp_null_0() 983 …strncasecmp(x, y, 3); // expected-warning{{Null pointer argument in call to string comparison func… in strncasecmp_null_1() [all …]
|
/external/lldb/source/Plugins/Process/MacOSX-Kernel/ |
D | ProcessKDPLog.cpp | 66 else if (::strncasecmp (arg, "break", 5) == 0 ) flag_bits &= ~KDP_LOG_BREAKPOINTS; in DisableLog() 67 else if (::strncasecmp (arg, "comm", 4) == 0 ) flag_bits &= ~KDP_LOG_COMM; in DisableLog() 77 else if (::strncasecmp (arg, "watch", 5) == 0 ) flag_bits &= ~KDP_LOG_WATCHPOINTS; in DisableLog() 122 else if (::strncasecmp (arg, "break", 5) == 0 ) flag_bits |= KDP_LOG_BREAKPOINTS; in EnableLog() 123 else if (::strncasecmp (arg, "comm", 4) == 0 ) flag_bits |= KDP_LOG_COMM; in EnableLog() 133 else if (::strncasecmp (arg, "watch", 5) == 0 ) flag_bits |= KDP_LOG_WATCHPOINTS; in EnableLog()
|
/external/lldb/source/Plugins/Process/gdb-remote/ |
D | ProcessGDBRemoteLog.cpp | 76 else if (::strncasecmp (arg, "break", 5) == 0 ) flag_bits &= ~GDBR_LOG_BREAKPOINTS; in DisableLog() 77 else if (::strncasecmp (arg, "comm", 4) == 0 ) flag_bits &= ~GDBR_LOG_COMM; in DisableLog() 87 else if (::strncasecmp (arg, "watch", 5) == 0 ) flag_bits &= ~GDBR_LOG_WATCHPOINTS; in DisableLog() 133 else if (::strncasecmp (arg, "break", 5) == 0 ) flag_bits |= GDBR_LOG_BREAKPOINTS; in EnableLog() 134 else if (::strncasecmp (arg, "comm", 4) == 0 ) flag_bits |= GDBR_LOG_COMM; in EnableLog() 144 else if (::strncasecmp (arg, "watch", 5) == 0 ) flag_bits |= GDBR_LOG_WATCHPOINTS; in EnableLog()
|
/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 | 101 if (strncasecmp(reject_table[i].name, in REJECT_parse() 103 strncasecmp(reject_table[i].alias, in REJECT_parse() 109 if (strncasecmp("echo-reply", cb->arg, strlen(cb->arg)) == 0 || in REJECT_parse() 110 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 | 86 if (strncasecmp(reject_table[i].name, in REJECT_parse() 88 strncasecmp(reject_table[i].alias, in REJECT_parse()
|
/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/selinux/libselinux/src/ |
D | selinux_config.c | 101 if (!strncasecmp in selinux_getenforcemode() 107 if (!strncasecmp in selinux_getenforcemode() 114 if (!strncasecmp in selinux_getenforcemode() 176 if (!strncasecmp(buf_p, SELINUXTYPETAG, in init_selinux_config() 203 else if (strncasecmp(value, "true", sizeof("true") - 1)) in init_selinux_config() 205 else if (strncasecmp in init_selinux_config()
|
/external/selinux/libsepol/src/ |
D | genusers.c | 71 if (strncasecmp(p, "user", 4)) 130 if (strncasecmp(p, "roles", 5)) 193 if (strncasecmp(p, "level", 5)) 203 while (*p && strncasecmp(p, "range", 5)) 240 if (strncasecmp(p, "range", 5))
|
/external/compiler-rt/lib/asan/tests/ |
D | asan_str_test.cc | 261 EXPECT_EQ(0, strncasecmp("a", "b", 0)); in TEST() 262 EXPECT_EQ(0, strncasecmp("abCD", "ABcd", 10)); in TEST() 263 EXPECT_EQ(0, strncasecmp("abCd", "ABcef", 3)); in TEST() 264 EXPECT_GT(0, strncasecmp("abcde", "ABCfa", 4)); in TEST() 265 EXPECT_GT(0, strncasecmp("a", "B", 5)); in TEST() 266 EXPECT_GT(0, strncasecmp("bc", "BCde", 4)); in TEST() 267 EXPECT_LT(0, strncasecmp("xyz", "xyy", 10)); in TEST() 268 EXPECT_LT(0, strncasecmp("Baa", "aaa", 1)); in TEST() 269 EXPECT_LT(0, strncasecmp("zyx", "", 2)); in TEST() 349 RunStrNCmpTest(&strncasecmp); in TEST()
|
/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/lldb/source/Plugins/Process/POSIX/ |
D | ProcessPOSIXLog.cpp | 55 else if (::strncasecmp (arg, "break", 5) == 0 ) return POSIX_LOG_BREAKPOINTS; in GetFlagBits() 56 else if (::strncasecmp (arg, "comm", 4) == 0 ) return POSIX_LOG_COMM; in GetFlagBits() 68 else if (::strncasecmp (arg, "watch", 5) == 0 ) return POSIX_LOG_WATCHPOINTS; in GetFlagBits()
|
/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/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/clang/test/Sema/ |
D | builtins-gnu-mode.c | 14 int strncasecmp; variable
|