| /openbsd-src/usr.sbin/smtpd/ |
| H A D | envelope.c | 251 if (strcasecmp(buf, "mda") == 0) in ascii_load_type() 253 else if (strcasecmp(buf, "mta") == 0) in ascii_load_type() 255 else if (strcasecmp(buf, "bounce") == 0) in ascii_load_type() 318 if (strcasecmp(flag, "authenticated") == 0) in ascii_load_flags() 320 else if (strcasecmp(flag, "enqueued") == 0) in ascii_load_flags() 322 else if (strcasecmp(flag, "bounce") == 0) in ascii_load_flags() 324 else if (strcasecmp(flag, "internal") == 0) in ascii_load_flags() 335 if (strcasecmp(buf, "error") == 0 || strcasecmp(buf, "failed") == 0) in ascii_load_bounce_type() 337 else if (strcasecmp(buf, "warn") == 0 || in ascii_load_bounce_type() 338 strcasecmp(buf, "delayed") == 0) in ascii_load_bounce_type() [all …]
|
| H A D | mda_variables.c | 104 if (!strcasecmp("sender", rtoken)) { in mda_expand_token() 112 else if (!strcasecmp("rcpt", rtoken)) { in mda_expand_token() 120 else if (!strcasecmp("dest", rtoken)) { in mda_expand_token() 128 else if (!strcasecmp("sender.user", rtoken)) in mda_expand_token() 130 else if (!strcasecmp("sender.domain", rtoken)) in mda_expand_token() 132 else if (!strcasecmp("user.username", rtoken)) in mda_expand_token() 134 else if (!strcasecmp("user.directory", rtoken)) { in mda_expand_token() 138 else if (!strcasecmp("rcpt.user", rtoken)) in mda_expand_token() 140 else if (!strcasecmp("rcpt.domain", rtoken)) in mda_expand_token() 142 else if (!strcasecmp("dest.user", rtoken)) in mda_expand_token() [all …]
|
| /openbsd-src/lib/libpcap/ |
| H A D | grammar.y | 298 if (strcasecmp($1, reasons[i]) == 0) { 308 action: ID { if (strcasecmp($1, "pass") == 0 || 309 strcasecmp($1, "accept") == 0) 311 else if (strcasecmp($1, "drop") == 0 || 312 strcasecmp($1, "block") == 0) 314 else if (strcasecmp($1, "match") == 0) 316 else if (strcasecmp($1, "rdr") == 0) 318 else if (strcasecmp($1, "nat") == 0) 320 else if (strcasecmp($1, "binat") == 0) 322 else if (strcasecmp($1, "scrub") == 0) [all …]
|
| /openbsd-src/usr.bin/tmux/ |
| H A D | style.c | 87 if (strcasecmp(tmp, "default") == 0) { in style_parse() 93 } else if (strcasecmp(tmp, "ignore") == 0) in style_parse() 95 else if (strcasecmp(tmp, "noignore") == 0) in style_parse() 97 else if (strcasecmp(tmp, "push-default") == 0) in style_parse() 99 else if (strcasecmp(tmp, "pop-default") == 0) in style_parse() 101 else if (strcasecmp(tmp, "nolist") == 0) in style_parse() 104 if (strcasecmp(tmp + 5, "on") == 0) in style_parse() 106 else if (strcasecmp(tmp + 5, "focus") == 0) in style_parse() 108 else if (strcasecmp(tmp + 5, "left-marker") == 0) in style_parse() 110 else if (strcasecmp(tm in style_parse() [all...] |
| H A D | colour.c | 218 if (strcasecmp(s, "default") == 0) in colour_fromstring() 220 if (strcasecmp(s, "terminal") == 0) in colour_fromstring() 223 if (strcasecmp(s, "black") == 0 || strcmp(s, "0") == 0) in colour_fromstring() 225 if (strcasecmp(s, "red") == 0 || strcmp(s, "1") == 0) in colour_fromstring() 227 if (strcasecmp(s, "green") == 0 || strcmp(s, "2") == 0) in colour_fromstring() 229 if (strcasecmp(s, "yellow") == 0 || strcmp(s, "3") == 0) in colour_fromstring() 231 if (strcasecmp(s, "blue") == 0 || strcmp(s, "4") == 0) in colour_fromstring() 233 if (strcasecmp(s, "magenta") == 0 || strcmp(s, "5") == 0) in colour_fromstring() 235 if (strcasecmp(s, "cyan") == 0 || strcmp(s, "6") == 0) in colour_fromstring() 237 if (strcasecmp( in colour_fromstring() [all...] |
| /openbsd-src/usr.sbin/tcpdump/ |
| H A D | tcpdump.c | 249 if (strcasecmp(optarg, "pass") == 0) in main() 251 else if (strcasecmp(optarg, "capture") == 0) in main() 253 else if (strcasecmp(optarg, "drop") == 0) in main() 269 if (strcasecmp(optarg, "in") == 0) in main() 271 else if (strcasecmp(optarg, "out") == 0) in main() 348 if (strcasecmp(optarg, "vat") == 0) in main() 350 else if (strcasecmp(optarg, "wb") == 0) in main() 352 else if (strcasecmp(optarg, "rpc") == 0) in main() 354 else if (strcasecmp(optarg, "rtp") == 0) in main() 356 else if (strcasecmp(optarg, "rtcp") == 0) in main() [all …]
|
| /openbsd-src/sbin/isakmpd/ |
| H A D | ui.c | 232 if (strcasecmp(subcmd, "get") == 0) { in ui_config() 247 if (strcasecmp(subcmd, "set") == 0) { in ui_config() 253 if (strcasecmp(section, "Phase 2") == 0 && in ui_config() 254 (strcasecmp(tag, "Connections") == 0 || in ui_config() 255 strcasecmp(tag, "Passive-connections") == 0)) in ui_config() 257 } else if (strcasecmp(subcmd, "add") == 0) { in ui_config() 292 if (strcasecmp(section, "Phase 2") == 0 && in ui_config() 293 (strcasecmp(tag, "Connections") == 0 || in ui_config() 294 strcasecmp(tag, "Passive-connections") == 0)) in ui_config() 296 } else if (strcasecmp(subcmd, "rmv") == 0) { in ui_config() [all …]
|
| /openbsd-src/usr.bin/whois/ |
| H A D | whois.c | 327 strcasecmp(qhead, "org") == 0 || in choose_server() 328 strcasecmp(qhead, "com") == 0 || in choose_server() 329 strcasecmp(qhead, "net") == 0 || in choose_server() 330 strcasecmp(qhead, "cat") == 0 || in choose_server() 331 strcasecmp(qhead, "pro") == 0 || in choose_server() 332 strcasecmp(qhead, "info") == 0 || in choose_server() 333 strcasecmp(qhead, "aero") == 0 || in choose_server() 334 strcasecmp(qhead, "jobs") == 0 || in choose_server() 335 strcasecmp(qhead, "mobi") == 0 || in choose_server() 336 strcasecmp(qhead, "museum") == 0 || in choose_server()
|
| /openbsd-src/usr.sbin/ldapd/ |
| H A D | schema.c | 35 return strcasecmp(a->oid, b->oid); in attr_oid_cmp() 41 return strcasecmp(a->oid, b->oid); in obj_oid_cmp() 47 return strcasecmp(a->on_name, b->on_name); in oidname_cmp() 53 return strcasecmp(a->name, b->name); in symoid_cmp() 741 if (strcasecmp(kw, "NAME") == 0) { in schema_parse_attributetype() 746 } else if (strcasecmp(kw, "DESC") == 0) { in schema_parse_attributetype() 749 } else if (strcasecmp(kw, "OBSOLETE") == 0) { in schema_parse_attributetype() 751 } else if (strcasecmp(kw, "SUP") == 0) { in schema_parse_attributetype() 759 } else if (strcasecmp(kw, "EQUALITY") == 0) { in schema_parse_attributetype() 768 } else if (strcasecmp(kw, "ORDERING") == 0) { in schema_parse_attributetype() [all …]
|
| /openbsd-src/lib/libtls/ |
| H A D | tls_config.c | 255 if (strcasecmp(p, "all") == 0 || in tls_config_parse_protocols() 256 strcasecmp(p, "legacy") == 0) in tls_config_parse_protocols() 258 else if (strcasecmp(p, "default") == 0 || in tls_config_parse_protocols() 259 strcasecmp(p, "secure") == 0) in tls_config_parse_protocols() 261 if (strcasecmp(p, "tlsv1") == 0) in tls_config_parse_protocols() 263 else if (strcasecmp(p, "tlsv1.0") == 0) in tls_config_parse_protocols() 265 else if (strcasecmp(p, "tlsv1.1") == 0) in tls_config_parse_protocols() 267 else if (strcasecmp(p, "tlsv1.2") == 0) in tls_config_parse_protocols() 269 else if (strcasecmp(p, "tlsv1.3") == 0) in tls_config_parse_protocols() 488 strcasecmp(cipher in tls_config_set_ciphers() [all...] |
| /openbsd-src/gnu/usr.bin/binutils/gdb/ |
| H A D | remote-rdi.c | 941 if (!strcasecmp (args, "1") || in rdilogenable_command() 942 !strcasecmp (args, "y") || in rdilogenable_command() 943 !strcasecmp (args, "yes") || in rdilogenable_command() 944 !strcasecmp (args, "on") || in rdilogenable_command() 945 !strcasecmp (args, "t") || in rdilogenable_command() 946 !strcasecmp (args, "true")) in rdilogenable_command() 948 else if (!strcasecmp (args, "0") || in rdilogenable_command() 949 !strcasecmp (args, "n") || in rdilogenable_command() 950 !strcasecmp (args, "no") || in rdilogenable_command() 951 !strcasecmp (args, "off") || in rdilogenable_command() [all …]
|
| /openbsd-src/usr.sbin/rpki-client/ |
| H A D | mft.c | 105 if (strcasecmp(fn + sz - 4, ".tal") == 0) in rtype_from_file_extension() 107 if (strcasecmp(fn + sz - 4, ".cer") == 0) in rtype_from_file_extension() 109 if (strcasecmp(fn + sz - 4, ".crl") == 0) in rtype_from_file_extension() 111 if (strcasecmp(fn + sz - 4, ".mft") == 0) in rtype_from_file_extension() 113 if (strcasecmp(fn + sz - 4, ".roa") == 0) in rtype_from_file_extension() 115 if (strcasecmp(fn + sz - 4, ".gbr") == 0) in rtype_from_file_extension() 117 if (strcasecmp(fn + sz - 4, ".sig") == 0) in rtype_from_file_extension() 119 if (strcasecmp(fn + sz - 4, ".asa") == 0) in rtype_from_file_extension() 121 if (strcasecmp(fn + sz - 4, ".tak") == 0) in rtype_from_file_extension() 123 if (strcasecmp(f in rtype_from_file_extension() [all...] |
| /openbsd-src/regress/lib/libskey/ |
| H A D | skeytest.c | 107 if(strcasecmp(prn, rr->zero)) { in main() 116 if(strcasecmp(prn, rr->one)) { in main() 126 if(strcasecmp(prn, rr->nine)) { in main()
|
| /openbsd-src/usr.sbin/nsd/ |
| H A D | nsd-checkconf.c | 33 if (strcasecmp(#NAME, (VAR)) == 0) { \ 39 if (strcasecmp(#NAME, (VAR)) == 0) { \ 47 if (strcasecmp(#NAME, (VAR)) == 0) { \ 53 if (strcasecmp(#NAME, (VAR)) == 0) { \ 59 if (strcasecmp(#NAME, (VAR)) == 0) { \ 65 if (strcasecmp(#NAME, (VAR)) == 0) { \ 71 if (strcasecmp(#NAME, (VAR)) == 0) { \ 77 if (strcasecmp(#NAME, (VAR)) == 0) { \ 83 if (strcasecmp(#NAME, (VAR)) == 0) { \ 89 if (strcasecmp(#NAME, (VAR)) == 0) { \ [all …]
|
| /openbsd-src/usr.bin/ftp/ |
| H A D | cookie.c | 104 if (strcasecmp(param, "TRUE") == 0) { in cookie_load() 106 } else if (strcasecmp(param, "FALSE") != 0) { in cookie_load() 119 if (strcasecmp(param, "TRUE") == 0) { in cookie_load() 121 } else if (strcasecmp(param, "FALSE") != 0) { in cookie_load()
|
| H A D | ruserpass.c | 119 if (strcasecmp(host, tokval) == 0) in ruserpass() 121 if (strcasecmp(hostname, tokval) == 0) in ruserpass() 124 strcasecmp(tmp, mydomain) == 0 && in ruserpass() 130 strcasecmp(tmp, mydomain) == 0 && in ruserpass()
|
| /openbsd-src/gnu/gcc/fixincludes/tests/base/ |
| H A D | strings.h | 31 strcasecmp( const char *__s1, const char *__s2), 35 strcasecmp(),
|
| /openbsd-src/gnu/usr.bin/binutils/gas/config/ |
| H A D | tc-hppa.c | 2387 else if (strcasecmp (name, "nuv") == 0) 2389 else if (strcasecmp (name, "znv") == 0) 2391 else if (strcasecmp (name, "sv") == 0) 2393 else if (strcasecmp (name, "od") == 0) 2395 else if (strcasecmp (name, "tr") == 0) 2415 else if (strcasecmp (name, "uv") == 0) 2420 else if (strcasecmp (name, "vnz") == 0) 2425 else if (strcasecmp (name, "nsv") == 0) 2430 else if (strcasecmp (name, "ev") == 0) 2554 else if (strcasecmp (name, "<<") == 0) [all …]
|
| /openbsd-src/gnu/usr.bin/binutils-2.17/gas/config/ |
| H A D | tc-hppa.c | 2384 else if (strcasecmp (name, "nuv") == 0) 2386 else if (strcasecmp (name, "znv") == 0) 2388 else if (strcasecmp (name, "sv") == 0) 2390 else if (strcasecmp (name, "od") == 0) 2392 else if (strcasecmp (name, "tr") == 0) 2412 else if (strcasecmp (name, "uv") == 0) 2417 else if (strcasecmp (name, "vnz") == 0) 2422 else if (strcasecmp (name, "nsv") == 0) 2427 else if (strcasecmp (name, "ev") == 0) 2551 else if (strcasecmp (name, "<<") == 0) [all …]
|
| /openbsd-src/usr.bin/snmp/ |
| H A D | snmpc.c | 188 if (strcasecmp(optarg, "MD5") == 0) in main() 190 else if (strcasecmp(optarg, "SHA") == 0) in main() 192 else if (strcasecmp(optarg, "SHA-224") == 0) in main() 194 else if (strcasecmp(optarg, "SHA-256") == 0) in main() 196 else if (strcasecmp(optarg, "SHA-384") == 0) in main() 198 else if (strcasecmp(optarg, "SHA-512") == 0) in main() 247 if (strcasecmp(optarg, "noAuthNoPriv") == 0) in main() 249 else if (strcasecmp(optarg, "authNoPriv") == 0) in main() 252 else if (strcasecmp(optarg, "authPriv") == 0) in main() 445 if (strcasecmp(optarg, "DES") == 0) in main() [all …]
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerInterceptors.cpp | 146 DEFINE_REAL(int, strcasecmp, const char *, const char *) in DEFINE_REAL() 190 ATTRIBUTE_INTERFACE int strcasecmp(const char *s1, const char *s2) { in strcasecmp() function 192 int result = REAL(strcasecmp)(s1, s2); in strcasecmp() 241 REAL(strcasecmp) = reinterpret_cast<strcasecmp_type>( in fuzzerInit() 242 getFuncAddr("strcasecmp", reinterpret_cast<uintptr_t>(&strcasecmp))); in fuzzerInit()
|
| /openbsd-src/sbin/ldattach/ |
| H A D | ldattach.c | 165 if (!strcasecmp(optarg, "dcd")) in main() 167 else if (!strcasecmp(optarg, "!dcd")) in main() 169 else if (!strcasecmp(optarg, "cts")) in main() 171 else if (!strcasecmp(optarg, "!cts")) in main()
|
| /openbsd-src/lib/libc/string/ |
| H A D | strcasecmp.c | 77 strcasecmp(const char *s1, const char *s2) in strcasecmp() function 88 DEF_WEAK(strcasecmp);
|
| /openbsd-src/gnu/gcc/gcc/ |
| H A D | intl.c | 75 && (!strcasecmp (encoding, "utf-8") in gcc_init_libintl() 76 || !strcasecmp (encoding, "utf8"))) in gcc_init_libintl()
|
| /openbsd-src/usr.bin/dig/ |
| H A D | nslookup.c | 738 if (strcasecmp(ptr, "set") == 0) { in do_next_command() 743 } else if ((strcasecmp(ptr, "server") == 0) || in do_next_command() 744 (strcasecmp(ptr, "lserver") == 0)) { in do_next_command() 756 } else if (strcasecmp(ptr, "exit") == 0) { in do_next_command() 758 } else if (strcasecmp(ptr, "help") == 0 || in do_next_command() 759 strcasecmp(ptr, "?") == 0) { in do_next_command() 761 } else if (strcasecmp(ptr, "finger") == 0 || in do_next_command() 762 strcasecmp(ptr, "root") == 0 || in do_next_command() 763 strcasecmp(ptr, "ls") == 0 || in do_next_command() 764 strcasecmp(ptr, "view") == 0) { in do_next_command()
|