Searched refs:visible_ns (Results 1 – 1 of 1) sorted by relevance
25 inline void TraverseLink(const Namespace& ns, std::unordered_set<std::string>& visible_ns) { in TraverseLink() argument26 if (visible_ns.count(ns.name) != 0) { in TraverseLink()30 visible_ns.insert(ns.name); in TraverseLink()33 TraverseLink(*link.to, visible_ns); in TraverseLink()38 std::unordered_set<std::string> visible_ns; in ValidateAllNamespacesAreVisible() local41 TraverseLink(ns, visible_ns); in ValidateAllNamespacesAreVisible()46 EXPECT_EQ(1u, visible_ns.count(ns.name)) in ValidateAllNamespacesAreVisible()