Searched refs:file_is_in_dir (Results 1 - 5 of 5) sorted by relevance

/bionic/linker/tests/
H A Dlinker_utils_test.cpp67 ASSERT_TRUE(file_is_in_dir("/foo/bar/file", "/foo/bar"));
68 ASSERT_FALSE(file_is_in_dir("/foo/bar/file", "/foo"));
70 ASSERT_FALSE(file_is_in_dir("/foo/bar/file", "/bar/foo"));
72 ASSERT_TRUE(file_is_in_dir("/file", ""));
73 ASSERT_FALSE(file_is_in_dir("/file", "/"));
/bionic/linker/
H A Dlinker_namespaces.cpp42 if (file_is_in_dir(file, dir)) {
48 if (file_is_in_dir(file, dir)) {
H A Dlinker_utils.h39 bool file_is_in_dir(const std::string& file, const std::string& dir);
H A Dlinker_utils.cpp119 bool file_is_in_dir(const std::string& file, const std::string& dir) { function
H A Dlinker.cpp127 if (file_is_in_dir(realpath, dir)) {

Completed in 42 milliseconds