/illumos-gate/usr/src/lib/libadm/common/ |
H A D | pkgnmchk.c | 61 if (wild && (strcmp(pkg, "all") == 0)) in valname() 78 if ((strcmp(pt, WILD1) == 0) || (strcmp(pt, WILD2) == 0)) { in valname() 135 if ((spec == NULL) || (strcmp(spec, "all") == 0)) in pkgnmchk() 139 if ((strcmp(spec, WILD1) == 0) || (strcmp(spec, WILD2) == 0)) in pkgnmchk() 146 if ((strcmp(spec, WILD1) == 0) || (strcmp(spec, WILD2) == 0)) in pkgnmchk()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | lib.c | 435 if (!strcmp(arg, "MF") || !strcmp(arg,"MQ") || !strcmp(arg,"MT")) { in handle_switch_M() 453 if (!strcmp(arg, "m64")) { in handle_switch_m() 455 } else if (!strcmp(arg, "m32") || !strcmp(arg, "m16")) { in handle_switch_m() 878 if (!strcmp(opt, "-enable")) { in handle_fpasses() 886 if (!strcmp(opt, "=last")) { in handle_fpasses() 967 if (!strcmp (arg, "ansi")) in handle_switch_a() 976 if (!strcmp (arg, "c89") || in handle_switch_s() 984 !strcmp (arg, "c9x") || in handle_switch_s() 992 else if (!strcmp (arg, "gnu99") || !strcmp (arg, "gnu9x")) in handle_switch_s() 996 !strcmp(arg, "c1x") || in handle_switch_s() [all …]
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | rpc_generic.c | 211 if (strcmp(nconf->nc_proto, NC_TCP) == 0) { in __rpc_getconfip() 226 if (strcmp(nconf->nc_proto, NC_UDP) == 0) { in __rpc_getconfip() 245 if (strcmp(nettype, "udp") == 0) in __rpc_getconfip() 247 else if (strcmp(nettype, "tcp") == 0) in __rpc_getconfip() 354 (strcmp(nconf->nc_protofmly, NC_INET) && in __rpc_getconf() 356 strcmp(nconf->nc_proto, NC_TCP)) in __rpc_getconf() 361 (strcmp(nconf->nc_protofmly, NC_INET) && in __rpc_getconf() 363 strcmp(nconf->nc_proto, NC_UDP)) in __rpc_getconf() 513 strcmp(host, HOST_SELF) == 0 || in __rpc_is_local_host() 514 strcmp(host, HOST_SELF_CONNECT) == 0 || in __rpc_is_local_host() [all …]
|
/illumos-gate/usr/src/cmd/rmformat/ |
H A D | rmf_main.c | 141 if (strcmp(tmp_ptr, "quick") == 0) { in main() 144 } else if (strcmp(tmp_ptr, "long") == 0) { in main() 147 } else if (strcmp(tmp_ptr, "force") == 0) { in main() 172 if (strcmp(tmp_ptr, "enable") == 0) { in main() 174 } else if (strcmp(tmp_ptr, "disable") == 0) { in main() 195 if (strcmp(tmp_ptr, "read") == 0) { in main() 197 } else if (strcmp(tmp_ptr, "write") == 0) { in main() 208 if (strcmp(tmp_ptr, "enable") == 0) { in main() 210 } else if (strcmp(tmp_ptr, "disable") == 0) { in main() 221 if (strcmp(tmp_ptr, "enable") == 0) { in main() [all …]
|
/illumos-gate/usr/src/test/os-tests/tests/ilstr/ |
H A D | ilstr_basic.c | 88 VERIFY(strcmp(ilstr_cstr(ils), "B") == 0); in ist_prealloc_toobig() 123 VERIFY(strcmp(ilstr_cstr(ils), want) == 0); in ist_printf_1() 152 if (strcmp(ilstr_cstr(ils), want) != 0) { in ist_printf_2() 166 VERIFY(strcmp(ilstr_cstr(ils), "") == 0); in ist_resets() 169 VERIFY(strcmp(ilstr_cstr(ils), "") == 0); in ist_resets() 173 VERIFY(strcmp(ilstr_cstr(ils), "abc") == 0); in ist_resets() 180 VERIFY(strcmp(ilstr_cstr(ils), "") == 0); in ist_resets() 184 VERIFY(strcmp(ilstr_cstr(ils), "xyz") == 0); in ist_resets() 187 VERIFY(strcmp(ilstr_cstr(ils), "") == 0); in ist_resets() 215 VERIFY(strcmp(ilstr_cstr(ils), work) == 0); in ist_random() [all …]
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | entry.c | 949 if (strcmp(by, DM_USE_LU) == 0 || in dm_inuse() 950 strcmp(by, DM_USE_FS) == 0 || in dm_inuse() 966 strcmp(by, DM_USE_FS) == 0 || in dm_inuse() 970 if (strcmp(by, DM_USE_LU) == 0 && in dm_inuse() 971 strcmp(data, "-") == 0) { in dm_inuse() 975 strcmp(data, "") == 0) { in dm_inuse() 990 strcmp(data, "swap") == 0) || in dm_inuse() 992 strcmp(by, DM_USE_FS) == 0 || in dm_inuse() 1005 if (strcmp(by, DM_USE_FS) == 0 || in dm_inuse() 1066 if (strcmp(how, "swap") == 0) { in dm_get_usage_string() [all …]
|
/illumos-gate/usr/src/cmd/gss/gssd/ |
H A D | gssdtest.c | 274 strcmp(cmd, "release") == 0) in do_gssdtest() 277 strcmp(cmd, "init") == 0) in do_gssdtest() 280 strcmp(cmd, "accept") == 0) in do_gssdtest() 283 strcmp(cmd, "process") == 0) in do_gssdtest() 286 strcmp(cmd, "delete") == 0) in do_gssdtest() 289 strcmp(cmd, "time") == 0) in do_gssdtest() 292 strcmp(cmd, "sign") == 0) in do_gssdtest() 295 strcmp(cmd, "verify") == 0) in do_gssdtest() 298 strcmp(cmd, "seal") == 0) in do_gssdtest() 301 strcmp(cmd, "unseal") == 0) in do_gssdtest() [all …]
|
/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_gld.c | 1867 if (strcmp(pr_name, "_en_2500fdx_cap") == 0) in BnxeSetPrivateProperty() 1931 else if (strcmp(pr_name, "_checksum") == 0) in BnxeSetPrivateProperty() 1996 else if (strcmp(pr_name, "_num_rings") == 0) in BnxeSetPrivateProperty() 2016 else if (strcmp(pr_name, "_rx_descs") == 0) in BnxeSetPrivateProperty() 2049 else if (strcmp(pr_name, "_tx_descs") == 0) in BnxeSetPrivateProperty() 2482 else if (strcmp(pr_name, "_txpause") == 0) in BnxeGetPrivateProperty() 2494 else if (strcmp(pr_name, "_rxpause") == 0) in BnxeGetPrivateProperty() 2502 else if (strcmp(pr_name, "_checksum") == 0) in BnxeGetPrivateProperty() 2514 else if (strcmp(pr_name, "_rx_descs") == 0) in BnxeGetPrivateProperty() 2522 else if (strcmp(pr_name, "_tx_descs") == 0) in BnxeGetPrivateProperty() [all …]
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | handlelocalfs.c | 60 if (strcmp(cur_smf_state, SCF_STATE_STRING_DISABLED) == 0) { in enable_local_fs() 69 } else if (strcmp(cur_smf_state, SCF_STATE_STRING_ONLINE) in enable_local_fs() 73 } else if (strcmp(cur_smf_state, SCF_STATE_STRING_OFFLINE) in enable_local_fs() 87 if (strcmp(cur_smf_state, SCF_STATE_STRING_ONLINE) in enable_local_fs() 94 } else if ((strcmp(cur_smf_state, in enable_local_fs() 96 (strcmp(cur_smf_state, SCF_STATE_STRING_DISABLED) == 0)) { in enable_local_fs() 135 if (strcmp(cur_smf_state, SCF_STATE_STRING_DISABLED) in restore_local_fs()
|
/illumos-gate/usr/src/lib/libnsl/nis/gen/ |
H A D | nis_misc.c | 70 if (strcmp(ep->family, "inet6") == 0) { in __nis_netconfig2ep() 83 if (strcmp(nc->nc_protofmly, ep->family) != 0) in __nis_netconfig_matches_ep() 86 if (strcmp(ep->family, "inet6") == 0) in __nis_netconfig_matches_ep() 87 return (strcmp(nc->nc_netid, ep->proto) == 0 || in __nis_netconfig_matches_ep() 88 strcmp(nc->nc_proto, ep->proto) == 0); in __nis_netconfig_matches_ep() 90 return (strcmp(nc->nc_proto, ep->proto) == 0); in __nis_netconfig_matches_ep()
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_vtops.c | 117 if (strcmp(nm, DEVVT_ACTIVE_NAME) == 0) { in devvt_validate() 120 rval = (strcmp(link, dv->sdev_symlink) == 0) ? in devvt_validate() 126 if (strcmp(nm, DEVVT_CONSUSER_NAME) == 0) { in devvt_validate() 161 if (strcmp(nm, DEVVT_ACTIVE_NAME) == 0) { in devvt_create_rvp() 166 if (strcmp(nm, DEVVT_CONSUSER_NAME) == 0) { in devvt_create_rvp() 193 if ((strcmp(nm, DEVVT_ACTIVE_NAME) == 0) || in devvt_lookup() 194 (strcmp(nm, DEVVT_CONSUSER_NAME) == 0)) { in devvt_lookup() 244 if (strcmp(nm, DEVVT_ACTIVE_NAME) != 0 && in devvt_create_snode() 245 strcmp(nm, DEVVT_CONSUSER_NAME) != 0 && in devvt_create_snode() 303 if (strcmp(link, dv->sdev_symlink) != 0) { in devvt_rebuild_stale_link() [all …]
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/ |
H A D | pelton.c | 194 if ((strcmp(name, NETWORK) == 0) && in pelton_pci_callback() 236 } else if (strcmp(name, binding_name) != 0) { in pelton_pci_callback() 325 if ((strcmp(path, FIRE_PATH0) == 0) || in pelton_hw_rev_callback() 326 (strcmp(path, FIRE_PATH1) == 0)) { in pelton_hw_rev_callback() 334 if ((strcmp(path, PEL_PCIX_SLOT0) == 0) || in pelton_hw_rev_callback() 335 (strcmp(path, PEL_PCIX_SLOT1) == 0) || in pelton_hw_rev_callback() 336 (strcmp(path, PEL_PCIX_SLOT2) == 0) || in pelton_hw_rev_callback() 337 (strcmp(path, PEL_PCIX_ONBOARD0) == 0)) { in pelton_hw_rev_callback() 345 if (strcmp(path, SWITCH_A_PATH) == 0) { in pelton_hw_rev_callback() 352 if (strcmp(path, SWITCH_B_PATH) == 0) { in pelton_hw_rev_callback() [all …]
|
H A D | stpaul.c | 130 if ((strcmp(name, NETWORK) == 0) && in stpaul_pci_callback() 138 } else if ((strcmp(name, SCSI) == 0) && in stpaul_pci_callback() 264 if (strcmp(path, SPL_PCIE2PCI) == 0) { in stpaul_hw_rev_callback() 273 if (strcmp(name, USB) == 0) { in stpaul_hw_rev_callback() 289 if ((strcmp(path, SPL_USB0_PATH) == 0) || in stpaul_hw_rev_callback() 299 if ((strcmp(path, FIRE_PATH0) == 0) || in stpaul_hw_rev_callback() 300 (strcmp(path, FIRE_PATH1) == 0)) { in stpaul_hw_rev_callback() 308 if (strcmp(path, SWITCH_A_PATH) == 0) { in stpaul_hw_rev_callback() 316 if (strcmp(path, SWITCH_B_PATH) == 0) { in stpaul_hw_rev_callback() 324 if (strcmp(path, SPL_LSI_PATH) == 0) { in stpaul_hw_rev_callback() [all …]
|
/illumos-gate/usr/src/lib/pam_modules/sample/ |
H A D | sample_authenticate.c | 90 if (strcmp(argv[i], "debug") == 0) in pam_sm_authenticate() 92 else if (strcmp(argv[i], "try_first_pass") == 0) in pam_sm_authenticate() 94 else if (strcmp(argv[i], "first_pass_good") == 0) in pam_sm_authenticate() 96 else if (strcmp(argv[i], "first_pass_bad") == 0) in pam_sm_authenticate() 98 else if (strcmp(argv[i], "use_first_pass") == 0) in pam_sm_authenticate() 100 else if (strcmp(argv[i], "always_fail") == 0) in pam_sm_authenticate() 102 else if (strcmp(argv[i], "always_succeed") == 0) in pam_sm_authenticate() 104 else if (strcmp(argv[i], "always_ignore") == 0) in pam_sm_authenticate()
|
/illumos-gate/usr/src/cmd/sgs/crle/common/ |
H A D | util.c | 114 if (strcmp(env->e_str, arg) == 0) { in addenv() 264 if (strcmp(tok, MSG_ORIG(MSG_MOD_REL_RELATIVE)) == 0) in dlflags() 266 else if (strcmp(tok, MSG_ORIG(MSG_MOD_REL_EXEC)) == 0) in dlflags() 268 else if (strcmp(tok, MSG_ORIG(MSG_MOD_REL_DEPENDS)) == 0) in dlflags() 270 else if (strcmp(tok, MSG_ORIG(MSG_MOD_REL_PRELOAD)) == 0) in dlflags() 272 else if (strcmp(tok, MSG_ORIG(MSG_MOD_REL_SELF)) == 0) in dlflags() 274 else if (strcmp(tok, MSG_ORIG(MSG_MOD_REL_WEAK)) == 0) in dlflags() 276 else if (strcmp(tok, MSG_ORIG(MSG_MOD_REL_ALL)) == 0) in dlflags() 278 else if (strcmp(tok, MSG_ORIG(MSG_MOD_REL_MEMORY)) == 0) in dlflags() 280 else if (strcmp(tok, MSG_ORIG(MSG_MOD_REL_STRIP)) == 0) in dlflags() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | uadmin.h | 146 (strcmp((p), "false") == 0 || \ 147 strcmp((p), "no") == 0 || \ 148 strcmp((p), "0") == 0) 151 (strcmp((p), "true") == 0 || \ 152 strcmp((p), "yes") == 0 || \ 153 strcmp((p), "1") == 0)
|
/illumos-gate/usr/src/lib/hal/libhal-storage/common/ |
H A D | libhal-storage.c | 656 if (label != NULL && strcmp (label, "bootstrap") == 0 && strcmp (fstype, "hfs") == 0) in libhal_volume_policy_should_be_visible() 1029 if (strcmp (bus_textual, "usb") == 0) { in libhal_drive_from_udi() 1033 } else if (strcmp (bus_textual, "ide") == 0) { in libhal_drive_from_udi() 1035 } else if (strcmp (bus_textual, "scsi") == 0) { in libhal_drive_from_udi() 1037 } else if (strcmp (bus_textual, "ccw") == 0) { in libhal_drive_from_udi() 1175 if (strcmp (disc_type_textual, "cd_rom") == 0) { in libhal_volume_from_udi() 1731 if (strcmp (udis[i], drive_udi) == 0) in libhal_drive_find_all_volumes() 1904 if (strcmp (option, "user") == 0 || in mopts_collect() 1905 strcmp (option, "users") == 0 || in mopts_collect() 1906 strcmp (option, "defaults") == 0 || in mopts_collect() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | ndd.c | 127 if (strcmp(protostr, "tcp") == 0 || in ndd_str2proto() 128 strcmp(protostr, "tcp6") == 0) { in ndd_str2proto() 130 } else if (strcmp(protostr, "udp") == 0 || in ndd_str2proto() 131 strcmp(protostr, "udp6") == 0) { in ndd_str2proto() 133 } else if (strcmp(protostr, "ip") == 0 || in ndd_str2proto() 134 strcmp(protostr, "ip6") == 0 || in ndd_str2proto() 135 strcmp(protostr, "arp") == 0) { in ndd_str2proto() 138 strcmp(protostr, "icmp6") == 0) { in ndd_str2proto() 141 strcmp(protostr, "sctp6") == 0) { in ndd_str2proto() 292 if (strcmp(pname, "?") == 0) { in do_ipadm_getset() [all …]
|
/illumos-gate/usr/src/cmd/sgs/demo_rdb/sparc/ |
H A D | m_utils.c | 34 if (strcmp(varname, "ins") == 0) { in print_mach_varstring() 38 if (strcmp(varname, "globs") == 0) { in print_mach_varstring() 42 if (strcmp(varname, "outs") == 0) { in print_mach_varstring() 46 if (strcmp(varname, "locs") == 0) { in print_mach_varstring() 50 if (strcmp(varname, "specs") == 0) { in print_mach_varstring()
|
/illumos-gate/usr/src/cmd/sgs/demo_rdb/sparcv9/ |
H A D | m_utils.c | 34 if (strcmp(varname, "ins") == 0) { in print_mach_varstring() 38 if (strcmp(varname, "globs") == 0) { in print_mach_varstring() 42 if (strcmp(varname, "outs") == 0) { in print_mach_varstring() 46 if (strcmp(varname, "locs") == 0) { in print_mach_varstring() 50 if (strcmp(varname, "specs") == 0) { in print_mach_varstring()
|
/illumos-gate/usr/src/uts/common/io/bnx/ |
H A D | bnxgldv3.c | 800 if (strcmp(pr_name, "_adv_2500fdx_cap") == 0) { in bnx_set_priv_prop() 817 } else if (strcmp(pr_name, "_checksum") == 0) { in bnx_set_priv_prop() 995 } else if (strcmp(pr_name, "_statticks") == 0) { in bnx_set_priv_prop() 1009 else if (strcmp(pr_name, "_disable_msix") == 0) { in bnx_set_priv_prop() 1187 if (strcmp(pr_name, "_adv_2500fdx_cap") == 0) { in bnx_get_priv_prop() 1193 } else if (strcmp(pr_name, "_checksum") == 0) { in bnx_get_priv_prop() 1215 } else if (strcmp(pr_name, "_statticks") == 0) { in bnx_get_priv_prop() 1217 } else if (strcmp(pr_name, "_disable_msix") == 0) { in bnx_get_priv_prop() 1392 if (strcmp(pr_name, "_adv_2500fdx_cap") == 0) { in bnx_priv_propinfo() 1397 } else if (strcmp(pr_name, "_checksum") == 0) { in bnx_priv_propinfo() [all …]
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | pro_log_extra_flag_strings.c | 172 if (!strcmp(name,"default_is_stmt")) { in update_named_field() 174 } else if (!strcmp(name,"minimum_instruction_length")) { in update_named_field() 176 } else if (!strcmp(name,"maximum_operations_per_instruction")) { in update_named_field() 178 } else if (!strcmp(name,"opcode_base")) { in update_named_field() 180 } else if (!strcmp(name,"line_base")) { in update_named_field() 182 } else if (!strcmp(name,"line_range")) { in update_named_field() 184 } else if (!strcmp(name,"linetable_version")) { in update_named_field() 187 } else if (!strcmp(name,"segment_selector_size")) { in update_named_field() 189 } else if (!strcmp(name,"segment_size")) { in update_named_field() 191 } else if (!strcmp(name,"address_size")) { in update_named_field()
|
/illumos-gate/usr/src/cmd/bart/ |
H A D | compare.c | 69 if (strcmp(optarg, "-") == 0) in bart_compare() 133 ret = strcmp(control_line, test_line); in compare_manifests() 405 if (strcmp(ctrl_mtime, test_mtime) != 0) { in evaluate_differences() 425 (strcmp(ctrl_mtime, test_mtime) != 0)) { in evaluate_differences() 432 (strcmp(ctrl_mtime, test_mtime) != 0)) { in evaluate_differences() 497 if (strcmp(fname, last_fname) != 0) { in report_error() 502 if (strcmp(type, ADD_KEYWORD) == 0 || in report_error() 503 strcmp(type, DELETE_KEYWORD) == 0) in report_error() 510 if (strcmp(fname, last_fname) != 0) { in report_error() 519 if (strcmp(type, ADD_KEYWORD) != 0 && in report_error() [all …]
|
/illumos-gate/usr/src/cmd/sgs/error/common/ |
H A D | errorinput.c | 173 if (strcmp(wordv[1], "Assembler:") == 0) { in onelong() 180 } else if (strcmp(wordv[1], "Undefined:") == 0) { in onelong() 255 (strcmp(wordv[2], "line") == 0) && in pccccom() 394 (strcmp(wordv[4], "),") == 0)) { in lint2() 538 (strcmp(wordv[2], "line") == 0) && in troff() 563 (strcmp(wordv[3], "line") == 0) && in mod2() 591 (strcmp(wordv[2], "line") == 0) && in sunf77() 594 ((strcmp(wordv[4], "Error:") == 0) || in sunf77() 595 (strcmp(wordv[4], "Warning:") == 0) || in sunf77() 596 ((strcmp(wordv[4], "ANSI") == 0) && in sunf77() [all …]
|
/illumos-gate/usr/src/cmd/fm/modules/common/io-retire/ |
H A D | rio_main.c | 142 if (global_disable && (strcmp(class, FM_LIST_SUSPECT_CLASS) == 0 || in rio_recv() 143 strcmp(class, FM_LIST_UPDATED_CLASS) == 0)) { in rio_recv() 152 if (strcmp(class, FM_LIST_SUSPECT_CLASS) == 0) { in rio_recv() 154 } else if (strcmp(class, FM_LIST_REPAIRED_CLASS) == 0) { in rio_recv() 156 } else if (strcmp(class, FM_LIST_UPDATED_CLASS) == 0) { in rio_recv() 158 } else if (strcmp(class, FM_LIST_RESOLVED_CLASS) == 0) { in rio_recv() 190 strcmp(scheme, FM_FMRI_SCHEME_DEV) != 0) { in rio_recv() 248 strcmp(scheme, FM_FMRI_SCHEME_DEV) != 0) { in rio_recv() 263 if (strcmp(class, FM_LIST_UPDATED_CLASS) == 0) { in rio_recv() 288 if (strcmp(class, FM_LIST_SUSPECT_CLASS) == 0 && rval == 0) { in rio_recv() [all …]
|