Home
last modified time | relevance | path

Searched refs:strpbrk (Results 1 – 25 of 130) sorted by relevance

123456

/NextBSD/contrib/netbsd-tests/lib/libc/string/
HDt_strpbrk.c38 ATF_TC(strpbrk);
39 ATF_TC_HEAD(strpbrk, tc) in ATF_TC_HEAD() argument
44 ATF_TC_BODY(strpbrk, tc) in ATF_TC_BODY() argument
48 ATF_CHECK_EQ(strpbrk(s, ""), NULL); in ATF_TC_BODY()
49 ATF_CHECK_EQ(strpbrk(s, "qrst"), NULL); in ATF_TC_BODY()
50 ATF_CHECK_EQ(strpbrk(s, "a"), s); in ATF_TC_BODY()
51 ATF_CHECK_EQ(strpbrk(s, "b"), s + 1); in ATF_TC_BODY()
52 ATF_CHECK_EQ(strpbrk(s, "ab"), s); in ATF_TC_BODY()
53 ATF_CHECK_EQ(strpbrk(s, "cdef"), s + 2); in ATF_TC_BODY()
54 ATF_CHECK_EQ(strpbrk(s, "fedc"), s + 2); in ATF_TC_BODY()
[all …]
/NextBSD/lib/libbluetooth/
HDbluetooth.c118 if ((cp = strpbrk(p, "#\n")) == NULL) in bt_gethostent()
121 if ((cp = strpbrk(p, " \t")) == NULL) in bt_gethostent()
135 if ((cp = strpbrk(cp, " \t")) != NULL) in bt_gethostent()
144 if ((cp = strpbrk(cp, " \t")) != NULL) in bt_gethostent()
222 if ((cp = strpbrk(p, "#\n")) == NULL) in bt_getprotoent()
226 if ((cp = strpbrk(p, " \t")) == NULL) in bt_getprotoent()
231 if ((p = strpbrk(cp, " \t")) != NULL) in bt_getprotoent()
244 if ((cp = strpbrk(cp, " \t")) != NULL) in bt_getprotoent()
/NextBSD/contrib/libstdc++/include/c_std/
Dstd_cstring.h69 #undef strpbrk
110 using ::strpbrk;
113 strpbrk(char* __s1, const char* __s2) in strpbrk() function
/NextBSD/contrib/libc++/include/
Dcstring44 const char* strpbrk(const char* s1, const char* s2);
45 char* strpbrk( char* s1, const char* s2);
88 using ::strpbrk;
99 inline _LIBCPP_INLINE_VISIBILITY char* strpbrk( char* __s1, const char* __s2) {return ::
/NextBSD/libexec/mknetid/
HDmknetid.c248 if (!(hptr = strpbrk(ptr, "#\n"))) in main()
251 if (!(hptr = strpbrk(ptr, " \t"))) in main()
257 if (!(hptr = strpbrk(ptr, " \t"))) in main()
284 if ((ptr = strpbrk((char*)&readbuf, " \t")) == NULL) { in main()
/NextBSD/lib/libc/net/
HDgetnetbyht.c100 cp = strpbrk(p, "#\n"); in getnetent_p()
106 cp = strpbrk(p, " \t"); in getnetent_p()
119 p = strpbrk(cp, " \t"); in getnetent_p()
134 p = strpbrk(cp, " \t"); in getnetent_p()
HDgethostbyht.c110 cp = strpbrk(p, "#\n"); in gethostent_p()
113 if (!(cp = strpbrk(p, " \t"))) in gethostent_p()
143 if ((p = strpbrk(cp, " \t")) != NULL) in gethostent_p()
160 if ((p = strpbrk(cp, " \t")) != NULL) in gethostent_p()
HDgetnetbynis.c86 cp = strpbrk(result, " \t"); in _getnetbynis()
106 cp = strpbrk(cp, " \t"); in _getnetbynis()
116 p = strpbrk(cp, " \t"); in _getnetbynis()
HDgethostbynis.c97 cp = strpbrk(result, " \t"); in _gethostbynis()
130 p = strpbrk(cp, " \t"); in _gethostbynis()
148 p = strpbrk(cp, " \t"); in _gethostbynis()
HDgetprotoent.c375 cp = strpbrk(p, "#\n"); in __getprotoent_p()
379 cp = strpbrk(p, " \t"); in __getprotoent_p()
385 p = strpbrk(cp, " \t"); in __getprotoent_p()
402 cp = strpbrk(cp, " \t"); in __getprotoent_p()
HDgetservent.c178 cp = strpbrk(p, "#\n"); in servent_unpack()
183 p = strpbrk(p, " \t"); in servent_unpack()
189 cp = strpbrk(p, ",/"); in servent_unpack()
201 cp = strpbrk(cp, " \t"); in servent_unpack()
216 cp = strpbrk(cp, " \t"); in servent_unpack()
/NextBSD/sys/cddl/compat/opensolaris/sys/
HDstring.h34 char *strpbrk(const char *, const char *);
/NextBSD/lib/libc/string/
HDstrpbrk.c42 strpbrk(const char *s1, const char *s2) in strpbrk() function
HDMakefile.inc18 strpbrk.c strrchr.c strsep.c strsignal.c strspn.c strstr.c strtok.c \
36 string.3 strlcpy.3 strlen.3 strmode.3 strpbrk.3 strsep.3 \
HDSymbol.map44 strpbrk;
/NextBSD/lib/libc/mips/string/
HDMakefile.inc7 strncat.c strncmp.c strncpy.c strrchr.S strpbrk.c strsep.c \
/NextBSD/usr.sbin/ppp/
HDiplist.c66 if ((ptr = strpbrk(range, ",-")) == NULL) { in iplist_setrange()
81 if ((ptr = strpbrk(to, ",-")) == NULL) in iplist_setrange()
/NextBSD/usr.bin/tset/
HDwrterm.c66 if (*p != '\0' && strpbrk(p, " \t") == NULL) { in wrtermcap()
/NextBSD/contrib/libstdc++/include/c_compatibility/
Dstring.h49 using std::strpbrk;
/NextBSD/sys/cddl/compat/opensolaris/kern/
HDopensolaris_string.c39 strpbrk(const char *s, const char *b) in strpbrk() function
/NextBSD/lib/libc/rpc/
HDgetrpcent.c155 cp = strpbrk(p, "#\n"); in rpcent_unpack()
159 cp = strpbrk(p, " \t"); in rpcent_unpack()
169 cp = strpbrk(cp, " \t"); in rpcent_unpack()
184 cp = strpbrk(cp, " \t"); in rpcent_unpack()
/NextBSD/contrib/libreadline/
HDrldefs.h85 # define _rl_strpbrk(a,b) strpbrk((a),(b))
/NextBSD/include/
HDstring.h109 char *strpbrk(const char *, const char *) __pure;
/NextBSD/libexec/revnetgroup/
HDrevnetgroup.c131 if ((data = (char *)(strpbrk(readbuf, " \t") + 1)) < (char *)2) in main()
/NextBSD/contrib/ofed/libsdp/
HDconfigure.in37 AC_CHECK_FUNCS([dup2 memset socket strcasecmp strchr strdup strpbrk strrchr strtoul])

123456