/illumos-gate/usr/src/test/util-tests/tests/demangle/ |
H A D | llvm-stdcxxabi.c | 29685 VERIFY3S(strcmp(pass[i].demangled, res), ==, 0); in pass_test() 29700 VERIFY(strcmp(fptests[i].demangled[0], res) == 0 || in fp_test() 29701 strcmp(fptests[i].demangled[1], res) == 0 || in fp_test() 29702 strcmp(fptests[i].demangled[2], res) == 0 || in fp_test() 29703 strcmp(fptests[i].demangled[3], res) == 0 || in fp_test() 29704 strcmp(fptests[i].demangled[4], res) == 0); in fp_test()
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/ |
H A D | ipmgmt_persist.c | 274 strcmp(proto, db_proto) != 0)) { in ipmgmt_nvlist_match() 281 strcmp(ifname, db_ifname) != 0)) { in ipmgmt_nvlist_match() 440 if (strcmp(val, inpval) != 0) in ipmgmt_db_resetprop() 443 if (strcmp(val, inpval) != 0) { in ipmgmt_db_resetprop() 452 if (strcmp(dbpval, inpval) != 0) in ipmgmt_db_resetprop() 830 strcmp(ifname, db_ifname) != 0) in ipmgmt_db_getif() 1163 if (strcmp(head->am_aobjname, in ipmgmt_aobjmap_op() 1183 if (strcmp(head->am_ifname, in ipmgmt_aobjmap_op() 1196 if (strcmp(head->am_aobjname, in ipmgmt_aobjmap_op() 1253 if (strcmp(head->am_ifname, in ipmgmt_aobjmap_op() [all …]
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | startd.c | 638 if (strcmp(buf, "logging") != 0 && in read_startd_config() 639 strcmp(buf, "boot_messages") != 0) in read_startd_config() 696 if (strcmp("logging", buf) == 0) { in read_startd_config() 697 if (strcmp("verbose", vbuf) == 0) { in read_startd_config() 711 if (strcmp("quiet", vbuf) == 0) { in read_startd_config() 758 if (strcmp(cp, "debug") == 0) { in read_startd_config() 768 } else if (strcmp(cp, "seed") == 0) { in read_startd_config() 787 } else if (strcmp(mp, "su") == 0 || in read_startd_config() 791 } else if (strcmp(mp, "mu") == 0 || in read_startd_config() 792 strcmp(mp, "multi-user") == 0) { in read_startd_config() [all …]
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | bootinfo.c | 110 if (!strcmp(curpos, "text")) in bi_getboothowto() 112 else if (!strcmp(curpos, "ttya")) in bi_getboothowto() 114 else if (!strcmp(curpos, "ttyb")) in bi_getboothowto() 116 else if (!strcmp(curpos, "ttyc")) in bi_getboothowto() 118 else if (!strcmp(curpos, "ttyd")) in bi_getboothowto() 120 else if (!strcmp(curpos, "null")) in bi_getboothowto() 131 if (!strcmp(string, "text")) in bi_getboothowto()
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_hyper.c | 331 if (strcmp(optstr, ZFS_BOOTSTR) == 0) { in cvt_metal_option() 383 if (strcmp(optstr, ZFS_BOOTSTR) == 0) { in cvt_hyper_option() 418 if (strcmp(value, "hypervisor") == 0) in cvt_hyper_option() 444 if (strcmp(value, "auto") == 0) { in cvt_hyper_option() 695 if (strcmp(token, "setprop") != 0) { in parse_bootenvrc() 710 if (strcmp(token, "console") == 0) { in parse_bootenvrc() 800 if (strcmp(osroot, "/") == 0) in cvt_to_hyper() 854 } else if (strcmp(lp->cmd, in cvt_to_hyper() 857 } else if ((strcmp(lp->cmd, in cvt_to_hyper() 1085 } else if (strcmp(lp->cmd, in cvt_to_metal() [all …]
|
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | libdevinfo_sun4u.c | 121 else if ((strcmp(type, "cpu") == 0) && in walk_di_tree() 144 } else if ((strcmp(name, FFB_NAME) == 0) || in walk_di_tree() 145 (strcmp(type, "cpu") == 0) || in walk_di_tree() 148 (strcmp(name, "ac") != 0)) || in walk_di_tree() 150 ((strcmp(name, "pci") == 0) && in walk_di_tree() 151 (strcmp(model, "SUNW,psycho") == 0)) || in walk_di_tree() 153 ((strcmp(name, "pci") == 0) && in walk_di_tree() 154 (strcmp(model, "SUNW,sabre") == 0)) || in walk_di_tree() 158 (strcmp(name, "counter-timer") == 0) || in walk_di_tree() 159 (strcmp(name, "sbus") == 0)) { in walk_di_tree() [all …]
|
/illumos-gate/usr/src/cmd/svc/svcs/ |
H A D | explain.c | 330 if (strcmp(g_value, "require_all") == 0) in load_dependencies() 332 else if (strcmp(g_value, "require_any") == 0) in load_dependencies() 334 else if (strcmp(g_value, "optional_all") == 0) in load_dependencies() 336 else if (strcmp(g_value, "exclude_all") == 0) in load_dependencies() 415 if (strcmp(svcp->svcname, svcname) == 0) in add_instance() 696 if (strcmp(svcp->svcname, sn) == 0) in get_svc() 712 if (strcmp(instp->instname, in) == 0) in get_inst() 1253 if (strcmp(dg->type, "path") == 0) { in determine_causes() 1255 } else if (strcmp(dg->type, "service") == 0) { in determine_causes() 1473 } else if (strcmp(ip->aux_state, "none") == 0) { in determine_summary() [all …]
|
/illumos-gate/usr/src/lib/passwdutil/ |
H A D | switch_utils.c | 56 if (strcmp(rep_name, "files") == 0) in name_to_int() 58 else if (strcmp(rep_name, "nis") == 0) in name_to_int() 60 else if (strcmp(rep_name, "ldap") == 0) in name_to_int() 62 else if (strcmp(rep_name, "compat") == 0) { in name_to_int() 164 if (strcmp(lkp->service_name, "files") == 0) { in get_ns() 176 if (strcmp(lkp->service_name, "files") == 0) { in get_ns() 178 if (strcmp(lkp2->service_name, "ldap") == 0) in get_ns() 196 if (strcmp(lkp2->service_name, "ad") == 0) in get_ns() 198 else if (strcmp(lkp3->service_name, "ad") == 0) in get_ns() 202 if (strcmp(lkp->service_name, "files") == 0 && in get_ns() [all …]
|
/illumos-gate/usr/src/cmd/pools/poolstat/ |
H A D | sa_libpool.c | 87 if (strcmp(sbag->sb_type, PSET_TYPE_NAME) == 0) { in sa_libpool_update() 95 } else if (strcmp(sbag->sb_type, POOL_TYPE_NAME) == 0) { in sa_libpool_update() 114 if (strcmp("pset.min", name) == 0) { in populate_userdata_cb() 116 } else if (strcmp("pset.max", name) == 0) { in populate_userdata_cb() 118 } else if (strcmp("pset.load", name) == 0) { in populate_userdata_cb() 123 } else if (strcmp("pset.size", name) == 0) { in populate_userdata_cb() 125 } else if (strcmp("pset.sys_id", name) == 0) { in populate_userdata_cb()
|
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | hotplug_mgr.c | 300 if (strcmp(class_name, EC_DEVFS) == 0) { in disk_sysev_to_state() 301 if (strcmp(subclass, ESC_DEVFS_DEVI_ADD) == 0) { in disk_sysev_to_state() 311 } else if (strcmp(class_name, EC_DR) == 0 && in disk_sysev_to_state() 323 } else if (strcmp(se_val.value.sv_string, in disk_sysev_to_state() 463 if ((strcmp(dev_device, ap_device) == 0) && in disk_match_by_device_path() 489 if (strcmp(disk_ap_id, ap_id) == 0) in disk_match_by_ap_id() 522 (strcmp(match_device, ap_device) == 0)) in disk_match_by_target_id() 540 if (strcmp(class_name, EC_DEVFS) == 0) { in match_sysevent_to_disk() 551 } else if (strcmp(class_name, EC_DR) == 0 && in match_sysevent_to_disk() 561 } else if (strcmp(class_name, EC_DR) == 0 && in match_sysevent_to_disk() [all …]
|
/illumos-gate/usr/src/lib/libnsl/saf/ |
H A D | doconfig.c | 123 if (strcmp(bp, "assign") == 0) { in doconfig() 128 } else if (strcmp(bp, "push") == 0) { in doconfig() 133 } else if (strcmp(bp, "pop") == 0) { in doconfig() 138 } else if (strcmp(bp, "run") == 0) { in doconfig() 143 } else if (strcmp(bp, "runwait") == 0) { in doconfig() 335 if (strcmp(modp, "ALL") == 0) { in dopop() 352 if (strcmp(modp, buf) == 0) in dopop() 400 if (strcmp(p, "cd") == 0) { in dorun() 408 } else if (strcmp(p, "ulimit") == 0) { in dorun() 425 } else if (strcmp(p, "umask") == 0) { in dorun()
|
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_gld.c | 814 if (strcmp(pr_name, "_adv_pause_cap") == 0 || in ixgbe_m_propinfo() 820 if (strcmp(pr_name, "_tx_copy_thresh") == 0) { in ixgbe_m_propinfo() 873 if (strcmp(pr_name, "_tx_copy_thresh") == 0) { in ixgbe_set_priv_prop() 887 if (strcmp(pr_name, "_tx_recycle_thresh") == 0) { in ixgbe_set_priv_prop() 915 if (strcmp(pr_name, "_tx_resched_thresh") == 0) { in ixgbe_set_priv_prop() 929 if (strcmp(pr_name, "_rx_copy_thresh") == 0) { in ixgbe_set_priv_prop() 957 if (strcmp(pr_name, "_intr_throttling") == 0) { in ixgbe_set_priv_prop() 1004 if (strcmp(pr_name, "_adv_pause_cap") == 0) { in ixgbe_get_priv_prop() 1014 if (strcmp(pr_name, "_tx_copy_thresh") == 0) { in ixgbe_get_priv_prop() 1034 if (strcmp(pr_name, "_rx_copy_thresh") == 0) { in ixgbe_get_priv_prop() [all …]
|
/illumos-gate/usr/src/cmd/syseventadm/ |
H A D | syseventadm.c | 152 if (strcmp(cmd, "add") == 0) { in serve_syseventdotconf() 154 } else if (strcmp(cmd, "list") == 0) { in serve_syseventdotconf() 156 } else if (strcmp(cmd, "remove") == 0) { in serve_syseventdotconf() 158 } else if (strcmp(cmd, "restart") == 0) { in serve_syseventdotconf() 193 if (strcmp(cmd, "help") == 0) { in main() 208 if (strcmp(cmd, "add") == 0 || in main() 209 strcmp(cmd, "remove") == 0 || strcmp(cmd, "list") == 0 || in main() 210 strcmp(cmd, "restart") == 0) { in main() 741 if (strcmp(sep->se_vendor, "-") != 0) { in print_serecord() 751 if (strcmp(sep->se_class, "-") != 0) { in print_serecord() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | auto_subr.c | 183 if (strcmp(map, "-null") == 0) { in dirinit() 184 if (strcmp(mntpnt, "/-") == 0) in dirinit() 216 (strcmp(mntpnt, "/home") == 0) && in dirinit() 217 (strcmp(map, "auto_home") == 0)) { in dirinit() 572 if (strcmp(namebuf, "ARCH") == 0) { 815 direction = strcmp(name, p->name); in btree_lookup() 843 direction = strcmp(ent->name, p->name); in btree_enter() 974 if (strcmp(isaname, "sparc") == 0 || in bitness() 975 strcmp(isaname, "i386") == 0) in bitness() 978 if (strcmp(isaname, "sparcv9") == 0 || in bitness() [all …]
|
/illumos-gate/usr/src/lib/libnsl/netdir/ |
H A D | netdir.c | 165 if ((strcmp(tp->nc_protofmly, NC_INET) == 0) && in netdir_getbyname() 221 if (strcmp(lr, t->tr_name) == 0) { in __classic_netdir_getbyname() 350 if (strcmp(lr, t->tr_name) == 0) { in __classic_netdir_getbyaddr() 408 if ((strcmp(tp->nc_protofmly, NC_INET) == 0 || in netdir_options() 409 strcmp(tp->nc_protofmly, NC_INET6) == 0) && in netdir_options() 418 if (strcmp(lr, t->tr_name) == 0) in netdir_options() 460 strcmp(tp->nc_protofmly, NC_INET6) == 0) && in uaddr2taddr() 467 if (strcmp(lr, t->tr_name) == 0) { in uaddr2taddr() 519 strcmp(tp->nc_protofmly, NC_INET6) == 0) && in taddr2uaddr() 526 if (strcmp(lr, t->tr_name) == 0) { in taddr2uaddr() [all …]
|
/illumos-gate/usr/src/cmd/coreadm/ |
H A D | coreadm.c | 181 if (strcmp(optarg, "global") == 0) in main() 183 else if (strcmp(optarg, "process") == 0) in main() 185 else if (strcmp(optarg, "global-setid") == 0) in main() 187 else if (strcmp(optarg, "proc-setid") == 0) in main() 189 else if (strcmp(optarg, "log") == 0) in main() 391 strcmp(state, SCF_STATE_STRING_ONLINE) == 0; in is_online() 502 if (strcmp(value, "yes") == 0) in yes() 504 if (strcmp(value, "no") == 0) in yes() 550 if (strcmp(name, "COREADM_GLOB_PATTERN") == 0) { in read_legacy() 555 if (strcmp(name, "COREADM_GLOB_CONTENT") == 0) { in read_legacy() [all …]
|
/illumos-gate/usr/src/lib/print/libprint/common/ |
H A D | ns_bsd_addr.c | 179 if (strcmp(key, NS_KEY_BSDADDR) == 0) { in value_to_string() 181 } else if ((strcmp(key, NS_KEY_ALL) == 0) || in value_to_string() 182 (strcmp(key, NS_KEY_GROUP) == 0)) { in value_to_string() 184 } else if (strcmp(key, NS_KEY_LIST) == 0) { in value_to_string() 201 if (strcmp(key, NS_KEY_BSDADDR) == 0) { in string_to_value() 203 } else if ((strcmp(key, NS_KEY_ALL) == 0) || in string_to_value() 204 (strcmp(key, NS_KEY_GROUP) == 0)) { in string_to_value() 318 return (strcmp(a1->printer, a2->printer)); in ns_bsd_addr_cmp() 352 rc = strcmp(a1->printer, a2->printer); in ns_bsd_addr_cmp_local() 358 rc = strcmp(a1->pname, a2->pname); in ns_bsd_addr_cmp_local() [all …]
|
/illumos-gate/usr/src/cmd/krb5/ldap_util/ |
H A D | kdb5_ldap_util.c | 251 if (strcmp(cmd_table[i].name, name) == 0) 272 if (strcmp(cmd_table[i].name, name) == 0) 344 if (strcmp(*argv, "--help") == 0) { 347 if (strcmp(*argv, "-P") == 0 && ARG_VAL) { 350 } else if (strcmp(*argv, "-r") == 0 && ARG_VAL) { 360 } else if (strcmp(*argv, "-k") == 0 && ARG_VAL) { 367 } else if (strcmp(*argv, "-M") == 0 && ARG_VAL) { 373 } else if (strcmp(*argv, "-m") == 0) { 377 } else if (strcmp(*argv, "-D") == 0 && ARG_VAL) { 385 } else if (strcmp(*argv, "-w") == 0 && ARG_VAL) { [all …]
|
/illumos-gate/usr/src/lib/libproject/common/ |
H A D | getprojent.c | 158 (strcmp(member + 1, user) == 0 || in ismember() 159 strcmp(member + 1, "*") == 0)) in ismember() 161 if (strcmp(member, "*") == 0 || strcmp(member, user) == 0) in ismember() 176 strcmp(member + 1, "*") == 0)) in ismember() 178 if (strcmp(member, "*") == 0 || in ismember() 179 strcmp(member, groupname) == 0) in ismember() 187 if (strcmp(*u, user) == 0) in ismember() 284 if (strcmp("default", name) == 0) in _inproj() 292 if (strcmp(attrproj, name) == 0) { in _inproj() 309 if (strcmp(projname, name) == 0) in _inproj() [all …]
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | consplat.c | 124 } else if (strcmp(cons, "usb-serial") == 0) { in console_type() 136 } else if (strcmp(cons, "hypervisor") == 0) { in console_type() 274 if ((strcmp(dev_type, "isa") == 0) || (strcmp(dev_type, "eisa") == 0)) { in find_fb_dev() 279 if ((strcmp(dev_type, "pci") == 0) || in find_fb_dev() 280 (strcmp(dev_type, "pciex") == 0)) { in find_fb_dev() 297 if (strcmp(nodename, "pci") == 0) { in find_fb_dev() 317 if (strcmp(dev_type, "display") != 0) { in find_fb_dev() 331 if ((strcmp(parent_type, "isa") == 0) || in find_fb_dev() 332 (strcmp(parent_type, "eisa") == 0)) { in find_fb_dev() 338 if ((strcmp(parent_type, "pci") == 0) || in find_fb_dev() [all …]
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | Sun_sasGetPhyStatistics.c | 221 if (strcmp(kname->name, in Sun_sasGetPhyStatistics() 226 if (strcmp(kname->name, "TxFrames") == 0) { in Sun_sasGetPhyStatistics() 230 if (strcmp(kname->name, "RxFrames") == 0) { in Sun_sasGetPhyStatistics() 234 if (strcmp(kname->name, "TxWords") == 0) { in Sun_sasGetPhyStatistics() 238 if (strcmp(kname->name, "RxWords") == 0) { in Sun_sasGetPhyStatistics() 242 if (strcmp(kname->name, "InvalidDwordCount") == 0) { in Sun_sasGetPhyStatistics() 246 if (strcmp(kname->name, "RunningDisparityErrorCount") == 0) { in Sun_sasGetPhyStatistics() 250 if (strcmp(kname->name, "LossofDwordSyncCount") == 0) { in Sun_sasGetPhyStatistics() 254 if (strcmp(kname->name, "PhyResetProblemCount") == 0) { in Sun_sasGetPhyStatistics()
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | audit_plugin.c | 122 if (strcmp(option, "soft") == 0 || strcmp(option, "hard") == 0) in __audit_dowarn() 125 else if (strcmp(option, "allhard") == 0) in __audit_dowarn() 127 else if (strcmp(option, "plugin") == 0) in __audit_dowarn() 134 if (strcmp(option, "soft") == 0) in __audit_dowarn() 137 else if (strcmp(option, "hard") == 0) in __audit_dowarn() 140 else if (strcmp(option, "allhard") == 0) in __audit_dowarn()
|
/illumos-gate/usr/src/tools/cw/ |
H A D | cw.c | 455 (strcmp(ext, "cc") == 0) || in is_source_file() 456 (strcmp(ext, "i") == 0) || in is_source_file() 458 (strcmp(ext, "cpp") == 0)) { in is_source_file() 552 if (strcmp(arg, "-xwe") == 0) { in do_gcc() 557 if (strcmp(arg, "-nolib") == 0) { in do_gcc() 643 strcmp(arg, "-D_BOOT") == 0) in do_gcc() 665 if (strcmp(arg, "-mt") == 0) { in do_gcc() 669 if (strcmp(arg, "-m64") == 0) { in do_gcc() 677 if (strcmp(arg, "-m32") == 0) { in do_gcc() 744 if (strcmp(arg, "-Xs") == 0) { in do_gcc() [all …]
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | devattr.c | 119 if (strcmp(attribute, DTAB_ALIAS) == 0) { in devattr() 125 else if (strcmp(attribute, DTAB_CDEVICE) == 0) { in devattr() 131 else if (strcmp(attribute, DTAB_BDEVICE) == 0) { in devattr() 137 else if (strcmp(attribute, DTAB_PATHNAME) == 0) { in devattr() 151 if (strcmp(p->attr, attribute) == 0) { in devattr()
|
H A D | pkginfo.c | 206 if (strcmp(temp, "ARCH") == 0 || in rdconfig() 207 strcmp(temp, "CATEGORY") == 0) { in rdconfig() 219 if (strcmp(temp, "NAME") == 0) in rdconfig() 221 else if (strcmp(temp, "VERSION") == 0) in rdconfig() 223 else if (strcmp(temp, "ARCH") == 0) in rdconfig() 225 else if (strcmp(temp, "VENDOR") == 0) in rdconfig() 227 else if (strcmp(temp, "BASEDIR") == 0) in rdconfig() 229 else if (strcmp(temp, "CATEGORY") == 0) in rdconfig() 250 info->status = (strcmp(pkgdir, get_PKGLOC()) ? PI_SPOOLED : in rdconfig() 441 if (strcmp(temp, "ARCH") == 0) { in ckinfo() [all …]
|