Defined in 14 files as a prototype:
- external/bsd/ntp/dist/include/l_stdlib.h, line 231 (as a prototype)
- external/bsd/tmux/dist/compat.h, line 324 (as a prototype)
- external/gpl3/binutils.old/dist/bfd/sysdep.h, line 175 (as a prototype)
- external/gpl3/binutils.old/dist/binutils/sysdep.h, line 116 (as a prototype)
- external/gpl3/binutils.old/dist/include/libiberty.h, line 679 (as a prototype)
- external/gpl3/binutils.old/dist/libiberty/strndup.c, line 36 (as a prototype)
- external/gpl3/binutils/dist/include/libiberty.h, line 686 (as a prototype)
- external/gpl3/binutils/dist/libiberty/strndup.c, line 36 (as a prototype)
- external/gpl3/gdb.old/dist/include/libiberty.h, line 686 (as a prototype)
- external/mit/libuv/dist/src/unix/internal.h, line 354 (as a prototype)
- external/mit/libuv/dist/src/unix/os390-syscalls.h, line 67 (as a prototype)
- include/string.h, line 88 (as a prototype)
- sys/lib/libkern/libkern.h, line 432 (as a prototype)
- tools/compat/compat_defs.h, line 531 (as a prototype)
Defined in 6 files as a macro:
Defined in 10 files as a function:
- common/lib/libc/arch/arm/string/strlen_naive.S, line 35 (as a function)
- common/lib/libc/string/strnlen.c, line 47 (as a function)
- crypto/external/bsd/heimdal/dist/lib/roken/strnlen.c, line 41 (as a function)
- external/bsd/ntp/dist/libntp/strdup.c, line 48 (as a function)
- external/bsd/tmux/dist/compat/strnlen.c, line 26 (as a function)
- external/gpl3/binutils.old/dist/libiberty/strnlen.c, line 22 (as a function)
- external/gpl3/gcc.old/dist/libgfortran/runtime/string.c, line 96 (as a function)
- external/gpl3/gdb.old/dist/gnulib/import/strnlen.c, line 26 (as a function)
- external/lgpl3/gmp/dist/printf/repl-vsnprintf.c, line 73 (as a function)
- external/mit/libuv/dist/src/unix/sunos.c, line 893 (as a function)
Referenced in 175 files:
- common/lib/libc/arch/aarch64/string/strlen.S, line 37
- common/lib/libc/arch/arm/string/strlcat_arm.S, line 58
- common/lib/libc/arch/arm/string/strlen_arm.S, line 51
- common/lib/libc/arch/arm/string/strlen_naive.S, line 57
- common/lib/libc/string/strlcat.c, line 92
- crypto/external/bsd/heimdal/dist/lib/base/db.c, 3 times
- crypto/external/bsd/heimdal/dist/lib/roken/resolve.c, 4 times
- crypto/external/bsd/heimdal/dist/lib/roken/strlcat.c, line 48
- crypto/external/bsd/heimdal/dist/lib/roken/strndup.c, line 46
- external/apache2/llvm/dist/clang/lib/Lex/HeaderMap.cpp, line 158
- external/apache2/llvm/dist/llvm/lib/ObjectYAML/MachOEmitter.cpp, line 288
- external/apache2/llvm/dist/llvm/lib/ObjectYAML/MachOYAML.cpp, line 39
- external/apache2/llvm/dist/llvm/tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp, 2 times
- external/apache2/llvm/dist/llvm/tools/llvm-objcopy/MachO/MachOReader.cpp, 2 times
- external/apache2/llvm/dist/llvm/tools/llvm-objcopy/MachO/Object.cpp, line 167
- external/apache2/llvm/dist/llvm/tools/llvm-readobj/ELFDumper.cpp, line 4204
- external/apache2/llvm/dist/llvm/tools/llvm-readobj/ObjDumper.cpp, line 118
- external/apache2/llvm/dist/llvm/tools/obj2yaml/macho2yaml.cpp, line 228
- external/bsd/blocklist/port/strlcat.c, line 87
- external/bsd/ntp/dist/ntpd/ntp_refclock.c, line 1730
- external/bsd/pdisk/dist/dump.c, 2 times
- external/bsd/tmux/dist/compat/strndup.c, line 33
- external/bsd/wpa/dist/src/drivers/driver_nl80211.c, line 355
- external/cddl/osnet/dist/cmd/zfs/zfs_main.c, line 5196
- external/cddl/osnet/dist/lib/libuutil/common/uu_alloc.c, line 79
- external/gpl2/dtc/dist/checks.c, 2 times
- external/gpl3/binutils.old/dist/bfd/dwarf1.c, line 282
- external/gpl3/binutils.old/dist/bfd/elf-attrs.c, line 492
- external/gpl3/binutils.old/dist/bfd/mach-o.c, line 969
- external/gpl3/binutils.old/dist/bfd/opncls.c, 2 times
- external/gpl3/binutils.old/dist/bfd/peicode.h, line 1288
- external/gpl3/binutils.old/dist/binutils/dwarf.c, 27 times
- external/gpl3/binutils.old/dist/binutils/readelf.c, 15 times
- external/gpl3/binutils.old/dist/libiberty/strndup.c, line 44
- external/gpl3/binutils.old/dist/libiberty/xstrndup.c, line 51
- external/gpl3/binutils/dist/bfd/dwarf1.c, line 280
- external/gpl3/binutils/dist/bfd/elf-attrs.c, 4 times
- external/gpl3/binutils/dist/bfd/mach-o.c, line 968
- external/gpl3/binutils/dist/bfd/opncls.c, 2 times
- external/gpl3/binutils/dist/bfd/peicode.h, line 1291
- external/gpl3/binutils/dist/binutils/dwarf.c, 27 times
- external/gpl3/binutils/dist/binutils/readelf.c, 16 times
- external/gpl3/binutils/dist/libiberty/strndup.c, line 44
- external/gpl3/binutils/dist/libiberty/xstrndup.c, line 51
- external/gpl3/gcc.old/dist/gcc/builtins.c, 2 times
- external/gpl3/gcc.old/dist/gcc/config/aarch64/driver-aarch64.c, line 206
- external/gpl3/gcc.old/dist/gcc/gimple-fold.c, 2 times
- external/gpl3/gcc.old/dist/gcc/lto-cgraph.c, 2 times
- external/gpl3/gcc.old/dist/gcc/pretty-print.c, line 1440
- external/gpl3/gcc.old/dist/gcc/tree-ssa-strlen.c, line 4786
- external/gpl3/gcc.old/dist/libbacktrace/dwarf.c, 3 times
- external/gpl3/gcc.old/dist/libbacktrace/elf.c, 2 times
- external/gpl3/gcc.old/dist/libgfortran/runtime/string.c, line 112
- external/gpl3/gcc.old/dist/libiberty/strndup.c, line 44
- external/gpl3/gcc.old/dist/libiberty/xstrndup.c, line 51
- external/gpl3/gcc.old/dist/libsanitizer/asan/asan_interceptors.cc, 2 times
- external/gpl3/gcc.old/dist/libsanitizer/asan/asan_interceptors.h, line 128
- external/gpl3/gcc.old/dist/libsanitizer/asan/asan_win_dll_thunk.cc, line 78
- external/gpl3/gcc.old/dist/libsanitizer/libbacktrace/backtrace-rename.h, line 55
- external/gpl3/gcc/dist/gcc/builtins.c, 2 times
- external/gpl3/gcc/dist/gcc/config/aarch64/driver-aarch64.c, line 206
- external/gpl3/gcc/dist/gcc/gimple-fold.c, 2 times
- external/gpl3/gcc/dist/gcc/lto-cgraph.c, 2 times
- external/gpl3/gcc/dist/gcc/pretty-print.c, line 1440
- external/gpl3/gcc/dist/gcc/tree-ssa-strlen.c, line 4786
- external/gpl3/gcc/dist/libbacktrace/dwarf.c, 3 times
- external/gpl3/gcc/dist/libbacktrace/elf.c, 2 times
- external/gpl3/gcc/dist/libgfortran/runtime/string.c, line 112
- external/gpl3/gcc/dist/libiberty/strndup.c, line 44
- external/gpl3/gcc/dist/libiberty/xstrndup.c, line 51
- external/gpl3/gcc/dist/libsanitizer/asan/asan_interceptors.cc, 2 times
- external/gpl3/gcc/dist/libsanitizer/asan/asan_interceptors.h, line 128
- external/gpl3/gcc/dist/libsanitizer/asan/asan_win_dll_thunk.cc, line 78
- external/gpl3/gcc/dist/libsanitizer/libbacktrace/backtrace-rename.h, line 55
- external/gpl3/gdb.old/dist/bfd/dwarf1.c, line 282
- external/gpl3/gdb.old/dist/bfd/elf-attrs.c, line 495
- external/gpl3/gdb.old/dist/bfd/mach-o.c, line 969
- external/gpl3/gdb.old/dist/bfd/opncls.c, 2 times
- external/gpl3/gdb.old/dist/bfd/peicode.h, line 1275
- external/gpl3/gdb.old/dist/binutils/dwarf.c, 27 times
- external/gpl3/gdb.old/dist/binutils/readelf.c, 14 times
- external/gpl3/gdb.old/dist/gdb/linux-tdep.c, line 1140
- external/gpl3/gdb.old/dist/gnulib/import/fnmatch.c, 2 times
- external/gpl3/gdb.old/dist/gnulib/import/string.in.h, 9 times
- external/gpl3/gdb.old/dist/libiberty/strndup.c, line 44
- external/gpl3/gdb.old/dist/libiberty/xstrndup.c, line 51
- external/gpl3/gdb.old/lib/libgnulib/arch/aarch64/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/aarch64eb/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/alpha/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/arm/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/armeb/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/hppa/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/i386/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/m68000/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/m68k/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mips64eb/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mips64el/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipseb/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsel/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsn64eb/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/mipsn64el/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/powerpc/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/powerpc64/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/riscv32/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/riscv64/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sh3eb/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sh3el/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sparc/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/sparc64/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/vax/gnulib/import/string.h, 9 times
- external/gpl3/gdb.old/lib/libgnulib/arch/x86_64/gnulib/import/string.h, 9 times
- external/gpl3/gdb/dist/bfd/dwarf1.c, line 282
- external/gpl3/gdb/dist/bfd/elf-attrs.c, line 495
- external/gpl3/gdb/dist/bfd/mach-o.c, line 969
- external/gpl3/gdb/dist/bfd/opncls.c, 2 times
- external/gpl3/gdb/dist/bfd/peicode.h, line 1275
- external/gpl3/gdb/dist/binutils/dwarf.c, 27 times
- external/gpl3/gdb/dist/binutils/readelf.c, 14 times
- external/gpl3/gdb/dist/gdb/linux-tdep.c, line 1140
- external/gpl3/gdb/dist/gnulib/import/fnmatch.c, 2 times
- external/gpl3/gdb/dist/gnulib/import/string.in.h, 9 times
- external/gpl3/gdb/dist/libiberty/strndup.c, line 44
- external/gpl3/gdb/dist/libiberty/xstrndup.c, line 51
- external/gpl3/gdb/lib/libgnulib/arch/aarch64/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/aarch64eb/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/arm/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/armeb/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/hppa/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/i386/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/m68000/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/m68k/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mips64eb/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mips64el/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mipseb/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsel/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsn64eb/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/mipsn64el/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/powerpc/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/powerpc64/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/riscv32/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/riscv64/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/sh3eb/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/sh3el/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/sparc/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/sparc64/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/vax/gnulib/import/string.h, 9 times
- external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/string.h, 9 times
- external/lgpl3/gmp/dist/printf/repl-vsnprintf.c, line 298
- external/mit/libuv/dist/src/unix/getaddrinfo.c, line 236
- external/mit/libuv/dist/src/unix/process.c, 2 times
- sys/arch/usermode/usermode/copy.c, 2 times
- sys/coda/coda_vfsops.c, line 201
- sys/external/bsd/acpica/dist/include/actypes.h, line 583
- sys/external/bsd/acpica/dist/tools/acpiexec/aeinitfile.c, 2 times
- sys/external/bsd/common/include/linux/printk.h, 2 times
- sys/external/bsd/compiler_rt/dist/lib/asan/asan_interceptors.cc, 2 times
- sys/external/bsd/compiler_rt/dist/lib/asan/asan_interceptors.h, line 113
- sys/external/bsd/compiler_rt/dist/lib/asan/asan_win_dll_thunk.cc, line 81
- sys/external/bsd/compiler_rt/dist/lib/asan/tests/asan_str_test.cc, 7 times
- sys/external/bsd/compiler_rt/dist/lib/msan/msan_interceptors.cc, 4 times
- sys/external/bsd/compiler_rt/dist/lib/xray/xray_interface.cc, line 427
- sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_device.c, 2 times
- sys/external/bsd/drm2/dist/drm/drm_dp_helper.c, line 1270
- sys/external/bsd/drm2/include/linux/string.h, line 77
- sys/external/bsd/libfdt/dist/fdt_ro.c, 3 times
- sys/external/bsd/libnv/dist/nvpair.c, 3 times
- sys/kern/exec_elf.c, 2 times
- sys/kern/kern_module.c, line 1222
- sys/kern/subr_kmem.c, line 583
- sys/net/if_pppoe.c, line 1300
- tests/lib/libc/stdio/t_fmemopen.c, 8 times
- tests/lib/libc/string/t_strlen.c, 7 times
- usr.sbin/intrctl/intrctl.c, line 295
- usr.sbin/wgconfig/wgconfig.c, line 720