VisPattern 17 tools/gn/visibility.cc Visibility::VisPattern::VisPattern() : type_(MATCH) { VisPattern 20 tools/gn/visibility.cc Visibility::VisPattern::VisPattern(Type type, VisPattern 28 tools/gn/visibility.cc Visibility::VisPattern::~VisPattern() { VisPattern 31 tools/gn/visibility.cc bool Visibility::VisPattern::Matches(const Label& label) const { VisPattern 82 tools/gn/visibility.cc VisPattern(VisPattern::RECURSIVE_DIRECTORY, SourceDir(), std::string())); VisPattern 87 tools/gn/visibility.cc VisPattern(VisPattern::DIRECTORY, current_dir, std::string())); VisPattern 105 tools/gn/visibility.cc case VisPattern::MATCH: VisPattern 109 tools/gn/visibility.cc case VisPattern::DIRECTORY: VisPattern 113 tools/gn/visibility.cc case VisPattern::RECURSIVE_DIRECTORY: VisPattern 124 tools/gn/visibility.cc Visibility::VisPattern Visibility::GetPattern(const SourceDir& current_dir, VisPattern 128 tools/gn/visibility.cc return VisPattern(); VisPattern 133 tools/gn/visibility.cc return VisPattern(); VisPattern 142 tools/gn/visibility.cc return VisPattern(); VisPattern 149 tools/gn/visibility.cc return VisPattern(); VisPattern 152 tools/gn/visibility.cc return VisPattern(VisPattern::MATCH, label.dir(), label.name()); VisPattern 188 tools/gn/visibility.cc return VisPattern(); VisPattern 198 tools/gn/visibility.cc return VisPattern(); VisPattern 207 tools/gn/visibility.cc return VisPattern(); VisPattern 218 tools/gn/visibility.cc return VisPattern(); VisPattern 221 tools/gn/visibility.cc VisPattern::Type type; VisPattern 225 tools/gn/visibility.cc type = VisPattern::RECURSIVE_DIRECTORY; VisPattern 228 tools/gn/visibility.cc type = VisPattern::DIRECTORY; VisPattern 232 tools/gn/visibility.cc return VisPattern(type, dir, base::StringPiece()); VisPattern 22 tools/gn/visibility.h class VisPattern { VisPattern 31 tools/gn/visibility.h VisPattern(); VisPattern 32 tools/gn/visibility.h VisPattern(Type type, const SourceDir& dir, const base::StringPiece& name); VisPattern 33 tools/gn/visibility.h ~VisPattern(); VisPattern 76 tools/gn/visibility.h static VisPattern GetPattern(const SourceDir& current_dir, VisPattern 89 tools/gn/visibility.h std::vector<VisPattern> patterns_; VisPattern 17 tools/gn/visibility_unittest.cc Visibility::VisPattern::Type type; VisPattern 28 tools/gn/visibility_unittest.cc { "", false, Visibility::VisPattern::MATCH, "", "" }, VisPattern 29 tools/gn/visibility_unittest.cc { ":", false, Visibility::VisPattern::MATCH, "", "" }, VisPattern 31 tools/gn/visibility_unittest.cc { ":bar", true, Visibility::VisPattern::MATCH, "//foo/", "bar" }, VisPattern 32 tools/gn/visibility_unittest.cc { "//la:bar", true, Visibility::VisPattern::MATCH, "//la/", "bar" }, VisPattern 33 tools/gn/visibility_unittest.cc { "*", true, Visibility::VisPattern::RECURSIVE_DIRECTORY, "", "" }, VisPattern 34 tools/gn/visibility_unittest.cc { ":*", true, Visibility::VisPattern::DIRECTORY, "//foo/", "" }, VisPattern 35 tools/gn/visibility_unittest.cc { "la:*", true, Visibility::VisPattern::DIRECTORY, "//foo/la/", "" }, VisPattern 36 tools/gn/visibility_unittest.cc { "la/*:*", true, Visibility::VisPattern::RECURSIVE_DIRECTORY, VisPattern 38 tools/gn/visibility_unittest.cc { "//la:*", true, Visibility::VisPattern::DIRECTORY, "//la/", "" }, VisPattern 39 tools/gn/visibility_unittest.cc { "./*", true, Visibility::VisPattern::RECURSIVE_DIRECTORY, "//foo/", "" }, VisPattern 40 tools/gn/visibility_unittest.cc { "foo/*", true, Visibility::VisPattern::RECURSIVE_DIRECTORY, VisPattern 42 tools/gn/visibility_unittest.cc { "//l/*", true, Visibility::VisPattern::RECURSIVE_DIRECTORY, "//l/", "" }, VisPattern 44 tools/gn/visibility_unittest.cc { "//foo(//bar)", false, Visibility::VisPattern::MATCH, "", "" }, VisPattern 46 tools/gn/visibility_unittest.cc { "*foo*:bar", false, Visibility::VisPattern::MATCH, "", "" }, VisPattern 47 tools/gn/visibility_unittest.cc { "foo*:*bar", false, Visibility::VisPattern::MATCH, "", "" }, VisPattern 48 tools/gn/visibility_unittest.cc { "*foo:bar", false, Visibility::VisPattern::MATCH, "", "" }, VisPattern 49 tools/gn/visibility_unittest.cc { "foo:bar*", false, Visibility::VisPattern::MATCH, "", "" }, VisPattern 50 tools/gn/visibility_unittest.cc { "*:*", true, Visibility::VisPattern::RECURSIVE_DIRECTORY, "", "" }, VisPattern 56 tools/gn/visibility_unittest.cc Visibility::VisPattern result =