Symbol: strnlen
common/lib/libc/string/strlcat.c
92
size_t dlen = strnlen(dst, siz);
include/string.h
113
size_t strnlen(const char *, size_t);
lib/libc/time/localtime.c
1104
size_t namelen = strnlen (name, namesizemax);
lib/libc/time/localtime.c
1374
size_t tsabbrlen = strnlen(tsabbr, TZ_MAX_CHARS - j);
lib/libc/time/localtime.c
2027
namelen = strnlen(name, sizeof lcl_TZname);
lib/libc/time/localtime.c
2038
namelen = strnlen(name, sizeof lcl_TZname);
lib/libc/time/localtime.c
895
int len = (int)strnlen(&sp->chars[i], TZNAME_MAXIMUM + 1);
sys/arch/usermode/usermode/copy.c
61
len = uimin(strnlen(uaddr, len), len) + 1;
sys/arch/usermode/usermode/copy.c
71
len = uimin(strnlen(kaddr, len), len) + 1;
sys/coda/coda_vfsops.c
200
strnlen(data, *data_len) >= *data_len) {
sys/dist/pf/net/if_pfsync.c
254
if (strnlen(sp->ifname, IFNAMSIZ) == IFNAMSIZ)
sys/dist/pf/net/pf_ioctl.c
2650
if (strnlen(io->pfrio_table.pfrt_anchor, MAXPATHLEN)
sys/dist/pf/net/pf_ioctl.c
2655
if (strnlen(io->pfrio_table.pfrt_name, PF_TABLE_NAME_SIZE)
sys/kern/exec_elf.c
1056
if (strnlen(ndesc, np->n_descsz) + 1 !=
sys/kern/exec_elf.c
724
if (strnlen(interp, pp->p_filesz) != pp->p_filesz - 1) {
sys/kern/kern_module.c
1261
if (strnlen(mi->mi_name, MAXMODNAME) >= MAXMODNAME) {
sys/kern/subr_kmem.c
587
size_t len = strnlen(str, maxlen);
sys/lib/libkern/libkern.h
384
size_t strnlen(const char *, size_t);
sys/net/if_pppoe.c
1305
strsiz = strnlen(next, bufsiz);
tests/lib/libc/stdio/t_fmemopen.c
1055
len = strnlen(t->s, t->n);
tests/lib/libc/stdio/t_fmemopen.c
1111
len0 = strnlen(t0->s, t0->n);
tests/lib/libc/stdio/t_fmemopen.c
1113
len1 = strnlen(t1->s, t1->n);
tests/lib/libc/stdio/t_fmemopen.c
521
len = (off_t)strnlen(t->s, t->n);
tests/lib/libc/stdio/t_fmemopen.c
581
len = (off_t)strnlen(t->s, t->n);
tests/lib/libc/stdio/t_fmemopen.c
689
len = (off_t)strnlen(t->s, t->n);
tests/lib/libc/stdio/t_fmemopen.c
829
len = strnlen(t->s, t->n);
tests/lib/libc/stdio/t_fmemopen.c
882
len = strnlen(t->s, t->n);
tests/lib/libc/string/t_strlen.c
184
ATF_CHECK(strnlen(buf, 000) == 0);
tests/lib/libc/string/t_strlen.c
185
ATF_CHECK(strnlen(buf, 111) == 0);
tests/lib/libc/string/t_strlen.c
187
ATF_CHECK(strnlen("xxx", 0) == 0);
tests/lib/libc/string/t_strlen.c
188
ATF_CHECK(strnlen("xxx", 1) == 1);
tests/lib/libc/string/t_strlen.c
189
ATF_CHECK(strnlen("xxx", 2) == 2);
tests/lib/libc/string/t_strlen.c
190
ATF_CHECK(strnlen("xxx", 3) == 3);
tests/lib/libc/string/t_strlen.c
191
ATF_CHECK(strnlen("xxx", 9) == 3);
tools/compat/compat_defs.h
546
size_t strnlen(const char *, size_t);
usr.sbin/intrctl/intrctl.c
295
if (strnlen(optarg, ARG_MAX) > INTRIDBUF)
usr.sbin/wgconfig/wgconfig.c
721
if (strnlen(argv[1], KEY_BASE64_LEN + 1) != KEY_BASE64_LEN)