Home
last modified time | relevance | path

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

123456

/freebsd/contrib/netbsd-tests/lib/libc/string/
H A Dt_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 …]
/freebsd/contrib/tcpdump/missing/
H A Dgetservent.c107 cp = strpbrk(p, "#\n"); in getservent()
112 p = strpbrk(p, " \t"); in getservent()
118 cp = strpbrk(p, ",/"); in getservent()
125 cp = strpbrk(cp, " \t"); in getservent()
135 cp = strpbrk(cp, " \t"); in getservent()
/freebsd/lib/libbluetooth/
H A Dbluetooth.c119 if ((cp = strpbrk(p, "#\n")) == NULL) in bt_gethostent()
122 if ((cp = strpbrk(p, " \t")) == NULL) in bt_gethostent()
136 if ((cp = strpbrk(cp, " \t")) != NULL) in bt_gethostent()
145 if ((cp = strpbrk(cp, " \t")) != NULL) in bt_gethostent()
223 if ((cp = strpbrk(p, "#\n")) == NULL) in bt_getprotoent()
227 if ((cp = strpbrk(p, " \t")) == NULL) in bt_getprotoent()
232 if ((p = strpbrk(cp, " \t")) != NULL) in bt_getprotoent()
245 if ((cp = strpbrk(cp, " \t")) != NULL) in bt_getprotoent()
/freebsd/libexec/mknetid/
H A Dmknetid.c245 if (!(hptr = strpbrk(ptr, "#\n"))) in main()
248 if (!(hptr = strpbrk(ptr, " \t"))) in main()
254 if (!(hptr = strpbrk(ptr, " \t"))) in main()
281 if ((ptr = strpbrk((char*)&readbuf, " \t")) == NULL) { in main()
/freebsd/lib/libc/net/
H A Dgetnetbyht.c95 cp = strpbrk(p, "#\n"); in getnetent_p()
101 cp = strpbrk(p, " \t"); in getnetent_p()
114 p = strpbrk(cp, " \t"); in getnetent_p()
129 p = strpbrk(cp, " \t"); in getnetent_p()
H A Dgethostbyht.c106 cp = strpbrk(p, "#\n"); in gethostent_p()
109 if (!(cp = strpbrk(p, " \t"))) in gethostent_p()
139 if ((p = strpbrk(cp, " \t")) != NULL) in gethostent_p()
156 if ((p = strpbrk(cp, " \t")) != NULL) in gethostent_p()
H A Dgetnetbynis.c86 cp = strpbrk(result, " \t"); in _getnetbynis()
106 cp = strpbrk(cp, " \t"); in _getnetbynis()
116 p = strpbrk(cp, " \t"); in _getnetbynis()
H A Dgethostbynis.c97 cp = strpbrk(result, " \t"); in _gethostbynis()
130 p = strpbrk(cp, " \t"); in _gethostbynis()
148 p = strpbrk(cp, " \t"); in _gethostbynis()
H A Dgetprotoent.c370 cp = strpbrk(p, "#\n"); in __getprotoent_p()
374 cp = strpbrk(p, " \t"); in __getprotoent_p()
380 p = strpbrk(cp, " \t"); in __getprotoent_p()
397 cp = strpbrk(cp, " \t"); in __getprotoent_p()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dstring.h40 const char* strpbrk(const char* s1, const char* s2);
41 char* strpbrk( char* s1, const char* s2);
80 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD const char* strpbrk(const char* __s1, const char* __s2) { in strpbrk() function
83 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD char* strpbrk(char* __s1, const char* __s2) { in strpbrk() function
H A Dcstring43 const char* strpbrk(const char* s1, const char* s2);
44 char* strpbrk( char* s1, const char* s2);
93 using ::strpbrk _LIBCPP_USING_IF_EXISTS;
/freebsd/contrib/ofed/opensm/complib/
H A Dcl_nodenamemap.c200 e = strpbrk(linebuf, "\n"); in parse_node_map_wrap()
211 e = strpbrk(p, "\n"); in parse_node_map_wrap()
/freebsd/sys/cddl/compat/opensolaris/sys/
H A Dstring.h32 char *strpbrk(const char *, const char *);
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dstring.h34 char *strpbrk(const char *, const char *);
/freebsd/lib/libc/string/
H A Dstrpbrk.c38 strpbrk(const char *s1, const char *s2) in strpbrk() function
H A DMakefile.inc19 strpbrk.c strrchr.c strsep.c strsignal.c strspn.c strstr.c strtok.c \
51 string.3 strlcpy.3 strlen.3 strmode.3 strpbrk.3 strsep.3 \
/freebsd/lib/libc/amd64/string/
H A Dstrpbrk.c36 strpbrk(const char *s, const char *charset) in strpbrk() function
H A DMakefile.inc25 strpbrk.c \
/freebsd/contrib/sendmail/smrsh/
H A Dsmrsh.c248 p = strpbrk(q, " \t");
371 r = strpbrk(p, specialbuf);
/freebsd/usr.sbin/ppp/
H A Diplist.c66 if ((ptr = strpbrk(range, ",-")) == NULL) { in iplist_setrange()
81 if ((ptr = strpbrk(to, ",-")) == NULL) in iplist_setrange()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlobject.c154 if (strpbrk(s, "nN")) /* reject 'inf' and 'nan' */ in luaO_str2d()
156 else if (strpbrk(s, "xX")) /* hexa? */ in luaO_str2d()
/freebsd/sys/contrib/openzfs/lib/libshare/
H A Dnfs.c155 if (strpbrk(mp, "\t\n\v\f\r \\") == NULL) { in nfs_escape_mountpoint()
206 (sep = strpbrk(buf, "\t \n")) != NULL && in nfs_process_exports()
/freebsd/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_string.c37 strpbrk(const char *s, const char *b) in strpbrk() function
/freebsd/contrib/llvm-project/libcxx/modules/std.compat/
H A Dcstring.inc29 using ::strpbrk _LIBCPP_USING_IF_EXISTS;
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dcstring.cppm

123456