Home
last modified time | relevance | path

Searched refs:NormalizePath (Results 1 – 6 of 6) sorted by relevance

/development/vndk/tools/header-checker/src/utils/
Dsource_path_utils_test.cpp92 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 …]
Dsource_path_utils.cpp83 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()
Dsource_path_utils.h41 std::string NormalizePath(std::string_view path, const RootDirs &root_dirs);
/development/vndk/tools/header-checker/src/dumper/
Dheader_checker.cpp46 using header_checker::utils::NormalizePath;
182 HeaderCheckerOptions options(NormalizePath(header_file, parsed_root_dirs), in main()
Dast_processing.cpp39 return utils::NormalizePath(path.str(), root_dirs_); in remapPath()
Dabi_wrappers.cpp82 return utils::NormalizePath(sm.getFilename(expansion_location).str(), in GetDeclSourceFile()