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.cc51 buffer->append("%s", StripPathPrefix(info.module, strip_path_prefix)); in RenderFrame()
65 buffer->append("%s", StripPathPrefix(info.file, strip_path_prefix)); in RenderFrame()
118 buffer->append("%s", StripPathPrefix(file, strip_path_prefix)); in RenderSourceLocation()
128 buffer->append("(%s+0x%zx)", StripPathPrefix(module, strip_path_prefix), in RenderModuleLocation()
Dsanitizer_common.cc205 const char *StripPathPrefix(const char *filepath, in StripPathPrefix() function
Dsanitizer_common.h234 const char *StripPathPrefix(const char *filepath,
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_common_test.cc193 TEST(SanitizerCommon, StripPathPrefix) { in TEST() argument
194 EXPECT_EQ(0, StripPathPrefix(0, "prefix")); in TEST()
195 EXPECT_STREQ("foo", StripPathPrefix("foo", 0)); in TEST()
197 StripPathPrefix("/usr/lib/dir/file.cc", "/usr/lib/")); in TEST()
198 EXPECT_STREQ("/file.cc", StripPathPrefix("/usr/myroot/file.cc", "/myroot")); in TEST()
199 EXPECT_STREQ("file.h", StripPathPrefix("/usr/lib/./file.h", "/usr/lib/")); in TEST()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_report.cc358 StripPathPrefix(info.file, common_flags()->strip_path_prefix), in PrintStack()