Symbol: strcspn
bin/cpdup/cpdup.c
440
if (path[(cindex = strcspn(path, ":/"))] == ':') {
bin/pax/options.c
989
slash += strcspn(slash, "/");
bin/ps/ps.c
489
for (; (l = strcspn(arg, SEP)) > 0; arg += l + strspn(arg + l, SEP)) {
bin/ps/ps.c
781
if (strcspn(s, "MNOoU") == len && *cp == 't' && *s != '-') {
bin/sh/output.c
190
if (p[strcspn(p, "|&;<>()$`\\\" \n*?[~#=")] == '\0' ||
crypto/libressl/apps/nc/socks.c
324
if (strcspn(host, "\r\n\t []") != strlen(host))
crypto/libressl/crypto/ui/ui_lib.c
213
if (ok_chars[strcspn(ok_chars, cancel_chars)] != '\0') {
crypto/openssh/auth2-chall.c
163
strcspn(kbdintctxt->devices, ",") : 0;
crypto/openssh/authfile.c
242
cp[strcspn(cp, "\r\n")] = '\0';
crypto/openssh/hostfile.c
778
line[strcspn(line, "\n")] = '\0';
crypto/openssh/hostfile.c
881
l = strcspn(lineinfo.rawkey, " \t");
crypto/openssh/readconf.c
775
shorthost[strcspn(thishost, ".")] = '\0';
crypto/openssh/readpass.c
107
buf[strcspn(buf, "\r\n")] = '\0';
crypto/openssh/session.c
853
cp[strcspn(cp, "\n")] = '\0';
crypto/openssh/sftp.c
2337
cmd[strcspn(cmd, "\n")] = '\0';
crypto/openssh/ssh-add.c
147
line[strcspn(line, "\n")] = '\0';
crypto/openssh/ssh-keygen.c
1195
int has_wild = l->hosts && strcspn(l->hosts, "*?!") != strlen(l->hosts);
crypto/openssh/ssh-keygen.c
1590
new_comment[strcspn(new_comment, "\n")] = '\0';
crypto/openssh/ssh-keygen.c
307
buf[strcspn(buf, "\n")] = '\0';
crypto/openssh/ssh-keygen.c
983
cp[strcspn(cp, "\n")] = '\0';
crypto/openssh/ssh-keyscan.c
184
e = s + strcspn(s, delim);
crypto/openssh/ssh.c
1424
thishost[strcspn(thishost, ".")] = '\0';
crypto/openssh/sshconnect.c
590
p[strcspn(p, " \t\n")] = '\0'; /* remove trailing whitespace */
crypto/openssh/sshconnect.c
999
if (strcspn(hostname, "@?*#[]|'\'\"\\") != strlen(hostname)) {
crypto/openssh/sshkey.c
1190
space = strcspn(cp, " \t");
crypto/openssh/sshkey.c
1207
space = strcspn(cp, " \t");
crypto/openssh/sshkey.c
910
ret[strcspn(ret, "=")] = '\0';
crypto/openssh/sshlogin.c
118
time_string[strcspn(time_string, "\n")] = '\0';
games/monop/monop.c
276
buf[strcspn(buf, "\n")] = '\0';
include/string.h
97
size_t strcspn(const char *, const char *) __pure;
lib/libc/resolv/res_init.c
376
cp[strcspn(cp, ";# \t\n")] = '\0';
lib/libc/resolv/res_init.c
604
i = MIN(strcspn(cp, " \t"), sizeof(ext->nsuffix) - 1);
lib/libc/resolv/res_init.c
612
i = MIN(strcspn(cp, " \t"), sizeof(ext->nsuffix2) - 1);
lib/libcrypt/crypt-sha256.c
340
salt_len = MIN (strcspn (salt, "$"), SALT_LEN_MAX);
lib/libcrypt/crypt-sha512.c
371
salt_len = MIN (strcspn (salt, "$"), SALT_LEN_MAX);
lib/libfetch/http.c
734
l = strcspn(*cpp, " \t,=");
lib/libutil/login_cap.c
114
int count = strcspn(cptr, chars);
lib/libutil/login_cap.c
128
int count = strcspn(ptr, chars);
lib/libutil/login_cap.c
413
count = strcspn(ptr, ", \t");
lib/libutil/login_class.c
166
while (*(p += strcspn(p, "~$")) != '\0') {
libexec/ftpd/ftpcmd.y
1760
if (*(*pp + strcspn(*pp, "\r\n")) == '\0') {
libexec/rtld-elf/rtld.c
2100
size_t len = strcspn(p, delim);
libexec/rtld-elf/rtld.c
2811
len = strcspn(path, ":;");
sbin/ip6fw/ip6fw.c
628
buf[strcspn(arg, nodash ? "-," : ",")] = 0;
sbin/ip6fw/ip6fw.c
657
s = arg + strcspn(arg, "-,"); /* first port name can't have a dash */
sbin/routed/parms.c
642
line = tgt+strcspn(tgt, "= #,\n\r");
usr.bin/diff/diffreg.c
1263
buf[strcspn(buf, "\n")] = '\0';
usr.bin/fetch/fetch.c
1102
if (strcspn(h_hostname, "@:/") != strlen(h_hostname))
usr.bin/indent/args.c
340
line[strcspn(line, " \t\n\r")] = '\0';
usr.bin/limits/limits.c
639
int j = strcspn(q, "|");
usr.bin/localedef/charmap.c
293
if (((si = strcspn(s, digits)) == 0) || (si == ls) ||
usr.bin/patch/mkpath.c
59
slash += strcspn(slash, "/");
usr.bin/pathchk/pathchk.c
127
complen = (long)strcspn(p, "/");
usr.bin/units/units.c
160
len = strcspn(lineptr, " \n\t");
usr.bin/units/units.c
177
len = strcspn(lineptr, "\n\t");
usr.bin/units/units.c
203
len = strcspn(lineptr, "\n\t");
usr.sbin/chkgrp/chkgrp.c
142
if (strcspn(f[k], " \t") != strlen(f[k])) {
usr.sbin/inetd/builtins.c
625
p[strcspn(p, " \t\r\n")] = '\0';
usr.sbin/installer/libinstaller/confed.c
222
line[strcspn(line, "\n")] = '\0';
usr.sbin/ngctl/main.c
338
if (strlen(s) <= strcspn(cmd->cmd, WHITESPACE)) {
usr.sbin/ppp/command.c
1127
cp = buff + strcspn(buff, "\r\n");
usr.sbin/ppp/libradius/radlib.c
1343
p += strcspn(p, ws);
usr.sbin/ppp/ncpaddr.c
917
len = strcspn(data, "/");
usr.sbin/ppp/netgraph.c
127
len = strcspn(data, " \t");
usr.sbin/ppp/netgraph.c
138
len = strcspn(data, " \t");
usr.sbin/ppp/netgraph.c
440
if ((len = strcspn(from, sep)) == 0) {
usr.sbin/rtadvd/config.c
812
c = strcspn(ap, ",");
usr.sbin/rtadvd/config.c
864
c = strcspn(ap, ",");