reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/ObjectYAML/MachOYAML.cpp
   39   auto Len = strnlen(&Val[0], 16);
projects/compiler-rt/lib/xray/xray_interface.cpp
  426     h->description_string_length = strnlen(event_type, 1024);
tools/clang/lib/Lex/HeaderMap.cpp
  158   unsigned Len = strnlen(Data, MaxLen);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryUtils.h
  191   return StringRef(s, strnlen(s, 16));
tools/lldb/source/Core/ValueObject.cpp
 1053         size_t len = strnlen(cstr, k_max_buf_size);
tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
 1547       load_cmd.segname, strnlen(load_cmd.segname, sizeof(load_cmd.segname)));
 1666           sect64.sectname, strnlen(sect64.sectname, sizeof(sect64.sectname)));
tools/lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
  809       thread_data.name.assign (prpsinfo.pr_fname, strnlen (prpsinfo.pr_fname, sizeof (prpsinfo.pr_fname)));
tools/lldb/source/Utility/ConstString.cpp
  129       const size_t trimmed_len = strnlen(cstr, cstr_len);
tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp
  118                           strnlen(MLC.segment_command_data.segname,
  125                           strnlen(MLC.segment_command_64_data.segname,
tools/llvm-objcopy/MachO/MachOReader.cpp
   34       StringRef(Sec.sectname, strnlen(Sec.sectname, sizeof(Sec.sectname)))
   37       StringRef(Sec.segname, strnlen(Sec.segname, sizeof(Sec.sectname))).str();
tools/llvm-readobj/ObjDumper.cpp
  104       size_t WordSize = strnlen(reinterpret_cast<const char *>(CurrentWord),
tools/obj2yaml/macho2yaml.cpp
  149   auto Size = strnlen(Start, MaxSize);