Home
last modified time | relevance | path

Searched refs:kMaxPathLength (Results 1 – 17 of 17) sorted by relevance

/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
HDsanitizer_file.cpp57 internal_snprintf(full_path, kMaxPathLength, "%s.%s.%zu", path_prefix, in ReopenIfNecessary()
60 internal_snprintf(full_path, kMaxPathLength, "%s.%zu", path_prefix, pid); in ReopenIfNecessary()
63 internal_strlcat(full_path, common_flags()->log_suffix, kMaxPathLength); in ReopenIfNecessary()
118 internal_snprintf(path_prefix, kMaxPathLength, "%s", path); in SetReportPath()
215 InternalMmapVector<char> buffer(kMaxPathLength); in FindPathToBinary()
220 if (prefix_len + name_len + 2 <= kMaxPathLength) { in FindPathToBinary()
HDsanitizer_flags.cpp94 char *buf = (char *)MmapOrDie(kMaxPathLength, "FlagHandlerInclude"); in Parse()
95 SubstituteForFlagValue(value, buf, kMaxPathLength); in Parse()
97 UnmapOrDie(buf, kMaxPathLength); in Parse()
HDsanitizer_coverage_libcdep_new.cpp44 internal_snprintf(path, kMaxPathLength, "%s/%s.%zd.%s", in GetCoverageFilename()
62 char* file_path = static_cast<char*>(InternalAlloc(kMaxPathLength)); in SanitizerDumpCoverage()
63 char* module_name = static_cast<char*>(InternalAlloc(kMaxPathLength)); in SanitizerDumpCoverage()
93 GetModuleAndOffsetForPc(pc, module_name, kMaxPathLength, &pcs[i]); in SanitizerDumpCoverage()
HDsanitizer_file.h40 char path_prefix[kMaxPathLength];
42 char full_path[kMaxPathLength];
HDsanitizer_suppressions.cpp37 InternalMmapVector<char> exec(kMaxPathLength); in GetPathAssumingFileIsRelativeToExec()
72 InternalMmapVector<char> new_file_path(kMaxPathLength); in ParseFromFile()
HDsanitizer_win.cpp674 InternalMmapVector<wchar_t> modname_utf16(kMaxPathLength); in init()
675 InternalMmapVector<char> module_name(kMaxPathLength); in init()
686 GetModuleFileNameW(handle, &modname_utf16[0], kMaxPathLength); in init()
691 kMaxPathLength, NULL, NULL); in init()
1097 InternalMmapVector<wchar_t> binname_utf16(kMaxPathLength); in ReadBinaryName()
1099 GetModuleFileNameW(NULL, &binname_utf16[0], kMaxPathLength); in ReadBinaryName()
HDsanitizer_symbolizer_win.cpp285 char *new_path = (char *)InternalAlloc(kMaxPathLength); in ChooseSymbolizerTools()
286 SubstituteForFlagValue(user_path, new_path, kMaxPathLength); in ChooseSymbolizerTools()
HDsanitizer_common.cpp271 static char binary_name_cache_str[kMaxPathLength];
272 static char process_name_cache_str[kMaxPathLength];
HDsanitizer_symbolizer_posix_libcdep.cpp413 char *new_path = (char *)InternalAlloc(kMaxPathLength); in ChooseExternalSymbolizer()
414 SubstituteForFlagValue(path, new_path, kMaxPathLength); in ChooseExternalSymbolizer()
HDsanitizer_libignore.cpp41 InternalMmapVector<char> buf(kMaxPathLength); in OnLibraryLoaded()
HDsanitizer_procmaps_common.cpp123 InternalMmapVector<char> module_name(kMaxPathLength); in DumpListOfModules()
HDsanitizer_procmaps_mac.cpp431 InternalMmapVector<char> module_name(kMaxPathLength); in DumpListOfModules()
HDsanitizer_posix.cpp290 InternalMmapVector<char> buff(kMaxPathLength); in GetCodeRangeForFile()
HDsanitizer_mac.cpp466 CHECK_LE(kMaxPathLength, buf_len); in ReadBinaryName()
471 InternalMmapVector<char> exe_path(kMaxPathLength); in ReadBinaryName()
HDsanitizer_linux_libcdep.cpp713 InternalMmapVector<char> module_name(kMaxPathLength); in dl_iterate_phdr_cb()
HDsanitizer_common.h43 const uptr kMaxPathLength = 4096; variable
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/stats/
HDstats.cpp44 InternalMmapVector<char> path(kMaxPathLength); in OpenStatsFile()
45 SubstituteForFlagValue(path_env, path.data(), kMaxPathLength); in OpenStatsFile()