Home
last modified time | relevance | path

Searched refs:strcasecmp (Results 1 – 25 of 426) sorted by relevance

12345678910>>...18

/openbsd/usr.sbin/smtpd/
H A Denvelope.c251 if (strcasecmp(buf, "mda") == 0) in ascii_load_type()
335 if (strcasecmp(buf, "error") == 0 || strcasecmp(buf, "failed") == 0) in ascii_load_bounce_type()
351 if (strcasecmp(buf, "HDRS") == 0) in ascii_load_dsn_ret()
379 if (strcasecmp("dest", field) == 0) in ascii_load_field()
389 if (strcasecmp("ttl", field) == 0) in ascii_load_field()
395 if (strcasecmp("helo", field) == 0) in ascii_load_field()
411 if (strcasecmp("rcpt", field) == 0) in ascii_load_field()
433 if (strcasecmp("tag", field) == 0) in ascii_load_field()
436 if (strcasecmp("type", field) == 0) in ascii_load_field()
641 if (strcasecmp(field, "ttl") == 0) in ascii_dump_field()
[all …]
H A Dmda_variables.c104 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()
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()
144 else if (!strcasecmp("dest.domain", rtoken)) in mda_expand_token()
146 else if (!strcasecmp("mda", rtoken)) { in mda_expand_token()
[all …]
/openbsd/lib/libpcap/
H A Dgrammar.y309 strcasecmp($1, "accept") == 0)
312 strcasecmp($1, "block") == 0)
316 else if (strcasecmp($1, "rdr") == 0)
318 else if (strcasecmp($1, "nat") == 0)
342 | ID { if (strcasecmp($1, "data") == 0)
345 strcasecmp($1, "management") == 0)
348 strcasecmp($1, "control") == 0)
370 else if (strcasecmp($1, "atim") == 0)
381 else if (strcasecmp($1, "data") == 0)
389 | ID { if (strcasecmp($1, "nods") == 0)
[all …]
/openbsd/usr.bin/tmux/
H A Dstyle.c84 if (strcasecmp(tmp, "default") == 0) { in style_parse()
90 } else if (strcasecmp(tmp, "ignore") == 0) in style_parse()
92 else if (strcasecmp(tmp, "noignore") == 0) in style_parse()
96 else if (strcasecmp(tmp, "pop-default") == 0) in style_parse()
98 else if (strcasecmp(tmp, "nolist") == 0) in style_parse()
101 if (strcasecmp(tmp + 5, "on") == 0) in style_parse()
103 else if (strcasecmp(tmp + 5, "focus") == 0) in style_parse()
123 if (strcasecmp(tmp + 6, "left") == 0) { in style_parse()
176 } else if (strcasecmp(tmp, "noalign") == 0) in style_parse()
179 if (strcasecmp(tmp + 6, "left") == 0) in style_parse()
[all …]
H A Dcolour.c218 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(s, "white") == 0 || strcmp(s, "7") == 0) in colour_fromstring()
[all …]
/openbsd/usr.sbin/tcpdump/
H A Dtcpdump.c249 if (strcasecmp(optarg, "pass") == 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()
362 else if (strcasecmp(optarg, "tcp") == 0) in main()
364 else if (strcasecmp(optarg, "gre") == 0) in main()
[all …]
/openbsd/sbin/isakmpd/
H A Dui.c232 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()
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()
329 if (strcasecmp(section, "Phase 2") == 0 && in ui_config()
333 } else if (strcasecmp(subcmd, "rm") == 0) { in ui_config()
428 } else if (strcasecmp(subcmd, "on") == 0) in ui_packetlog()
[all …]
/openbsd/usr.bin/whois/
H A Dwhois.c327 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/usr.sbin/ldapd/
H A Dschema.c35 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()
751 } else if (strcasecmp(kw, "SUP") == 0) { in schema_parse_attributetype()
937 if (strcasecmp(kw, "NAME") == 0) { in schema_parse_objectclass()
942 } else if (strcasecmp(kw, "DESC") == 0) { in schema_parse_objectclass()
947 } else if (strcasecmp(kw, "SUP") == 0) { in schema_parse_objectclass()
[all …]
/openbsd/lib/libtls/
H A Dtls_config.c255 if (strcasecmp(p, "all") == 0 || in tls_config_parse_protocols()
256 strcasecmp(p, "legacy") == 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()
489 strcasecmp(ciphers, "secure") == 0) in tls_config_set_ciphers()
558 strcasecmp(curve, "none") == 0 || in tls_config_set_ecdhecurve()
[all …]
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dremote-rdi.c941 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()
949 !strcasecmp (args, "n") || in rdilogenable_command()
950 !strcasecmp (args, "no") || in rdilogenable_command()
951 !strcasecmp (args, "off") || in rdilogenable_command()
952 !strcasecmp (args, "f") || in rdilogenable_command()
[all …]
/openbsd/usr.sbin/rpki-client/
H A Dmft.c104 if (strcasecmp(fn + sz - 4, ".tal") == 0) in rtype_from_file_extension()
106 if (strcasecmp(fn + sz - 4, ".cer") == 0) in rtype_from_file_extension()
108 if (strcasecmp(fn + sz - 4, ".crl") == 0) in rtype_from_file_extension()
110 if (strcasecmp(fn + sz - 4, ".mft") == 0) in rtype_from_file_extension()
112 if (strcasecmp(fn + sz - 4, ".roa") == 0) in rtype_from_file_extension()
114 if (strcasecmp(fn + sz - 4, ".gbr") == 0) in rtype_from_file_extension()
116 if (strcasecmp(fn + sz - 4, ".sig") == 0) in rtype_from_file_extension()
118 if (strcasecmp(fn + sz - 4, ".asa") == 0) in rtype_from_file_extension()
120 if (strcasecmp(fn + sz - 4, ".tak") == 0) in rtype_from_file_extension()
122 if (strcasecmp(fn + sz - 4, ".csv") == 0) in rtype_from_file_extension()
[all …]
/openbsd/regress/lib/libskey/
H A Dskeytest.c107 if(strcasecmp(prn, rr->zero)) { in main()
116 if(strcasecmp(prn, rr->one)) { in main()
126 if(strcasecmp(prn, rr->nine)) { in main()
/openbsd/sbin/dhclient/
H A Dparse.c234 if (strcasecmp(val, "true") == 0 || in parse_boolean()
235 strcasecmp(val, "on") == 0) { in parse_boolean()
239 if (strcasecmp(val, "false") == 0 || in parse_boolean()
240 strcasecmp(val, "off") == 0) { in parse_boolean()
/openbsd/usr.sbin/nsd/
H A Dnsd-checkconf.c33 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) { \
71 if (strcasecmp(#NAME, (VAR)) == 0) { \
83 if (strcasecmp(#NAME, (VAR)) == 0) { \
89 if (strcasecmp(#NAME, (VAR)) == 0) { \
333 if(strcasecmp("pattern", o)==0) { in config_print_zone()
370 if(strcasecmp("name", o)==0) { in config_print_zone()
[all …]
/openbsd/usr.bin/ftp/
H A Dcookie.c104 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 Druserpass.c119 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/gnu/gcc/fixincludes/tests/base/
H A Dstrings.h31 strcasecmp( const char *__s1, const char *__s2),
35 strcasecmp(),
/openbsd/gnu/usr.bin/binutils/gas/config/
H A Dtc-hppa.c2391 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)
2430 else if (strcasecmp (name, "ev") == 0)
2554 else if (strcasecmp (name, "<<") == 0)
2558 else if (strcasecmp (name, "sv") == 0)
2560 else if (strcasecmp (name, "od") == 0)
2562 else if (strcasecmp (name, "tr") == 0)
5455 if (strcasecmp (name, "tr") == 0)
[all …]
/openbsd/gnu/usr.bin/binutils-2.17/gas/config/
H A Dtc-hppa.c2388 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)
2427 else if (strcasecmp (name, "ev") == 0)
2551 else if (strcasecmp (name, "<<") == 0)
2555 else if (strcasecmp (name, "sv") == 0)
2557 else if (strcasecmp (name, "od") == 0)
2559 else if (strcasecmp (name, "tr") == 0)
5472 if (strcasecmp (name, "tr") == 0)
[all …]
/openbsd/usr.bin/snmp/
H A Dsnmpc.c188 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()
445 if (strcasecmp(optarg, "DES") == 0) in main()
447 else if (strcasecmp(optarg, "AES") == 0) in main()
1226 if (strcasecmp(specifier, "udp") == 0) { in snmpc_parseagent()
1233 strcasecmp(specifier, "udpv6") == 0 || in snmpc_parseagent()
[all …]
/openbsd/gnu/llvm/compiler-rt/lib/fuzzer/
H A DFuzzerInterceptors.cpp146 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/sbin/ldattach/
H A Dldattach.c165 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/lib/libc/string/
H A Dstrcasecmp.c77 strcasecmp(const char *s1, const char *s2) in strcasecmp() function
88 DEF_WEAK(strcasecmp);
/openbsd/gnu/gcc/gcc/
H A Dintl.c75 && (!strcasecmp (encoding, "utf-8") in gcc_init_libintl()
76 || !strcasecmp (encoding, "utf8"))) in gcc_init_libintl()

12345678910>>...18