Searched refs:root_dirs (Results 1 – 10 of 10) sorted by relevance
/development/vndk/tools/header-checker/src/utils/ |
D | source_path_utils_test.cpp | 74 std::vector<RootDir> root_dirs{{header_dir, "include"}, in TEST() local 77 CollectAllExportedHeaders(exported_header_dirs, root_dirs); in TEST() 87 const RootDirs root_dirs = ParseRootDirs(args); in TEST() local 88 ASSERT_EQ(1, root_dirs.size()); in TEST() 89 ASSERT_EQ("/root/dir", root_dirs[0].path); in TEST() 90 ASSERT_EQ("", root_dirs[0].replacement); in TEST() 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() 116 const RootDirs root_dirs = ParseRootDirs(args); in TEST() local [all …]
|
D | source_path_utils.cpp | 68 RootDirs root_dirs; in ParseRootDirs() local 83 root_dirs.emplace_back(NormalizePath(path, {}), in ParseRootDirs() 86 if (root_dirs.empty()) { in ParseRootDirs() 87 root_dirs.emplace_back(GetCwd(), ""); in ParseRootDirs() 91 std::sort(root_dirs.begin(), root_dirs.end(), in ParseRootDirs() 95 for (size_t index = 1; index < root_dirs.size(); index++) { in ParseRootDirs() 96 if (root_dirs[index - 1].path == root_dirs[index].path) { in ParseRootDirs() 97 llvm::errs() << "Duplicate root dir: " << root_dirs[index].path << "\n"; in ParseRootDirs() 101 return root_dirs; in ParseRootDirs() 104 std::string NormalizePath(std::string_view path, const RootDirs &root_dirs) { in NormalizePath() argument [all …]
|
D | source_path_utils.h | 41 std::string NormalizePath(std::string_view path, const RootDirs &root_dirs); 45 const RootDirs &root_dirs);
|
/development/vndk/tools/header-checker/src/dumper/ |
D | ast_util.h | 35 const utils::RootDirs &root_dirs) in ASTCaches() 37 root_dirs_(root_dirs) {} in ASTCaches()
|
D | header_checker.h | 42 utils::RootDirs root_dirs, in HeaderCheckerOptions() argument 48 root_dirs_(std::move(root_dirs)), in HeaderCheckerOptions()
|
D | header_checker.cpp | 68 static llvm::cl::list<std::string> root_dirs( variable 174 RootDirs parsed_root_dirs = ParseRootDirs(root_dirs); in main()
|
D | ast_processing.cpp | 35 PrintNormalizedPath(const utils::RootDirs &root_dirs) in PrintNormalizedPath() argument 36 : root_dirs_(root_dirs) {} in PrintNormalizedPath()
|
D | abi_wrappers.h | 52 const utils::RootDirs &root_dirs);
|
D | abi_wrappers.cpp | 72 const utils::RootDirs &root_dirs) { in GetDeclSourceFile() argument 83 root_dirs); in GetDeclSourceFile()
|
/development/vndk/tools/header-checker/src/linker/ |
D | header_abi_linker.cpp | 63 static llvm::cl::list<std::string> root_dirs( variable 286 ParseRootDirs(root_dirs)); in LinkAndDump()
|