Symbol: strcspn
bin/pax/options.c
986
slash += strcspn(slash, "/");
bin/ps/keyword.c
416
sep_idx = strcspn(cp, "= \t,\n");
bin/sh/output.c
181
if (p[strcspn(p, "|&;<>()$`\\\" \n*?[~#=")] == '\0' ||
crypto/heimdal/admin/add.c
44
buf[strcspn(buf, "\r\n")] = '\0';
crypto/heimdal/appl/ftp/ftp/cmds.c
1320
acctstr[strcspn(acctstr, "\r\n")] = '\0';
crypto/heimdal/appl/ftp/ftpd/ftpd.c
256
buf[strcspn(buf, "\r\n")] = '\0';
crypto/heimdal/appl/login/limits_conf.c
142
buf[strcspn(buf, "#\r\n")] = '\0';
crypto/heimdal/appl/rsh/limits_conf.c
142
buf[strcspn(buf, "#\r\n")] = '\0';
crypto/heimdal/appl/telnet/telnetd/telnetd.c
804
size_t len = strcspn(buf, "\r\n");
crypto/heimdal/kadmin/add-random-users.c
58
buf[strcspn(buf, "\r\n")] = '\0';
crypto/heimdal/kadmin/stash.c
95
buf[strcspn(buf, "\r\n")] = '\0';
crypto/heimdal/kdc/kstash.c
120
buf[strcspn(buf, "\r\n")] = '\0';
crypto/heimdal/kdc/mit_dump.c
114
if (strcspn(*buf, "\r\n") || feof(f)) {
crypto/heimdal/kdc/pkinit.c
1922
buf[strcspn(buf, "\n")] = '\0';
crypto/heimdal/kdc/string2key.c
147
buf[strcspn(buf, "\r\n")] = '\0';
crypto/heimdal/kdc/string2key.c
154
buf[strcspn(buf, "\r\n")] = '\0';
crypto/heimdal/kpasswd/kpasswd-generator.c
51
buf[strcspn(buf, "\r\n")] = '\0';
crypto/heimdal/kuser/generate-requests.c
49
buf[strcspn(buf, "\r\n")] = '\0';
crypto/heimdal/kuser/kinit.c
386
passwd[strcspn(passwd, "\n")] = '\0';
crypto/heimdal/kuser/kswitch.c
49
buf[strcspn(buf, "\r\n")] = '\0';
crypto/heimdal/lib/asn1/asn1_gen.c
80
buf[strcspn(buf, "\r\n")] = '\0';
crypto/heimdal/lib/asn1/main.c
156
buf[strcspn(buf, "\n\r")] = '\0';
crypto/heimdal/lib/com_err/compile_et.c
232
Basename[strcspn(Basename, ".")] = '\0';
crypto/heimdal/lib/gssapi/ntlm/init_sec_context.c
50
buf[strcspn(buf, "\r\n")] = '\0';
crypto/heimdal/lib/hx509/file.c
203
i = strcspn(buf, "\n");
crypto/heimdal/lib/hx509/hxtool.c
1529
buf[strcspn(buf, "\r\n")] = '\0';
crypto/heimdal/lib/hx509/lock.c
201
s[strcspn(s, "\n")] = '\0';
crypto/heimdal/lib/hx509/softp11.c
718
buf[strcspn(buf, "\n")] = '\0';
crypto/heimdal/lib/kadm5/ipropd_master.c
209
buf[strcspn(buf, "\r\n")] = '\0';
crypto/heimdal/lib/kadm5/password_quality.c
115
if (strcspn(pw, classes[i]) < len)
crypto/heimdal/lib/kadm5/password_quality.c
193
reply[strcspn(reply, "\n")] = '\0';
crypto/heimdal/lib/kadm5/password_quality.c
203
reply[strcspn(reply, "\n")] = '\0';
crypto/heimdal/lib/krb5/config_file.c
164
buf[strcspn(buf, "\r\n")] = '\0';
crypto/heimdal/lib/krb5/config_file.c
360
buf[strcspn(buf, "\r\n")] = '\0';
crypto/heimdal/lib/krb5/config_file.c
61
p = ptr->s + strcspn(ptr->s, "\n");
crypto/heimdal/lib/krb5/config_file.c
889
pos = strcspn(end, delims);
crypto/heimdal/lib/krb5/keytab.c
292
size_t len = strcspn(context->default_keytab + 4, ",");
crypto/heimdal/lib/krb5/keytab_keyfile.c
109
buf[strcspn(buf, "\n")] = '\0';
crypto/heimdal/lib/krb5/keytab_keyfile.c
88
buf[strcspn(buf, "\n")] = '\0';
crypto/heimdal/lib/krb5/krbhst.c
245
hi->hostname[strcspn(hi->hostname, "/")] = '\0';
crypto/heimdal/lib/krb5/kuserok.c
81
char *newline = buf + strcspn(buf, "\n");
crypto/heimdal/lib/krb5/pkinit.c
2346
buf[strcspn(buf, "\n")] = '\0';
crypto/heimdal/lib/krb5/principal.c
558
if(strcspn(princ_realm(principal), quotable_chars) == plen)
crypto/heimdal/lib/krb5/principal.c
566
if(strcspn(princ_ncomp(principal, i), quotable_chars) == plen)
crypto/heimdal/lib/krb5/prompter_posix.c
68
s[strcspn(s, "\n")] = '\0';
crypto/heimdal/lib/krb5/verify_krb5_conf.c
194
hostname[strcspn(hostname, "/")] = '\0';
crypto/heimdal/lib/roken/environment.c
81
buf[strcspn(buf, "#\n")] = '\0';
crypto/heimdal/lib/roken/parse_units.c
107
u_len = strcspn (p, ", \t");
crypto/heimdal/lib/roken/rkpty.c
172
s[strcspn(s, "#\n")] = '\0';
crypto/heimdal/lib/roken/strsep.c
48
*str = *str + strcspn(*str, delim);
crypto/heimdal/lib/roken/strsep_copy.c
51
*stringp = *stringp + strcspn(*stringp, delim);
crypto/heimdal/lib/sl/sl.c
191
buf[strcspn(buf, "\r\n")] = '\0';
crypto/krb5/src/kadmin/server/auth_acl.c
350
client_end = client + strcspn(client, ws);
crypto/krb5/src/kadmin/server/auth_acl.c
352
ops_end = ops + strcspn(ops, ws);
crypto/krb5/src/kadmin/server/auth_acl.c
354
target_end = target + strcspn(target, ws);
crypto/krb5/src/lib/kadm5/alt_prof.c
407
end = server + strcspn(server, ":");
crypto/krb5/src/lib/krb5/ccache/ccselect_k5identity.c
105
princ_end = princ + strcspn(princ, whitespace);
crypto/krb5/src/lib/krb5/ccache/ccselect_k5identity.c
112
field_end = field + strcspn(field, whitespace);
crypto/krb5/src/lib/krb5/krb/parse_host_string.c
98
hostlen = strcspn(host, " \t:");
crypto/krb5/src/lib/krb5/krb/walk_rtree.c
154
d = make_data(capvals[i], strcspn(capvals[i], "\t "));
crypto/krb5/src/lib/krb5/krb/walk_rtree.c
271
dstrealm.length = strcspn(vals[i], "\t ");
crypto/krb5/src/lib/krb5/os/localauth_rule.c
242
nlit = strcspn(current, "$]");
crypto/krb5/src/lib/krb5/os/trace.c
200
len = strcspn(fmt, "{");
crypto/krb5/src/lib/krb5/os/trace.c
205
len = strcspn(fmt, "}");
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
83
count = strcspn(in, special);
crypto/krb5/src/plugins/tls/k5tls/openssl.c
126
s = r + strcspn(r, ".");
crypto/krb5/src/util/ss/listen.c
48
input[strcspn(input, "\r\n")] = '\0';
crypto/krb5/src/util/support/json.c
592
n = strcspn(str, needs_quote);
crypto/openssh/auth2-chall.c
163
strcspn(kbdintctxt->devices, ",") : 0;
crypto/openssh/authfile.c
240
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
681
shorthost[strcspn(thishost, ".")] = '\0';
crypto/openssh/readpass.c
107
buf[strcspn(buf, "\r\n")] = '\0';
crypto/openssh/regress/netcat.c
1615
if (strcspn(host, "\r\n\t []:") != strlen(host))
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
1011
cp[strcspn(cp, "\r\n")] = '\0';
crypto/openssh/ssh-keygen.c
1223
int has_wild = l->hosts && strcspn(l->hosts, "*?!") != strlen(l->hosts);
crypto/openssh/ssh-keygen.c
1618
new_comment[strcspn(new_comment, "\n")] = '\0';
crypto/openssh/ssh-keygen.c
307
buf[strcspn(buf, "\n")] = '\0';
crypto/openssh/ssh-keyscan.c
184
e = s + strcspn(s, delim);
crypto/openssh/ssh.c
1437
thishost[strcspn(thishost, ".")] = '\0';
crypto/openssh/sshconnect.c
1008
if (strcspn(hostname, "@?*#[]|'\'\"\\") != strlen(hostname)) {
crypto/openssh/sshconnect.c
599
p[strcspn(p, " \t\n")] = '\0'; /* remove trailing whitespace */
crypto/openssh/sshkey.c
1046
ret[strcspn(ret, "=")] = '\0';
crypto/openssh/sshkey.c
1326
space = strcspn(cp, " \t");
crypto/openssh/sshkey.c
1343
space = strcspn(cp, " \t");
crypto/openssh/sshlogin.c
118
time_string[strcspn(time_string, "\n")] = '\0';
crypto/openssl/crypto/pem/pem_lib.c
566
header += strcspn(header, " \t,");
crypto/openssl/providers/implementations/encode_decode/ml_common_codecs.c
65
end = fmt + strcspn(fmt, sep);
include/string.h
93
size_t strcspn(const char *, const char *) __pure;
lib/libc/posix1e/mac.c
419
if (policyname[strcspn(policyname, ".=")] != '\0') {
lib/libc/resolv/res_init.c
365
cp[strcspn(cp, ";# \t\n")] = '\0';
lib/libc/resolv/res_init.c
656
i = MIN(strcspn(cp, " \t"), sizeof(ext->nsuffix) - 1);
lib/libc/resolv/res_init.c
664
i = MIN(strcspn(cp, " \t"), sizeof(ext->nsuffix2) - 1);
lib/libc/tests/string/strcspn_test.c
173
outcome = strcspn(buf, set);
lib/libc/tests/string/strcspn_test.c
230
outcome = strcspn(buf, set);
lib/libc/tests/string/strcspn_test.c
47
#define STRXSPN strcspn
lib/libcrypt/crypt-sha256.c
96
salt_len = MIN(strcspn(salt, "$"), SALT_LEN_MAX);
lib/libcrypt/crypt-sha512.c
96
salt_len = MIN(strcspn(salt, "$"), SALT_LEN_MAX);
lib/libfetch/http.c
732
l = strcspn(*cpp, " \t,=");
lib/libjail/jail.c
442
fw = nval == 1 ? strlen(avalue) : strcspn(avalue, ",");
lib/libradius/radlib.c
1357
p += strcspn(p, ws);
lib/libutil/login_cap.c
160
indx = strcspn(str, quote_chars);
lib/libutil/login_cap.c
513
count = strcspn(ptr, ", \t");
lib/libutil/login_class.c
169
while (*(p += strcspn(p, "~$")) != '\0') {
lib/libveriexec/exec_script.c
60
if ((n = strcspn(cp, ws)) > 0) {
libexec/rtld-elf/rtld.c
2793
len = strcspn(p, delim);
libexec/rtld-elf/rtld.c
3657
len = strcspn(path, ":;");
sbin/ddb/ddb.c
82
spn = strcspn(argv[0], WHITESP);
sbin/fsdb/fsdbutil.c
86
argv[i][strcspn(argv[i], "\n")] = '\0';
sbin/routed/parms.c
630
line = tgt+strcspn(tgt, "= #,\n\r");
stand/kboot/kboot/main.c
191
walker += strcspn(walker, "\n") + 1;
stand/kboot/kboot/main.c
298
walker += strcspn(walker, "\n") + 1;
stand/uboot/main.c
244
if (strcspn(p, " .") == len && strcspn(p, ":") >= len - 1 &&
stand/uboot/main.c
632
len = strcspn(var, "=");
sys/sys/libkern.h
258
size_t strcspn(const char *, const char *) __pure;
tests/sys/ses/nondestructive.c
192
e = strcspn(s, "0123456789");
tests/sys/ses/nondestructive.c
203
z += strcspn(elmdn.elm_devnames + z, ",");
tools/regression/gaithrstress/gaithrstress.c
169
newword[strcspn(newword, "\r\n")] = '\0';
usr.bin/diff/diffreg.c
1478
buf[strcspn(buf, "\n")] = '\0';
usr.bin/fetch/fetch.c
1090
if (strcspn(h_hostname, "@:/") != strlen(h_hostname))
usr.bin/indent/args.c
344
line[strcspn(line, " \t\n\r")] = '\0';
usr.bin/limits/limits.c
694
int j = strcspn(q, "|");
usr.bin/localedef/charmap.c
326
if (((si = strcspn(s, digits)) == 0) || (si == ls) ||
usr.bin/patch/mkpath.c
58
slash += strcspn(slash, "/");
usr.bin/pathchk/pathchk.c
127
complen = (long)strcspn(p, "/");
usr.bin/systat/ifstat.c
393
while ((mlen = strcspn(ch, " ;,")) != 0) {
usr.bin/talk/get_names.c
79
cp = argv[1] + strcspn(argv[1], "@:!");
usr.bin/tip/tip/acu.c
117
cp = &string[strcspn(string, " \t\n")];
usr.bin/tip/tip/acu.c
126
*(cp + strcspn(cp, ",\n")) = '\0';
usr.bin/tip/tip/acu.c
97
cp += strcspn(cp, ",");
usr.bin/units/units.c
164
len = strcspn(lineptr, " \n\t");
usr.bin/units/units.c
183
len = strcspn(lineptr, "\n\t");
usr.bin/units/units.c
211
len = strcspn(lineptr, "\n\t");
usr.sbin/bsdinstall/distextract/distextract.c
197
span = strcspn(p, "\t") ;
usr.sbin/bsdinstall/distextract/distextract.c
205
span = strcspn(p += span + (*p != '\0' ? 1 : 0), "\t");
usr.sbin/bsdinstall/distextract/distextract.c
206
span = strcspn(p += span + (*p != '\0' ? 1 : 0), "\t");
usr.sbin/chkgrp/chkgrp.c
159
if (strcspn(f[k], " \t") != strlen(f[k])) {
usr.sbin/inetd/builtins.c
639
p[strcspn(p, " \t\r\n")] = '\0';
usr.sbin/moused/moused/util.c
72
l = strcspn(next, separators);
usr.sbin/newsyslog/newsyslog.c
701
hostname_shortlen = strcspn(hostname, ".");
usr.sbin/ngctl/main.c
525
if (strlen(s) <= strcspn(cmd->cmd, WHITESPACE)) {
usr.sbin/pmc/cmd_pmc_stat.c
216
c = strcspn(strdup(stat_mode_cntrs[i]), ", \t");
usr.sbin/pmcstat/pmcstat.c
704
c = strcspn(optarg, ", \t");
usr.sbin/ppp/command.c
1159
cp = buff + strcspn(buff, "\r\n");
usr.sbin/ppp/ncpaddr.c
910
len = strcspn(data, "/");
usr.sbin/ppp/netgraph.c
120
len = strcspn(data, " \t");
usr.sbin/ppp/netgraph.c
131
len = strcspn(data, " \t");
usr.sbin/ppp/netgraph.c
433
if ((len = strcspn(from, sep)) == 0) {
usr.sbin/pppctl/pppctl.c
499
p = addr + strcspn(addr, ":");
usr.sbin/rtadvd/config.c
832
c = strcspn(ap, ",");
usr.sbin/rtadvd/config.c
884
c = strcspn(ap, ",");
usr.sbin/sesutil/sesutil.c
587
comma = (int)strcspn(devnames, ",");
usr.sbin/ypldap/aldap.c
841
len = strcspn(cp, "()<>~=");
usr.sbin/ypldap/aldap.c
884
len = strcspn(attr_val, "*)");
usr.sbin/ypldap/aldap.c
904
len = strcspn(attr_val, "*)");
usr.sbin/ypldap/entries.c
109
endp[strcspn(endp, ":")] = '\0';
usr.sbin/ypldap/entries.c
74
endp[strcspn(endp, ":")] = '\0';
usr.sbin/ypldap/yp.c
643
line[strcspn(line, ":")] = '\0';
usr.sbin/ypldap/yp.c
671
line[strcspn(line, ":")] = '\0';
usr.sbin/ypldap/ypldap.c
195
bp += strcspn(bp, ":") + 1;
usr.sbin/ypldap/ypldap.c
198
bp += strcspn(bp, ":") + 1;
usr.sbin/ypldap/ypldap.c
201
bp[strcspn(bp, ":")] = '\0';
usr.sbin/ypldap/ypldap.c
231
bp += strcspn(bp, ":") + 1;
usr.sbin/ypldap/ypldap.c
234
bp += strcspn(bp, ":") + 1;
usr.sbin/ypldap/ypldap.c
404
ue->ue_line[strcspn(ue->ue_line, ":")] = '\0';
usr.sbin/ypldap/ypldap.c
430
ge->ge_line[strcspn(ge->ge_line, ":")] = '\0';