Home
last modified time | relevance | path

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

/bionic/linker/
Dlinker_utils_test.cpp81 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()
Dlinker_utils.h39 bool file_is_under_dir(const std::string& file, const std::string& dir);
Dlinker_namespaces.cpp62 if (file_is_under_dir(file, dir)) { in is_accessible()
Dlinker_utils.cpp129 bool file_is_under_dir(const std::string& file, const std::string& dir) { in file_is_under_dir() function
Dlinker_config.cpp265 if (file_is_under_dir(binary_realpath, resolved_path)) { in parse_config_file()