Symbol: strspn
bin/mkdir/mkdir.c
136
slash += strspn(slash, "/");
bin/pax/options.c
1150
slash += strspn(slash, "/");
bin/stty/stty.c
62
strspn(argv[optind], "-aefg") == strlen(argv[optind]) &&
games/fortune/fortune/fortune.c
350
int pos = strspn(files[i], "0123456789.");
games/ppt/ppt.c
155
buf[6] != '.' || strspn(buf, "| o.") < 11)
include/string.h
88
size_t strspn(const char *, const char *);
lib/libc/hidden/string.h
73
PROTO_NORMAL(strspn);
lib/libc/string/strspn.c
52
DEF_STRONG(strspn);
lib/libcrypto/x509/x509_addr.c
1613
t += strspn(t, " \t");
lib/libcrypto/x509/x509_addr.c
1624
t += strspn(t, " \t");
lib/libcrypto/x509/x509_addr.c
1650
i1 = strspn(s, addr_chars);
lib/libcrypto/x509/x509_addr.c
1651
i2 = i1 + strspn(s + i1, " \t");
lib/libcrypto/x509/x509_addr.c
1679
i1 = i2 + strspn(s + i2, " \t");
lib/libcrypto/x509/x509_addr.c
1680
i2 = i1 + strspn(s + i1, addr_chars);
lib/libcrypto/x509/x509_asid.c
877
i1 = strspn(val->value, "0123456789");
lib/libcrypto/x509/x509_asid.c
882
i2 = i1 + strspn(val->value + i1, " \t");
lib/libcrypto/x509/x509_asid.c
889
i2 = i2 + strspn(val->value + i2, " \t");
lib/libcrypto/x509/x509_asid.c
890
i3 = i2 + strspn(val->value + i2, "0123456789");
libexec/tradcpp/directive.c
378
pos += strspn(line+pos, ws);
libexec/tradcpp/directive.c
504
moretext += strspn(moretext, ws);
libexec/tradcpp/directive.c
613
skip = len + strspn(line+len, ws);
libexec/tradcpp/directive.c
694
skip = 1 + strspn(line + 1, ws);
libexec/tradcpp/eval.c
660
len = strspn(expr + pos, alnum);
libexec/tradcpp/eval.c
709
len = strspn(expr+pos, ws);
libexec/tradcpp/macro.c
1164
x = strspn(buf, ws);
libexec/tradcpp/macro.c
1177
x = strspn(buf, alnum);
libexec/tradcpp/macro.c
524
len = strspn(params, ws);
libexec/tradcpp/macro.c
576
pos += strspn(buf+pos, ws);
libexec/tradcpp/macro.c
579
pos += strspn(buf+pos, alnum);
libexec/tradcpp/utils.c
237
if (len != strspn(str, alnum)) {
sbin/disklabel/disklabel.c
723
cp += strspn(cp, " \t");
sbin/disklabel/disklabel.c
737
cp += strspn(cp, " \t");
sbin/fdisk/cmd.c
184
flagstr += strspn(flagstr, WHITESPACE);
sbin/fdisk/fdisk.c
400
whitespace = strspn(line, WHITESPACE);
sbin/fdisk/fdisk.c
405
digits = strspn(start, "0123456789");
sbin/fdisk/fdisk.c
418
digits = strspn(start, "0123456789abcdefABCDEF");
sbin/fdisk/misc.c
89
n = strlcpy(buf, line + strspn(line, WHITESPACE), buflen);
sbin/fdisk/user.c
201
*arg += strspn(*arg, WHITESPACE);
sbin/isakmpd/conf.c
242
val = line + i + 1 + strspn(line + i + 1, " \t");
sbin/isakmpd/conf.c
252
i = strspn(line, " \t");
sbin/sysctl/sysctl.c
297
lp = line + strspn(line, " \t");
usr.bin/cap_mkdb/cap_mkdb.c
199
if ((len = strspn(capbeg, ": \t\n\r")))
usr.bin/ftp/cookie.c
82
line += strspn(line, " \t");
usr.bin/ftp/fetch.c
894
cp += strspn(cp, " \t");
usr.bin/ftp/fetch.c
906
cp += strspn(cp, " \t");
usr.bin/ftp/fetch.c
968
cp += strspn(cp, " \t");
usr.bin/ftp/fetch.c
976
cp += strspn(cp, " \t");
usr.bin/ftp/fetch.c
984
cp += strspn(cp, " \t");
usr.bin/infocmp/infocmp.c
898
&& (len = (strspn) (sp + csi, "0123456789;"))
usr.bin/infocmp/infocmp.c
918
&& (len = (strspn) (sp + csi + 1, "0123456789;"))
usr.bin/infocmp/infocmp.c
937
&& (len = (strspn) (sp + csi, "0123456789;")) != 0
usr.bin/join/join.c
607
if (len - 2 != strspn(*p + 2, "0123456789"))
usr.bin/jot/jot.c
348
return strspn(s + 1, "0123456789");
usr.bin/make/parsevar.c
49
if (p[strspn(p, "?:!+")] == '=')
usr.bin/mandoc/roff_escape.c
452
(int)strspn(buf + iarg + 4, "0123456789")
usr.bin/mandoc/roff_escape.c
490
if ((int)strspn(buf + iarg + 1, "0123456789ABCDEFabcdef")
usr.bin/mg/dir.c
135
slash += strspn(slash, "/");
usr.bin/patch/mkpath.c
55
slash += strspn(slash, "/");
usr.bin/rsync/mkpath.c
54
slash += strspn(slash, "/");
usr.bin/skeyinit/skeyinit.c
431
} else if (strspn(passwd, "abcdefghijklmnopqrstuvwxyz") ==
usr.bin/ssh/addrmatch.c
137
if (strspn(cp, VALID_CIDR_CHARS) != strlen(cp)) {
usr.bin/ssh/hostfile.c
923
strspn(ktype, "0123456789") == l)
usr.bin/ssh/misc.c
1238
copy += strspn(copy, "/");
usr.bin/ssh/misc.c
1248
path += strspn(path, "/");
usr.bin/ssh/misc.c
460
*s += strspn(*s + 1, WHITESPACE) + 1;
usr.bin/ssh/misc.c
471
*s += strspn(*s + 1, WHITESPACE) + 1;
usr.bin/ssh/misc.c
473
*s += strspn(*s + 1, WHITESPACE) + 1;
usr.bin/ssh/misc.c
633
if (p + strspn(p, "0123456789.") != endp)
usr.bin/ssh/moduli.c
611
cp += strspn(cp, " ");
usr.bin/ssh/readconf.c
1176
str += strspn(str, WHITESPACE);
usr.bin/ssh/readconf.c
1525
len = strspn(str, WHITESPACE "=");
usr.bin/ssh/readconf.c
1537
len = strspn(str, WHITESPACE "=");
usr.bin/ssh/readconf.c
2524
len = strspn(str, WHITESPACE);
usr.bin/ssh/readconf.c
3921
strspn(o->jump_host, "1234567890.") == strlen(o->jump_host);
usr.bin/ssh/scp.c
1270
if ((nslash = strspn(path + 2, "/")) == strlen(path + 2))
usr.bin/ssh/servconf.c
2240
len = strspn(str, WHITESPACE);
usr.bin/ssh/servconf.c
2317
len = strspn(str, WHITESPACE);
usr.bin/ssh/servconf.c
2338
len = strspn(str, WHITESPACE);
usr.bin/ssh/servconf.c
2577
cp = line + strspn(line, " \t\r");
usr.bin/ssh/sftp.c
1344
cp = cp + strspn(cp, WHITESPACE);
usr.bin/ssh/sftp.c
1362
cp = cp + strspn(cp, WHITESPACE);
usr.bin/ssh/sftp.c
1486
cp = cp + strlen(cmd) + strspn(cp, WHITESPACE);
usr.bin/ssh/ssh-add.c
137
cp = line + strspn(line, " \t");
usr.bin/ssh/ssh-keygen.c
2136
cp = line + strspn(line, " \t");
usr.bin/ssh/ssh-keygen.c
2242
cp = line + strspn(line, " \t");
usr.bin/ssh/ssh-keygen.c
2266
cp = cp + strspn(cp, " \t");
usr.bin/ssh/ssh-keygen.c
2302
cp = cp + strspn(cp, " \t");
usr.bin/ssh/ssh-keygen.c
2307
cp = cp + strspn(cp, " \t");
usr.bin/ssh/ssh-keygen.c
2318
cp = cp + strspn(cp, " \t");
usr.bin/ssh/ssh-keygen.c
2322
cp = cp + strspn(cp, " \t");
usr.bin/ssh/ssh-keygen.c
2326
cp = cp + strspn(cp, " \t");
usr.bin/ssh/ssh-keygen.c
918
cp = line + strspn(line, " \t");
usr.bin/ssh/ssh.c
276
strspn(name, "0123456789.") == strlen(name));
usr.bin/ssh/sshconnect.c
605
p += strspn(p, " \t"); /* skip leading whitespace */
usr.bin/ssh/sshsig.c
752
cp = cp + strspn(cp, " \t\n\r"); /* skip leading whitespace */
usr.bin/tmux/attributes.c
105
str += end + strspn(str + end, delimiters);
usr.bin/tmux/style.c
291
in += end + strspn(in + end, delimiters);
usr.bin/unifdef/unifdef.c
703
bool blankline = tline[strspn(tline, " \t\r\n")] == '\0';
usr.bin/units/units.c
127
lineptr += strspn(lineptr, " \n\t");
usr.bin/units/units.c
153
lineptr += strspn(lineptr, " \n\t");
usr.bin/units/units.c
183
lineptr += strspn(lineptr, " \n\t");
usr.bin/uudecode/uudecode.c
329
strspn(ptr + n, " \t\r\n") != strlen(ptr + n)) {
usr.sbin/config/misc.c
51
buf = &buf[strspn(buf, " \t")];
usr.sbin/config/misc.c
55
buf = &cp[strspn(cp, " \t")];
usr.sbin/httpd/server_fcgi.c
835
value += strspn(value, " \t");
usr.sbin/httpd/server_http.c
1189
size = strspn(p + 1, "0123456789") + 2;
usr.sbin/httpd/server_http.c
317
value += strspn(value, " \t\r\n");
usr.sbin/ldapd/util.c
68
n = strspn(s, " ");
usr.sbin/mailwrapper/mailwrapper.c
124
cp += strspn(cp, WS);
usr.sbin/mailwrapper/mailwrapper.c
134
cp += strspn(cp, WS);
usr.sbin/relayd/relay_http.c
176
const size_t len = strspn(name, token_chars);
usr.sbin/relayd/relay_http.c
398
value += strspn(value, " \t\r\n");
usr.sbin/relayd/relayd.c
1658
p += strspn(p, ":/");
usr.sbin/relayd/relayd.c
871
ptr += strspn(ptr, " \t");
usr.sbin/rpc.bootparamd/bootparamd.c
284
bp = buf + strspn(buf, " \t\n");
usr.sbin/rpki-client/http.c
1422
cp += strspn(cp, " \t");
usr.sbin/rpki-client/http.c
1432
cp += strspn(cp, " \t");
usr.sbin/rpki-client/http.c
1483
cp += strspn(cp, " \t");
usr.sbin/rpki-client/http.c
1489
cp += strspn(cp, " \t");
usr.sbin/rpki-client/http.c
1498
cp += strspn(cp, " \t");
usr.sbin/rpki-client/http.c
1506
cp += strspn(cp, " \t");
usr.sbin/rpki-client/mkdir.c
58
slash += strspn(slash, "/");
usr.sbin/smtpd/util.c
1156
valp += strspn(valp, " \t");
usr.sbin/syslogd/parsemsg.c
71
nlen = strspn(msg, "1234567890");