/freebsd/contrib/netbsd-tests/lib/libc/string/ |
H A D | t_strcspn.c | 38 ATF_TC(strcspn); 39 ATF_TC_HEAD(strcspn, tc) in ATF_TC_HEAD() argument 44 ATF_TC_BODY(strcspn, tc) in ATF_TC_BODY() argument 46 ATF_CHECK_EQ(strcspn("abcdefghijklmnop", ""), 16); in ATF_TC_BODY() 47 ATF_CHECK_EQ(strcspn("abcdefghijklmnop", "a"), 0); in ATF_TC_BODY() 48 ATF_CHECK_EQ(strcspn("abcdefghijklmnop", "b"), 1); in ATF_TC_BODY() 49 ATF_CHECK_EQ(strcspn("abcdefghijklmnop", "cd"), 2); in ATF_TC_BODY() 50 ATF_CHECK_EQ(strcspn("abcdefghijklmnop", "qrstuvwxyz"), 16); in ATF_TC_BODY() 56 ATF_TP_ADD_TC(tp, strcspn); in ATF_TP_ADD_TCS()
|
/freebsd/usr.bin/tip/tip/ |
H A D | acu.c | 97 cp += strcspn(cp, ","); in con() 117 cp = &string[strcspn(string, " \t\n")]; in con() 126 *(cp + strcspn(cp, ",\n")) = '\0'; in con()
|
/freebsd/contrib/libpcap/rpcapd/ |
H A D | fileconf.c | 238 toklen = strcspn(ptr, RPCAP_HOSTLIST_SEP "#"); in fileconf_read() 305 toklen = strcspn(ptr, " \t#\r\n"); in fileconf_read() 367 toklen = strcspn(ptr, " \t#\r\n"); in fileconf_read() 441 toklen = strcspn(ptr, " \t#\r\n"); in fileconf_read()
|
/freebsd/usr.sbin/ypldap/ |
H A D | ypldap.c | 195 bp += strcspn(bp, ":") + 1; in main_create_user_groups() 198 bp += strcspn(bp, ":") + 1; in main_create_user_groups() 201 bp[strcspn(bp, ":")] = '\0'; in main_create_user_groups() 231 bp += strcspn(bp, ":") + 1; in main_create_user_groups() 234 bp += strcspn(bp, ":") + 1; in main_create_user_groups() 404 ue->ue_line[strcspn(ue->ue_line, ":")] = '\0'; in main_dispatch_client() 430 ge->ge_line[strcspn(ge->ge_line, ":")] = '\0'; in main_dispatch_client()
|
H A D | entries.c | 74 endp[strcspn(endp, ":")] = '\0'; in flatten_entries() 109 endp[strcspn(endp, ":")] = '\0'; in flatten_entries()
|
/freebsd/usr.sbin/bsdinstall/distextract/ |
H A D | distextract.c | 197 span = strcspn(p, "\t") ; in count_files() 205 span = strcspn(p += span + (*p != '\0' ? 1 : 0), "\t"); in count_files() 206 span = strcspn(p += span + (*p != '\0' ? 1 : 0), "\t"); in count_files()
|
/freebsd/lib/libc/aarch64/string/ |
H A D | strcspn.S | 9 .weak strcspn 10 .set strcspn, __strcspn define
|
H A D | Makefile.inc | 24 strcspn.S \
|
/freebsd/lib/libc/tests/string/ |
H A D | strcspn_test.c | 47 #define STRXSPN strcspn 173 outcome = strcspn(buf, set); in test_match_positions() 230 outcome = strcspn(buf, set); in test_match_order()
|
/freebsd/crypto/heimdal/kdc/ |
H A D | string2key.c | 147 buf[strcspn(buf, "\r\n")] = '\0'; in main() 154 buf[strcspn(buf, "\r\n")] = '\0'; in main()
|
/freebsd/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/crypto/heimdal/lib/roken/ |
H A D | strsep.c | 48 *str = *str + strcspn(*str, delim); in strsep()
|
H A D | strsep_copy.c | 51 *stringp = *stringp + strcspn(*stringp, delim); in strsep_copy()
|
/freebsd/crypto/heimdal/lib/kadm5/ |
H A D | password_quality.c | 115 if (strcspn(pw, classes[i]) < len) in char_class_passwd_quality() 193 reply[strcspn(reply, "\n")] = '\0'; in external_passwd_quality() 203 reply[strcspn(reply, "\n")] = '\0'; in external_passwd_quality()
|
/freebsd/usr.bin/patch/ |
H A D | mkpath.c | 58 slash += strcspn(slash, "/"); in mkpath()
|
/freebsd/sys/libkern/ |
H A D | strcspn.c | 38 strcspn(const char *s, const char *charset) in strcspn() function
|
/freebsd/lib/libc/string/ |
H A D | strcspn.c | 37 strcspn(const char *s, const char *charset) in strcspn() function
|
H A D | Makefile.inc | 17 strcspn.c strdup.c strerror.c strlcat.c strlcpy.c strlen.c strmode.c \ 87 MLINKS+=strspn.3 strcspn.3
|
/freebsd/lib/libc/amd64/string/ |
H A D | Makefile.inc | 17 strcspn.S \
|
/freebsd/stand/uboot/ |
H A D | main.c | 243 if (strcspn(p, " .") == len && strcspn(p, ":") >= len - 1 && in get_load_device() 638 len = strcspn(var, "="); in handle_uboot_env_var()
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | prompter_posix.c | 68 s[strcspn(s, "\n")] = '\0'; in krb5_prompter_posix()
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | cstring | 42 size_t strcspn(const char* s1, const char* s2); 92 using ::strcspn _LIBCPP_USING_IF_EXISTS;
|
/freebsd/usr.bin/talk/ |
H A D | get_names.c | 79 cp = argv[1] + strcspn(argv[1], "@:!"); in get_names()
|
/freebsd/contrib/llvm-project/libcxx/modules/std.compat/ |
H A D | cstring.inc | 23 using ::strcspn _LIBCPP_USING_IF_EXISTS;
|
/freebsd/contrib/llvm-project/libcxx/modules/std/ |
H A D | cstring.cppm |
|