Home
last modified time | relevance | path

Searched refs:StripPathPrefix (Results 1 – 5 of 5) 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/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/compiler-rt/lib/tsan/rtl/
Dtsan_report.cc377 StripPathPrefix(info.file, common_flags()->strip_path_prefix), in PrintStack()