HomeSort by: relevance | last modified time | path
    Searched refs:strpbrk (Results 1 - 25 of 267) sorted by relevancy

1 2 3 4 5 6 7 8 91011

  /src/tests/lib/libc/string/
t_strpbrk.c 38 ATF_TC(strpbrk); variable
39 ATF_TC_HEAD(strpbrk, tc)
41 atf_tc_set_md_var(tc, "descr", "Test strpbrk(3)");
44 ATF_TC_BODY(strpbrk, tc)
48 ATF_CHECK_EQ(strpbrk(s, ""), NULL);
49 ATF_CHECK_EQ(strpbrk(s, "qrst"), NULL);
50 ATF_CHECK_EQ(strpbrk(s, "a"), s);
51 ATF_CHECK_EQ(strpbrk(s, "b"), s + 1);
52 ATF_CHECK_EQ(strpbrk(s, "ab"), s);
53 ATF_CHECK_EQ(strpbrk(s, "cdef"), s + 2)
    [all...]
  /src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
strpbrk.h 20 /* Get strpbrk() declaration. */
26 extern char *strpbrk (const char *s, const char *accept);
strpbrk.c 26 #undef strpbrk macro
30 strpbrk (const char *s, const char *accept) function
w32spawn.h 29 #include "strpbrk.h"
104 else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL)
106 bool quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL);
  /src/external/cddl/osnet/sys/sys/
string.h 34 char *strpbrk(const char *, const char *);
  /src/external/bsd/libbind/dist/bsd/
strpbrk.c 1 /* $NetBSD: strpbrk.c,v 1.1.1.2 2012/09/09 16:07:42 christos Exp $ */
4 static const char sccsid[] = "@(#)strpbrk.c 8.1 (Berkeley) 6/4/93";
5 static const char rcsid[] = "Id: strpbrk.c,v 1.2 2005/04/27 04:56:12 sra Exp ";
58 strpbrk(const char *s1, const char *s2) { function
  /src/external/bsd/nvi/dist/clib/
strpbrk.c 37 static const char sccsid[] = "@(#)strpbrk.c 8.1 (Berkeley) 6/4/93";
40 __RCSID("$NetBSD: strpbrk.c,v 1.2 2014/01/26 21:43:45 christos Exp $");
49 * PUBLIC: char *strpbrk __P((const char *, const char *));
53 strpbrk(register const char *s1, register const char *s2) function
  /src/external/bsd/tcpdump/dist/missing/
getservent.c 107 cp = strpbrk(p, "#\n");
112 p = strpbrk(p, " \t");
118 cp = strpbrk(p, ",/");
125 cp = strpbrk(cp, " \t");
135 cp = strpbrk(cp, " \t");
  /src/external/gpl2/gmake/dist/w32/
pathstuff.c 52 for (p = Path, etok = strpbrk(p, ":;");
54 etok = strpbrk(p, ":;"))
66 } else if ((*etok == ':') && (etok = strpbrk(etok+1, ":;"))) {
138 for (p = path, etok = strpbrk(p, ":;"), count = 0;
140 etok = strpbrk(p, ":;"))
146 } else if (etok = strpbrk(etok+1, ":;"))
173 for (p = path, etok = strpbrk(p, ":;");
175 etok = strpbrk(p, ":;")) {
183 } else if ((etok = strpbrk(etok+1, ":;")) == NULL)
  /src/lib/libc/net/
getnetent.c 133 cp = strpbrk(p, "#\n");
138 cp = strpbrk(p, " \t");
144 p = strpbrk(cp, " \t");
159 cp = strpbrk(cp, " \t");
getprotoent_r.c 103 cp = strpbrk(p, " \t");
109 p = strpbrk(cp, " \t");
139 cp = strpbrk(cp, " \t");
  /src/external/apache2/llvm/dist/libcxx/include/
string.h 40 const char* strpbrk(const char* s1, const char* s2);
41 char* strpbrk( char* s1, const char* s2);
80 char* __libcpp_strpbrk(const char* __s1, const char* __s2) {return (char*)strpbrk(__s1, __s2);}
82 const char* strpbrk(const char* __s1, const char* __s2) {return __libcpp_strpbrk(__s1, __s2);} function
84 char* strpbrk( char* __s1, const char* __s2) {return __libcpp_strpbrk(__s1, __s2);} function
  /src/external/gpl3/gdb/dist/gnulib/import/
strtok_r.c 61 s = strpbrk (token, delim);
  /src/external/gpl3/gdb.old/dist/gnulib/import/
strtok_r.c 61 s = strpbrk (token, delim);
  /src/lib/libbluetooth/
bluetooth.c 121 if ((cp = strpbrk(p, "#\n")) == NULL)
124 if ((cp = strpbrk(p, " \t")) == NULL)
138 if ((cp = strpbrk(cp, " \t")) != NULL)
147 if ((cp = strpbrk(cp, " \t")) != NULL)
225 if ((cp = strpbrk(p, "#\n")) == NULL)
229 if ((cp = strpbrk(p, " \t")) == NULL)
234 if ((p = strpbrk(cp, " \t")) != NULL)
247 if ((cp = strpbrk(cp, " \t")) != NULL)
  /src/tests/usr.bin/xlint/lint1/
msg_346.c 12 char *strpbrk(const char *, const char *); /* C99 7.21.5.4 */
49 /* expect+1: warning: call to 'strpbrk' effectively discards 'const' from argument [346] */
50 take_char_ptr(strpbrk("string", "c"));
  /src/external/mpl/bind/dist/lib/isccfg/
duration.c 75 T = strpbrk(str, "Tt");
78 X = strpbrk(str, "Yy");
95 X = strpbrk(str, "Mm");
116 X = strpbrk(str, "Dd");
138 X = strpbrk(str, "Hh");
154 X = strpbrk(str, "Mm");
175 X = strpbrk(str, "Ss");
191 W = strpbrk(buf, "Ww");
  /src/lib/libc/rpc/
getrpcent.c 194 cp = strpbrk(p, "#\n");
198 cp = strpbrk(p, " \t");
208 cp = strpbrk(cp, " \t");
218 cp = strpbrk(cp, " \t");
  /src/external/bsd/pkg_install/dist/lib/
str.c 101 return strpbrk(pkg, "<>[]?*{") != NULL;
opattern.c 149 if (strpbrk(pattern, "<>") != (char *) NULL) {
158 if (strpbrk(pattern, "*?[]") != (char *) NULL) {
  /src/external/cddl/osnet/sys/kern/
string.c 38 strpbrk(const char *s, const char *b) function
  /src/external/gpl3/gcc/dist/libstdc++-v3/include/c_compatibility/
string.h 49 using std::strpbrk;
  /src/external/gpl3/gcc.old/dist/libstdc++-v3/include/c_compatibility/
string.h 49 using std::strpbrk;
  /src/common/lib/libc/string/
strpbrk.c 1 /* $NetBSD: strpbrk.c,v 1.3 2024/01/20 14:55:11 christos Exp $ */
29 __RCSID("$NetBSD: strpbrk.c,v 1.3 2024/01/20 14:55:11 christos Exp $");
53 strpbrk(const char *s, const char *charset) function
  /src/distrib/utils/libhack/
gethost.c 161 if (!(cp = strpbrk(p, "#\n")))
164 if (!(cp = strpbrk(p, " \t")))
198 if ((cp = strpbrk(name = cp, " \t")) != NULL)
209 if ((cp = strpbrk(cp, " \t")) != NULL)

Completed in 37 milliseconds

1 2 3 4 5 6 7 8 91011