Home
last modified time | relevance | path

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

/bionic/linker/
Dlinker_utils_test.cpp70 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()
Dlinker_namespaces.cpp50 if (file_is_in_dir(file, dir)) { in is_accessible()
56 if (file_is_in_dir(file, dir)) { in is_accessible()
Dlinker_utils.h38 bool file_is_in_dir(const std::string& file, const std::string& dir);
Dlinker_utils.cpp119 bool file_is_in_dir(const std::string& file, const std::string& dir) { in file_is_in_dir() function
Dlinker.cpp141 if (file_is_in_dir(realpath, dir)) { in is_system_library()