Symbol: strcspn
bin/mkdir/mkdir.c
163
slash += strcspn(slash, "/");
bin/pax/options.c
1415
slash += strcspn(slash, "/");
bin/sh/output.c
208
size_t i = strcspn(p, "\\\"$`");
bin/sh/var.c
821
if (strcspn(p, "|&;<>()$`\\\"' \t\n*?[]#~=%") == strlen(p)) {
games/monop/monop.c
288
buf[strcspn(buf, "\n")] = '\0';
include/string.h
84
size_t strcspn(const char *, const char *);
lib/libc/gen/getgrent.c
194
count = strcspn(entry, ":"); /* parse gr_name */
lib/libc/gen/getgrent.c
200
count = strcspn(entry, ":"); /* parse gr_passwd */
lib/libc/gen/getgrent.c
206
count = strcspn(entry, ":"); /* parse gr_gid */
lib/libc/gen/getgrent.c
229
count = strcspn(entry, ","); /* parse member */
lib/libc/resolv/res_init.c
433
cp[strcspn(cp, ";# \t\n")] = '\0';
lib/libc/resolv/res_init.c
708
j = MIN(strcspn(cp, " \t"), sizeof(ext->nsuffix) - 1);
lib/libc/resolv/res_init.c
716
j = MIN(strcspn(cp, " \t"), sizeof(ext->nsuffix2) - 1);
lib/libc/stdlib/_env.c
136
l_name = strcspn(str, "=");
lib/libcompat/regexp/regexp.c
190
STATIC int strcspn __P((char *, char *));
lib/libradius/radlib.c
1047
p += strcspn(p, ws);
lib/libskey/skeysubr.c
309
buf += strcspn(buf, "\r\n");
lib/libukfs/ukfs.c
1342
f2 += strcspn(f2, "/");
lib/libutil/login_cap.c
511
ptr += strcspn(ptr, stop);
lib/libutil/login_cap.c
758
plen = strcspn(p, " \t");
lib/libutil/ttymsg.c
93
if (strcspn(ptr, "./") != strlen(ptr)) {
lib/libwrap/options.c
173
if (*(value = curr_opt + strcspn(curr_opt, whitespace_eq))) {
lib/libwrap/options.c
439
if (*(var_value = value + strcspn(value, whitespace)))
libexec/httpd/bozohttpd.c
1791
len = strcspn(pos, ";,");
libexec/httpd/bozohttpd.c
1798
len += strcspn(&pos[len], ",");
sbin/disklabel/main.c
1626
cp += strcspn(cp, " \t");
sbin/fdisk/fdisk.c
2871
len = strcspn(cp, " \t\n");
sbin/routed/parms.c
661
line = tgt+strcspn(tgt, "= #,\n\r");
sys/arch/hpc/stand/hpcboot/hpcmenu.cpp
303
len = strcspn(ptr, " \t");
sys/arch/sgimips/stand/undist/undist.c
593
end = start + strcspn(start, WS);
sys/lib/libkern/libkern.h
411
size_t strcspn(const char *, const char *);
tests/fs/cd9660/h_hexdump_r.c
61
line[strcspn(line, "\n")] = '\0';
tests/lib/libc/string/t_strcspn.c
38
ATF_TC(strcspn);
tests/lib/libc/string/t_strcspn.c
39
ATF_TC_HEAD(strcspn, tc)
tests/lib/libc/string/t_strcspn.c
44
ATF_TC_BODY(strcspn, tc)
tests/lib/libc/string/t_strcspn.c
46
ATF_CHECK_EQ(strcspn("abcdefghijklmnop", ""), 16);
tests/lib/libc/string/t_strcspn.c
47
ATF_CHECK_EQ(strcspn("abcdefghijklmnop", "a"), 0);
tests/lib/libc/string/t_strcspn.c
48
ATF_CHECK_EQ(strcspn("abcdefghijklmnop", "b"), 1);
tests/lib/libc/string/t_strcspn.c
49
ATF_CHECK_EQ(strcspn("abcdefghijklmnop", "cd"), 2);
tests/lib/libc/string/t_strcspn.c
50
ATF_CHECK_EQ(strcspn("abcdefghijklmnop", "qrstuvwxyz"), 16);
tests/lib/libc/string/t_strcspn.c
56
ATF_TP_ADD_TC(tp, strcspn);
tests/usr.bin/xlint/lint1/msg_132.c
651
size_t strcspn(const char *, const char *);
tests/usr.bin/xlint/lint1/msg_132.c
667
s32 = strcspn("", "");
usr.bin/diff/diffreg.c
1395
buf[strcspn(buf, "\n")] = '\0';
usr.bin/ftp/cmds.c
1895
cmdpos = strcspn(line, " \t");
usr.bin/ftp/util.c
205
off_t os_len = strcspn(reply_string + 4, " \r\n\t");
usr.bin/indent/args.c
138
line[strcspn(line, " \t\n\r")] = '\0';
usr.bin/make/main.c
180
size_t prognameLen = strcspn(progname, "[");
usr.bin/make/meta.c
734
meta_prefix_len = strcspn(meta_prefix, "$");
usr.bin/make/var.c
2946
(int)strcspn(*pp + 1, ":{}()"), *pp + 1);
usr.bin/make/var.c
3612
(int)strcspn(value, ":)}"), value,
usr.bin/make/var.c
3679
size_t argLen = strcspn(arg, ":)}");
usr.bin/mkdep/findcc.c
59
progname_len = strcspn(progname, " ");
usr.bin/mkdep/findcc.c
74
dir_len = strcspn(dir, ":");
usr.bin/mkdep/mkdep.c
303
for (s = suffixes; (sz = strcspn(s, ", ")) != 0;) {
usr.bin/nc/socks.c
336
if (strcspn(host, "\r\n\t []:") != strlen(host))
usr.bin/patch/mkpath.c
63
slash += strcspn(slash, "/");
usr.bin/pathchk/pathchk.c
113
complen = (long)strcspn(p, "/");
usr.bin/radioctl/radioctl.c
376
optlen = strcspn(s, "=");
usr.bin/systat/ifstat.c
374
while ((mlen = strcspn(c, " ;,")) != 0) {
usr.bin/systat/syscall.c
338
len = strcspn(args, " \t\r\n");
usr.bin/systat/syscall.c
375
len = strcspn(args, " \t\r\n");
usr.bin/units/units.c
192
len = strcspn(lineptr, " \n\t");
usr.bin/units/units.c
224
len = strcspn(lineptr, "\n\t");
usr.bin/units/units.c
253
len = strcspn(lineptr, "\n\t");
usr.bin/whois/whois.c
262
if ((len = strcspn(p, " \t\n\r"))) {
usr.bin/xlint/lint1/err.c
472
errx(1, "invalid message ID '%.*s'", (int)strcspn(p, ","), p);
usr.bin/xlint/lint1/err.c
804
errx(1, "invalid query ID '%.*s'", (int)strcspn(p, ","), p);
usr.sbin/installboot/installboot.c
407
len = strcspn(option, "=,");
usr.sbin/installboot/installboot.c
414
len = strcspn(option, ",");
usr.sbin/installboot/installboot.c
430
len = strcspn(option, ",");
usr.sbin/makemandb/apropos-utils.c
778
size_t sz = strcspn(src, trouble);
usr.sbin/makemandb/apropos-utils.c
921
sz = strcspn(temp, "\002\003");
usr.sbin/makemandb/apropos-utils.c
941
sz = strcspn(snippet, "\002");
usr.sbin/makemandb/makemandb.c
1311
sz = strcspn(name_desc, ", ");
usr.sbin/makemandb/makemandb.c
1504
size_t sz = strcspn(rec->links, " \0");
usr.sbin/rtadvd/config.c
663
c = strcspn(ap, ",");
usr.sbin/rtadvd/config.c
701
c = strcspn(ap, ",");
usr.sbin/sysinst/main.c
659
len = strcspn(cp1, " \n\r\t");
usr.sbin/sysinst/net.c
300
tmp = stpncpy(buf, buf_tmp, strcspn(buf_tmp," \n"));
usr.sbin/sysinst/net.c
302
buf_tmp += (strcspn(buf_tmp, " \n") + 1) * sizeof(char);