Home
last modified time | relevance | path

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

12345678910>>...22

/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/
H A Dprocess_command.c46 if (strcasecmp(argv[1], "help") == 0) in ADM_Process_command()
55 else if (strcasecmp(argv[1], "date") == 0) in ADM_Process_command()
58 else if (strcasecmp(argv[1], "set") == 0) in ADM_Process_command()
61 else if (strcasecmp(argv[1], "show") == 0) in ADM_Process_command()
64 else if (strcasecmp(argv[1], "resetrsc") == 0) in ADM_Process_command()
67 else if (strcasecmp(argv[1], "download") == 0) in ADM_Process_command()
70 else if (strcasecmp(argv[1], "useradd") == 0) in ADM_Process_command()
73 else if (strcasecmp(argv[1], "userdel") == 0) in ADM_Process_command()
85 else if (strcasecmp(argv[1], "status") == 0) in ADM_Process_command()
90 if (strcasecmp(argv[2], "-v") == 0) { in ADM_Process_command()
[all …]
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Dppd.c114 if ((strcasecmp(key, "PageSize") == 0) || in PPDFileToAttributesList()
115 (strcasecmp(key, "InputSlot") == 0)) in PPDFileToAttributesList()
118 if (strcasecmp(key, "OpenGroup") == 0) { in PPDFileToAttributesList()
121 } else if (strcasecmp(key, "OpenUI") == 0) { in PPDFileToAttributesList()
122 if ((strcasecmp(value, "PageSize") == 0) || in PPDFileToAttributesList()
123 (strcasecmp(value, "InputSlot") == 0)) in PPDFileToAttributesList()
131 } else if (strcasecmp(key, "CloseGroup") == 0) { in PPDFileToAttributesList()
133 } else if (strcasecmp(key, "CloseUI") == 0) { in PPDFileToAttributesList()
136 } else if (strcasecmp(key, "Manufacturer") == 0) { in PPDFileToAttributesList()
140 } else if (strcasecmp(key, "ModelName") == 0) { in PPDFileToAttributesList()
[all …]
/illumos-gate/usr/src/cmd/hal/utils/
H A Dprinter.c65 if (((strcasecmp(t, "MFG") == 0) || in ieee1284_devid_to_printer_info()
69 else if (((strcasecmp(t, "MDL") == 0) || in ieee1284_devid_to_printer_info()
70 (strcasecmp(t, "MODEL") == 0)) && in ieee1284_devid_to_printer_info()
73 else if (((strcasecmp(t, "DES") == 0) || in ieee1284_devid_to_printer_info()
74 (strcasecmp(t, "DESCRIPTION") == 0)) && in ieee1284_devid_to_printer_info()
77 else if (((strcasecmp(t, "CLS") == 0) || in ieee1284_devid_to_printer_info()
78 (strcasecmp(t, "CLASS") == 0)) && in ieee1284_devid_to_printer_info()
81 else if (((strcasecmp(t, "SER") == 0) || in ieee1284_devid_to_printer_info()
82 (strcasecmp(t, "SERNO") == 0)) && in ieee1284_devid_to_printer_info()
85 else if (((strcasecmp(t, "CMD") == 0) || in ieee1284_devid_to_printer_info()
[all …]
/illumos-gate/usr/src/lib/libnisdb/
H A Dnis_parse_ldap_attr.c548 if (strcasecmp("none", buf) == 0) in add_operation_attribute()
560 if (strcasecmp("none", buf) == 0) in add_operation_attribute()
570 if (strcasecmp("none", buf) == 0) in add_operation_attribute()
585 if (strcasecmp("yes", buf) == 0) in add_operation_attribute()
597 if (strcasecmp("yes", buf) == 0) in add_operation_attribute()
605 if (strcasecmp("yes", buf) == 0) in add_operation_attribute()
697 if (strcasecmp("none", buf) == 0) in add_operation_attribute()
730 if (strcasecmp("yes", buf) == 0) in add_operation_attribute()
741 else if (strcasecmp("fail", buf) == 0) in add_operation_attribute()
791 if (strcasecmp("retry", buf) == 0) in add_operation_attribute()
[all …]
/illumos-gate/usr/src/cmd/print/printer-info/
H A Dprinter-info.c86 if ((strcasecmp(t, "MFG") == 0) || in get_printer_description()
87 (strcasecmp(t, "MANUFACTURER") == 0)) in get_printer_description()
89 else if ((strcasecmp(t, "MDL") == 0) || in get_printer_description()
90 (strcasecmp(t, "MODEL") == 0)) in get_printer_description()
92 else if ((strcasecmp(t, "DES") == 0) || in get_printer_description()
93 (strcasecmp(t, "DESCRIPTION") == 0)) in get_printer_description()
95 else if ((strcasecmp(t, "CLS") == 0) || in get_printer_description()
96 (strcasecmp(t, "CLASS") == 0)) in get_printer_description()
98 else if ((strcasecmp(t, "CMD") == 0) || in get_printer_description()
99 (strcasecmp(t, "COMMAND SET") == 0)) { in get_printer_description()
/illumos-gate/usr/src/cmd/pcieb/
H A Dpcieb.c59 if (strcasecmp(s, "2.5") == 0 || strcasecmp(s, "gen1") == 0) { in pcieb_parse_speed()
61 } else if (strcasecmp(s, "5") == 0 || strcasecmp(s, "gen2") == 0) { in pcieb_parse_speed()
63 } else if (strcasecmp(s, "8") == 0 || strcasecmp(s, "gen3") == 0) { in pcieb_parse_speed()
65 } else if (strcasecmp(s, "16") == 0 || strcasecmp(s, "gen4") == 0) { in pcieb_parse_speed()
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dports.c29 if (!strcasecmp(**seg, "port") && *(*seg + 1) && *(*seg + 2)) {
53 } else if (!strcmp(**seg, "=") || !strcasecmp(**seg, "eq"))
55 else if (!strcmp(**seg, "!=") || !strcasecmp(**seg, "ne"))
57 else if (!strcmp(**seg, "<") || !strcasecmp(**seg, "lt"))
59 else if (!strcmp(**seg, ">") || !strcasecmp(**seg, "gt"))
61 else if (!strcmp(**seg, "<=") || !strcasecmp(**seg, "le"))
63 else if (!strcmp(**seg, ">=") || !strcasecmp(**seg, "ge"))
/illumos-gate/usr/src/contrib/mDNSResponder/Clients/
H A Ddns-sd.c75 #define strcasecmp _stricmp macro
253 if (!strcasecmp(s, "IN")) in GetRRClass()
1890 if (argc > 1 && (!strcasecmp(argv[1], "-p2p"))) in main()
1897 if (argc > 1 && (!strcasecmp(argv[1], "-ble"))) in main()
1920 if (argc > 1 && !strcasecmp(argv[1], "-fmc")) in main()
1944 if (argc > 1 && !strcasecmp(argv[1], "-tc")) in main()
1952 if (argc > 1 && !strcasecmp(argv[1], "-t1")) in main()
1960 if (argc > 1 && !strcasecmp(argv[1], "-tFinder")) in main()
1968 if (argc > 1 && !strcasecmp(argv[1], "-wo")) in main()
1976 if (argc > 1 && !strcasecmp(argv[1], "-ku")) in main()
[all …]
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dutil.c195 if (!strcasecmp(timetok, "second") || in str2lifetime()
196 !strcasecmp(timetok, "seconds")) { in str2lifetime()
198 } else if (!strcasecmp(timetok, "minute") || in str2lifetime()
199 !strcasecmp(timetok, "minutes")) { in str2lifetime()
201 } else if (!strcasecmp(timetok, "day") || in str2lifetime()
202 !strcasecmp(timetok, "days")) { in str2lifetime()
204 } else if (!strcasecmp(timetok, "hour") || in str2lifetime()
205 !strcasecmp(timetok, "hours")) { in str2lifetime()
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_nswparse.c87 if (strcasecmp(lkp->service_name, "dns") == 0) { in set_dns_default_lkp()
271 if (strcasecmp(linep, __NSW_STR_RETURN) == 0) in _nsw_getoneconfig_v1()
273 else if (strcasecmp(linep, in _nsw_getoneconfig_v1()
275 if (strcasecmp(lkp->service_name, in _nsw_getoneconfig_v1()
277 strcasecmp(tokenp, in _nsw_getoneconfig_v1()
289 } else if (strcasecmp(linep, in _nsw_getoneconfig_v1()
302 strcasecmp(tokenp, in _nsw_getoneconfig_v1()
306 strcasecmp(tokenp, in _nsw_getoneconfig_v1()
310 strcasecmp(tokenp, in _nsw_getoneconfig_v1()
314 strcasecmp(tokenp, in _nsw_getoneconfig_v1()
[all …]
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dlogger.c709 if (!strcasecmp(&cp[7], "ERR")) { in krb5_klog_init()
713 else if (!strcasecmp(&cp[7], "EMERG")) { in krb5_klog_init()
719 else if (!strcasecmp(&cp[7], "ALERT")) { in krb5_klog_init()
725 else if (!strcasecmp(&cp[7], "CRIT")) { in krb5_klog_init()
742 else if (!strcasecmp(&cp[7], "INFO")) { in krb5_klog_init()
747 else if (!strcasecmp(&cp[7], "DEBUG")) { in krb5_klog_init()
759 if (!strcasecmp(cp2, "AUTH")) { in krb5_klog_init()
762 else if (!strcasecmp(cp2, "KERN")) { in krb5_klog_init()
774 else if (!strcasecmp(cp2, "LPR")) { in krb5_klog_init()
827 else if (!strcasecmp(cp, "STDERR")) { in krb5_klog_init()
[all …]
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dcommon.c593 else if (strcasecmp(algm, "aes") == 0) in Str2SymKeyType()
597 else if (strcasecmp(algm, "des") == 0) in Str2SymKeyType()
599 else if (strcasecmp(algm, "3des") == 0) in Str2SymKeyType()
625 if (strcasecmp(timetok, "day") == 0|| in Str2Lifetime()
626 strcasecmp(timetok, "days") == 0) { in Str2Lifetime()
629 strcasecmp(timetok, "hours") == 0) { in Str2Lifetime()
653 if (strcasecmp(c, ":private") == 0) in OT2Int()
657 else if (strcasecmp(c, ":both") == 0) in OT2Int()
707 if (strcasecmp(formstr, "pem") == 0) in Str2Format()
709 if (strcasecmp(formstr, "pkcs12") == 0) in Str2Format()
[all …]
/illumos-gate/usr/src/cmd/hal/hald/
H A Dutil_pm.c63 if (strcasecmp (type, "li-ion") == 0 || in util_get_battery_technology()
64 strcasecmp (type, "lion") == 0) { in util_get_battery_technology()
67 if (strcasecmp (type, "pb") == 0 || in util_get_battery_technology()
68 strcasecmp (type, "pbac") == 0) { in util_get_battery_technology()
71 if (strcasecmp (type, "lip") == 0) { in util_get_battery_technology()
74 if (strcasecmp (type, "nimh") == 0) { in util_get_battery_technology()
/illumos-gate/usr/src/lib/fm/topo/modules/common/usb/
H A Dtopo_usb_metadata.c190 if (strcasecmp(line, "disable-acpi") == 0) { in topo_usb_parse_start()
194 } else if (strcasecmp(line, "disable-acpi-match") == 0) { in topo_usb_parse_start()
197 } else if (strcasecmp(line, "enable-acpi-match") == 0) { in topo_usb_parse_start()
203 } else if (strcasecmp(line, "port") != 0) { in topo_usb_parse_start()
227 if (strcasecmp(line, "label") == 0) { in topo_usb_parse_port()
229 } else if (strcasecmp(line, "chassis") == 0) { in topo_usb_parse_port()
231 } else if (strcasecmp(line, "external") == 0) { in topo_usb_parse_port()
233 } else if (strcasecmp(line, "internal") == 0) { in topo_usb_parse_port()
235 } else if (strcasecmp(line, "port-type") == 0) { in topo_usb_parse_port()
237 } else if (strcasecmp(line, "acpi-path") == 0) { in topo_usb_parse_port()
[all …]
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dlogger.c710 if (!strcasecmp(&cp[7], "ERR")) { in krb5_klog_init()
714 else if (!strcasecmp(&cp[7], "EMERG")) { in krb5_klog_init()
720 else if (!strcasecmp(&cp[7], "ALERT")) { in krb5_klog_init()
726 else if (!strcasecmp(&cp[7], "CRIT")) { in krb5_klog_init()
743 else if (!strcasecmp(&cp[7], "INFO")) { in krb5_klog_init()
748 else if (!strcasecmp(&cp[7], "DEBUG")) { in krb5_klog_init()
760 if (!strcasecmp(cp2, "AUTH")) { in krb5_klog_init()
763 else if (!strcasecmp(cp2, "KERN")) { in krb5_klog_init()
775 else if (!strcasecmp(cp2, "LPR")) { in krb5_klog_init()
825 else if (!strcasecmp(cp, "STDERR")) { in krb5_klog_init()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dnsparse.c226 else if (strcasecmp(linep, in _nsw_getoneconfig_v1()
230 strcasecmp(tokenp, in _nsw_getoneconfig_v1()
242 } else if (strcasecmp(linep, in _nsw_getoneconfig_v1()
255 strcasecmp(tokenp, in _nsw_getoneconfig_v1()
259 strcasecmp(tokenp, in _nsw_getoneconfig_v1()
263 strcasecmp(tokenp, in _nsw_getoneconfig_v1()
267 strcasecmp(tokenp, in _nsw_getoneconfig_v1()
412 else if (strcasecmp(linep, in _nsw_getoneconfig()
415 else if (strcasecmp(linep, in _nsw_getoneconfig()
426 if (strcasecmp(tokenp, in _nsw_getoneconfig()
[all …]
H A Dpsecflags.c59 if (strcasecmp(flag, "default") == 0) { in secflags_parse()
68 } else if (strcasecmp(flag, "all") == 0) { in secflags_parse()
71 } else if (strcasecmp(flag, "none") == 0) { in secflags_parse()
74 } else if (strcasecmp(flag, "current") == 0) { in secflags_parse()
/illumos-gate/usr/src/lib/print/libprint/common/
H A Dns.c51 else if ((strcasecmp(ns, "files") == 0) || in normalize_ns_name()
52 (strcasecmp(ns, "system") == 0) || in normalize_ns_name()
53 (strcasecmp(ns, "etc") == 0)) in normalize_ns_name()
55 else if (strcasecmp(ns, "nis") == 0) in normalize_ns_name()
57 else if (strcasecmp(ns, "ldap") == 0) in normalize_ns_name()
/illumos-gate/usr/src/cmd/rpcbind/
H A Drpcb_svc.c104 if (strcasecmp(transp->xp_netid, loopback_dg) && in rpcb_service_3()
105 strcasecmp(transp->xp_netid, loopback_vc) && in rpcb_service_3()
106 strcasecmp(transp->xp_netid, loopback_vc_ord)) { in rpcb_service_3()
127 if (strcasecmp(transp->xp_netid, loopback_dg) && in rpcb_service_3()
128 strcasecmp(transp->xp_netid, loopback_vc) && in rpcb_service_3()
129 strcasecmp(transp->xp_netid, loopback_vc_ord)) { in rpcb_service_3()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetdn.c123 if ( strcasecmp( r, "c" ) in ldap_dn2ufn()
124 && strcasecmp( r, "o" ) in ldap_dn2ufn()
125 && strcasecmp( r, "ou" ) in ldap_dn2ufn()
126 && strcasecmp( r, "st" ) in ldap_dn2ufn()
127 && strcasecmp( r, "l" ) in ldap_dn2ufn()
128 && strcasecmp( r, "dc" ) in ldap_dn2ufn()
129 && strcasecmp( r, "uid" ) in ldap_dn2ufn()
130 && strcasecmp( r, "cn" ) ) { in ldap_dn2ufn()
/illumos-gate/usr/src/cmd/audio/audioconvert/
H A Dparse.cc89 if (strcasecmp(val, "sun") == 0) { in fileformat_parse()
91 } else if (strcasecmp(val, "raw") == 0) { in fileformat_parse()
93 } else if (strcasecmp(val, "aiff") == 0) { in fileformat_parse()
110 if (strcasecmp(val, "dat") == 0) { in audioformat_parse()
116 } else if (strcasecmp(val, "cd") == 0) { in audioformat_parse()
122 } else if (strcasecmp(val, "voice") == 0) { in audioformat_parse()
/illumos-gate/usr/src/cmd/cdrw/
H A Dutil.c164 if ((strcasecmp(ext, "au") == 0) || in get_audio_type()
165 (strcasecmp(ext, "sun") == 0)) in get_audio_type()
167 if ((strcasecmp(ext, "wav") == 0) || in get_audio_type()
168 (strcasecmp(ext, "riff") == 0)) in get_audio_type()
170 if (strcasecmp(ext, "cda") == 0) in get_audio_type()
172 if (strcasecmp(ext, "aur") == 0) in get_audio_type()
/illumos-gate/usr/src/lib/libdisasm/common/
H A Ddis_sparc.c158 if (strcasecmp("synth-all", opt2) == 0) in dis_sparc_handle_attach()
161 if (strcasecmp("compat", opt2) == 0) in dis_sparc_handle_attach()
164 if (strcasecmp("synth-none", opt2) == 0) in dis_sparc_handle_attach()
167 if (strcasecmp("binary", opt2) == 0) in dis_sparc_handle_attach()
170 if (strcasecmp("format", opt2) == 0) in dis_sparc_handle_attach()
173 if (strcasecmp("all", opt2) == 0) in dis_sparc_handle_attach()
176 if (strcasecmp("none", opt2) == 0) in dis_sparc_handle_attach()
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetprinter.c133 if (strcasecmp(attr->attrname, "sun-printer-kvp") == 0) { in _nss_ldap_printers2str()
151 if (strcasecmp(attr->attrname, "printer-name") == 0 || in _nss_ldap_printers2str()
152 strcasecmp(attr->attrname, "dn") == 0 || in _nss_ldap_printers2str()
153 strcasecmp(attr->attrname, in _nss_ldap_printers2str()
155 strcasecmp(attr->attrname, in _nss_ldap_printers2str()
157 strcasecmp(attr->attrname, in _nss_ldap_printers2str()
160 if (strcasecmp(attr->attrname, "printer-name") == 0) in _nss_ldap_printers2str()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dstrcasecmp.c28 NoN(strcasecmp)
34 #undef strcasecmp
37 strcasecmp(register const char* a, register const char* b)

12345678910>>...22