Home
last modified time | relevance | path

Searched refs:StripPathPrefix (Results 1 – 10 of 10) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_stacktrace_printer.cc52 buffer->append("%s", StripPathPrefix(info.module, strip_path_prefix)); in RenderFrame()
66 buffer->append("%s", StripPathPrefix(info.file, strip_path_prefix)); in RenderFrame()
123 buffer->append("%s(%d", StripPathPrefix(file, strip_path_prefix), line); in RenderSourceLocation()
130 buffer->append("%s", StripPathPrefix(file, strip_path_prefix)); in RenderSourceLocation()
140 buffer->append("(%s+0x%zx)", StripPathPrefix(module, strip_path_prefix), in RenderModuleLocation()
Dsanitizer_common.cc170 const char *StripPathPrefix(const char *filepath, in StripPathPrefix() function
Dsanitizer_common.h267 const char *StripPathPrefix(const char *filepath,
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_stacktrace_printer.cpp138 buffer->append("%s", StripPathPrefix(info->module, strip_path_prefix)); in RenderFrame()
153 buffer->append("%s", StripPathPrefix(info->file, strip_path_prefix)); in RenderFrame()
244 buffer->append("%s", StripPathPrefix(DI->file, strip_path_prefix)); in RenderData()
266 buffer->append("%s(%d", StripPathPrefix(file, strip_path_prefix), line); in RenderSourceLocation()
273 buffer->append("%s", StripPathPrefix(file, strip_path_prefix)); in RenderSourceLocation()
284 buffer->append("(%s", StripPathPrefix(module, strip_path_prefix)); in RenderModuleLocation()
Dsanitizer_common.cpp60 const char *StripPathPrefix(const char *filepath, in StripPathPrefix() function
Dsanitizer_common.h243 const char *StripPathPrefix(const char *filepath,
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_common_test.cc202 TEST(SanitizerCommon, StripPathPrefix) { in TEST() argument
203 EXPECT_EQ(0, StripPathPrefix(0, "prefix")); in TEST()
204 EXPECT_STREQ("foo", StripPathPrefix("foo", 0)); in TEST()
206 StripPathPrefix("/usr/lib/dir/file.cc", "/usr/lib/")); in TEST()
207 EXPECT_STREQ("/file.cc", StripPathPrefix("/usr/myroot/file.cc", "/myroot")); in TEST()
208 EXPECT_STREQ("file.h", StripPathPrefix("/usr/lib/./file.h", "/usr/lib/")); in TEST()
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_common_test.cpp296 TEST(SanitizerCommon, StripPathPrefix) { in TEST() argument
297 EXPECT_EQ(0, StripPathPrefix(0, "prefix")); in TEST()
298 EXPECT_STREQ("foo", StripPathPrefix("foo", 0)); in TEST()
300 StripPathPrefix("/usr/lib/dir/file.cc", "/usr/lib/")); in TEST()
301 EXPECT_STREQ("/file.cc", StripPathPrefix("/usr/myroot/file.cc", "/myroot")); in TEST()
302 EXPECT_STREQ("file.h", StripPathPrefix("/usr/lib/./file.h", "/usr/lib/")); in TEST()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_report.cc377 StripPathPrefix(info.file, common_flags()->strip_path_prefix), in PrintStack()
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_report.cpp408 StripPathPrefix(info.file, common_flags()->strip_path_prefix), in PrintStack()