/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/ |
H A D | process_command.c | 44 if (strcasecmp(argv[1], "help") == 0) in ADM_Process_command() 47 else if (strcasecmp(argv[1], "send_event") == 0) in ADM_Process_command() 50 else if (strcasecmp(argv[1], "modem_setup") == 0) in ADM_Process_command() 53 else if (strcasecmp(argv[1], "date") == 0) in ADM_Process_command() 56 else if (strcasecmp(argv[1], "set") == 0) in ADM_Process_command() 59 else if (strcasecmp(argv[1], "show") == 0) in ADM_Process_command() 62 else if (strcasecmp(argv[1], "resetrsc") == 0) in ADM_Process_command() 65 else if (strcasecmp(argv[1], "download") == 0) in ADM_Process_command() 68 else if (strcasecmp(argv[1], "useradd") == 0) in ADM_Process_command() 71 else if (strcasecmp(argv[1], "userdel") == 0) in ADM_Process_command() [all …]
|
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | ppd.c | 114 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/pcieb/ |
H A D | pcieb.c | 60 if (strcasecmp(s, "2.5") == 0 || strcasecmp(s, "gen1") == 0) { in pcieb_parse_speed() 62 } else if (strcasecmp(s, "5") == 0 || strcasecmp(s, "gen2") == 0) { in pcieb_parse_speed() 64 } else if (strcasecmp(s, "8") == 0 || strcasecmp(s, "gen3") == 0) { in pcieb_parse_speed() 66 } else if (strcasecmp(s, "16") == 0 || strcasecmp(s, "gen4") == 0) { in pcieb_parse_speed() 68 } else if (strcasecmp(s, "32") == 0 || strcasecmp(s, "gen5") == 0) { in pcieb_parse_speed() 70 } else if (strcasecmp(s, "64") == 0 || strcasecmp(s, "gen6") == 0) { in pcieb_parse_speed()
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | nis_parse_ldap_attr.c | 546 if (strcasecmp("none", buf) == 0) in add_operation_attribute() 548 else if (strcasecmp("from_ldap", buf) == 0) in add_operation_attribute() 551 else if (strcasecmp("to_ldap", buf) == 0) in add_operation_attribute() 558 if (strcasecmp("none", buf) == 0) in add_operation_attribute() 560 else if (strcasecmp("from_ldap", buf) == 0) in add_operation_attribute() 562 else if (strcasecmp("to_ldap", buf) == 0) in add_operation_attribute() 568 if (strcasecmp("none", buf) == 0) in add_operation_attribute() 570 else if (strcasecmp("from_ldap", buf) == 0) in add_operation_attribute() 572 else if (strcasecmp("to_ldap", buf) == 0) in add_operation_attribute() 583 if (strcasecmp("yes", buf) == 0) in add_operation_attribute() [all …]
|
/illumos-gate/usr/src/cmd/hal/utils/ |
H A D | printer.c | 65 if (((strcasecmp(t, "MFG") == 0) || in ieee1284_devid_to_printer_info() 66 (strcasecmp(t, "MANUFACTURER") == 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() [all …]
|
/illumos-gate/usr/src/contrib/mDNSResponder/Clients/ |
H A D | dns-sd.c | 83 #define strcasecmp _stricmp macro 266 if (!strcasecmp(s, "IN")) in GetRRClass() 274 if (!strcasecmp(s, "A" )) return(kDNSServiceType_A); in GetRRType() 275 else if (!strcasecmp(s, "NS" )) return(kDNSServiceType_NS); in GetRRType() 276 else if (!strcasecmp(s, "MD" )) return(kDNSServiceType_MD); in GetRRType() 277 else if (!strcasecmp(s, "MF" )) return(kDNSServiceType_MF); in GetRRType() 278 else if (!strcasecmp(s, "CNAME" )) return(kDNSServiceType_CNAME); in GetRRType() 279 else if (!strcasecmp(s, "SOA" )) return(kDNSServiceType_SOA); in GetRRType() 280 else if (!strcasecmp(s, "MB" )) return(kDNSServiceType_MB); in GetRRType() 281 else if (!strcasecmp(s, "MG" )) return(kDNSServiceType_MG); in GetRRType() [all …]
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | ports.c | 29 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/cmd/nscd/ |
H A D | nscd_nswparse.c | 87 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/libcryptoutil/common/ |
H A D | util.c | 195 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/lib/krb5/kadm5/clnt/ |
H A D | logger.c | 709 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 …]
|
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/ |
H A D | common.c | 514 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 …]
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/usb/ |
H A D | topo_usb_metadata.c | 190 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() 200 } else if (strcasecmp(line, "enable-metadata-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() [all …]
|
/illumos-gate/usr/src/lib/krb5/kadm5/srv/ |
H A D | logger.c | 710 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 …]
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | util_pm.c | 63 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/libc/port/gen/ |
H A D | nsparse.c | 122 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() 241 } else if (strcasecmp(linep, in _nsw_getoneconfig_v1() 254 strcasecmp(tokenp, in _nsw_getoneconfig_v1() 258 strcasecmp(tokenp, in _nsw_getoneconfig_v1() 262 strcasecmp(tokenp, in _nsw_getoneconfig_v1() 266 strcasecmp(tokenp, in _nsw_getoneconfig_v1() [all …]
|
H A D | psecflags.c | 59 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 D | ns.c | 51 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 D | rpcb_svc.c | 104 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 D | getdn.c | 123 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 D | parse.cc | 89 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 D | util.c | 162 if ((strcasecmp(ext, "au") == 0) || in get_audio_type() 163 (strcasecmp(ext, "sun") == 0)) in get_audio_type() 165 if ((strcasecmp(ext, "wav") == 0) || in get_audio_type() 166 (strcasecmp(ext, "riff") == 0)) in get_audio_type() 168 if (strcasecmp(ext, "cda") == 0) in get_audio_type() 170 if (strcasecmp(ext, "aur") == 0) in get_audio_type()
|
/illumos-gate/usr/src/lib/libdisasm/common/ |
H A D | dis_sparc.c | 158 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 D | getprinter.c | 133 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/cmd/ldap/common/ |
H A D | ldapmodify.c | 470 if ( expect_sep && strcasecmp( line, T_MODSEPSTR ) == 0 ) { 500 if ( !use_record && strcasecmp( type, T_REPLICA_STR ) == 0 ) { 508 if ( strcasecmp( value, ldaptool_host ) == 0 && 513 } else if ( strcasecmp( type, T_DN_STR ) == 0 ) { 520 } else if ( strcasecmp( type, T_VERSION_STR ) == 0 ) { 558 if ( strcasecmp( type, "control" ) == 0 ) { 583 if ( strcasecmp( type, T_CHANGETYPESTR ) == 0 ) { 585 if ( strcasecmp( value, T_MODIFYCTSTR ) == 0 ) { 588 } else if ( strcasecmp( value, T_ADDCTSTR ) == 0 ) { 591 } else if ( strcasecmp( value, T_MODRDNCTSTR ) == 0 ) { [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | strcasecmp.c | 28 NoN(strcasecmp) 34 #undef strcasecmp 37 strcasecmp(register const char* a, register const char* b)
|