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

1234567

/freebsd-current/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-current/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-current/usr.bin/patch/
H A Dmkpath.c58 slash += strcspn(slash, "/");
/freebsd-current/contrib/llvm-project/libcxx/modules/std.compat/
H A Dcstring.inc23 using ::strcspn;
/freebsd-current/usr.bin/tip/tip/
H A Dacu.c97 cp += strcspn(cp, ",");
117 cp = &string[strcspn(string, " \t\n")];
126 *(cp + strcspn(cp, ",\n")) = '\0';
/freebsd-current/crypto/heimdal/lib/krb5/
H A Dprompter_posix.c68 s[strcspn(s, "\n")] = '\0';
/freebsd-current/sys/libkern/
H A Dstrcspn.c38 strcspn(const char *s, const char *charset) function
/freebsd-current/lib/libc/string/
H A Dstrcspn.c37 strcspn(const char *s, const char *charset) function
/freebsd-current/lib/libc/amd64/string/
H A DMakefile.inc17 strcspn.S \
/freebsd-current/contrib/llvm-project/libcxx/modules/std/
H A Dcstring.inc23 using std::strcspn;
/freebsd-current/usr.sbin/ypldap/
H A Dentries.c74 endp[strcspn(endp, ":")] = '\0';
109 endp[strcspn(endp, ":")] = '\0';
H A Dypldap.c195 bp += strcspn(bp, ":") + 1;
198 bp += strcspn(bp, ":") + 1;
201 bp[strcspn(bp, ":")] = '\0';
231 bp += strcspn(bp, ":") + 1;
234 bp += strcspn(bp, ":") + 1;
404 ue->ue_line[strcspn(ue->ue_line, ":")] = '\0';
430 ge->ge_line[strcspn(ge->ge_line, ":")] = '\0';
/freebsd-current/contrib/libpcap/rpcapd/
H A Dfileconf.c240 toklen = strcspn(ptr, RPCAP_HOSTLIST_SEP "#");
307 toklen = strcspn(ptr, " \t#\r\n");
369 toklen = strcspn(ptr, " \t#\r\n");
443 toklen = strcspn(ptr, " \t#\r\n");
/freebsd-current/usr.bin/talk/
H A Dget_names.c79 cp = argv[1] + strcspn(argv[1], "@:!");
/freebsd-current/crypto/heimdal/kdc/
H A Dstring2key.c147 buf[strcspn(buf, "\r\n")] = '\0';
154 buf[strcspn(buf, "\r\n")] = '\0';
/freebsd-current/crypto/heimdal/kuser/
H A Dgenerate-requests.c49 buf[strcspn(buf, "\r\n")] = '\0';
/freebsd-current/sbin/ddb/
H A Dddb.c82 spn = strcspn(argv[0], WHITESP);
/freebsd-current/lib/libveriexec/
H A Dexec_script.c60 if ((n = strcspn(cp, ws)) > 0) {
/freebsd-current/libexec/rtld-elf/rtld-libc/
H A DMakefile.inc43 strchr.c strchrnul.c strcmp.c strcpy.c strcspn.c strdup.c strlcat.c \
49 CFLAGS.strcspn.c+=-Wno-sign-compare
/freebsd-current/usr.sbin/bsdinstall/distextract/
H A Ddistextract.c197 span = strcspn(p, "\t") ;
205 span = strcspn(p += span + (*p != '\0' ? 1 : 0), "\t");
206 span = strcspn(p += span + (*p != '\0' ? 1 : 0), "\t");
/freebsd-current/lib/libc/tests/string/
H A Dstrcspn_test.c47 #define STRXSPN strcspn
60 #else /* strcspn */
79 #else /* strcspn */
173 outcome = strcspn(buf, set);
175 "strcspn(\"%s\", \"%s\") = %zu != %zu",
230 outcome = strcspn(buf, set);
232 "strcspn(\"%s\", \"%s\") = %zu != %zu",
/freebsd-current/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-current/sys/contrib/openzfs/lib/libzutil/
H A Dzutil_device_path.c64 size_t dirlen = strcspn(env, ":");

Completed in 392 milliseconds

1234567