Searched refs:file_is_under_dir (Results 1 – 5 of 5) sorted by relevance
/bionic/linker/ |
D | linker_utils_test.cpp | 81 ASSERT_TRUE(file_is_under_dir("/foo/bar/file", "/foo/bar")); in TEST() 82 ASSERT_TRUE(file_is_under_dir("/foo/bar/file", "/foo")); in TEST() 84 ASSERT_FALSE(file_is_under_dir("/foo/bar/file", "/bar/foo")); in TEST() 86 ASSERT_TRUE(file_is_under_dir("/file", "")); in TEST() 87 ASSERT_TRUE(file_is_under_dir("/foo/bar/file", "")); in TEST() 88 ASSERT_FALSE(file_is_under_dir("/file", "/")); in TEST() 89 ASSERT_FALSE(file_is_under_dir("/foo/bar/file", "/")); in TEST()
|
D | linker_utils.h | 39 bool file_is_under_dir(const std::string& file, const std::string& dir);
|
D | linker_namespaces.cpp | 62 if (file_is_under_dir(file, dir)) { in is_accessible()
|
D | linker_utils.cpp | 129 bool file_is_under_dir(const std::string& file, const std::string& dir) { in file_is_under_dir() function
|
D | linker_config.cpp | 265 if (file_is_under_dir(binary_realpath, resolved_path)) { in parse_config_file()
|