Home
last modified time | relevance | path

Searched refs:strcspn (Results 1 – 25 of 196) sorted by relevance

12345678

/freebsd/contrib/netbsd-tests/lib/libc/string/
H A Dt_strcspn.c38 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 Dacu.c97 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 Dfileconf.c238 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 Dypldap.c195 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 Dentries.c74 endp[strcspn(endp, ":")] = '\0'; in flatten_entries()
109 endp[strcspn(endp, ":")] = '\0'; in flatten_entries()
/freebsd/usr.sbin/bsdinstall/distextract/
H A Ddistextract.c197 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 Dstrcspn.S9 .weak strcspn
10 .set strcspn, __strcspn define
H A DMakefile.inc24 strcspn.S \
/freebsd/lib/libc/tests/string/
H A Dstrcspn_test.c47 #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 Dstring2key.c147 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 DMakefile.inc43 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 Dstrsep.c48 *str = *str + strcspn(*str, delim); in strsep()
H A Dstrsep_copy.c51 *stringp = *stringp + strcspn(*stringp, delim); in strsep_copy()
/freebsd/crypto/heimdal/lib/kadm5/
H A Dpassword_quality.c115 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 Dmkpath.c58 slash += strcspn(slash, "/"); in mkpath()
/freebsd/sys/libkern/
H A Dstrcspn.c38 strcspn(const char *s, const char *charset) in strcspn() function
/freebsd/lib/libc/string/
H A Dstrcspn.c37 strcspn(const char *s, const char *charset) in strcspn() function
H A DMakefile.inc17 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 DMakefile.inc17 strcspn.S \
/freebsd/stand/uboot/
H A Dmain.c243 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 Dprompter_posix.c68 s[strcspn(s, "\n")] = '\0'; in krb5_prompter_posix()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dcstring42 size_t strcspn(const char* s1, const char* s2);
92 using ::strcspn _LIBCPP_USING_IF_EXISTS;
/freebsd/usr.bin/talk/
H A Dget_names.c79 cp = argv[1] + strcspn(argv[1], "@:!"); in get_names()
/freebsd/contrib/llvm-project/libcxx/modules/std.compat/
H A Dcstring.inc23 using ::strcspn _LIBCPP_USING_IF_EXISTS;
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dcstring.cppm

12345678