Searched refs:strspn (Results 1 - 25 of 115) sorted by relevance

12345

/freebsd-11-stable/contrib/netbsd-tests/lib/libc/string/
H A Dt_strspn.c38 ATF_TC(strspn); variable
39 ATF_TC_HEAD(strspn, tc)
41 atf_tc_set_md_var(tc, "descr", "Test strspn(3)");
44 ATF_TC_BODY(strspn, tc)
46 ATF_CHECK_EQ(strspn("abcdefghijklmnop", ""), 0);
47 ATF_CHECK_EQ(strspn("abcdefghijklmnop", "a"), 1);
48 ATF_CHECK_EQ(strspn("abcdefghijklmnop", "b"), 0);
49 ATF_CHECK_EQ(strspn("abcdefghijklmnop", "ab"), 2);
50 ATF_CHECK_EQ(strspn("abcdefghijklmnop", "abc"), 3);
51 ATF_CHECK_EQ(strspn("abcdefghijklmno
[all...]
/freebsd-11-stable/contrib/sendmail/libsm/
H A Dt-types.c69 || !SM_TEST(strspn(&buf[1], r) == sizeof(ll) * 2 - 1))
81 || !SM_TEST(strspn(&buf[1], r) == sizeof(ll) * 2 - 1))
92 SM_TEST(strspn(buf, r) == sizeof(ll) * 2);
/freebsd-11-stable/usr.bin/patch/
H A Dmkpath.c56 slash += strspn(slash, "/");
/freebsd-11-stable/lib/libutil/
H A Dtrimdomain.c102 w = strspn(disp, "0123456789");
109 w = strspn(disp, "0123456789");
/freebsd-11-stable/contrib/libstdc++/include/c_compatibility/
H A Dstring.h51 using std::strspn;
/freebsd-11-stable/lib/libc/string/
H A Dstrspn.c38 strspn(const char *s, const char *charset) function
H A DMakefile.inc18 strpbrk.c strrchr.c strsep.c strsignal.c strspn.c strstr.c strtok.c \
40 strspn.3 strstr.3 strtok.3 strxfrm.3 swab.3 \
72 MLINKS+=strspn.3 strcspn.3
/freebsd-11-stable/sys/libkern/
H A Dstrspn.c38 strspn(const char *s, const char *charset) function
/freebsd-11-stable/contrib/libstdc++/include/c_std/
H A Dstd_cstring.h71 #undef strspn macro
92 using ::strspn;
/freebsd-11-stable/sbin/ddb/
H A Dddb.c78 spn = strspn(buf, WHITESP);
85 argv[1] = argv[0] + spn + strspn(argv[0] + spn, WHITESP);
/freebsd-11-stable/usr.bin/pathchk/
H A Dpathchk.c129 p += strspn(p, "/");
199 s = strspn(path, charset);
/freebsd-11-stable/contrib/tcp_wrappers/
H A Dpercent_x.c70 for (cp = expansion; *(cp += strspn(cp, ok_chars)); /* */ )
H A Dtcpd.h72 #define NOT_INADDR(s) (s[strspn(s,"01234567890./")] != 0)
H A Dinetcf.c125 if (path[strspn(path, "-0123456789")] == 0) {
138 if (arg0[strspn(arg0, "0123456789")] == 0) {
H A Dworkarounds.c309 if (*(state += strspn(state, sep)) == 0)
/freebsd-11-stable/lib/libcrypt/
H A Dcrypt.c119 if ((len == 13 || len == 2) && strspn(salt, DES_SALT_ALPHABET) == len)
/freebsd-11-stable/usr.sbin/mailwrapper/
H A Dmailwrapper.c135 cp += strspn(cp, WS);
145 cp += strspn(cp, WS);
/freebsd-11-stable/usr.bin/printf/
H A Dprintf.c232 l = strspn(fmt, digits);
259 l = strspn(fmt, digits);
303 l = strspn(fmt, digits);
/freebsd-11-stable/bin/stty/
H A Dstty.c73 strspn(argv[optind], "-aefg") == strlen(argv[optind]) &&
/freebsd-11-stable/include/
H A Dstring.h117 size_t strspn(const char *, const char *) __pure;
/freebsd-11-stable/stand/common/
H A Dinterp_simple.c109 if (strncmp(input+strspn(input, " "), "\\ ", 2) == 0)
/freebsd-11-stable/usr.bin/tip/tip/
H A Dacu.c132 cp += strspn(cp, " \t\n");
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_win_dll_thunk.cpp83 INTERCEPT_LIBRARY_FUNCTION(strspn); variable
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlbaselib.c53 s += strspn(s, SPACECHARS); /* skip initial spaces */
65 s += strspn(s, SPACECHARS); /* skip trailing spaces */
/freebsd-11-stable/contrib/dma/
H A Dlocal.c228 strncmp(&line[strspn(line, ">")], "From ", 5) == 0) {

Completed in 171 milliseconds

12345