Home
last modified time | relevance | path

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

12345678910>>...21

/titanic_44/usr/src/cmd/scadm/sparc/mpxu/common/
H A Dprocess_command.c46 if (strcasecmp(argv[1], "help") == 0) in ADM_Process_command()
49 else if (strcasecmp(argv[1], "send_event") == 0) in ADM_Process_command()
52 else if (strcasecmp(argv[1], "modem_setup") == 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()
[all …]
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/
H A Ddns-sd.c86 #define strcasecmp _stricmp macro
129 if (!strcasecmp(s, "A" )) return(kDNSServiceType_A); in GetRRType()
130 else if (!strcasecmp(s, "NS" )) return(kDNSServiceType_NS); in GetRRType()
131 else if (!strcasecmp(s, "MD" )) return(kDNSServiceType_MD); in GetRRType()
132 else if (!strcasecmp(s, "MF" )) return(kDNSServiceType_MF); in GetRRType()
133 else if (!strcasecmp(s, "CNAME" )) return(kDNSServiceType_CNAME); in GetRRType()
134 else if (!strcasecmp(s, "SOA" )) return(kDNSServiceType_SOA); in GetRRType()
135 else if (!strcasecmp(s, "MB" )) return(kDNSServiceType_MB); in GetRRType()
136 else if (!strcasecmp(s, "MG" )) return(kDNSServiceType_MG); in GetRRType()
137 else if (!strcasecmp(s, "MR" )) return(kDNSServiceType_MR); in GetRRType()
[all …]
/titanic_44/usr/src/cmd/lp/lib/papi/
H A Dppd.c116 if ((strcasecmp(key, "PageSize") == 0) || in PPDFileToAttributesList()
117 (strcasecmp(key, "InputSlot") == 0)) in PPDFileToAttributesList()
120 if (strcasecmp(key, "OpenGroup") == 0) { in PPDFileToAttributesList()
124 } else if (strcasecmp(key, "OpenUI") == 0) { in PPDFileToAttributesList()
125 if ((strcasecmp(value, "PageSize") == 0) || in PPDFileToAttributesList()
126 (strcasecmp(value, "InputSlot") == 0)) in PPDFileToAttributesList()
134 } else if (strcasecmp(key, "CloseGroup") == 0) { in PPDFileToAttributesList()
136 } else if (strcasecmp(key, "CloseUI") == 0) { in PPDFileToAttributesList()
139 } else if (strcasecmp(key, "Manufacturer") == 0) { in PPDFileToAttributesList()
143 } else if (strcasecmp(key, "ModelName") == 0) { in PPDFileToAttributesList()
[all …]
/titanic_44/usr/src/cmd/hal/utils/
H A Dprinter.c67 if (((strcasecmp(t, "MFG") == 0) || in ieee1284_devid_to_printer_info()
68 (strcasecmp(t, "MANUFACTURER") == 0)) && in ieee1284_devid_to_printer_info()
71 else if (((strcasecmp(t, "MDL") == 0) || in ieee1284_devid_to_printer_info()
72 (strcasecmp(t, "MODEL") == 0)) && in ieee1284_devid_to_printer_info()
75 else if (((strcasecmp(t, "DES") == 0) || in ieee1284_devid_to_printer_info()
76 (strcasecmp(t, "DESCRIPTION") == 0)) && in ieee1284_devid_to_printer_info()
79 else if (((strcasecmp(t, "CLS") == 0) || in ieee1284_devid_to_printer_info()
80 (strcasecmp(t, "CLASS") == 0)) && in ieee1284_devid_to_printer_info()
83 else if (((strcasecmp(t, "SER") == 0) || in ieee1284_devid_to_printer_info()
84 (strcasecmp(t, "SERNO") == 0)) && in ieee1284_devid_to_printer_info()
[all …]
/titanic_44/usr/src/lib/libnisdb/
H A Dnis_parse_ldap_attr.c548 if (strcasecmp("none", buf) == 0) in add_operation_attribute()
550 else if (strcasecmp("from_ldap", buf) == 0) in add_operation_attribute()
553 else if (strcasecmp("to_ldap", buf) == 0) in add_operation_attribute()
560 if (strcasecmp("none", buf) == 0) in add_operation_attribute()
562 else if (strcasecmp("from_ldap", buf) == 0) in add_operation_attribute()
564 else if (strcasecmp("to_ldap", buf) == 0) in add_operation_attribute()
570 if (strcasecmp("none", buf) == 0) in add_operation_attribute()
572 else if (strcasecmp("from_ldap", buf) == 0) in add_operation_attribute()
574 else if (strcasecmp("to_ldap", buf) == 0) in add_operation_attribute()
585 if (strcasecmp("yes", buf) == 0) in add_operation_attribute()
[all …]
/titanic_44/usr/src/lib/libcryptoutil/common/
H A Dutil.c98 if (!strcasecmp(timetok, "second") || in str2lifetime()
99 !strcasecmp(timetok, "seconds")) { in str2lifetime()
101 } else if (!strcasecmp(timetok, "minute") || in str2lifetime()
102 !strcasecmp(timetok, "minutes")) { in str2lifetime()
104 } else if (!strcasecmp(timetok, "day") || in str2lifetime()
105 !strcasecmp(timetok, "days")) { in str2lifetime()
107 } else if (!strcasecmp(timetok, "hour") || in str2lifetime()
108 !strcasecmp(timetok, "hours")) { in str2lifetime()
/titanic_44/usr/src/cmd/print/printer-info/
H A Dprinter-info.c83 if ((strcasecmp(t, "MFG") == 0) || in get_printer_description()
84 (strcasecmp(t, "MANUFACTURER") == 0)) in get_printer_description()
86 else if ((strcasecmp(t, "MDL") == 0) || in get_printer_description()
87 (strcasecmp(t, "MODEL") == 0)) in get_printer_description()
89 else if ((strcasecmp(t, "DES") == 0) || in get_printer_description()
90 (strcasecmp(t, "DESCRIPTION") == 0)) in get_printer_description()
92 else if ((strcasecmp(t, "CLS") == 0) || in get_printer_description()
93 (strcasecmp(t, "CLASS") == 0)) in get_printer_description()
95 else if ((strcasecmp(t, "CMD") == 0) || in get_printer_description()
96 (strcasecmp(t, "COMMAND SET") == 0)) { in get_printer_description()
/titanic_44/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"))
H A Dextras.c32 if (!strcasecmp(**cp, "not") || !strcasecmp(**cp, "no")) {
41 } else if (!strcasecmp(**cp, "lowttl")) {
46 } else if (!strcasecmp(**cp, "bad-src")) {
/titanic_44/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 …]
/titanic_44/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()
730 else if (!strcasecmp(&cp[7], "WARNING")) { in krb5_klog_init()
736 else if (!strcasecmp(&cp[7], "NOTICE")) { 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()
[all …]
/titanic_44/usr/src/cmd/cmd-crypto/pktool/
H A Dcommon.c514 if (strcasecmp(keystore_str, "pkcs11") == 0) in KS2Int()
516 else if (strcasecmp(keystore_str, "nss") == 0) in KS2Int()
518 else if (strcasecmp(keystore_str, "file") == 0) in KS2Int()
543 } else if (strcasecmp(algm, "DSA") == 0) { in Str2KeyType()
552 } else if (strcasecmp(algm, "RSA") == 0) { in Str2KeyType()
567 } else if (strcasecmp(algm, "EC") == 0) { in Str2KeyType()
593 else if (strcasecmp(algm, "aes") == 0) in Str2SymKeyType()
595 else if (strcasecmp(algm, "arcfour") == 0) in Str2SymKeyType()
597 else if (strcasecmp(algm, "des") == 0) in Str2SymKeyType()
599 else if (strcasecmp(algm, "3des") == 0) in Str2SymKeyType()
[all …]
/titanic_44/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()
/titanic_44/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()
731 else if (!strcasecmp(&cp[7], "WARNING")) { in krb5_klog_init()
737 else if (!strcasecmp(&cp[7], "NOTICE")) { 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()
[all …]
/titanic_44/usr/src/lib/libc/port/gen/
H A Dnsparse.c124 if (strcasecmp(lkp->service_name, "dns") == 0) { in set_dns_default_lkp()
224 if (strcasecmp(linep, __NSW_STR_RETURN) == 0) in _nsw_getoneconfig_v1()
226 else if (strcasecmp(linep, in _nsw_getoneconfig_v1()
228 if (strcasecmp(lkp->service_name, 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()
[all …]
/titanic_44/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()
/titanic_44/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()
/titanic_44/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetdn.c131 if ( strcasecmp( r, "c" ) in ldap_dn2ufn()
132 && strcasecmp( r, "o" ) in ldap_dn2ufn()
133 && strcasecmp( r, "ou" ) in ldap_dn2ufn()
134 && strcasecmp( r, "st" ) in ldap_dn2ufn()
135 && strcasecmp( r, "l" ) in ldap_dn2ufn()
136 && strcasecmp( r, "dc" ) in ldap_dn2ufn()
137 && strcasecmp( r, "uid" ) in ldap_dn2ufn()
138 && strcasecmp( r, "cn" ) ) { in ldap_dn2ufn()
/titanic_44/usr/src/cmd/audio/audioconvert/
H A Dparse.cc91 if (strcasecmp(val, "sun") == 0) { in fileformat_parse()
93 } else if (strcasecmp(val, "raw") == 0) { in fileformat_parse()
95 } else if (strcasecmp(val, "aiff") == 0) { in fileformat_parse()
112 if (strcasecmp(val, "dat") == 0) { in audioformat_parse()
118 } else if (strcasecmp(val, "cd") == 0) { in audioformat_parse()
124 } else if (strcasecmp(val, "voice") == 0) { in audioformat_parse()
/titanic_44/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()
/titanic_44/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()
/titanic_44/usr/src/lib/libast/common/comp/
H A Dstrcasecmp.c28 NoN(strcasecmp)
34 #undef strcasecmp
37 strcasecmp(register const char* a, register const char* b)
/titanic_44/usr/src/lib/nsswitch/ldap/common/
H A Dgetprinter.c135 if (strcasecmp(attr->attrname, "sun-printer-kvp") == 0) { in _nss_ldap_printers2str()
154 if (strcasecmp(attr->attrname, "printer-name") == 0 || in _nss_ldap_printers2str()
155 strcasecmp(attr->attrname, "dn") == 0 || in _nss_ldap_printers2str()
156 strcasecmp(attr->attrname, in _nss_ldap_printers2str()
158 strcasecmp(attr->attrname, in _nss_ldap_printers2str()
160 strcasecmp(attr->attrname, in _nss_ldap_printers2str()
163 if (strcasecmp(attr->attrname, "printer-name") == 0) in _nss_ldap_printers2str()
/titanic_44/usr/src/cmd/cmd-inet/common/
H A Dcompat.c68 if (strcasecmp(*value, "IP_VERSION4") == 0) { in get_compat_flag()
70 } else if (strcasecmp(*value, "BOTH") == 0 || in get_compat_flag()
71 strcasecmp(*value, "IP_VERSION6") == 0) { in get_compat_flag()
/titanic_44/usr/src/lib/print/libhttp-core/common/
H A Dhttp-support.c210 if (strcasecmp(method, "http") == 0) in httpSeparate2()
212 else if (strcasecmp(method, "https") == 0) in httpSeparate2()
214 else if (strcasecmp(method, "ipp") == 0) in httpSeparate2()
216 else if (strcasecmp(method, "lpd") == 0) in httpSeparate2()
218 else if (strcasecmp(method, "socket") == 0) /* Not registered yet... */ in httpSeparate2()

12345678910>>...21