Searched refs:strnlen (Results 51 - 75 of 77) sorted by relevance

1234

/freebsd-11-stable/lib/libc/stdio/
H A Dvfprintf.c781 size = (prec >= 0) ? strnlen(cp, prec) : strlen(cp);
852 size = (prec >= 0) ? strnlen(cp, prec) : strlen(cp);
/freebsd-11-stable/usr.sbin/kldxref/
H A Def.c517 if (strnlen(dest, len) == len)
H A Def_obj.c316 if (strnlen(ef->address + offset, len) == len)
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_socket.c174 namelen = strnlen(name + 1, salen - hdrlen - 1) + 1;
176 namelen = strnlen(name, salen - hdrlen);
/freebsd-11-stable/sys/dev/xen/netback/
H A Dnetback.c557 return (SYSCTL_OUT(req, results, strnlen(results, 720)));
579 return (SYSCTL_OUT(req, results, strnlen(results, 720)));
H A Dnetback_unit_tests.c227 new_chars = strnlen(buffer, buflen);
338 return (SYSCTL_OUT(req, results, strnlen(results, TOTAL_BUFLEN)));
/freebsd-11-stable/sys/kern/
H A Dkern_sysctl.c1519 outlen = strnlen(tmparg, arg2 - 1) + 1;
1525 outlen = strnlen((char *)arg1, arg2 - 1) + 1;
H A Dkern_proc.c1845 len = strnlen(pss_string, GET_PS_STRINGS_CHUNK_SZ);
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dglob.c186 if (strnlen(pattern, PATH_MAX) == PATH_MAX)
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/
H A DProcessElfCore.cpp809 thread_data.name.assign (prpsinfo.pr_fname, strnlen (prpsinfo.pr_fname, sizeof (prpsinfo.pr_fname)));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMachOYAML.cpp39 auto Len = strnlen(&Val[0], 16);
/freebsd-11-stable/contrib/ntp/ntpd/
H A Dntp_refclock.c1728 len = strnlen(tc, sizeof(pp->a_lastcode) - 1);
/freebsd-11-stable/sys/dev/ocs_fc/
H A Docs_ioctl.c769 strnlen(fw_image->revision, 16))) {
/freebsd-11-stable/sys/netpfil/ipfw/
H A Dip_fw_table_algo.c2204 if (strnlen(ifname, IF_NAMESIZE) == IF_NAMESIZE)
2299 if (strnlen(ifname, IF_NAMESIZE) == IF_NAMESIZE)
2548 if (strnlen(ifname, IF_NAMESIZE) == IF_NAMESIZE)
H A Dip_fw_table.c1837 strnlen(aname, sizeof(i->algoname)) == sizeof(i->algoname))
H A Dip_fw_sockopt.c2536 if (strnlen(name, nsize) == nsize)
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/
H A DmibII.c575 ifp->alias_size = strnlen(ifp->alias, alias_maxlen) + 1;
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_read_support_format_mtree.c194 #define mtree_strnlen(a,b) strnlen(a,b)
/freebsd-11-stable/lib/libc/net/
H A Dgetaddrinfo.c1432 size_t n = strnlen(addr, afd->a_addrlen);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Core/
H A DValueObject.cpp1065 size_t len = strnlen(cstr, k_max_buf_size);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc384 INTERCEPTOR(SIZE_T, strnlen, const char *s, SIZE_T maxlen) {
386 COMMON_INTERCEPTOR_ENTER(ctx, strnlen, s, maxlen);
387 SIZE_T length = REAL(strnlen)(s, maxlen);
392 #define INIT_STRNLEN COMMON_INTERCEPT_FUNCTION(strnlen)
7104 // Keep strnlen as macro argument, as macro may ignore it.
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A DMakefile.in59 strlcat.c strlcpy.c strlwr.c strncasecmp.c strndup.c strnlen.c \
848 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/strnlen.Plo@am__quote@
/freebsd-11-stable/sys/cam/
H A Dcam_xpt.c1188 l = strnlen(idd->identifier, idd->length);
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zfs/
H A Dzfs_main.c5251 if (who_name == NULL || strnlen(who_name, 1) == 0)
/freebsd-11-stable/contrib/gcclibs/libmudflap/
H A Dconfigure4104 for ac_func in strnlen memrchr strncpy memmem sethostname

Completed in 327 milliseconds

1234