Lines Matching refs:filesystem
77 bool PartialMatch(const std::filesystem::path& pattern, const std::filesystem::path& path_prefix) { in PartialMatch()
78 for (std::filesystem::path::const_iterator pattern_it = pattern.begin(), in PartialMatch()
97 bool FullMatchRecursive(const std::filesystem::path& pattern, in FullMatchRecursive()
98 std::filesystem::path::const_iterator pattern_it, in FullMatchRecursive()
99 const std::filesystem::path& path, in FullMatchRecursive()
100 std::filesystem::path::const_iterator path_it, in FullMatchRecursive()
110 std::filesystem::path::const_iterator next_pattern_it = pattern_it; in FullMatchRecursive()
125 bool FullMatch(const std::filesystem::path& pattern, const std::filesystem::path& path) { in FullMatch()
129 void MatchGlobRecursive(const std::vector<std::filesystem::path>& patterns, in MatchGlobRecursive()
130 const std::filesystem::path& root_dir, in MatchGlobRecursive()
133 for (auto it = std::filesystem::recursive_directory_iterator( in MatchGlobRecursive()
134 root_dir, std::filesystem::directory_options::skip_permission_denied, ec); in MatchGlobRecursive()
135 !ec && it != std::filesystem::end(it); in MatchGlobRecursive()
137 const std::filesystem::directory_entry& entry = *it; in MatchGlobRecursive()
165 std::vector<std::filesystem::path> parsed_patterns; in Glob()