Searched refs:strnlen (Results 1 - 25 of 77) sorted by relevance

1234

/freebsd-11-stable/lib/libc/string/
H A Dstrnlen.c33 strnlen(const char *s, size_t maxlen) function
H A Dstrndup.c32 len = strnlen(str, maxlen);
H A DMakefile.inc17 strncat.c strncmp.c strncpy.c strndup.c strnlen.c strnstr.c \
71 MLINKS+=strlen.3 strnlen.3
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dstrnlen.c39 strnlen(const char *s, size_t len) function
H A Dstrndup.c44 size_t len = strnlen (old, sz);
H A Dstrlcat.c46 len = strnlen(dst, dst_sz);
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dstrnlen.c1 /* $OpenBSD: strnlen.c,v 1.3 2010/06/02 12:58:12 millert Exp $ */
19 /* OPENBSD ORIGINAL: lib/libc/string/strnlen.c */
28 strnlen(const char *str, size_t maxlen) function
H A DMakefile.in19 OPENBSD=base64.o basename.o bcrypt_pbkdf.o bindresvport.o blowfish.o daemon.o dirname.o fmt_scaled.o getcwd.o getgrouplist.o getopt_long.o getrrsetbyname.o glob.o inet_aton.o inet_ntoa.o inet_ntop.o mktemp.o pwcache.o readpassphrase.o reallocarray.o realpath.o rresvport.o setenv.o setproctitle.o sha1.o sha2.o rmd160.o md5.o sigact.o strcasestr.o strlcat.o strlcpy.o strmode.o strnlen.o strptime.o strsep.o strtonum.o strtoll.o strtoul.o strtoull.o timingsafe_bcmp.o vis.o blowfish.o bcrypt_pbkdf.o explicit_bzero.o
/freebsd-11-stable/sys/libkern/
H A Dstrnlen.c33 strnlen(const char *s, size_t maxlen) function
H A Dstrndup.c46 len = strnlen(string, maxlen) + 1;
H A Diconv.c414 if (strnlen(din.ia_from, sizeof(din.ia_from)) >= ICONV_CSNMAXLEN)
416 if (strnlen(din.ia_to, sizeof(din.ia_to)) >= ICONV_CSNMAXLEN)
418 if (strnlen(din.ia_converter, sizeof(din.ia_converter)) >= ICONV_CNVNMAXLEN)
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/string/
H A Dt_strlen.c175 atf_tc_set_md_var(tc, "descr", "A naive test of strnlen(3)");
184 ATF_CHECK(strnlen(buf, 000) == 0);
185 ATF_CHECK(strnlen(buf, 111) == 0);
187 ATF_CHECK(strnlen("xxx", 0) == 0);
188 ATF_CHECK(strnlen("xxx", 1) == 1);
189 ATF_CHECK(strnlen("xxx", 2) == 2);
190 ATF_CHECK(strnlen("xxx", 3) == 3);
191 ATF_CHECK(strnlen("xxx", 9) == 3);
/freebsd-11-stable/contrib/blacklist/port/
H A Dstrlcat.c87 size_t dlen = strnlen(dst, siz);
/freebsd-11-stable/sys/contrib/ncsw/inc/
H A Dstdlib_ext.h82 * strnlen - Find the length of a length-limited string
86 size_t strnlen(const char * s, size_t count);
/freebsd-11-stable/contrib/ntp/libntp/
H A Dstrdup.c46 size_t strnlen(const char *s, size_t n) function
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_interceptors.h131 DECLARE_REAL(uptr, strnlen, const char *s, uptr maxlen)
H A Dasan_win_dll_thunk.cpp80 INTERCEPT_LIBRARY_FUNCTION(strnlen); variable
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libuutil/common/
H A Duu_alloc.c79 len = strnlen(s, n);
/freebsd-11-stable/sys/contrib/libfdt/
H A Dlibfdt_env.h123 /* strnlen() is not available on Mac OS < 10.7 */
127 #define strnlen fdt_strnlen macro
/freebsd-11-stable/include/
H A Dstring.h104 size_t strnlen(const char *, size_t) __pure;
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/
H A DObject.cpp62 strnlen(SegName, sizeof(MachO::segment_command::segname)));
/freebsd-11-stable/contrib/ntp/include/
H A Dl_stdlib.h229 extern size_t strnlen(const char *s, size_t n);
/freebsd-11-stable/contrib/dtc/libfdt/
H A Dfdt_ro.c579 length = strnlen(list, end - list) + 1;
606 length = strnlen(list, end - list) + 1;
640 length = strnlen(list, end - list) + 1;
/freebsd-11-stable/lib/libc/stdio/
H A Dfmemopen.c130 ck->off = ck->len = strnlen(ck->buf, ck->size);
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/
H A Dt_setdomainname.c63 l = strnlen(domain, MAXHOSTNAMELEN);

Completed in 180 milliseconds

1234