/freebsd-11-stable/contrib/netbsd-tests/lib/libc/string/ |
H A D | t_strspn.c | 38 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 D | t-types.c | 69 || !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 D | mkpath.c | 56 slash += strspn(slash, "/");
|
/freebsd-11-stable/lib/libutil/ |
H A D | trimdomain.c | 102 w = strspn(disp, "0123456789"); 109 w = strspn(disp, "0123456789");
|
/freebsd-11-stable/contrib/libstdc++/include/c_compatibility/ |
H A D | string.h | 51 using std::strspn;
|
/freebsd-11-stable/lib/libc/string/ |
H A D | strspn.c | 38 strspn(const char *s, const char *charset) function
|
H A D | Makefile.inc | 18 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 D | strspn.c | 38 strspn(const char *s, const char *charset) function
|
/freebsd-11-stable/contrib/libstdc++/include/c_std/ |
H A D | std_cstring.h | 71 #undef strspn macro 92 using ::strspn;
|
/freebsd-11-stable/sbin/ddb/ |
H A D | ddb.c | 78 spn = strspn(buf, WHITESP); 85 argv[1] = argv[0] + spn + strspn(argv[0] + spn, WHITESP);
|
/freebsd-11-stable/usr.bin/pathchk/ |
H A D | pathchk.c | 129 p += strspn(p, "/"); 199 s = strspn(path, charset);
|
/freebsd-11-stable/contrib/tcp_wrappers/ |
H A D | percent_x.c | 70 for (cp = expansion; *(cp += strspn(cp, ok_chars)); /* */ )
|
H A D | tcpd.h | 72 #define NOT_INADDR(s) (s[strspn(s,"01234567890./")] != 0)
|
H A D | inetcf.c | 125 if (path[strspn(path, "-0123456789")] == 0) { 138 if (arg0[strspn(arg0, "0123456789")] == 0) {
|
H A D | workarounds.c | 309 if (*(state += strspn(state, sep)) == 0)
|
/freebsd-11-stable/lib/libcrypt/ |
H A D | crypt.c | 119 if ((len == 13 || len == 2) && strspn(salt, DES_SALT_ALPHABET) == len)
|
/freebsd-11-stable/usr.sbin/mailwrapper/ |
H A D | mailwrapper.c | 135 cp += strspn(cp, WS); 145 cp += strspn(cp, WS);
|
/freebsd-11-stable/usr.bin/printf/ |
H A D | printf.c | 232 l = strspn(fmt, digits); 259 l = strspn(fmt, digits); 303 l = strspn(fmt, digits);
|
/freebsd-11-stable/bin/stty/ |
H A D | stty.c | 73 strspn(argv[optind], "-aefg") == strlen(argv[optind]) &&
|
/freebsd-11-stable/include/ |
H A D | string.h | 117 size_t strspn(const char *, const char *) __pure;
|
/freebsd-11-stable/stand/common/ |
H A D | interp_simple.c | 109 if (strncmp(input+strspn(input, " "), "\\ ", 2) == 0)
|
/freebsd-11-stable/usr.bin/tip/tip/ |
H A D | acu.c | 132 cp += strspn(cp, " \t\n");
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_win_dll_thunk.cpp | 83 INTERCEPT_LIBRARY_FUNCTION(strspn); variable
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ |
H A D | lbaselib.c | 53 s += strspn(s, SPACECHARS); /* skip initial spaces */ 65 s += strspn(s, SPACECHARS); /* skip trailing spaces */
|
/freebsd-11-stable/contrib/dma/ |
H A D | local.c | 228 strncmp(&line[strspn(line, ">")], "From ", 5) == 0) {
|