Searched refs:strstr (Results 1 - 25 of 200) sorted by relevance

12345678

/osnet-11/usr/src/lib/libast/common/comp/
H A Dstrstr.c25 __STDPP__directive pragma pp:hide strstr
27 #define strstr ______strstr
33 __STDPP__directive pragma pp:nohide strstr
35 #undef strstr
40 NoN(strstr)
49 strstr(register const char* s1, register const char* s2)
/osnet-11/usr/src/cmd/hal/probing/acpi/
H A Dprobe-acpi.c61 if (strstr(udi, "_ac")) {
63 } else if (strstr(udi, "_battery")) {
65 } else if (strstr(udi, "_lid")) {
67 } else if (strstr(udi, "_hotkey")) {
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dpoll_solaris.c198 if (strstr(str, "POLLIN")) events |= POLLIN;
199 if (strstr(str, "POLLRDNORM")) events |= POLLRDNORM;
200 if (strstr(str, "POLLRDBAND")) events |= POLLRDBAND;
201 if (strstr(str, "POLLPRI")) events |= POLLPRI;
202 if (strstr(str, "POLLOUT")) events |= POLLOUT;
203 if (strstr(str, "POLLWRNORM")) events |= POLLWRNORM;
204 if (strstr(str, "POLLWRBAND")) events |= POLLWRBAND;
205 if (strstr(str, "POLLERR")) events |= POLLERR;
206 if (strstr(str, "POLLHUP")) events |= POLLHUP;
207 if (strstr(st
[all...]
/osnet-11/usr/src/lib/libvolmgt/common/
H A Dvolprivate.c85 if (((s = strstr(n, "/rfd")) != NULL) ||
86 ((s = strstr(n, "/rdiskette")) != NULL) ||
87 ((s = strstr(n, "/rdsk/")) != NULL)) {
140 if (((s = strstr(n, "/fd")) != NULL) ||
141 ((s = strstr(n, "/diskette")) != NULL) ||
142 ((s = strstr(n, "/dsk/")) != NULL)) {
/osnet-11/usr/src/lib/libadm/common/
H A Dfulldevnm.c204 if ((dp = strstr(cp, "/rfd")) != NULL) {
222 if ((dp = strstr(cp, "/rdiskette")) != NULL) {
257 if ((dp = strstr(cp, "/fd")) != NULL) {
276 if ((dp = strstr(cp, "/diskette")) != NULL) {
378 if ((dp = strstr(cp, "/rdsk/")) == NULL &&
379 (dp = strstr(cp, "/" LOFI_CHAR_NAME "/")) == NULL &&
380 (dp = strstr(cp, "/" RD_CHAR_NAME "/")) == NULL &&
381 (dp = strstr(cp, "/" SNAP_CHAR_NAME "/")) == NULL &&
460 if ((dp = strstr(cp, "/dsk/")) == NULL &&
461 (dp = strstr(c
[all...]
/osnet-11/usr/src/lib/sun_sas/common/
H A Ddevlink_disco.c62 char *start = strstr(content, "/devices");
106 if (strstr(minor_path, "/devices") != NULL) {
113 if (strstr(mappings->entry[j].ScsiId.OSDeviceName,
203 subpath = strstr(buf, path);
H A DSun_sasRefreshAdapterConfiguration.c58 if ((strstr(fulldevpath, wa->devpath)) != NULL) {
H A DSun_sasRefreshInformation.c58 if ((strstr(fulldevpath, wa->devpath)) != NULL) {
H A Ddevtree_device_disco.c47 if ((strstr(devpath, "/st@")) || (strstr(devpath, "/tape@"))) {
49 } else if (strstr(devpath, "/smp@")) {
51 } else if ((strstr(devpath, "/ssd@")) || (strstr(devpath, "/sd@")) ||
52 (strstr(devpath, "/disk@"))) {
54 } else if ((strstr(devpath, "/ses@")) || (strstr(devpath,
387 if (strstr(mapping_ptr-> entry.ScsiId.
827 if (strstr(mapping_pt
[all...]
/osnet-11/usr/src/lib/storage/libg_fc/common/
H A Dhot.c236 if (strstr(path_phys, SCSI_VHCI) != NULL) {
278 if (strstr(fp_path, DRV_NAME_SSD) ||
279 strstr(fp_path, SES_NAME) ||
280 strstr(fp_path, DRV_NAME_ST)) {
460 if (strstr(dl->dev_path, SCSI_VHCI) == NULL) {
463 p = strstr(dl->dev_path, SLASH_SES);
465 p = strstr(dl->dev_path, SLSH_DRV_NAME_SSD);
467 p = strstr(dl->dev_path,
H A Dmpath.c103 if (strstr(dev_path, "/devices") == NULL) {
190 if ((strstr(path_phys, "/devices")) == NULL) {
194 if (((charptr3 = strstr(path_phys, SLSH_DRV_NAME_SSD)) == NULL) &&
195 ((charptr3 = strstr(path_phys, SLSH_DRV_NAME_ST)) == NULL)) {
212 } else if (strstr(path_phys, SCSI_VHCI) != NULL) {
580 if (strstr(dev_path, SCSI_VHCI) == NULL) {
692 if (strstr(client_physical_path, SCSI_VHCI) == NULL) {
/osnet-11/usr/src/cmd/hal/hald/solaris/
H A Dosspec.c141 if ((p = strstr (dsk, "/dsk/")) == NULL) {
142 if ((p = strstr (dsk, "/lofi/")) == NULL) {
143 p = strstr (dsk, "/diskette");
H A Ddevinfo_usb.c110 (strstr(lpath, devfs_path) != NULL)) {
298 if (p = strstr (devfs_path, "/hub@")) {
401 if (strstr (if_devfs_path, ":ia") == NULL) {
479 ((strstr(re, "hid") != NULL) || (strstr(re, "video") != NULL))) {
532 dev_videolink = get_usb_devlink(strstr(devlink, "usb"), "/dev/");
/osnet-11/usr/src/lib/libc/port/gen/
H A Dstrstr.c35 * strstr() locates the first occurrence in the string as1 of
37 * character) in the string as2. strstr() returns a pointer
43 strstr(const char *as1, const char *as2) function
/osnet-11/usr/src/lib/sun_fc/common/
H A DHBANPIVPort.cc99 if (strstr(buf, path.c_str())) {
H A DHBAPort.cc123 char *start = strstr(content, "/devices");
164 if (strstr(minor_path, "/devices") != NULL) {
173 if (strstr(mappings->entry[j].ScsiId.OSDeviceName,
236 if (strstr(buf, path.c_str())) {
/osnet-11/usr/src/lib/mpapi/libmpscsi_vhci/common/
H A Dmp_utils.c201 if (strstr(subClassName, "change")) {
245 } else if ((strstr(subClassName, "add")) ||
246 (strstr(subClassName, "initiator_register"))) {
287 } else if ((strstr(subClassName, "remove")) ||
288 (strstr(subClassName, "initiator_unregister"))) {
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dstring.in.h536 # define strstr rpl_strstr macro
538 _GL_FUNCDECL_RPL (strstr, char *, (const char *haystack, const char *needle)
541 _GL_CXXALIAS_RPL (strstr, char *, (const char *haystack, const char *needle));
544 extern "C++" { const char * strstr (const char *, const char *); }
545 extern "C++" { char * strstr (char *, const char *); } */
546 _GL_CXXALIAS_SYS_CAST2 (strstr,
552 _GL_CXXALIASWARN1 (strstr, char *, (char *haystack, const char *needle));
553 _GL_CXXALIASWARN1 (strstr, const char *,
556 _GL_CXXALIASWARN (strstr); variable
559 /* strstr() doe
563 # undef strstr macro
[all...]
/osnet-11/usr/src/grub/grub2/util/ieee1275/
H A Dofpath.c287 char *ed = strstr (sysfs_path, "end_device");
297 ed = strstr(p, "end_device");
352 if (strstr (of_path, "qlc"))
355 if (strstr (of_path, "sbus"))
/osnet-11/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_usb.h94 #define GET_DYN(a) (((a) != NULL) ? strstr((a), DYN_SEP) : (void *)0)
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dinuse_lu.c211 if ((devp = strstr(line, "fsDevice=\"")) == NULL) {
224 if ((nmp = strstr(ep + 1, "mountPoint=\"")) != NULL) {
270 if ((sp = strstr(line, "name=\"")) == NULL) {
/osnet-11/usr/src/lib/libfsmgt/common/
H A Dfs_shares.c160 if (strstr(strptr, "sec=") != NULL) {
165 next_str = strstr(strptr, "sec=");
171 next_str = strstr(strptr + 4, "sec=");
/osnet-11/usr/src/lib/pam_modules/krb5_migrate/
H A Dkrb5_migrate_authenticate.c87 } else if ((strstr(argv[i], "client_service=") != NULL) &&
88 (strcmp((strstr(argv[i], "=") + 1), "") != 0)) {
89 service = strdup(strstr(argv[i], "=") + 1);
/osnet-11/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_ib.c232 char *start = strstr(content, "/devices/");
505 if (strstr((char *)ap_id, IBNEX_FABRIC) != NULL) {
513 if (strstr(l_ap_id, "...") != NULL) {
519 if (strstr(l_ap_id, "..") != NULL) {
887 if (strstr((char *)ap_id, IB_FABRIC_APID_STR) == NULL)
1056 char *fab_apid = strstr((char *)ap_id, IBNEX_FABRIC);
1468 (fab_apid != NULL && strstr(fab_apid, ",") != NULL)) {
1569 if (strstr(ap_id_log, CFGA_DEV_DIR) == NULL) {
1587 if (strstr((char *)ap_id, IB_FABRIC_APID_STR) != NULL) {
1680 (strstr((cha
[all...]
/osnet-11/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_cvt.c222 if ((cp = strstr(devfs_phys, MINOR_SEP)) != NULL) {
373 (strstr(path_name, "@g") == NULL)) {
479 (strstr(path_name, "@w") == NULL)) {
722 is_scsi_vhci_dev = (strstr(path_name, SCSI_VHCI_DRVR) != NULL) ? 1 : 0;
737 (strstr(path_name, "@g") == NULL)) {
748 (strstr(path_name, "@w") == NULL)) {

Completed in 155 milliseconds

12345678