/titanic_41/usr/src/cmd/audio/utilities/ |
H A D | AudioHdrParse.cc | 225 if ((strcmp(khz, "khz") == 0) || in RateParse() 226 (strcmp(khz, "khertz") == 0) || in RateParse() 227 (strcmp(khz, "kilohertz") == 0) || in RateParse() 228 (strcmp(khz, "k") == 0) || in RateParse() 231 } else if ((strcmp(khz, "hz") != 0) && in RateParse() 232 (strcmp(khz, "hertz") != 0) && in RateParse() 276 if ((strcmp(cstr, "-channel") != 0) && in ChannelParse() 277 (strcmp(cstr, "-chan") != 0) && in ChannelParse() 291 if ((strcmp(cstr, "mono") == 0) || in ChannelParse() 292 (strcmp(cstr, "monaural") == 0) || in ChannelParse() [all …]
|
/titanic_41/usr/src/tools/protocmp/ |
H A D | arch.c | 40 if (strcmp(architecture, "sparc") == 0) in assign_arch() 42 else if (strcmp(architecture, "ISA") == 0) in assign_arch() 44 else if (strcmp(architecture, "all") == 0) in assign_arch() 46 else if (strcmp(architecture, "sparc.sun4") == 0) in assign_arch() 48 else if (strcmp(architecture, "sparc.sun4c") == 0) in assign_arch() 50 else if (strcmp(architecture, "sparc.sun4u") == 0) in assign_arch() 52 else if (strcmp(architecture, "sparc.sun4d") == 0) in assign_arch() 54 else if (strcmp(architecture, "sparc.sun4e") == 0) in assign_arch() 56 else if (strcmp(architecture, "sparc.sun4m") == 0) in assign_arch() 58 else if (strcmp(architecture, "sparc.sun4v") == 0) in assign_arch() [all …]
|
/titanic_41/usr/src/cmd/troff/troff.d/ |
H A D | makedev.c | 139 else if (strcmp(cmd, "res") == 0) { in main() 141 } else if (strcmp(cmd, "hor") == 0) { in main() 143 } else if (strcmp(cmd, "vert") == 0) { in main() 145 } else if (strcmp(cmd, "unitwidth") == 0) { in main() 147 } else if (strcmp(cmd, "sizescale") == 0) { in main() 149 } else if (strcmp(cmd, "paperwidth") == 0) { in main() 151 } else if (strcmp(cmd, "paperlength") == 0) { in main() 153 } else if (strcmp(cmd, "biggestfont") == 0) { in main() 155 } else if (strcmp(cmd, "spare2") == 0) { in main() 157 } else if (strcmp(cmd, "sizes") == 0) { in main() [all …]
|
/titanic_41/usr/src/tools/cw/ |
H A D | cw.c | 597 if (strcmp(xtbl[i].x_arg, xarg) == 0) in xlate_xtb() 621 while (*table != NULL && strcmp(xarg, *table) != 0) { in xlate() 697 strcmp(arg + arglen - 3, ".il") == 0) in do_gcc() 725 if (strcmp(arg, "-Qoption") == 0) { in do_gcc() 733 if (strcmp(arg, "-xwe") == 0) { in do_gcc() 738 if (strcmp(arg, "-noex") == 0) { in do_gcc() 745 if (strcmp(arg, "-pic") == 0) { in do_gcc() 750 if (strcmp(arg, "-PIC") == 0) { in do_gcc() 755 if (strcmp(arg, "-norunpath") == 0) { in do_gcc() 759 if (strcmp(arg, "-nolib") == 0) { in do_gcc() [all …]
|
/titanic_41/usr/src/cmd/lp/filter/postscript/font/ |
H A D | makedev.c | 144 else if (strcmp(cmd, "res") == 0) { in main() 146 } else if (strcmp(cmd, "hor") == 0) { in main() 148 } else if (strcmp(cmd, "vert") == 0) { in main() 150 } else if (strcmp(cmd, "unitwidth") == 0) { in main() 152 } else if (strcmp(cmd, "sizescale") == 0) { in main() 154 } else if (strcmp(cmd, "paperwidth") == 0) { in main() 156 } else if (strcmp(cmd, "paperlength") == 0) { in main() 158 } else if (strcmp(cmd, "biggestfont") == 0) { in main() 160 } else if (strcmp(cmd, "spare2") == 0) { in main() 162 } else if (strcmp(cmd, "sizes") == 0) { in main() [all …]
|
/titanic_41/usr/src/tools/ctf/dwarf/common/ |
H A D | dwarf_init_finish.c | 213 && strcmp(scn_name, ".eh_frame") in _dwarf_setup() 214 && strcmp(scn_name, ".symtab") in _dwarf_setup() 215 && strcmp(scn_name, ".strtab") in _dwarf_setup() 219 else if (strcmp(scn_name, ".debug_info") == 0) { in _dwarf_setup() 228 else if (strcmp(scn_name, ".debug_abbrev") == 0) { in _dwarf_setup() 236 else if (strcmp(scn_name, ".debug_aranges") == 0) { in _dwarf_setup() 245 else if (strcmp(scn_name, ".debug_line") == 0) { in _dwarf_setup() 253 else if (strcmp(scn_name, ".debug_frame") == 0) { in _dwarf_setup() 261 } else if (strcmp(scn_name, ".eh_frame") == 0) { in _dwarf_setup() 271 else if (strcmp(scn_name, ".debug_loc") == 0) { in _dwarf_setup() [all …]
|
/titanic_41/usr/src/cmd/sgs/tsort/common/ |
H A D | errtext.c | 172 if (strcmp(token, "nochange") == 0) { in errverb() 180 } else if (strcmp(token, "silent") == 0) { in errverb() 189 } else if (strcmp(token, "verbose") == 0) { in errverb() 198 } else if (strcmp(token, "expert") == 0) { in errverb() 207 } else if (strcmp(token, "bell") == 0) { in errverb() 209 } else if (strcmp(token, "nobell") == 0) { in errverb() 211 } else if (strcmp(token, "tag") == 0) { in errverb() 213 } else if (strcmp(token, "notag") == 0) { in errverb() 215 } else if (strcmp(token, "text") == 0) { in errverb() 217 } else if (strcmp(token, "notext") == 0) { in errverb() [all …]
|
/titanic_41/usr/src/cmd/krb5/ldap_util/ |
H A D | kdb5_ldap_policy.c | 136 if (!strcmp(argv[i], "-maxtktlife")) { 150 } else if (!strcmp(argv[i], "-maxrenewlife")) { 164 } else if (!strcmp((argv[i] + 1), "allow_postdated")) { 173 } else if (!strcmp((argv[i] + 1), "allow_forwardable")) { 182 } else if (!strcmp((argv[i] + 1), "allow_renewable")) { 191 } else if (!strcmp((argv[i] + 1), "allow_proxiable")) { 200 } else if (!strcmp((argv[i] + 1), "allow_dup_skey")) { 209 } else if (!strcmp((argv[i] + 1), "requires_preauth")) { 218 } else if (!strcmp((argv[i] + 1), "requires_hwauth")) { 227 } else if (!strcmp((argv[i] + 1), "allow_svr")) { [all …]
|
/titanic_41/usr/src/lib/libprtdiag/common/ |
H A D | pdevinfo_sun4u.c | 224 } else if ((strcmp(name, FFB_NAME) == 0) || in walk() 225 (strcmp(name, AFB_NAME) == 0) || in walk() 226 (strcmp(type, "cpu") == 0) || in walk() 228 ((strcmp(type, "memory-controller") == 0) && in walk() 229 (strcmp(name, "ac") != 0)) || in walk() 231 ((strcmp(name, "pci") == 0) && in walk() 232 (strcmp(model, "SUNW,psycho") == 0)) || in walk() 234 ((strcmp(name, "pci") == 0) && in walk() 235 (strcmp(model, "SUNW,sabre") == 0)) || in walk() 237 ((strcmp(name, "pci") == 0) && in walk() [all …]
|
/titanic_41/usr/src/lib/libbc/libc/sys/common/ |
H A D | gettimeofday.c | 81 (strcmp(zonename, "PST8PDT") == 0) || in get_tzp_info() 82 (strcmp(zonename, "MST7MDT") == 0) || in get_tzp_info() 83 (strcmp(zonename, "CST6CDT") == 0) || in get_tzp_info() 84 (strcmp(zonename, "EST5EDT") == 0) || in get_tzp_info() 91 if (strcmp(zonename, "WET") == 0) in get_tzp_info() 94 if (strcmp(zonename, "MET") == 0) in get_tzp_info() 97 if (strcmp(zonename, "EET") == 0) in get_tzp_info() 103 if ((strcmp(zonename, "GB") == 0) || in get_tzp_info() 104 (strcmp(zonename, "GB-Eire") == 0)) in get_tzp_info() 112 if (strcmp(zonename, "Turkey") == 0) in get_tzp_info()
|
/titanic_41/usr/src/cmd/sendmail/libsm/ |
H A D | t-strl.c | 42 SM_TEST(strcmp(s1, s3) == 0); 46 SM_TEST(strcmp(s3, r) == 0); 50 SM_TEST(strcmp(s3, r) == 0); 54 SM_TEST(strcmp(s3, r) == 0); 60 SM_TEST(strcmp(s3, r) == 0); 66 SM_TEST(strcmp(s3, r) == 0); 72 SM_TEST(strcmp(s3, r) == 0); 78 SM_TEST(strcmp(s3, r) == 0); 84 SM_TEST(strcmp(s3, r) == 0); 90 SM_TEST(strcmp(s3, r) == 0); [all …]
|
/titanic_41/usr/src/lib/fm/libdiagcode/common/ |
H A D | diagcode_test.c | 86 else if (strcmp(s, "EPERM") == 0) in geterrno() 88 else if (strcmp(s, "ENOENT") == 0) in geterrno() 90 else if (strcmp(s, "ESRCH") == 0) in geterrno() 92 else if (strcmp(s, "ENOMEM") == 0) in geterrno() 94 else if (strcmp(s, "EACCES") == 0) in geterrno() 96 else if (strcmp(s, "EINVAL") == 0) in geterrno() 98 else if (strcmp(s, "ERANGE") == 0) in geterrno() 100 else if (strcmp(s, "ENOMSG") == 0) in geterrno() 102 else if (strcmp(s, "ENOTSUP") == 0) in geterrno() 241 if (reterrno == 0 && argc > 3 && strcmp(code, argv[3])) in do_key2code() [all …]
|
/titanic_41/usr/src/lib/scsi/plugins/ses/ses2/common/ |
H A D | ses2_element_ctl.c | 53 if (strcmp(name, SES_PROP_IDENT) == 0) in elem_setprop_device() 55 else if (strcmp(name, SES_PROP_RMV) == 0) in elem_setprop_device() 57 else if (strcmp(name, SES_DEV_PROP_READY_TO_INSERT) == 0) in elem_setprop_device() 59 else if (strcmp(name, SES_DEV_PROP_REQ_MISSING) == 0) in elem_setprop_device() 61 else if (strcmp(name, SES_DEV_PROP_DO_NOT_REMOVE) == 0) in elem_setprop_device() 63 else if (strcmp(name, SES_DEV_PROP_REQ_ACTIVE) == 0) in elem_setprop_device() 65 else if (strcmp(name, SES_DEV_PROP_BYP_B) == 0) in elem_setprop_device() 67 else if (strcmp(name, SES_DEV_PROP_BYP_A) == 0) in elem_setprop_device() 69 else if (strcmp(name, SES_PROP_OFF) == 0) in elem_setprop_device() 71 else if (strcmp(name, SES_DEV_PROP_FAULT_RQSTD) == 0) in elem_setprop_device() [all …]
|
/titanic_41/usr/src/cmd/nscd/ |
H A D | nscd_smfmonitor.c | 82 if (strcmp(state, SCF_STATE_STRING_UNINIT) == 0) in query_smf_state() 84 else if (strcmp(state, SCF_STATE_STRING_MAINT) == 0) in query_smf_state() 86 else if (strcmp(state, SCF_STATE_STRING_OFFLINE) == 0) in query_smf_state() 88 else if (strcmp(state, SCF_STATE_STRING_DISABLED) == 0) in query_smf_state() 90 else if (strcmp(state, SCF_STATE_STRING_ONLINE) == 0) in query_smf_state() 92 else if (strcmp(state, SCF_STATE_STRING_DEGRADED) == 0) in query_smf_state() 166 (strcmp(NSCD_NSW_SRC_NAME(srci), "files") == 0 || in _nscd_get_smf_state() 167 strcmp(NSCD_NSW_SRC_NAME(srci), "compat") == 0 || in _nscd_get_smf_state() 168 strcmp(NSCD_NSW_SRC_NAME(srci), "ad") == 0 || in _nscd_get_smf_state() 169 strcmp(NSCD_NSW_SRC_NAME(srci), "dns") == 0)) { in _nscd_get_smf_state() [all …]
|
/titanic_41/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_dr.c | 81 if (strcmp(class, EC_DR) == 0) { in fmd_dr_event() 82 if (strcmp(subclass, ESC_DR_AP_STATE_CHANGE) != 0 && in fmd_dr_event() 83 strcmp(subclass, ESC_DR_TARGET_STATE_CHANGE) != 0) in fmd_dr_event() 86 } else if (strcmp(class, EC_DEVFS) == 0) { in fmd_dr_event() 91 } else if (strcmp(class, EC_PLATFORM) == 0) { in fmd_dr_event() 97 if (strcmp(subclass, ESC_PLATFORM_SP_RESET) != 0) in fmd_dr_event() 99 } else if (strcmp(class, EC_DEV_ADD) == 0 || in fmd_dr_event() 100 strcmp(class, EC_DEV_REMOVE) == 0) { in fmd_dr_event() 101 if (strcmp(subclass, ESC_DISK) != 0) in fmd_dr_event()
|
/titanic_41/usr/src/cmd/hal/hald/solaris/ |
H A D | sysevent.c | 180 if (strcmp(class, EC_DEVFS) == 0) { in sysevent_dev_handler() 193 if (strcmp(class, EC_PWRCTL) == 0) { in sysevent_dev_handler() 198 } else if (strcmp(class, EC_DR) == 0) { in sysevent_dev_handler() 211 if (strcmp(class, EC_DR) == 0) { in sysevent_dev_handler() 216 if (strcmp(class, EC_PWRCTL) == 0) { in sysevent_dev_handler() 280 if (strcmp(class, EC_DEV_ADD) == 0) { in sysevent_iochannel_data() 281 if ((strcmp(subclass, ESC_DISK) == 0) || in sysevent_iochannel_data() 282 (strcmp(subclass, ESC_PRINTER) == 0)) { in sysevent_iochannel_data() 284 } else if (strcmp(subclass, ESC_LOFI) == 0) { in sysevent_iochannel_data() 287 } else if (strcmp(class, EC_DEV_REMOVE) == 0) { in sysevent_iochannel_data() [all …]
|
/titanic_41/usr/src/cmd/hal/tools/ |
H A D | hal_set_property.c | 158 if (strcmp (opt, "help") == 0) { in main() 161 } else if (strcmp (opt, "key") == 0) { in main() 163 } else if (strcmp (opt, "string") == 0) { in main() 166 } else if (strcmp (opt, "int") == 0) { in main() 169 } else if (strcmp (opt, "uint64") == 0) { in main() 172 } else if (strcmp (opt, "double") == 0) { in main() 175 } else if (strcmp (opt, "bool") == 0) { in main() 176 if (strcmp (optarg, "true") == 0) in main() 178 else if (strcmp (optarg, "false") == 0) in main() 185 } else if (strcmp (opt, "strlist-pre") == 0) { in main() [all …]
|
/titanic_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_mount.c | 72 if ((strcmp(m.mnt_fstype, "nfs") == 0) || in meta_get_mountp() 73 (strcmp(m.mnt_fstype, "autofs") == 0) || in meta_get_mountp() 74 (strcmp(m.mnt_fstype, "proc") == 0) || in meta_get_mountp() 75 (strcmp(m.mnt_fstype, "tmpfs") == 0) || in meta_get_mountp() 76 (strcmp(m.mnt_fstype, "cachefs") == 0) || in meta_get_mountp() 77 (strcmp(m.mnt_fstype, "lofs") == 0) || in meta_get_mountp() 78 (strcmp(m.mnt_fstype, "rfs") == 0) || in meta_get_mountp() 79 (strcmp(m.mnt_fstype, "fd") == 0)) in meta_get_mountp()
|
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/ontario/common/ |
H A D | huron.c | 63 if (strcmp(path, HURON_NIU) == 0) { in huron_get_bus_type() 73 if (strcmp(path, HURON_N2_XAUI0) == 0) { in huron_get_slot_number() 76 } else if (strcmp(path, HURON_N2_XAUI1) == 0) { in huron_get_slot_number() 112 if (strcmp(path, HURON_NETWORK_0) == 0) { in huron_get_network_instance() 114 } else if (strcmp(path, HURON_NETWORK_1) == 0) { in huron_get_network_instance() 116 } else if (strcmp(path, HURON_NETWORK_2) == 0) { in huron_get_network_instance() 118 } else if (strcmp(path, HURON_NETWORK_3) == 0) { in huron_get_network_instance() 120 } else if (strcmp(path, HURON_N2_XAUI0) == 0) { in huron_get_network_instance() 122 } else if (strcmp(path, HURON_N2_XAUI1) == 0) { in huron_get_network_instance() 163 if (strcmp(piclclass, "pciex") == 0) { in huron_pci_callback() [all …]
|
/titanic_41/usr/src/cmd/hal/hald/ |
H A D | device_info.c | 290 *result = (dbus_int64_t) strcmp (hal_device_property_get_string (d, key), right_side); in match_compare_property() 341 if (strcmp (attr[0], "key") != 0) in handle_match() 364 if (strcmp (attr[2], "string") == 0) { in handle_match() 377 if (strcmp (hal_device_property_get_string (d, prop_to_check), in handle_match() 383 } else if (strcmp (attr[2], "int") == 0) { in handle_match() 402 } else if (strcmp (attr[2], "uint64") == 0) { in handle_match() 421 } else if (strcmp (attr[2], "bool") == 0) { in handle_match() 426 if (strcmp (attr[3], "false") == 0) in handle_match() 428 else if (strcmp (attr[3], "true") == 0) in handle_match() 445 } else if (strcmp (attr[2], "exists") == 0) { in handle_match() [all …]
|
/titanic_41/usr/src/cmd/devctl/ |
H A D | devctl.c | 214 if (strcmp(devctl_cmdname, "list") == 0) { in main() 235 strcmp(devctl_cmdname, "bus-devcreate") == 0) { in main() 269 } else if (strcmp(devctl_cmdname, "bus-raisepower") == 0 || in main() 270 strcmp(devctl_cmdname, "bus-changepowerlow") == 0 || in main() 271 strcmp(devctl_cmdname, "bus-changepowerhigh") == 0 || in main() 272 strcmp(devctl_cmdname, "bus-idlecomp") == 0 || in main() 273 strcmp(devctl_cmdname, "bus-busycomp") == 0 || in main() 274 strcmp(devctl_cmdname, "bus-testbusy") == 0 || in main() 275 strcmp(devctl_cmdname, "bus-failsuspend") == 0 || in main() 276 strcmp(devctl_cmdname, "bus-teststrict") == 0 || in main() [all …]
|
/titanic_41/usr/src/lib/policykit/libpolkit/common/ |
H A D | libpolkit-rbac.c | 145 if (strcmp (privilege, "hal-storage-removable-mount") == 0) { in libpolkit_is_uid_allowed_for_privilege() 147 } else if (strcmp (privilege, "hal-storage-removable-mount-all-options") == 0) { in libpolkit_is_uid_allowed_for_privilege() 149 } else if (strcmp (privilege, "hal-storage-fixed-mount") == 0) { in libpolkit_is_uid_allowed_for_privilege() 151 } else if (strcmp (privilege, "hal-storage-fixed-mount-all-options") == 0) { in libpolkit_is_uid_allowed_for_privilege() 153 } else if (strcmp(privilege, "hal-power-suspend") == 0) { in libpolkit_is_uid_allowed_for_privilege() 155 } else if (strcmp(privilege, "hal-power-hibernate") == 0) { in libpolkit_is_uid_allowed_for_privilege() 157 } else if ((strcmp(privilege, "hal-power-shutdown") == 0) || in libpolkit_is_uid_allowed_for_privilege() 158 (strcmp(privilege, "hal-power-reboot") == 0)) { in libpolkit_is_uid_allowed_for_privilege() 160 } else if (strcmp(privilege, "hal-power-cpu") == 0) { in libpolkit_is_uid_allowed_for_privilege() 162 } else if (strcmp(privilege, "hal-power-brightness") == 0) { in libpolkit_is_uid_allowed_for_privilege() [all …]
|
/titanic_41/usr/src/lib/librdc/common/ |
H A D | rdcrules.c | 128 if ((strcmp(bmp, mas) == 0) || in bitmap_in_use() 129 (strcmp(bmp, sha) == 0) || in bitmap_in_use() 130 (strcmp(bmp, bit) == 0) || in bitmap_in_use() 131 (strcmp(bmp, ovr) == 0)) { in bitmap_in_use() 156 if ((strcmp(bmp, pri) == 0) || in bitmap_in_use() 157 (strcmp(bmp, bit) == 0)) { in bitmap_in_use() 168 if ((strcmp(bmp, sec) == 0) || in bitmap_in_use() 169 (strcmp(bmp, sbm) == 0)) { in bitmap_in_use() 187 if ((strcmp(bmp, pri) == 0) || in bitmap_in_use() 188 (strcmp(bmp, bit) == 0)) { in bitmap_in_use() [all …]
|
/titanic_41/usr/src/cmd/ipf/lib/common/ |
H A D | ports.c | 35 if (!strcmp(**seg, "<>")) 37 else if (!strcmp(**seg, "><")) 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"))
|
/titanic_41/usr/src/test/libc-tests/tests/newlocale/ |
H A D | newlocale_test.c | 75 if (strcmp(day, l->day1) != 0) { in testlocale_thr_one() 83 if (strcmp(day, "Sunday") != 0) { in testlocale_thr_one() 88 if (strcmp(lc->currency_symbol, "") != 0) { in testlocale_thr_one() 98 if (strcmp(day, l->day1) != 0) { in testlocale_thr_one() 104 if (strcmp(lc->currency_symbol, l->cursym) != 0) { in testlocale_thr_one() 146 if (strcmp(day, "Sonntag") != 0) { in test_newlocale_negative() 155 if (strcmp(day, "Sonntag") != 0) { in test_newlocale_negative() 181 if ((day == NULL) || (strcmp(day, "Sonntag") != 0)) { in test_newlocale_categories() 185 if ((yes == NULL) || (strcmp(yes, "да") != 0)) { in test_newlocale_categories() 189 if ((cur == NULL) || (strcmp(cur, "-$") != 0)) { in test_newlocale_categories() [all …]
|