Searched refs:file_is_in_dir (Results 1 – 5 of 5) sorted by relevance
/bionic/linker/ |
D | linker_utils_test.cpp | 70 ASSERT_TRUE(file_is_in_dir("/foo/bar/file", "/foo/bar")); in TEST() 71 ASSERT_FALSE(file_is_in_dir("/foo/bar/file", "/foo")); in TEST() 73 ASSERT_FALSE(file_is_in_dir("/foo/bar/file", "/bar/foo")); in TEST() 75 ASSERT_TRUE(file_is_in_dir("/file", "")); in TEST() 76 ASSERT_FALSE(file_is_in_dir("/file", "/")); in TEST()
|
D | linker_namespaces.cpp | 50 if (file_is_in_dir(file, dir)) { in is_accessible() 56 if (file_is_in_dir(file, dir)) { in is_accessible()
|
D | linker_utils.h | 38 bool file_is_in_dir(const std::string& file, const std::string& dir);
|
D | linker_utils.cpp | 119 bool file_is_in_dir(const std::string& file, const std::string& dir) { in file_is_in_dir() function
|
D | linker.cpp | 141 if (file_is_in_dir(realpath, dir)) { in is_system_library()
|