Symbol: strspn
bin/date/date.c
384
yrdigs = strspn(t, "0123456789");
bin/mkdir/mkdir.c
162
slash += strspn(slash, "/");
bin/mkdir/mkdir.c
165
done = (*(slash + strspn(slash, "/")) == '\0');
bin/pax/options.c
1414
slash += strspn(slash, "/");
bin/sh/output.c
190
size_t l = strspn(p, norm_chars);
bin/sh/output.c
224
need_q = p[0] == 0 || p[strspn(p, norm_chars)] != 0;
bin/stty/stty.c
76
strspn(argv[optind], "-aefg") == strlen(argv[optind]) &&
include/string.h
124
size_t strspn(const char *, const char *);
lib/libc/net/getaddrinfo.c
1334
hostname[strspn(hostname, "0123456789.xabcdefXABCDEF")]
lib/libpuffs/puffs.c
593
strspn(dir + rplen, "/") != dirlen - rplen) {
lib/libradius/radlib.c
1004
p += strspn(p, ws);
lib/libradius/radlib.c
1040
if (*p != '\0' && strspn(p, ws) == 0) {
lib/librumphijack/hijack.c
727
if (buf[rumpprefixlen-1] == '/' && strspn(buf, "/") != rumpprefixlen)
lib/librumpuser/sp_common.c
599
l = strspn(p, "0123456789");
lib/libukfs/ukfs.c
1341
f2 += strspn(f2, "/");
lib/libutil/login_cap.c
755
p += strspn(p, " \t");
lib/libwrap/hosts_access.c
194
if (sv_list[0] == '#' || sv_list[strspn(sv_list, " \t\r\n")] == 0)
lib/libwrap/options.c
176
value += strspn(value, whitespace);
lib/libwrap/options.c
180
value += strspn(value, whitespace);
lib/libwrap/percent_x.c
75
for (cp = expansion; *(cp += strspn(cp, ok_chars)); /* */ )
lib/libwrap/tcpd.h
65
#define NOT_INADDR(s) (s[strspn(s,"01234567890./")] != 0)
libexec/ftpd/conf.c
307
convcmd += strspn(convcmd, " \t");
libexec/identd/identd.c
484
if ((strspn(idbuf, "0123456789") &&
sbin/disklabel/main.c
1613
cp += strspn(cp, " \t");
sbin/disklabel/main.c
1630
cp += strspn(cp, " \t");
sbin/disklabel/main.c
1933
tp += strspn(tp, " \t");
sbin/disklabel/main.c
1950
tp += strspn(tp, " \t");
sbin/fdisk/fdisk.c
2862
cp += strspn(cp, " \t");
sbin/fdisk/fdisk.c
2901
cp += strspn(cp, " \t");
sbin/fdisk/fdisk.c
2929
cp += strspn(cp, " \t");
sbin/fdisk/fdisk.c
2941
cp += strspn(cp, " \t");
sbin/routed/parms.c
658
tgt = line + strspn(line, " ,\n\r");
share/examples/refuse/ian/libfetch/ftp.c
445
switch (strspn(ln, "0123456789")) {
sys/arch/ia64/stand/common/bootstrap.h
339
size_t strspn(const char *s1, const char *s2);
sys/arch/ia64/stand/common/interp.c
229
if (strncmp(input+strspn(input, " "), "\\ ", 2) == 0)
sys/arch/sgimips/stand/haudfw/haudfw.c
157
check(strlen(field) == 1 && strspn(field, "XYPL") == 1,
sys/arch/sgimips/stand/haudfw/haudfw.c
213
if (strspn(line, whitespace) == strlen(line)) {
sys/arch/sgimips/stand/undist/undist.c
592
start = next + strspn(next, WS);
sys/lib/libkern/libkern.h
417
size_t strspn(const char *, const char *);
tests/lib/libc/stdio/h_intr.c
402
return strspn(s, " \t") != strlen(s);
tests/lib/libc/string/t_strspn.c
38
ATF_TC(strspn);
tests/lib/libc/string/t_strspn.c
39
ATF_TC_HEAD(strspn, tc)
tests/lib/libc/string/t_strspn.c
44
ATF_TC_BODY(strspn, tc)
tests/lib/libc/string/t_strspn.c
46
ATF_CHECK_EQ(strspn("abcdefghijklmnop", ""), 0);
tests/lib/libc/string/t_strspn.c
47
ATF_CHECK_EQ(strspn("abcdefghijklmnop", "a"), 1);
tests/lib/libc/string/t_strspn.c
48
ATF_CHECK_EQ(strspn("abcdefghijklmnop", "b"), 0);
tests/lib/libc/string/t_strspn.c
49
ATF_CHECK_EQ(strspn("abcdefghijklmnop", "ab"), 2);
tests/lib/libc/string/t_strspn.c
50
ATF_CHECK_EQ(strspn("abcdefghijklmnop", "abc"), 3);
tests/lib/libc/string/t_strspn.c
51
ATF_CHECK_EQ(strspn("abcdefghijklmnop", "abce"), 3);
tests/lib/libc/string/t_strspn.c
52
ATF_CHECK_EQ(strspn("abcdefghijklmnop", "abcdefghijklmnop"), 16);
tests/lib/libc/string/t_strspn.c
58
ATF_TP_ADD_TC(tp, strspn);
tests/usr.bin/xlint/lint1/msg_132.c
652
size_t strspn(const char *, const char *);
tests/usr.bin/xlint/lint1/msg_132.c
668
s32 = strspn("", "");
usr.bin/join/join.c
601
if (len - 2 != strspn(*p + 2, "0123456789"))
usr.bin/jot/jot.c
332
return strspn(num_str + 1, "0123456789");
usr.bin/lam/lam.c
155
if (strspn(p, "-.0123456789") != strlen(p))
usr.bin/make/job.c
1001
cmd += strspn(cmd, "@ \t+-");
usr.bin/moduli/qsafe/qsafe.c
159
cp += strspn(cp, " ");
usr.bin/patch/mkpath.c
62
slash += strspn(slash, "/");
usr.bin/pathchk/pathchk.c
112
p += strspn(p, "/");
usr.bin/pathchk/pathchk.c
186
s = strspn(path, charset);
usr.bin/printf/printf.c
240
fmt += strspn(fmt, SKIP1);
usr.bin/printf/printf.c
248
fmt += strspn(fmt, SKIP2);
usr.bin/printf/printf.c
259
fmt += strspn(fmt, SKIP2);
usr.bin/skeyinit/skeyinit.c
307
else if (strspn(passwd, "abcdefghijklmnopqrstuvwxyz") == strlen(passwd)) {
usr.bin/split/split.c
336
if (autosfx && (fpnt[0] == 'y') && (strspn(fpnt+1, "z") == strlen(fpnt+1))) {
usr.bin/systat/ifstat.c
384
c = p + strspn(p, " ;,");
usr.bin/systat/ifstat.c
387
c = p + strspn(p, " ;,");
usr.bin/systat/syscall.c
340
if (args[len + strspn(args + len, " \t\r\n")])
usr.bin/systat/syscall.c
377
if (args[len + strspn(args + len, " \t\r\n")])
usr.bin/units/units.c
191
lineptr += strspn(lineptr, " \n\t");
usr.bin/units/units.c
223
lineptr += strspn(lineptr, " \n\t");
usr.bin/units/units.c
248
lineptr += strspn(lineptr, " \n\t");
usr.bin/uudecode/uudecode.c
283
strspn(ptr + n, "\t\r\n") != strlen(ptr + n)) {
usr.sbin/altq/libaltq/quip_server.c
152
*cpp += strspn(*cpp, " \t");
usr.sbin/altq/libaltq/quip_server.c
161
*cpp += strspn(*cpp, " \t");
usr.sbin/installboot/installboot.c
404
option += strspn(option, ", \t");
usr.sbin/mailwrapper/mailwrapper.c
109
cp += strspn(cp, WS);
usr.sbin/mailwrapper/mailwrapper.c
119
cp += strspn(cp, WS);
usr.sbin/rpc.bootparamd/bootparamd.c
329
bp = buf + strspn(buf, " \t\n");
usr.sbin/sysinst/configmenu.c
459
cp = buf + strspn(buf, " \t"); /* Skip initial spaces */
usr.sbin/sysinst/main.c
645
cp = buffer + strspn(buffer, " \t");
usr.sbin/sysinst/main.c
655
cp1 += strspn(cp1, " \t");
usr.sbin/sysinst/main.c
658
cp1 += strspn(cp1, " \t");
usr.sbin/sysinst/run.c
296
for (; *cmd != 0; cmd = cp + strspn(cp, " "), argc++) {
usr.sbin/sysinst/util.c
2084
cp = buf + strspn(buf, " \t"); /* Skip initial spaces */
usr.sbin/tcpdchk/inetcf.c
157
if (path[strspn(path, "-0123456789")] == 0) {
usr.sbin/tcpdchk/inetcf.c
170
if (arg0[strspn(arg0, "0123456789")] == 0) {
usr.sbin/tcpdchk/percent_x.c
69
for (cp = expansion; *(cp += strspn(cp, ok_chars)); /* */ )
usr.sbin/tcpdchk/tcpdchk.c
229
if (sv_list[0] == '#' || sv_list[strspn(sv_list, " \t\r\n")] == 0)