Searched refs:NormalizePath (Results 1 – 6 of 6) sorted by relevance
/development/vndk/tools/header-checker/src/utils/ |
D | source_path_utils_test.cpp | 92 EXPECT_EQ("", NormalizePath("/root/dir", root_dirs)); in TEST() 93 EXPECT_EQ("test", NormalizePath("/root/dir/test", root_dirs)); in TEST() 95 NormalizePath("/root/dir/../unit/test", root_dirs)); in TEST() 105 EXPECT_EQ("", NormalizePath("", cwd)); in TEST() 106 EXPECT_EQ("unit/test", NormalizePath("./unit/test/.", cwd)); in TEST() 107 EXPECT_EQ("unit/test", NormalizePath("unit//test//", cwd)); in TEST() 108 EXPECT_EQ("test", NormalizePath("unit/../test", cwd)); in TEST() 109 EXPECT_EQ("unit/test", NormalizePath(cwd[0].path + "/unit/test", cwd)); in TEST() 110 EXPECT_EQ('/', NormalizePath("../unit/test", cwd)[0]); in TEST() 123 EXPECT_EQ("/directory", NormalizePath("/before/directory", root_dirs)); in TEST() [all …]
|
D | source_path_utils.cpp | 83 root_dirs.emplace_back(NormalizePath(path, {}), in ParseRootDirs() 104 std::string NormalizePath(std::string_view path, const RootDirs &root_dirs) { in NormalizePath() function 183 exported_headers->insert(NormalizePath(file_path, root_dirs)); in CollectExportedHeaderSet()
|
D | source_path_utils.h | 41 std::string NormalizePath(std::string_view path, const RootDirs &root_dirs);
|
/development/vndk/tools/header-checker/src/dumper/ |
D | header_checker.cpp | 46 using header_checker::utils::NormalizePath; 182 HeaderCheckerOptions options(NormalizePath(header_file, parsed_root_dirs), in main()
|
D | ast_processing.cpp | 39 return utils::NormalizePath(path.str(), root_dirs_); in remapPath()
|
D | abi_wrappers.cpp | 82 return utils::NormalizePath(sm.getFilename(expansion_location).str(), in GetDeclSourceFile()
|