Home
last modified time | relevance | path

Searched refs:strstr (Results 1 – 25 of 479) sorted by relevance

12345678910>>...20

/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.strstr.d35 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c));
38 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c));
41 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c));
44 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c));
47 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c));
50 strstr(str, "baz"), strstr(str, "zba"),
51 strstr(strstr(str, "baz"), strstr(str, "zba")));
54 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c));
57 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c));
61 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c));
[all …]
H A Dtst.strstr.d.out1 strstr("foobarbarbazbarbop", "foobarbarbazbarbop") = "foobarbarbazbarbop"
2 strstr("foobarbarbazbarbop", "baz") = "bazbarbop"
3 strstr("foobarbarbazbarbop", "bar") = "barbarbazbarbop"
4 strstr("foobarbarbazbarbop", "bazbarbop") = "bazbarbop"
5 strstr("foobarbarbazbarbop", "barba") = "barbarbazbarbop"
6 strstr("bazbarbop", "zbarbop") = "zbarbop"
7 strstr("foobarbarbazbarbop", "") = "foobarbarbazbarbop"
8 strstr("", "") = ""
9 strstr("f", "f") = "f"
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_ndd.c155 if (strstr(prop, "ethernet") == NULL) in bge_nd_init()
157 if (strstr(prop, "1000")) { in bge_nd_init()
158 if (strstr(prop, "auto")) { in bge_nd_init()
162 } else if (strstr(prop, "full")) in bge_nd_init()
164 else if (strstr(prop, "half")) in bge_nd_init()
166 } else if (strstr(prop, "100")) { in bge_nd_init()
167 if (strstr(prop, "auto")) { in bge_nd_init()
171 } else if (strstr(prop, "full")) in bge_nd_init()
173 else if (strstr(prop, "half")) in bge_nd_init()
175 } else if (strstr(prop, "10")) { in bge_nd_init()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/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)
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-cancel.c59 else if ((strstr(buf, "permission denied") != NULL) || in lpd_cancel_job()
60 (strstr(buf, "not-authorized") != NULL)) in lpd_cancel_job()
62 else if ((strstr(buf, "cancelled") != NULL) || in lpd_cancel_job()
63 (strstr(buf, "removed") != NULL)) in lpd_cancel_job()
93 if ((strstr(buf, "cancelled") != NULL) || in lpd_purge_jobs()
94 (strstr(buf, "removed") != NULL)) { in lpd_purge_jobs()
115 } else if (strstr(buf, "permission denied") != NULL) in lpd_purge_jobs()
/illumos-gate/usr/src/lib/libadm/common/
H A Dfulldevnm.c203 if ((dp = strstr(cp, "/rfd")) != NULL) { in getblkcomplete()
221 if ((dp = strstr(cp, "/rdiskette")) != NULL) { in getblkcomplete()
256 if ((dp = strstr(cp, "/fd")) != NULL) { in getrawcomplete()
275 if ((dp = strstr(cp, "/diskette")) != NULL) { in getrawcomplete()
377 if ((dp = strstr(cp, "/rdsk/")) == NULL && in getfullblkname()
378 (dp = strstr(cp, "/" LOFI_CHAR_NAME "/")) == NULL && in getfullblkname()
379 (dp = strstr(cp, "/" RD_CHAR_NAME "/")) == NULL && in getfullblkname()
380 (dp = strstr(cp, "/" SNAP_CHAR_NAME "/")) == NULL && in getfullblkname()
459 if ((dp = strstr(cp, "/dsk/")) == NULL && in getfullrawname()
460 (dp = strstr(cp, "/" LOFI_BLOCK_NAME "/")) == NULL && in getfullrawname()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dpoll_solaris.c198 if (strstr(str, "POLLIN")) events |= POLLIN; in poll_strtoevents()
199 if (strstr(str, "POLLRDNORM")) events |= POLLRDNORM; in poll_strtoevents()
200 if (strstr(str, "POLLRDBAND")) events |= POLLRDBAND; in poll_strtoevents()
201 if (strstr(str, "POLLPRI")) events |= POLLPRI; in poll_strtoevents()
202 if (strstr(str, "POLLOUT")) events |= POLLOUT; in poll_strtoevents()
203 if (strstr(str, "POLLWRNORM")) events |= POLLWRNORM; in poll_strtoevents()
204 if (strstr(str, "POLLWRBAND")) events |= POLLWRBAND; in poll_strtoevents()
205 if (strstr(str, "POLLERR")) events |= POLLERR; in poll_strtoevents()
206 if (strstr(str, "POLLHUP")) events |= POLLHUP; in poll_strtoevents()
207 if (strstr(str, "POLLNVAL")) events |= POLLNVAL; in poll_strtoevents()
/illumos-gate/usr/src/cmd/luxadm/
H A Dqlgcupdate.c229 if (strstr(utmpp->ut_line, "run-level") && in q_qlgc_update()
268 if (fflag && (strstr((char *)bootpath, in q_qlgc_update()
312 if (ptr1 = strstr(tmppath, IVORY_BUS)) { in q_qlgc_update()
313 if (ptr2 = strstr(ptr1, IVORY_DRVR)) { in q_qlgc_update()
408 if (strstr(&pcibus_list[index][0], fc_trans)) { in q_findversion()
450 } else if (strstr(&pcibus_list[index][0], fp_trans)) { in q_findversion()
491 if (strstr((char *)version, qlgc2100)) { in q_findversion()
493 } else if (strstr((char *)version, qlgc2200)) { in q_findversion()
495 if (strstr((char *)version, "Sbus")) { in q_findversion()
498 } else if (strstr((char *)version, qlgc2300)) { in q_findversion()
[all …]
H A Dfcalupdate.c606 if (p = strstr(buf, "/dev/dsk/")) { in getbootdev()
640 if (p = strstr(buf, "/devices")) { in getbootdev()
641 if (p1 = strstr(buf, "sbus")) { in getbootdev()
644 p2 = strstr(p1, "@"); in getbootdev()
648 if (p1 = strstr(buf, in getbootdev()
650 p2 = strstr(p1, "@"); in getbootdev()
859 if (strstr(devpath, ONBOARD_SOCAL)) in getsocpath()
862 if (strstr(devpath, SOCAL_STR)) { in getsocpath()
932 if (sp_tmp = strstr(sbussoc_list[*devcnt], SOCAL_STR)) { in loadsocpath()
/illumos-gate/usr/src/lib/libvolmgt/common/
H A Dvolprivate.c83 if (((s = strstr(n, "/rfd")) != NULL) || in volmgt_getfullblkname()
84 ((s = strstr(n, "/rdiskette")) != NULL) || in volmgt_getfullblkname()
85 ((s = strstr(n, "/rdsk/")) != NULL)) { in volmgt_getfullblkname()
138 if (((s = strstr(n, "/fd")) != NULL) || in volmgt_getfullrawname()
139 ((s = strstr(n, "/diskette")) != NULL) || in volmgt_getfullrawname()
140 ((s = strstr(n, "/dsk/")) != NULL)) { in volmgt_getfullrawname()
/illumos-gate/usr/src/cmd/hal/probing/acpi/
H A Dprobe-acpi.c61 if (strstr(udi, "_ac")) { in main()
63 } else if (strstr(udi, "_battery")) { in main()
65 } else if (strstr(udi, "_lid")) { in main()
67 } else if (strstr(udi, "_hotkey")) { in main()
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dhot.c236 if (strstr(path_phys, SCSI_VHCI) != NULL) { in g_force_lip()
278 if (strstr(fp_path, DRV_NAME_SSD) || in g_force_lip()
279 strstr(fp_path, SES_NAME) || in g_force_lip()
280 strstr(fp_path, DRV_NAME_ST)) { in g_force_lip()
460 if (strstr(dl->dev_path, SCSI_VHCI) == NULL) { in g_forcelip_all()
463 p = strstr(dl->dev_path, SLASH_SES); in g_forcelip_all()
465 p = strstr(dl->dev_path, SLSH_DRV_NAME_SSD); in g_forcelip_all()
467 p = strstr(dl->dev_path, in g_forcelip_all()
/illumos-gate/usr/src/head/iso/
H A Dstring_iso.h129 extern const char *strstr(const char *, const char *);
133 inline char *strstr(char *__s1, const char *__s2) { in strstr() function
134 return (char *)strstr((const char *)__s1, __s2); in strstr()
143 extern char *strstr(const char *, const char *);
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/
H A Dutil.c59 strstr(s1, s2) in strstr() function
159 found1 = strstr(local_entry, token1);
166 found2 = strstr(local_entry, token2);
171 found3 = strstr(local_entry, token3);
/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_misc.c306 if (strstr(mntp->mnt_special, tmp_path_name) != in check_and_unmount_vold()
509 if (strstr(mp->mnt_special, "/dev/fd") == NULL && in check_and_unmount_floppy()
510 strstr(mp->mnt_special, "/dev/disket") == NULL && in check_and_unmount_floppy()
511 strstr(mp->mnt_special, "/dev/c") == NULL) { in check_and_unmount_floppy()
1142 if (!strstr(sdev, "s2")) { in find_device()
1147 if (!(strstr(sdev, "s2") || strstr(sdev, "p0"))) { in find_device()
1151 if (!strstr(sdev, "p0")) { in find_device()
1170 if (strstr(dirent->d_name, tmpstr)) { in find_device()
1183 if (strstr(sn, "dev") == NULL) { in find_device()
1192 if (!strstr(tmpbuf, tmpstr)) { in find_device()
[all …]
/illumos-gate/usr/src/cmd/stmsboot/
H A Dstmsboot_util.c581 ((strstr(key, "/pci") != NULL) || in list_devs()
582 (strstr(key, "/sbus") != NULL) || in list_devs()
583 (strstr(key, "/scsi_vhci") != NULL) || in list_devs()
614 matchctrl = strstr(key, checkctrl); in list_devs()
640 (strstr(key, diskpath) == NULL) ? key : diskpath, in list_devs()
706 if ((strstr(prefixt, "/scsi_vhci") == NULL) && in report_map()
707 (strstr(prefixt, "/pci") == NULL) && in report_map()
708 (strstr(prefixt, "/sbus") == NULL)) { in report_map()
765 if (!mpxenabled && (strstr(argdev, "/pci") != NULL || in report_map()
766 strstr(argdev, "/sbus") != NULL)) { in report_map()
[all …]
/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dgetexecattr.c222 if (strstr(instr, _priv_exec->name) == NULL) in _exec_files_XY_all()
226 if (strstr(instr, _priv_exec->id) == NULL) in _exec_files_XY_all()
230 if ((strstr(instr, _priv_exec->name) == NULL) || in _exec_files_XY_all()
231 (strstr(instr, _priv_exec->id) == NULL)) in _exec_files_XY_all()
238 (strstr(instr, _priv_exec->policy) == NULL)) || in _exec_files_XY_all()
240 (strstr(instr, _priv_exec->type) == NULL))) in _exec_files_XY_all()
/illumos-gate/usr/src/lib/sun_sas/common/
H A Ddevlink_disco.c65 char *start = strstr(content, "/devices"); in get_devlink()
109 if (strstr(minor_path, "/devices") != NULL) { in convertDevpathToDevlink()
116 if (strstr(mappings->entry[j].ScsiId.OSDeviceName, in convertDevpathToDevlink()
206 subpath = strstr(buf, path); in lookupLink()
/illumos-gate/usr/src/cmd/rpcsvc/rpc.bootparamd/
H A Dbootparam_subr.c118 if (cp = strstr(clnt_entry, domainkey)) { in bootparamproc_whoami_1()
125 (cp = strstr(clnt_entry, domainkey))) { in bootparamproc_whoami_1()
195 cp = strstr(clnt_entry, filekey); in bootparamproc_getfile_1()
208 cp = strstr(clnt_entry, filekey); in bootparamproc_getfile_1()
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/
H A Ddesktop.c199 if ((name != NULL) && (strstr(name, "sbus"))) { in disp_fail_parts()
206 NULL) && (strstr(name, "pci"))) { in disp_fail_parts()
213 (strstr(type, "cpu"))) { in disp_fail_parts()
463 if ((!strstr(name, "ebus")) && (!strstr(name, "ide"))) in display_dev_node()
525 if (strstr(card.status, "fail") != NULL) in display_sbus()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/uctf/
H A Dtst.linkmap.ksh31 pid\$target:LM1\`ld.so.1:strstr:entry,
32 pid\$target:libc.so.1:strstr:entry
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/safety/
H A Dtst.strstr.d39 trace(strstr((char *)rand(), (char *)(rand() ^ vtimestamp)));
45 trace(strstr((char *)arg0, (char *)arg1));
/illumos-gate/usr/src/lib/sun_fc/common/
H A DHBAPort.cc123 char *start = strstr(content, "/devices"); in get_devlink()
164 if (strstr(minor_path, "/devices") != NULL) { in convertToShortNames()
173 if (strstr(mappings->entry[j].ScsiId.OSDeviceName, in convertToShortNames()
236 if (strstr(buf, path.c_str())) { in lookupControllerPath()
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Darch.c50 if ((strstr(buf, MSG_ORIG(MSG_ARCH_SPARCV9)) != NULL) || in conv_sys_eclass()
51 (strstr(buf, MSG_ORIG(MSG_ARCH_AMD64)) != NULL)) in conv_sys_eclass()
/illumos-gate/usr/src/cmd/allocate/
H A Dadd_allocatable.c318 if ((strstr(token, DAOPT_MINLABEL) == NULL) && in verify_label()
319 (strstr(token, DAOPT_MAXLABEL) == NULL)) { in verify_label()
409 (strstr(devinfo->devopts, DAOPT_MINLABEL) == NULL) || in check_args()
410 (strstr(devinfo->devopts, DAOPT_MAXLABEL) == NULL) || in check_args()
450 if (strstr(devinfo->devopts, DAOPT_MINLABEL) == NULL) { in check_args()
466 if (strstr(devinfo->devopts, DAOPT_MAXLABEL) == NULL) { in check_args()

12345678910>>...20