Home
last modified time | relevance | path

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

12345678910>>...21

/titanic_41/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.strstr.d37 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c));
40 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c));
43 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c));
46 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c));
49 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c));
52 strstr(str, "baz"), strstr(str, "zba"),
53 strstr(strstr(str, "baz"), strstr(str, "zba")));
56 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c));
59 printf("strstr(\"%s\", \"%s\") = \"%s\"\n", str, c, strstr(str, c));
63 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"
/titanic_41/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 …]
/titanic_41/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)
/titanic_41/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()
/titanic_41/usr/src/lib/libadm/common/
H A Dfulldevnm.c204 if ((dp = strstr(cp, "/rfd")) != NULL) { in getblkcomplete()
222 if ((dp = strstr(cp, "/rdiskette")) != NULL) { in getblkcomplete()
257 if ((dp = strstr(cp, "/fd")) != NULL) { in getrawcomplete()
276 if ((dp = strstr(cp, "/diskette")) != NULL) { in getrawcomplete()
378 if ((dp = strstr(cp, "/rdsk/")) == NULL && in getfullblkname()
379 (dp = strstr(cp, "/" LOFI_CHAR_NAME "/")) == NULL && in getfullblkname()
380 (dp = strstr(cp, "/" RD_CHAR_NAME "/")) == NULL && in getfullblkname()
381 (dp = strstr(cp, "/" SNAP_CHAR_NAME "/")) == NULL && in getfullblkname()
460 if ((dp = strstr(cp, "/dsk/")) == NULL && in getfullrawname()
461 (dp = strstr(cp, "/" LOFI_BLOCK_NAME "/")) == NULL && in getfullrawname()
[all …]
/titanic_41/usr/src/lib/libshell/common/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()
/titanic_41/usr/src/lib/libvolmgt/common/
H A Dvolprivate.c85 if (((s = strstr(n, "/rfd")) != NULL) || in volmgt_getfullblkname()
86 ((s = strstr(n, "/rdiskette")) != NULL) || in volmgt_getfullblkname()
87 ((s = strstr(n, "/rdsk/")) != NULL)) { in volmgt_getfullblkname()
140 if (((s = strstr(n, "/fd")) != NULL) || in volmgt_getfullrawname()
141 ((s = strstr(n, "/diskette")) != NULL) || in volmgt_getfullrawname()
142 ((s = strstr(n, "/dsk/")) != NULL)) { in volmgt_getfullrawname()
/titanic_41/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 …]
/titanic_41/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()
/titanic_41/usr/src/head/iso/
H A Dstring_iso.h135 extern const char *strstr(const char *, const char *);
139 inline char *strstr(char *__s1, const char *__s2) { in strstr() function
140 return (char *)strstr((const char *)__s1, __s2); in strstr()
149 extern char *strstr(const char *, const char *);
/titanic_41/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()
/titanic_41/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dbsd-cygwin_util.c47 #define ntsec_on(c) ((c) && strstr((c),"ntsec") && !strstr((c),"nontsec"))
48 #define ntea_on(c) ((c) && strstr((c),"ntea") && !strstr((c),"nontea"))
/titanic_41/usr/src/cmd/krb5/kadmin/dbutil/
H A Dutil.c61 strstr(s1, s2) in strstr() function
161 found1 = strstr(local_entry, token1);
168 found2 = strstr(local_entry, token2);
173 found3 = strstr(local_entry, token3);
/titanic_41/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()
1140 if (!strstr(sdev, "s2")) { in find_device()
1145 if (!(strstr(sdev, "s2") || strstr(sdev, "p0"))) { in find_device()
1149 if (!strstr(sdev, "p0")) { in find_device()
1168 if (strstr(dirent->d_name, tmpstr)) { in find_device()
1181 if (strstr(sn, "dev") == NULL) { in find_device()
1190 if (!strstr(tmpbuf, tmpstr)) { in find_device()
[all …]
/titanic_41/usr/src/cmd/stmsboot/
H A Dstmsboot_util.c575 ((strstr(key, "/pci") != NULL) || in list_devs()
576 (strstr(key, "/sbus") != NULL) || in list_devs()
577 (strstr(key, "/scsi_vhci") != NULL) || in list_devs()
608 matchctrl = strstr(key, checkctrl); in list_devs()
634 (strstr(key, diskpath) == NULL) ? key : diskpath, in list_devs()
700 if ((strstr(prefixt, "/scsi_vhci") == NULL) && in report_map()
701 (strstr(prefixt, "/pci") == NULL) && in report_map()
702 (strstr(prefixt, "/sbus") == NULL)) { in report_map()
759 if (!mpxenabled && (strstr(argdev, "/pci") != NULL || in report_map()
760 strstr(argdev, "/sbus") != NULL)) { in report_map()
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/
H A Dpiclscsi.c354 if (len && strstr(ap, scsi_dirlink_names[i-1])) in get_bus_addr()
364 if (len && strstr(ap, scsi_drv[i-1].drv_name)) in get_bus_addr()
373 if (strstr(ap, "/c")) { in get_bus_addr()
374 if (strstr(ap, "s0") == NULL) in get_bus_addr()
428 if (strstr(curr->data->ap_phys_id, path) == NULL) { in dyn_probe_for_scsi_frus()
440 if (strstr(cfgalist[i].ap_log_id, in dyn_probe_for_scsi_frus()
445 if (strstr(cfgalist[i].ap_phys_id, path) == NULL) { in dyn_probe_for_scsi_frus()
496 if (strstr(curr->data->ap_phys_id, path) == NULL) { in cache_probe_for_scsi_frus()
507 if (strstr(cfglist[i].ap_log_id, in cache_probe_for_scsi_frus()
512 if (strstr(cfglist[i].ap_phys_id, path) == NULL) { in cache_probe_for_scsi_frus()
[all …]
/titanic_41/usr/src/lib/nsswitch/files/common/
H A Dgetexecattr.c207 if (strstr(instr, _priv_exec->name) == NULL) in _exec_files_XY_all()
211 if (strstr(instr, _priv_exec->id) == NULL) in _exec_files_XY_all()
215 if ((strstr(instr, _priv_exec->name) == NULL) || in _exec_files_XY_all()
216 (strstr(instr, _priv_exec->id) == NULL)) in _exec_files_XY_all()
223 (strstr(instr, _priv_exec->policy) == NULL)) || in _exec_files_XY_all()
225 (strstr(instr, _priv_exec->type) == NULL))) in _exec_files_XY_all()
/titanic_41/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
/titanic_41/usr/src/lib/sun_sas/common/
H A Ddevlink_disco.c62 char *start = strstr(content, "/devices"); in get_devlink()
106 if (strstr(minor_path, "/devices") != NULL) { in convertDevpathToDevlink()
113 if (strstr(mappings->entry[j].ScsiId.OSDeviceName, in convertDevpathToDevlink()
203 subpath = strstr(buf, path); in lookupLink()
/titanic_41/usr/src/cmd/dtrace/test/tst/common/safety/
H A Dtst.strstr.d41 trace(strstr((char *)rand(), (char *)(rand() ^ vtimestamp)));
47 trace(strstr((char *)arg0, (char *)arg1));
/titanic_41/usr/src/cmd/sgs/libconv/common/
H A Darch.c51 if ((strstr(buf, MSG_ORIG(MSG_ARCH_SPARCV9)) != NULL) || in conv_sys_eclass()
52 (strstr(buf, MSG_ORIG(MSG_ARCH_AMD64)) != NULL)) in conv_sys_eclass()
/titanic_41/usr/src/cmd/rpcsvc/rpc.bootparamd/
H A Dbootparam_subr.c119 if (cp = strstr(clnt_entry, domainkey)) { in bootparamproc_whoami_1()
126 (cp = strstr(clnt_entry, domainkey))) { in bootparamproc_whoami_1()
196 cp = strstr(clnt_entry, filekey); in bootparamproc_getfile_1()
209 cp = strstr(clnt_entry, filekey); in bootparamproc_getfile_1()
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/desktop/common/
H A Ddesktop.c213 if ((name != NULL) && (strstr(name, "sbus"))) { in disp_fail_parts()
220 NULL) && (strstr(name, "pci"))) { in disp_fail_parts()
227 (strstr(type, "cpu"))) { in disp_fail_parts()
491 if ((!strstr(name, "ebus")) && (!strstr(name, "ide"))) in display_dev_node()
553 if (strstr(card.status, "fail") != NULL) in display_sbus()
/titanic_41/usr/src/cmd/dtrace/test/tst/common/sysevent/
H A Dtst.post_chan.d48 /strstr(args[1]->se_publisher, "vendor_dtest") == NULL/
56 /strstr(args[1]->se_publisher, "publisher_dtest") == NULL/

12345678910>>...21