Searched refs:strcspn (Results 1 - 25 of 160) sorted by relevance

1234567

/freebsd-10-stable/contrib/netbsd-tests/lib/libc/string/
H A Dt_strcspn.c38 ATF_TC(strcspn); variable
39 ATF_TC_HEAD(strcspn, tc)
41 atf_tc_set_md_var(tc, "descr", "Test strcspn(3)");
44 ATF_TC_BODY(strcspn, tc)
46 ATF_CHECK_EQ(strcspn("abcdefghijklmnop", ""), 16);
47 ATF_CHECK_EQ(strcspn("abcdefghijklmnop", "a"), 0);
48 ATF_CHECK_EQ(strcspn("abcdefghijklmnop", "b"), 1);
49 ATF_CHECK_EQ(strcspn("abcdefghijklmnop", "cd"), 2);
50 ATF_CHECK_EQ(strcspn("abcdefghijklmnop", "qrstuvwxyz"), 16);
56 ATF_TP_ADD_TC(tp, strcspn);
[all...]
/freebsd-10-stable/crypto/heimdal/lib/roken/
H A Dstrsep.c48 *str = *str + strcspn(*str, delim);
H A Dstrsep_copy.c51 *stringp = *stringp + strcspn(*stringp, delim);
H A Denvironment.c81 buf[strcspn(buf, "#\n")] = '\0';
/freebsd-10-stable/lib/libc/mips/string/
H A DMakefile.inc6 strcat.c strchr.S strcmp.S strcpy.c strcspn.c strlen.S \
/freebsd-10-stable/usr.bin/patch/
H A Dmkpath.c57 slash += strcspn(slash, "/");
/freebsd-10-stable/contrib/subversion/subversion/libsvn_subr/
H A Dvalidate.c49 const apr_size_t len = strcspn(mime_type, "; ");
99 const apr_size_t len = strcspn(mime_type, "; ");
/freebsd-10-stable/usr.bin/tip/tip/
H A Dacu.c105 cp += strcspn(cp, ",");
125 cp = &string[strcspn(string, " \t\n")];
134 *(cp + strcspn(cp, ",\n")) = '\0';
/freebsd-10-stable/cddl/contrib/opensolaris/lib/libzfs_core/common/
H A Dlibzfs_core_compat.c68 pos = strcspn(buf, "@");
90 pos = strcspn(buf, "@");
104 pos = strcspn(buf, "@");
127 pos = strcspn(buf, "@");
H A Dlibzfs_core.c277 pool[strcspn(pool, "/@")] = '\0';
327 pool[strcspn(pool, "/@")] = '\0';
422 pool[strcspn(pool, "/@")] = '\0';
467 pool[strcspn(pool, "/@")] = '\0';
781 pool[strcspn(pool, "/#")] = '\0';
843 pool[strcspn(pool, "/#")] = '\0';
/freebsd-10-stable/contrib/libstdc++/include/c_compatibility/
H A Dstring.h48 using std::strcspn;
/freebsd-10-stable/crypto/heimdal/lib/krb5/
H A Dprompter_posix.c68 s[strcspn(s, "\n")] = '\0';
/freebsd-10-stable/lib/libc/string/
H A Dstrcspn.c38 strcspn(const char *s, const char *charset) function
H A DSymbol.map32 strcspn;
/freebsd-10-stable/sys/libkern/
H A Dstrcspn.c38 strcspn(const char * __restrict s, const char * __restrict charset) function
/freebsd-10-stable/contrib/libstdc++/include/c_std/
H A Dstd_cstring.h68 #undef strcspn macro
91 using ::strcspn;
/freebsd-10-stable/bin/sh/
H A Doutput.c126 if (p[strcspn(p, "|&;<>()$`\\\"' \t\n*?[~#")] == '\0' ||
/freebsd-10-stable/usr.bin/talk/
H A Dget_names.c83 cp = argv[1] + strcspn(argv[1], "@:!");
/freebsd-10-stable/usr.sbin/bsdinstall/distextract/
H A Ddistextract.c96 span = strcspn(distributions, "\t\n\v\f\r ");
212 span = strcspn(p, "\t") ;
220 span = strcspn(p += span + (*p != '\0' ? 1 : 0), "\t");
221 span = strcspn(p += span + (*p != '\0' ? 1 : 0), "\t");
/freebsd-10-stable/crypto/heimdal/kdc/
H A Dstring2key.c147 buf[strcspn(buf, "\r\n")] = '\0';
154 buf[strcspn(buf, "\r\n")] = '\0';
/freebsd-10-stable/crypto/heimdal/kuser/
H A Dgenerate-requests.c49 buf[strcspn(buf, "\r\n")] = '\0';
/freebsd-10-stable/include/
H A Dstring.h83 size_t strcspn(const char *, const char *) __pure;
/freebsd-10-stable/sbin/ddb/
H A Dddb.c82 spn = strcspn(argv[0], WHITESP);
/freebsd-10-stable/crypto/heimdal/lib/kadm5/
H A Dpassword_quality.c115 if (strcspn(pw, classes[i]) < len)
193 reply[strcspn(reply, "\n")] = '\0';
203 reply[strcspn(reply, "\n")] = '\0';
/freebsd-10-stable/crypto/heimdal/kadmin/
H A Dstash.c95 buf[strcspn(buf, "\r\n")] = '\0';

Completed in 289 milliseconds

1234567