Home
last modified time | relevance | path

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

12

/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_file.cpp56 internal_snprintf(full_path, kMaxPathLength, "%s.%s.%zu", path_prefix, in ReopenIfNecessary()
59 internal_snprintf(full_path, kMaxPathLength, "%s.%zu", path_prefix, pid); in ReopenIfNecessary()
94 internal_snprintf(path_prefix, kMaxPathLength, "%s", path); in SetReportPath()
190 InternalMmapVector<char> buffer(kMaxPathLength); in FindPathToBinary()
195 if (prefix_len + name_len + 2 <= kMaxPathLength) { in FindPathToBinary()
Dsanitizer_flags.cpp87 char *buf = (char *)MmapOrDie(kMaxPathLength, "FlagHandlerInclude"); in Parse()
88 SubstituteForFlagValue(value, buf, kMaxPathLength); in Parse()
90 UnmapOrDie(buf, kMaxPathLength); in Parse()
Dsanitizer_coverage_libcdep_new.cpp42 internal_snprintf(path, kMaxPathLength, "%s/%s.%zd.%s", in GetCoverageFilename()
60 char* file_path = static_cast<char*>(InternalAlloc(kMaxPathLength)); in SanitizerDumpCoverage()
61 char* module_name = static_cast<char*>(InternalAlloc(kMaxPathLength)); in SanitizerDumpCoverage()
90 __sanitizer_get_module_and_offset_for_pc(pc, module_name, kMaxPathLength, in SanitizerDumpCoverage()
Dsanitizer_file.h40 char path_prefix[kMaxPathLength];
42 char full_path[kMaxPathLength];
Dsanitizer_suppressions.cpp37 InternalScopedString exec(kMaxPathLength); in GetPathAssumingFileIsRelativeToExec()
72 InternalScopedString new_file_path(kMaxPathLength); in ParseFromFile()
Dsanitizer_common.cpp236 static char binary_name_cache_str[kMaxPathLength];
237 static char process_name_cache_str[kMaxPathLength];
Dsanitizer_procmaps_mac.cpp357 InternalScopedString module_name(kMaxPathLength); in DumpListOfModules()
358 MemoryMappedSegment segment(module_name.data(), kMaxPathLength); in DumpListOfModules()
Dsanitizer_libignore.cpp41 InternalScopedString buf(kMaxPathLength); in OnLibraryLoaded()
Dsanitizer_win.cpp645 wchar_t modname_utf16[kMaxPathLength]; in init()
647 GetModuleFileNameW(handle, modname_utf16, kMaxPathLength); in init()
650 char module_name[kMaxPathLength]; in init()
653 &module_name[0], kMaxPathLength, NULL, NULL); in init()
Dsanitizer_procmaps_common.cpp123 InternalScopedString module_name(kMaxPathLength); in DumpListOfModules()
Dsanitizer_posix.cpp278 InternalScopedString buff(kMaxPathLength); in GetCodeRangeForFile()
279 MemoryMappedSegment segment(buff.data(), kMaxPathLength); in GetCodeRangeForFile()
Dsanitizer_symbolizer_win.cpp226 InternalScopedString command_line(kMaxPathLength * 3); in StartSymbolizerSubprocess()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.cc57 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()
92 internal_snprintf(path_prefix, kMaxPathLength, "%s", path); in SetReportPath()
350 InternalScopedBuffer<char> buffer(kMaxPathLength); in FindPathToBinary()
355 if (prefix_len + name_len + 2 <= kMaxPathLength) { in FindPathToBinary()
369 static char binary_name_cache_str[kMaxPathLength];
370 static char process_name_cache_str[kMaxPathLength];
Dsanitizer_flags.cc98 char *buf = (char *)MmapOrDie(kMaxPathLength, "FlagHandlerInclude"); in Parse()
99 SubstituteForFlagValue(value, buf, kMaxPathLength); in Parse()
101 UnmapOrDie(buf, kMaxPathLength); in Parse()
Dsanitizer_libignore.cc41 InternalScopedString buf(kMaxPathLength); in OnLibraryLoaded()
54 InternalScopedString module(kMaxPathLength); in OnLibraryLoaded()
Dsanitizer_coverage_libcdep.cc190 InternalScopedString path(kMaxPathLength); in DirectOpen()
623 InternalScopedString path(kMaxPathLength); in DumpTrace()
689 InternalScopedString path(kMaxPathLength); in DumpCallerCalleePairs()
716 InternalScopedString path(kMaxPathLength); in DumpCounters()
738 InternalScopedString path(kMaxPathLength); in DumpAsBitSet()
816 InternalScopedString report_path(kMaxPathLength); in GenerateHtmlReport()
833 InternalScopedString path(kMaxPathLength); in DumpOffsets()
896 InternalScopedString path(kMaxPathLength); in CovPrepareForSandboxing()
905 InternalScopedString path(kMaxPathLength); in MaybeOpenCovFile()
Dsanitizer_suppressions.cc36 InternalScopedString exec(kMaxPathLength); in GetPathAssumingFileIsRelativeToExec()
55 InternalScopedString new_file_path(kMaxPathLength); in ParseFromFile()
Dsanitizer_win.cc491 wchar_t modname_utf16[kMaxPathLength]; in init()
493 GetModuleFileNameW(handle, modname_utf16, kMaxPathLength); in init()
496 char module_name[kMaxPathLength]; in init()
499 &module_name[0], kMaxPathLength, NULL, NULL); in init()
Dsanitizer_procmaps_mac.cc162 InternalScopedString module_name(kMaxPathLength); in DumpListOfModules()
Dsanitizer_procmaps_common.cc123 InternalScopedString module_name(kMaxPathLength); in DumpListOfModules()
Dsanitizer_common.h45 const uptr kMaxPathLength = 4096; variable
206 char path_prefix[kMaxPathLength];
208 char full_path[kMaxPathLength];
Dsanitizer_symbolizer_win.cc196 InternalScopedString command_line(kMaxPathLength * 3); in StartSymbolizerSubprocess()
Dsanitizer_mac.cc303 CHECK_LE(kMaxPathLength, buf_len); in ReadBinaryName()
308 InternalScopedString exe_path(kMaxPathLength); in ReadBinaryName()
/external/llvm-project/compiler-rt/lib/stats/
Dstats.cpp44 InternalMmapVector<char> path(kMaxPathLength); in OpenStatsFile()
45 SubstituteForFlagValue(path_env, path.data(), kMaxPathLength); in OpenStatsFile()
/external/compiler-rt/lib/stats/
Dstats.cc44 InternalScopedBuffer<char> path(kMaxPathLength); in OpenStatsFile()
45 SubstituteForFlagValue(path_env, path.data(), kMaxPathLength); in OpenStatsFile()

12