/freebsd-current/contrib/netbsd-tests/lib/libc/string/ |
H A D | t_strcspn.c | 38 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 D | strsep.c | 48 *str = *str + strcspn(*str, delim);
|
H A D | strsep_copy.c | 51 *stringp = *stringp + strcspn(*stringp, delim);
|
H A D | environment.c | 81 buf[strcspn(buf, "#\n")] = '\0';
|
/freebsd-current/usr.bin/patch/ |
H A D | mkpath.c | 58 slash += strcspn(slash, "/");
|
/freebsd-current/contrib/llvm-project/libcxx/modules/std.compat/ |
H A D | cstring.inc | 23 using ::strcspn;
|
/freebsd-current/usr.bin/tip/tip/ |
H A D | acu.c | 97 cp += strcspn(cp, ","); 117 cp = &string[strcspn(string, " \t\n")]; 126 *(cp + strcspn(cp, ",\n")) = '\0';
|
/freebsd-current/crypto/heimdal/lib/krb5/ |
H A D | prompter_posix.c | 68 s[strcspn(s, "\n")] = '\0';
|
/freebsd-current/sys/libkern/ |
H A D | strcspn.c | 38 strcspn(const char *s, const char *charset) function
|
/freebsd-current/lib/libc/string/ |
H A D | strcspn.c | 37 strcspn(const char *s, const char *charset) function
|
/freebsd-current/lib/libc/amd64/string/ |
H A D | Makefile.inc | 17 strcspn.S \
|
/freebsd-current/contrib/llvm-project/libcxx/modules/std/ |
H A D | cstring.inc | 23 using std::strcspn;
|
/freebsd-current/usr.sbin/ypldap/ |
H A D | entries.c | 74 endp[strcspn(endp, ":")] = '\0'; 109 endp[strcspn(endp, ":")] = '\0';
|
H A D | ypldap.c | 195 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 D | fileconf.c | 240 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 D | get_names.c | 79 cp = argv[1] + strcspn(argv[1], "@:!");
|
/freebsd-current/crypto/heimdal/kdc/ |
H A D | string2key.c | 147 buf[strcspn(buf, "\r\n")] = '\0'; 154 buf[strcspn(buf, "\r\n")] = '\0';
|
/freebsd-current/crypto/heimdal/kuser/ |
H A D | generate-requests.c | 49 buf[strcspn(buf, "\r\n")] = '\0';
|
/freebsd-current/sbin/ddb/ |
H A D | ddb.c | 82 spn = strcspn(argv[0], WHITESP);
|
/freebsd-current/lib/libveriexec/ |
H A D | exec_script.c | 60 if ((n = strcspn(cp, ws)) > 0) {
|
/freebsd-current/libexec/rtld-elf/rtld-libc/ |
H A D | Makefile.inc | 43 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 D | distextract.c | 197 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 D | strcspn_test.c | 47 #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 D | password_quality.c | 115 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 D | zutil_device_path.c | 64 size_t dirlen = strcspn(env, ":");
|