Home
last modified time | relevance | path

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

12345678910>>...20

/freebsd-14.2/sbin/dhclient/
H A Dconflex.c330 if (!strcasecmp(atom + 1, "llow")) in intern()
362 if (!strcasecmp(atom + 1, "eny")) in intern()
384 if (!strcasecmp(atom + 1, "nds")) in intern()
394 if (!strcasecmp(atom + 1, "ddi")) in intern()
406 if (!strcasecmp(atom + 1, "ost")) in intern()
429 if (!strcasecmp(atom + 4, "a")) in intern()
431 if (!strcasecmp(atom + 4, "um")) in intern()
443 if (!strcasecmp(atom + 1, "ot")) in intern()
493 if (!strcasecmp(atom + 1, "end")) in intern()
514 if (!strcasecmp(atom + 3, in intern()
[all …]
/freebsd-14.2/contrib/dialog/samples/copifuncs/
H A Difpatch8 + if (!strcasecmp(msg->key,"Path"))
17 if (!strcasecmp(msg->key,"Xref")) return 0;
21 + if (!strcasecmp(msg->key,"From"))
29 if (!strcasecmp(msg->key,"To"))
34 if (!strcasecmp(msg->key,"Cc")) return 2;
35 if (!strcasecmp(msg->key,"Bcc")) return 2;
37 + if (!strcasecmp(msg->key,"Reply-To"))
47 if (!strcasecmp(msg->key,"Subject"))
54 + if (!strcasecmp(msg->key,"Keywords"))
62 + if (!strcasecmp(msg->key,"Summary"))
[all …]
/freebsd-14.2/sbin/ipf/libipf/
H A Dparseipfexpr.c145 if (!strcasecmp(ops, "ip.addr") || in parseipfexpr()
146 !strcasecmp(ops, "ip.src") || in parseipfexpr()
147 !strcasecmp(ops, "ip.dst")) { in parseipfexpr()
172 !strcasecmp(ops, "ip6.src") || in parseipfexpr()
173 !strcasecmp(ops, "ip6.dst")) { in parseipfexpr()
206 } else if (!strcasecmp(ops, "ip.p")) { in parseipfexpr()
232 !strcasecmp(ops, "tcp.sport") || in parseipfexpr()
233 !strcasecmp(ops, "tcp.dport") || in parseipfexpr()
234 !strcasecmp(ops, "udp.port") || in parseipfexpr()
235 !strcasecmp(ops, "udp.sport") || in parseipfexpr()
[all …]
H A Dipft_tx.c52 if (!strcasecmp("any", host)) in tx_hostnum()
190 if (!strcasecmp(*cpp, "out6") || !strcasecmp(*cpp, "in6")) { in parseline()
200 if (!strcasecmp(*cpp, "on")) { in parseline()
211 if (!strcasecmp(*cpp, "tcp") || !strcasecmp(*cpp, "udp") || in parseline()
212 !strcasecmp(*cpp, "icmp")) { in parseline()
311 if (*cpp && !strcasecmp(*cpp, "opt")) { in parseline()
350 if (!strcasecmp(*cpp, "on")) { in parseipv6()
359 if (!strcasecmp(*cpp, "tcp")) { in parseipv6()
363 } else if (!strcasecmp(*cpp, "udp")) { in parseipv6()
367 } else if (!strcasecmp(*cpp, "icmpv6")) { in parseipv6()
/freebsd-14.2/tools/regression/geom/MdLoad/
H A DMdLoad.c99 if (!strcasecmp(name, "sector")) { in startElement()
117 if (!strcasecmp(name, "comment")) { in endElement()
122 if (!strcasecmp(name, "sectorsize")) { in endElement()
126 } else if (!strcasecmp(name, "mediasize")) { in endElement()
132 } else if (!strcasecmp(name, "fwsectors")) { in endElement()
136 } else if (!strcasecmp(name, "fwheads")) { in endElement()
144 } else if (!strcasecmp(name, "offset")) { in endElement()
148 } else if (!strcasecmp(name, "fill")) { in endElement()
151 } else if (!strcasecmp(name, "hexdata")) { in endElement()
171 } else if (!strcasecmp(name, "sector")) { in endElement()
[all …]
/freebsd-14.2/usr.bin/grep/
H A Dgrep.c436 if (strcasecmp(optarg, "skip") == 0)
438 else if (strcasecmp(optarg, "read") == 0)
444 if (strcasecmp("recurse", optarg) == 0) {
565 if (strcasecmp("binary", optarg) == 0)
577 strcasecmp("tty", optarg) == 0 ||
578 strcasecmp("if-tty", optarg) == 0) {
583 strcasecmp(term, "dumb") != 0)
586 strcasecmp("yes", optarg) == 0 ||
587 strcasecmp("force", optarg) == 0) {
590 strcasecmp("none", optarg) != 0 &&
[all …]
/freebsd-14.2/usr.sbin/iovctl/
H A Dparse.c171 if (strcasecmp(strVal, "trunk") == 0) { in add_vlan_config()
199 if (strcasecmp(type, "bool") == 0) in add_config()
201 else if (strcasecmp(type, "string") == 0) in add_config()
203 else if (strcasecmp(type, "uint8_t") == 0) in add_config()
205 else if (strcasecmp(type, "uint16_t") == 0) in add_config()
207 else if (strcasecmp(type, "uint32_t") == 0) in add_config()
209 else if (strcasecmp(type, "uint64_t") == 0) in add_config()
213 else if (strcasecmp(type, "vlan") == 0) in add_config()
320 if (strcasecmp(key, PF_CONFIG_NAME) == 0) in parse_config_file()
370 if (strcasecmp(key, "device") == 0) { in find_pf_device()
[all …]
H A Diovctl.c322 if (strcasecmp(type, "bool") == 0) in print_default_value()
326 else if (strcasecmp(type, "string") == 0) in print_default_value()
329 else if (strcasecmp(type, "uint8_t") == 0) in print_default_value()
333 else if (strcasecmp(type, "uint16_t") == 0) in print_default_value()
337 else if (strcasecmp(type, "uint32_t") == 0) in print_default_value()
341 else if (strcasecmp(type, "uint64_t") == 0) in print_default_value()
345 else if (strcasecmp(type, "unicast-mac") == 0) { in print_default_value()
349 } else if (strcasecmp(type, "vlan") == 0) { in print_default_value()
/freebsd-14.2/crypto/heimdal/appl/rsh/
H A Dlogin_access.c146 if (strcasecmp(tok, "EXCEPT") == 0) /* EXCEPT: give up */ in list_match()
154 while ((tok = strtok_r(NULL, sep, &foo)) && strcasecmp(tok, "EXCEPT")) in list_match()
220 if (strcasecmp(string, group->gr_mem[i]) == 0) in user_match()
249 && strcasecmp(tok, string + str_len - tok_len) == 0) in from_match()
251 } else if (strcasecmp(tok, "LOCAL") == 0) { /* local: no dots */ in from_match()
271 if (strcasecmp(tok, "ALL") == 0) { /* all: always matches */ in string_match()
273 } else if (strcasecmp(tok, string) == 0) { /* try exact match */ in string_match()
/freebsd-14.2/crypto/heimdal/appl/login/
H A Dlogin_access.c146 if (strcasecmp(tok, "EXCEPT") == 0) /* EXCEPT: give up */ in list_match()
154 while ((tok = strtok_r(NULL, sep, &foo)) && strcasecmp(tok, "EXCEPT")) in list_match()
220 if (strcasecmp(string, group->gr_mem[i]) == 0) in user_match()
249 && strcasecmp(tok, string + str_len - tok_len) == 0) in from_match()
251 } else if (strcasecmp(tok, "LOCAL") == 0) { /* local: no dots */ in from_match()
271 if (strcasecmp(tok, "ALL") == 0) { /* all: always matches */ in string_match()
273 } else if (strcasecmp(tok, string) == 0) { /* try exact match */ in string_match()
/freebsd-14.2/contrib/netbsd-tests/lib/libc/string/
H A Dt_popcount.c47 if (strcasecmp(cfg_var, "YES") == 0 || in popcount_init()
48 strcasecmp(cfg_var, "Y") == 0 || in popcount_init()
49 strcasecmp(cfg_var, "1") == 0 || in popcount_init()
50 strcasecmp(cfg_var, "T") == 0 || in popcount_init()
51 strcasecmp(cfg_var, "TRUE") == 0) { in popcount_init()
/freebsd-14.2/tools/tools/cfi/
H A Dcfi.c139 if (strcasecmp(argv[1], "fact") == 0) { in main()
141 } else if (strcasecmp(argv[1], "oem") == 0) { in main()
143 } else if (strcasecmp(argv[1], "woem") == 0) { in main()
148 } else if (strcasecmp(argv[1], "plr") == 0) { in main()
150 } else if (strcasecmp(argv[1], "wplr") == 0) { in main()
/freebsd-14.2/usr.sbin/mfiutil/
H A Dmfi_evt.c111 if (strcasecmp(arg, "newest") == 0) { in parse_seq()
115 if (strcasecmp(arg, "oldest") == 0) { in parse_seq()
119 if (strcasecmp(arg, "clear") == 0) { in parse_seq()
127 if (strcasecmp(arg, "boot") == 0) { in parse_seq()
163 if (strcasecmp(arg, "sas") == 0) { in parse_locale()
171 if (strcasecmp(arg, "config") == 0) { in parse_locale()
175 if (strcasecmp(arg, "cluster") == 0) { in parse_locale()
179 if (strcasecmp(arg, "all") == 0) { in parse_locale()
198 if (strcasecmp(arg, "debug") == 0) { in parse_class()
218 if (strcasecmp(arg, "fatal") == 0) { in parse_class()
[all …]
/freebsd-14.2/usr.bin/whois/
H A Dwhois.c277 strcasecmp(domain + len - suffix_len, in choose_server()
471 (strcasecmp(hostname, DENICHOST) == 0 || in whois()
472 strcasecmp(hostname, "de" QNICHOST_TAIL) == 0)) { in whois()
480 (strcasecmp(hostname, DKNICHOST) == 0 || in whois()
481 strcasecmp(hostname, "dk" QNICHOST_TAIL) == 0)) in whois()
486 else if (strcasecmp(hostname, ANICHOST) == 0) { in whois()
500 (strcasecmp(hostname, ANICHOST) == 0 || in whois()
501 strcasecmp(hostname, RNICHOST) == 0)) { in whois()
583 strcasecmp(try_rir[i].host, hostname) == 0) in whois()
587 strcasecmp(try_rir[i].host, nhost) == 0) { in whois()
[all …]
/freebsd-14.2/sys/cam/ata/
H A Data_all.c906 if (!strcasecmp(str, "PIO0")) return (ATA_PIO0); in ata_string2mode()
907 if (!strcasecmp(str, "PIO1")) return (ATA_PIO1); in ata_string2mode()
908 if (!strcasecmp(str, "PIO2")) return (ATA_PIO2); in ata_string2mode()
909 if (!strcasecmp(str, "PIO3")) return (ATA_PIO3); in ata_string2mode()
910 if (!strcasecmp(str, "PIO4")) return (ATA_PIO4); in ata_string2mode()
911 if (!strcasecmp(str, "WDMA0")) return (ATA_WDMA0); in ata_string2mode()
912 if (!strcasecmp(str, "WDMA1")) return (ATA_WDMA1); in ata_string2mode()
913 if (!strcasecmp(str, "WDMA2")) return (ATA_WDMA2); in ata_string2mode()
914 if (!strcasecmp(str, "UDMA0")) return (ATA_UDMA0); in ata_string2mode()
916 if (!strcasecmp(str, "UDMA1")) return (ATA_UDMA1); in ata_string2mode()
[all …]
/freebsd-14.2/usr.bin/iscsictl/
H A Dparse.y216 if (strcasecmp($3, "none") == 0)
218 else if (strcasecmp($3, "chap") == 0)
230 if (strcasecmp($3, "none") == 0)
232 else if (strcasecmp($3, "CRC32C") == 0)
244 if (strcasecmp($3, "none") == 0)
246 else if (strcasecmp($3, "CRC32C") == 0)
258 if (strcasecmp($3, "normal") == 0)
260 else if (strcasecmp($3, "discovery") == 0)
291 if (strcasecmp($3, "iscsi") == 0)
293 else if (strcasecmp($3, "iser") == 0)
/freebsd-14.2/sbin/ggate/ggatel/
H A Dggatel.c218 if (strcasecmp(argv[1], "create") == 0) in main()
220 else if (strcasecmp(argv[1], "rescue") == 0) in main()
222 else if (strcasecmp(argv[1], "destroy") == 0) in main()
224 else if (strcasecmp(argv[1], "list") == 0) in main()
245 if (strcasecmp("ro", optarg) == 0) in main()
247 else if (strcasecmp("wo", optarg) == 0) in main()
249 else if (strcasecmp("rw", optarg) == 0) in main()
/freebsd-14.2/sbin/shutdown/
H A Dshutdown.c450 if (!strcasecmp(timearg, "now")) { /* now */ in getoffset()
463 if (timeunit[0] == '\0' || strcasecmp(timeunit, "m") == 0 || in getoffset()
464 strcasecmp(timeunit, "min") == 0 || in getoffset()
465 strcasecmp(timeunit, "mins") == 0) { in getoffset()
467 } else if (strcasecmp(timeunit, "h") == 0 || in getoffset()
468 strcasecmp(timeunit, "hour") == 0 || in getoffset()
469 strcasecmp(timeunit, "hours") == 0) { in getoffset()
471 } else if (strcasecmp(timeunit, "s") == 0 || in getoffset()
472 strcasecmp(timeunit, "sec") == 0 || in getoffset()
473 strcasecmp(timeunit, "secs") == 0) { in getoffset()
/freebsd-14.2/contrib/ofed/opensm/opensm/
H A Dosm_opensm.c132 if (!str || !strcasecmp(str, "null") in osm_routing_engine_type()
133 || !strcasecmp(str, "minhop")) in osm_routing_engine_type()
135 else if (!strcasecmp(str, "none")) in osm_routing_engine_type()
137 else if (!strcasecmp(str, "updn")) in osm_routing_engine_type()
139 else if (!strcasecmp(str, "dnup")) in osm_routing_engine_type()
141 else if (!strcasecmp(str, "file")) in osm_routing_engine_type()
143 else if (!strcasecmp(str, "ftree")) in osm_routing_engine_type()
145 else if (!strcasecmp(str, "lash")) in osm_routing_engine_type()
147 else if (!strcasecmp(str, "dor")) in osm_routing_engine_type()
151 else if (!strcasecmp(str, "sssp")) in osm_routing_engine_type()
[all …]
/freebsd-14.2/sys/contrib/openzfs/cmd/zinject/
H A Dzinject.c799 if (strcasecmp(optarg, "degrade") == 0) { in main()
801 } else if (strcasecmp(optarg, "fault") == 0) { in main()
845 if (strcasecmp(optarg, "io") == 0) { in main()
851 } else if (strcasecmp(optarg, "decrypt") == 0) { in main()
853 } else if (strcasecmp(optarg, "nxio") == 0) { in main()
855 } else if (strcasecmp(optarg, "dtl") == 0) { in main()
942 if (strcasecmp(optarg, "read") == 0) { in main()
944 } else if (strcasecmp(optarg, "write") == 0) { in main()
946 } else if (strcasecmp(optarg, "free") == 0) { in main()
948 } else if (strcasecmp(optarg, "claim") == 0) { in main()
[all …]
/freebsd-14.2/tools/tools/net80211/wlantxtime/
H A Dwlantxtime.c431 if (strcasecmp(mode, "half") == 0) in mode2table()
433 else if (strcasecmp(mode, "quarter") == 0) in mode2table()
435 else if (strcasecmp(mode, "hta") == 0) in mode2table()
437 else if (strcasecmp(mode, "htg") == 0) in mode2table()
439 else if (strcasecmp(mode, "108g") == 0) in mode2table()
441 else if (strcasecmp(mode, "sturbo") == 0) in mode2table()
443 else if (strcasecmp(mode, "turbo") == 0) in mode2table()
445 else if (strcasecmp(mode, "11a") == 0) in mode2table()
447 else if (strcasecmp(mode, "11g") == 0) in mode2table()
449 else if (strcasecmp(mode, "11b") == 0) in mode2table()
/freebsd-14.2/sys/geom/raid/
H A Dg_raid.c375 if (strcasecmp(str, "RAID0") == 0) in g_raid_volume_str2level()
377 else if (strcasecmp(str, "RAID1") == 0) in g_raid_volume_str2level()
383 strcasecmp(str, "RAID3") == 0) { in g_raid_volume_str2level()
390 strcasecmp(str, "RAID4") == 0) { in g_raid_volume_str2level()
400 strcasecmp(str, "RAID5-LA") == 0) { in g_raid_volume_str2level()
413 strcasecmp(str, "RAID6-LA") == 0) { in g_raid_volume_str2level()
433 strcasecmp(str, "RAID1E") == 0 || in g_raid_volume_str2level()
434 strcasecmp(str, "RAID1E-A") == 0) { in g_raid_volume_str2level()
442 else if (strcasecmp(str, "CONCAT") == 0) in g_raid_volume_str2level()
451 strcasecmp(str, "RAID5E-LA") == 0) { in g_raid_volume_str2level()
[all …]
/freebsd-14.2/lib/libc/net/
H A Dnsparser.y155 if (((strcasecmp(elem, NSSRC_COMPAT) == 0) &&
156 (strcasecmp(curdbt.srclist[0].name, NSSRC_CACHE) != 0)) ||
157 (strcasecmp(curdbt.srclist[0].name, NSSRC_COMPAT) == 0)) {
166 if (strcasecmp(curdbt.srclist[i].name, elem) == 0) {
/freebsd-14.2/usr.sbin/ppp/
H A Dcommand.c1460 else if (strcasecmp(port, "none") == 0) { in SetServer()
1901 if (strcasecmp(argp, "max") && strcasecmp(argp, "maximum")) { in SetVariable()
1958 if (strcasecmp(argp, "max") && strcasecmp(argp, "maximum")) { in SetVariable()
1994 if (strcasecmp(argp, "active") == 0) in SetVariable()
2233 if (strcasecmp(argp, "off")) { in SetVariable()
2258 if (strcasecmp(argp, "on") == 0) in SetVariable()
2260 else if (strcasecmp(argp, "off") == 0) in SetVariable()
2317 if (strcasecmp(argp, "3Com") == 0) in SetVariable()
2329 if (strcasecmp(argp, "default") == 0) in SetVariable()
2331 else if (strcasecmp(argp, "pid") == 0) in SetVariable()
[all …]
/freebsd-14.2/share/examples/ipfilter/l4check/
H A Dl4check.c534 if (!strcasecmp(t, "interface")) { in readconfig()
567 } else if (!strcasecmp(t, "remote")) { in readconfig()
607 } else if (!strcasecmp(t, "connect")) { in readconfig()
615 } else if (!strcasecmp(s, "timeout")) { in readconfig()
631 } else if (!strcasecmp(t, "probe")) { in readconfig()
637 } else if (!strcasecmp(s, "string")) { in readconfig()
659 } else if (!strcasecmp(s, "file")) { in readconfig()
679 } else if (!strcasecmp(t, "response")) { in readconfig()
685 } else if (!strcasecmp(s, "timeout")) { in readconfig()
697 } else if (!strcasecmp(s, "string")) { in readconfig()
[all …]

12345678910>>...20