/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | strncmp.c | 39 strncmp(const char *s1, const char *s2, size_t n) in strncmp() function
|
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_cs.c | 232 int ret = strncmp(lunlistp->path, SCSI_VHCI_ROOT, in dev_rcm_offline() 301 int ret = strncmp(lunlistp->path, SCSI_VHCI_ROOT, in dev_rcm_remove() 351 if (strncmp(path, SCSI_VHCI_ROOT, strlen(SCSI_VHCI_ROOT)) == 0) { in lun_unconf() 443 if (strncmp(lunlistp->path, SCSI_VHCI_ROOT, in dev_unconf() 523 if (strncmp(lunlistp->path, SCSI_VHCI_ROOT, in is_xport_phys_in_pathlist() 562 if (strncmp(vhci_path_ptr, node_path, in is_xport_phys_in_pathlist() 610 if ((strncmp(phci_path, pathname_ptr, in is_xport_phys_in_pathlist() 655 if (strncmp(lunlistp->path, SCSI_VHCI_ROOT, in is_xport_phys_in_pathlist() 1439 if (strncmp(pathname, DEVICES_DIR, strlen(DEVICES_DIR))) { in unconf_any_devinfo_nodes()
|
H A D | cfga_list.c | 1270 if (strncmp(port_wwn, lap->apidp->dyncomp, in stat_fc_dev() 1388 if (strncmp(port_wwn, lap->apidp->dyncomp, in stat_FCP_dev() 2007 if (strncmp(port_wwn, lap->apidp->dyncomp, in stat_path_info_fc_dev() 2771 if (!(strncmp(port_wwn, dyncomp, WWN_SIZE*2))) { in is_dyn_ap_on_ldata_list() 2816 (strncmp(dyncomp, port_wwn, WWN_SIZE*2) == 0)) { in is_FCP_dev_ap_on_ldata_list() 3200 if ((str_ret = strncmp(dyncomp, in init_ldata_for_accessible_FCP_dev() 3243 if ((str_ret = strncmp(dyncomp, port_wwn, in init_ldata_for_accessible_FCP_dev() 3252 if ((str_ret = strncmp(dyncomp, in init_ldata_for_accessible_FCP_dev() 3560 (strncmp(dyncomp, port_wwn, WWN_SIZE*2) >= 0)) { in insert_fc_dev_ldata() 3612 (strncmp(dyncomp, port_wwn, WWN_SIZE*2) == 0)) { in insert_FCP_dev_ldata() [all …]
|
/illumos-gate/usr/src/cmd/msgfmt/ |
H A D | xgettext.c | 1003 if (strncmp("msgid ", line, 6) == 0) { in trim_line() 1005 } else if (strncmp("msgstr ", line, 7) == 0) { in trim_line() 1007 } else if (strncmp("# ", line, 2) == 0) { in trim_line() 1070 } else if (strncmp(line, "msgstr", 6) == 0) { in read_exclude_file() 1072 } else if (strncmp(line, "domain", 6) == 0) { in read_exclude_file() 1074 } else if (strncmp(line, "msgid", 5) == 0) { in read_exclude_file() 1772 } else if (strncmp(line, "domain", 6) == 0) { in read_po() 1775 } else if (strncmp(line, "msgid", 5) == 0) { in read_po() 1788 } else if (strncmp(line, "msgstr", 6) == 0) { in read_po()
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_fmri.c | 150 if (strncmp(fmristr, "path://", 7) == 0) { in topo_fmri_str2nvl() 875 if (strncmp(auth + 1, hc_auth_table[i], len) == 0 && in hc_auth_to_type() 895 if (strncmp(fmri, "hc://", 5) != 0) in topo_fmri_strhash_internal() 982 if (strncmp(a, "hc://", 5) != 0 || in topo_fmri_strcmp_internal() 983 strncmp(b, "hc://", 5) != 0) in topo_fmri_strcmp_internal() 1019 if (strncmp(autha[i], authb[i], authlena[i]) != 0) in topo_fmri_strcmp_internal() 1027 if (strncmp(fmria, SES_ENCLOSURE, sizeof (SES_ENCLOSURE) - 1) == 0 && in topo_fmri_strcmp_internal() 1028 strncmp(fmrib, SES_ENCLOSURE, sizeof (SES_ENCLOSURE) - 1) == 0) { in topo_fmri_strcmp_internal()
|
/illumos-gate/usr/src/cmd/cmd-crypto/cryptoadm/ |
H A D | cryptoadm.c | 299 if (strncmp(argv[c], METASLOT_KEYWORD, in get_provider() 303 } else if (strncmp(argv[c], KN_PROVIDER, in get_provider() 374 if ((strncmp(argv[c], KN_MECH, strlen(KN_MECH)) == 0) && in process_metaslot_operands() 383 } else if ((strncmp(argv[c], KN_TOKEN, in process_metaslot_operands() 397 } else if ((strncmp(argv[c], KN_SLOT, in process_metaslot_operands() 412 } else if (strncmp(argv[c], KN_DEFAULT_KS, in process_metaslot_operands() 420 } else if (strncmp(argv[c], KN_AUTO_KEY_MIGRATE, in process_metaslot_operands() 479 if ((strncmp(argv[c], KN_MECH, strlen(KN_MECH)) == 0) && in process_mech_operands()
|
/illumos-gate/usr/src/uts/intel/pcbe/ |
H A D | core_pcbe.c | 1096 (strncmp("PAPI_", event, 5) == 0)) { in configure_gpc() 1193 if (strncmp(attrs[i].ka_name, "umask", 6) == 0) { in configure_gpc() 1204 } else if (strncmp(attrs[i].ka_name, "edge", 6) == 0) { in configure_gpc() 1207 } else if (strncmp(attrs[i].ka_name, "inv", 4) == 0) { in configure_gpc() 1210 } else if (strncmp(attrs[i].ka_name, "cmask", 6) == 0) { in configure_gpc() 1217 } else if (strncmp(attrs[i].ka_name, "anythr", 7) == in configure_gpc() 1275 if (strncmp(attrs[i].ka_name, "anythr", 7) == 0) { in configure_ffc()
|
/illumos-gate/usr/src/boot/libsa/string/ |
H A D | strncmp.c | 39 strncmp(const char *s1, const char *s2, size_t n) in strncmp() function
|
H A D | strstr.c | 57 } while (strncmp(s, find, len) != 0); in strstr()
|
/illumos-gate/usr/src/cmd/krb5/kwarn/ |
H A D | kwarnd_proc.c | 843 if (strncmp(rcp3, ubuf->ut_user, in loggedon() 1013 if (strncmp(ce->where_to, in kwarnd_check_warning_list() 1045 } else if (strncmp(ce->where_to, in kwarnd_check_warning_list() 1052 } else if (send_msg && strncmp(ce->where_to, in kwarnd_check_warning_list() 1059 } else if (strncmp(ce->where_to, in kwarnd_check_warning_list()
|
/illumos-gate/usr/src/cmd/cron/ |
H A D | crontab.c | 463 if (strncmp(&line[cursor], ENV_TZ, strlen(ENV_TZ)) == 0) { in copycron() 478 } else if (strncmp(&line[cursor], ENV_SHELL, in copycron() 494 } else if (strncmp(&line[cursor], ENV_HOME, in copycron() 510 } else if (strncmp(&line[cursor], ENV_RANDOM_DELAY, in copycron()
|
/illumos-gate/usr/src/cmd/pcieadm/ |
H A D | pcieadm.c | 154 if (strncmp("pci", name, 3) == 0) { in pcieadm_di_node_is_pci() 165 if (strncmp("pciclass,", compat, strlen("pciclass,")) == 0 || in pcieadm_di_node_is_pci() 166 strncmp("pciexclass,", compat, strlen("pciexclass,")) == in pcieadm_di_node_is_pci() 280 if (strncmp("/devices", device, strlen("/devices")) == 0) { in pcieadm_find_dip()
|
/illumos-gate/usr/src/lib/libsecdb/common/ |
H A D | chkauthattr.c | 317 (strncmp(pattern, auth, pattern_len) == 0)) { in _auth_match_noun() 333 if (strncmp(pattern, auth, pattern_len - 1) == 0) { in _auth_match_noun() 336 if (strncmp(grant + 1, "grant", 5) != 0) in _auth_match_noun()
|
/illumos-gate/usr/src/lib/libtsol/common/ |
H A D | getpathbylabel.c | 71 if (strncmp(pref, full, preflen) != 0) in pathsuffix() 325 if (strncmp(mnt->mnt_mountp, p, mp_len) == 0) { in getnfspathbyautofs() 424 (strncmp(path, "/home/", strlen("/home/")) == 0)) { in getglobalpath()
|
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaSlotManager.c | 245 if (strncmp((char *)SOFT_SLOT_DESCRIPTION, in meta_slotManager_find_object_token() 274 if (strncmp((char *)slot, in meta_slotManager_find_object_token() 307 if (strncmp((char *)token, (char *)tokeninfo.label, in meta_slotManager_find_object_token()
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | bootdev.c | 237 strncmp(dev_path, "/devices/", 9) != 0) { in i_devname_to_promname() 443 if (strncmp(name, "/dev/", 5) != 0 && in resolve_devfs_name() 444 strncmp(name, "/devices/", 9) != 0) { in resolve_devfs_name()
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | sendmail.c | 247 if (n == 0 || (ttyf && !strncmp(buf, ".\n", 2))) { in sendmail() 287 if (n == 0 || (ttyf && !strncmp(buf, ".\n", 2))) { in sendmail() 366 if (!strncmp("***** UNDELIVERABLE MAIL sent to", buf, 32)) { in sendmail()
|
/illumos-gate/usr/src/cmd/fm/modules/common/fdd-msg/ |
H A D | fdd_msg.c | 151 if (strncmp(ci.vendor, cl->vendor, in get_cap_conf() 276 (strncmp(isa, "i386", 4) != 0)) in _fmd_init()
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | diag.c | 100 if ((strncmp((char *)&inq.inq_pid[0], DAK_OFF_NAME, in print_ssd_in_box() 102 (strncmp((char *)&inq.inq_pid[0], DAK_PROD_STR, in print_ssd_in_box()
|
/illumos-gate/usr/src/common/fsreparse/ |
H A D | fs_reparse.c | 204 if (strncmp(reparse_data, FS_REPARSE_TAG_STR, in reparse_validate_create_nvlist() 238 if (strncmp(s_str, FS_TOKEN_START_STR, in reparse_validate_create_nvlist()
|
/illumos-gate/usr/src/cmd/sendmail/util/ |
H A D | mailcompat.c | 141 if (in_body && (strncmp(line, "From ", 5) == 0)) 159 strncmp(line, "From ", 5) != 0)
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | term_tag.c | 204 if (strncmp(tag_files.ofn, "/tmp/man.", 9) == 0) { in term_tag_unlink() 208 if (strncmp(tag_files.tfn, "/tmp/man.", 9) == 0) { in term_tag_unlink()
|
/illumos-gate/usr/src/cmd/oamuser/user/ |
H A D | isbusy.c | 56 if ((strncmp(login, utxptr->ut_user, in isbusy()
|
/illumos-gate/usr/src/lib/libuutil/common/ |
H A D | uu_string.c | 55 return (strncmp(a, b, strlen(b)) == 0); in uu_strbw()
|
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | hotplug_mgr.c | 439 if (strncmp(dev_path, DEVICES_PREFIX, 8) == 0) in disk_match_by_device_path() 458 if (strncmp(app, DEVICES_PREFIX, 8) == 0) in disk_match_by_device_path() 480 if (strncmp(ap_id, DEVICES_PREFIX, 8 /* strlen("/devices") */) == 0) in disk_match_by_ap_id() 510 if (strncmp(target_path, DEVICES_PREFIX, 8) == 0) in disk_match_by_target_id()
|