Searched refs:StripPathPrefix (Results 1 – 5 of 5) sorted by relevance
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_stacktrace_printer.cc | 51 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()
|
D | sanitizer_common.cc | 205 const char *StripPathPrefix(const char *filepath, in StripPathPrefix() function
|
D | sanitizer_common.h | 234 const char *StripPathPrefix(const char *filepath,
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_common_test.cc | 193 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/ |
D | tsan_report.cc | 358 StripPathPrefix(info.file, common_flags()->strip_path_prefix), in PrintStack()
|