Lines Matching refs:nodeSet
319 static void addNodeAndParents (std::set<const TestNode*>& nodeSet, const TestNode* node) in addNodeAndParents() argument
323 nodeSet.insert(node); in addNodeAndParents()
328 static void addChildren (std::set<const TestNode*>& nodeSet, const TestGroup* group) in addChildren() argument
333 nodeSet.insert(child); in addChildren()
336 addChildren(nodeSet, static_cast<const TestGroup*>(child)); in addChildren()
340 static void removeChildren (std::set<const TestNode*>& nodeSet, const TestGroup* group) in removeChildren() argument
345 nodeSet.erase(child); in removeChildren()
348 removeChildren(nodeSet, static_cast<const TestGroup*>(child)); in removeChildren()
352 static bool hasChildrenInSet (const std::set<const TestNode*>& nodeSet, const TestGroup* group) in hasChildrenInSet() argument
356 if (nodeSet.find(group->getChild(ndx)) != nodeSet.end()) in hasChildrenInSet()
362 static void removeEmptyGroups (std::set<const TestNode*>& nodeSet, const TestGroup* group) in removeEmptyGroups() argument
364 if (!hasChildrenInSet(nodeSet, group)) in removeEmptyGroups()
366 nodeSet.erase(group); in removeEmptyGroups()
368 removeEmptyGroups(nodeSet, group->getParent()); in removeEmptyGroups()