Lines Matching refs:node
147 // check that the topological sort is valid for this node
157 // This node should've been output after all the nodes on which it depends
167 static void SetTempMark(TopoTestNode* node) { node->fTempMark = true; }
168 static void ResetTempMark(TopoTestNode* node) { node->fTempMark = false; }
169 static bool IsTempMarked(TopoTestNode* node) { return node->fTempMark; }
170 static void Output(TopoTestNode* node, int outputPos) {
172 node->fOutputPos = outputPos;
174 static bool WasOutput(TopoTestNode* node) { return (-1 != node->fOutputPos); }
175 static int NumDependencies(TopoTestNode* node) { return node->fDependencies.count(); }
176 static TopoTestNode* Dependency(TopoTestNode* node, int index) {
177 return node->fDependencies[index];