Home
last modified time | relevance | path

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

12345678910>>...20

/freebsd/sbin/dhclient/
H A Dconflex.c326 if (!strcasecmp(atom + 1, "lways-reply-rfc1048")) in intern()
328 if (!strcasecmp(atom + 1, "ppend")) in intern()
330 if (!strcasecmp(atom + 1, "llow")) in intern()
332 if (!strcasecmp(atom + 1, "lias")) in intern()
334 if (!strcasecmp(atom + 1, "bandoned")) in intern()
336 if (!strcasecmp(atom + 1, "uthoritative")) in intern()
340 if (!strcasecmp(atom + 1, "ackoff-cutoff")) in intern()
342 if (!strcasecmp(atom + 1, "ootp")) in intern()
344 if (!strcasecmp(atom + 1, "ooting")) in intern()
346 if (!strcasecmp(atom + 1, "oot-unknown-clients")) in intern()
[all …]
/freebsd/contrib/dialog/samples/copifuncs/
H A Difpatch4 if (!strcasecmp(msg->key,"X-UUCP-From")) return 0;
5 if (!strcasecmp(msg->key,"X-Body-Start")) return 0;
7 - if (!strcasecmp(msg->key,"Path")) return isftnpath(msg->val)?0:1;
8 + if (!strcasecmp(msg->key,"Path"))
16 if (!strcasecmp(msg->key,"Newsgroups")) return newsmode?0:2;
17 if (!strcasecmp(msg->key,"Xref")) return 0;
18 if (!strcasecmp(msg->key,"Return-Receipt-To")) return 1;
19 if (!strcasecmp(msg->key,"Received")) return newsmode?0:2;
20 - if (!strcasecmp(msg->key,"From")) return ftnorigin?0:2;
21 + if (!strcasecmp(msg->key,"From"))
[all …]
/freebsd/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()
171 } else if (!strcasecmp(ops, "ip6.addr") || 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()
214 } else if (!strcasecmp(ops, "tcp.flags")) { in parseipfexpr()
231 } else if (!strcasecmp(ops, "tcp.port") || in parseipfexpr()
232 !strcasecmp(ops, "tcp.sport") || in parseipfexpr()
[all …]
H A Dipft_tx.c48 if (!strcasecmp("any", host)) in tx_hostnum()
186 if (!strcasecmp(*cpp, "out6") || !strcasecmp(*cpp, "in6")) { in parseline()
196 if (!strcasecmp(*cpp, "on")) { in parseline()
207 if (!strcasecmp(*cpp, "tcp") || !strcasecmp(*cpp, "udp") || in parseline()
208 !strcasecmp(*cpp, "icmp")) { in parseline()
308 if (*cpp && !strcasecmp(*cpp, "opt")) { in parseline()
347 if (!strcasecmp(*cpp, "on")) { in parseipv6()
356 if (!strcasecmp(*cpp, "tcp")) { in parseipv6()
360 } else if (!strcasecmp(*cpp, "udp")) { in parseipv6()
364 } else if (!strcasecmp(*cpp, "icmpv6")) { in parseipv6()
/freebsd/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()
140 } else if (!strcasecmp(name, "fwcylinders")) { 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()
[all …]
/freebsd/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) {
447 } else if (strcasecmp("skip", optarg) == 0)
449 else if (strcasecmp("read", optarg) == 0)
565 if (strcasecmp("binary", optarg) == 0)
567 else if (strcasecmp("without-match", optarg) == 0)
569 else if (strcasecmp("text", optarg) == 0)
576 if (optarg == NULL || strcasecmp("auto", optarg) == 0 ||
577 strcasecmp("tty", optarg) == 0 ||
[all …]
/freebsd/usr.sbin/iovctl/
H A Dparse.c170 if (strcasecmp(strVal, "trunk") == 0) { in add_vlan_config()
198 if (strcasecmp(type, "bool") == 0) in add_config()
200 else if (strcasecmp(type, "string") == 0) in add_config()
202 else if (strcasecmp(type, "uint8_t") == 0) in add_config()
204 else if (strcasecmp(type, "uint16_t") == 0) in add_config()
206 else if (strcasecmp(type, "uint32_t") == 0) in add_config()
208 else if (strcasecmp(type, "uint64_t") == 0) in add_config()
210 else if (strcasecmp(type, "unicast-mac") == 0) in add_config()
212 else if (strcasecmp(type, "vlan") == 0) in add_config()
319 if (strcasecmp(key, PF_CONFIG_NAME) == 0) in parse_config_file()
[all …]
H A Diovctl.c321 if (strcasecmp(type, "bool") == 0) in print_default_value()
325 else if (strcasecmp(type, "string") == 0) in print_default_value()
328 else if (strcasecmp(type, "uint8_t") == 0) in print_default_value()
332 else if (strcasecmp(type, "uint16_t") == 0) in print_default_value()
336 else if (strcasecmp(type, "uint32_t") == 0) in print_default_value()
340 else if (strcasecmp(type, "uint64_t") == 0) in print_default_value()
344 else if (strcasecmp(type, "unicast-mac") == 0) { in print_default_value()
348 } else if (strcasecmp(type, "vlan") == 0) { in print_default_value()
/freebsd/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/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/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()
123 if (strcasecmp(arg, "shutdown") == 0) { in parse_seq()
127 if (strcasecmp(arg, "boot") == 0) { in parse_seq()
146 if (strncasecmp(arg, "vol", 3) == 0 || strcasecmp(arg, "ld") == 0) { in parse_locale()
150 if (strncasecmp(arg, "drive", 5) == 0 || strcasecmp(arg, "pd") == 0) { in parse_locale()
163 if (strcasecmp(arg, "sas") == 0) { in parse_locale()
167 if (strcasecmp(arg, "ctrl") == 0 || strncasecmp(arg, "cont", 4) == 0) { in parse_locale()
171 if (strcasecmp(arg, "config") == 0) { in parse_locale()
[all …]
/freebsd/sbin/ggate/ggatel/
H A Dggatel.c224 if (strcasecmp(argv[1], "create") == 0) in main()
226 else if (strcasecmp(argv[1], "rescue") == 0) in main()
228 else if (strcasecmp(argv[1], "destroy") == 0) in main()
230 else if (strcasecmp(argv[1], "list") == 0) in main()
251 if (strcasecmp("ro", optarg) == 0) in main()
253 else if (strcasecmp("wo", optarg) == 0) in main()
255 else if (strcasecmp("rw", optarg) == 0) in main()
257 else if (strcasecmp("direct", optarg) == 0) in main()
/freebsd/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/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/usr.bin/whois/
H A Dwhois.c264 strcasecmp(domain + len - suffix_len, in choose_server()
458 (strcasecmp(hostname, DENICHOST) == 0 || in whois()
459 strcasecmp(hostname, "de" QNICHOST_TAIL) == 0)) { in whois()
467 (strcasecmp(hostname, DKNICHOST) == 0 || in whois()
468 strcasecmp(hostname, "dk" QNICHOST_TAIL) == 0)) in whois()
473 else if (strcasecmp(hostname, ANICHOST) == 0) { in whois()
479 } else if (strcasecmp(hostres->ai_canonname, VNICHOST) == 0) in whois()
487 (strcasecmp(hostname, ANICHOST) == 0 || in whois()
488 strcasecmp(hostname, RNICHOST) == 0)) { in whois()
570 strcasecmp(try_rir[i].host, hostname) == 0) in whois()
[all …]
/freebsd/sys/cam/ata/
H A Data_all.c905 if (!strcasecmp(str, "PIO0")) return (ATA_PIO0); in ata_string2mode()
906 if (!strcasecmp(str, "PIO1")) return (ATA_PIO1); in ata_string2mode()
907 if (!strcasecmp(str, "PIO2")) return (ATA_PIO2); in ata_string2mode()
908 if (!strcasecmp(str, "PIO3")) return (ATA_PIO3); in ata_string2mode()
909 if (!strcasecmp(str, "PIO4")) return (ATA_PIO4); in ata_string2mode()
910 if (!strcasecmp(str, "WDMA0")) return (ATA_WDMA0); in ata_string2mode()
911 if (!strcasecmp(str, "WDMA1")) return (ATA_WDMA1); in ata_string2mode()
912 if (!strcasecmp(str, "WDMA2")) return (ATA_WDMA2); in ata_string2mode()
913 if (!strcasecmp(str, "UDMA0")) return (ATA_UDMA0); in ata_string2mode()
914 if (!strcasecmp(str, "UDMA16")) return (ATA_UDMA0); in ata_string2mode()
[all …]
/freebsd/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/usr.sbin/pkg/
H A Dconfig.c206 if (str != NULL && (strcasecmp(str, "true") == 0 || in boolstr_to_bool()
207 strcasecmp(str, "yes") == 0 || strcasecmp(str, "on") == 0 || in boolstr_to_bool()
329 if (strcasecmp(mt, "srv") == 0) in parse_mirror_type()
347 if (strcasecmp(st, "FINGERPRINTS") == 0) in parse_signature_type()
349 else if (strcasecmp(st, "PUBKEY") == 0) in parse_signature_type()
351 else if (strcasecmp(st, "NONE") == 0) in parse_signature_type()
397 if (strcasecmp(key, "url") == 0) { in parse_repo()
402 } else if (strcasecmp(key, "mirror_type") == 0) { in parse_repo()
404 } else if (strcasecmp(ke in parse_repo()
[all...]
/freebsd/sbin/shutdown/
H A Dshutdown.c447 if (!strcasecmp(timearg, "now")) { /* now */ in getoffset()
460 if (timeunit[0] == '\0' || strcasecmp(timeunit, "m") == 0 || in getoffset()
461 strcasecmp(timeunit, "min") == 0 || in getoffset()
462 strcasecmp(timeunit, "mins") == 0) { in getoffset()
464 } else if (strcasecmp(timeunit, "h") == 0 || in getoffset()
465 strcasecmp(timeunit, "hour") == 0 || in getoffset()
466 strcasecmp(timeunit, "hours") == 0) { in getoffset()
468 } else if (strcasecmp(timeunit, "s") == 0 || in getoffset()
469 strcasecmp(timeunit, "sec") == 0 || in getoffset()
470 strcasecmp(timeunit, "secs") == 0) { in getoffset()
/freebsd/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()
149 else if (!strcasecmp(str, "torus-2QoS")) in osm_routing_engine_type()
[all …]
/freebsd/sys/contrib/openzfs/cmd/zinject/
H A Dzinject.c232 if (strcasecmp(errstrtable[i].str, str) == 0) in usage()
262 strcasecmp(iotypestrtable[iotype], arg) == 0) in usage()
948 if (strcasecmp(optarg, "degrade") == 0) { in main()
950 } else if (strcasecmp(optarg, "fault") == 0) { in main()
1061 if (strcasecmp(optarg, "import") == 0) { in main()
1063 } else if (strcasecmp(optarg, "export") == 0) { in main()
/freebsd/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()
379 else if (strcasecmp(str, "RAID3-P0") == 0) { in g_raid_volume_str2level()
382 } else if (strcasecmp(str, "RAID3-PN") == 0 || in g_raid_volume_str2level()
383 strcasecmp(str, "RAID3") == 0) { in g_raid_volume_str2level()
386 } else if (strcasecmp(str, "RAID4-P0") == 0) { in g_raid_volume_str2level()
389 } else if (strcasecmp(str, "RAID4-PN") == 0 || in g_raid_volume_str2level()
390 strcasecmp(str, "RAID4") == 0) { in g_raid_volume_str2level()
393 } else if (strcasecmp(str, "RAID5-RA") == 0) { in g_raid_volume_str2level()
396 } else if (strcasecmp(str, "RAID5-RS") == 0) { in g_raid_volume_str2level()
[all …]
/freebsd/usr.sbin/ppp/
H A Dcommand.c225 ((cmd->name && !strcasecmp(cmd->name, arg->argv[arg->argn])) || in HelpCommand()
226 (cmd->alias && !strcasecmp(cmd->alias, arg->argv[arg->argn])))) { in HelpCommand()
740 if (!strcasecmp(arg->argv[arg->argn], "reload")) in ResolvCommand()
742 else if (!strcasecmp(arg->argv[arg->argn], "restore")) in ResolvCommand()
744 else if (!strcasecmp(arg->argv[arg->argn], "rewrite")) in ResolvCommand()
746 else if (!strcasecmp(arg->argv[arg->argn], "readonly")) in ResolvCommand()
748 else if (!strcasecmp(arg->argv[arg->argn], "writable")) in ResolvCommand()
1277 (arg->argc > arg->argn && !strcasecmp(arg->argv[arg->argn], "all") && in QuitCommand()
1292 if (!strcasecmp(arg->argv[arg->argn], "lcp")) { in OpenCommand()
1302 } else if (!strcasecmp(arg->argv[arg->argn], "ccp")) { in OpenCommand()
[all …]
/freebsd/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/share/examples/ipfilter/l4check/
H A Dl4check.c534 if (!strcasecmp(t, "interface")) { in readconfig()
567 } else if (!strcasecmp(t, "remote")) { in readconfig()
578 if (!s || !t || strcasecmp(s, "server")) { in readconfig()
607 } else if (!strcasecmp(t, "connect")) { in readconfig()
615 } else if (!strcasecmp(s, "timeout")) { in readconfig()
620 } else if (!strcasecmp(s, "frequency")) { 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()
[all …]

12345678910>>...20