Home
last modified time | relevance | path

Searched refs:fromnode (Results 1 – 4 of 4) sorted by relevance

/external/chromium-trace/catapult/telemetry/third_party/altgraph/altgraph/
DObjectGraph.py96 def removeReference(self, fromnode, tonode): argument
100 if fromnode is None:
101 fromnode = self
102 fromident = self.getIdent(fromnode)
158 def createReference(self, fromnode, tonode, edge_data=None): argument
162 if fromnode is None:
163 fromnode = self
164 fromident, toident = self.getIdent(fromnode), self.getIdent(tonode)
167 self.msg(4, "createReference", fromnode, tonode, edge_data)
/external/chromium-trace/catapult/telemetry/third_party/altgraph/doc/
Dobjectgraph.rst49 .. method:: ObjectGraph.createReferences(fromnode, tonode[, edge_data])
51 Creates a reference from *fromnode* to *tonode*. The optional
57 .. method:: removeReference(fromnode, tonode)
59 Removes the reference from *fromnode* to *tonode* if it exists.
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph/
Dmodulegraph.py772 def getReferences(self, fromnode): argument
777 node = self.findNode(fromnode)
798 def hasEdge(self, fromnode, tonode): argument
800 fromnode = self.findNode(fromnode)
803 return self.graph.edge_by_node(fromnode, tonode) is not None
843 def _updateReference(self, fromnode, tonode, edge_data): argument
845 ed = self.edgeData(fromnode, tonode)
847 return self.createReference(fromnode, tonode, edge_data)
850 self.updateEdgeData(fromnode, tonode, edge_data)
852 self.updateEdgeData(fromnode, tonode, ed._merged(edge_data))
[all …]
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/doc/
Dmodulegraph.rst67 .. method:: createReference(fromnode, tonode[, edge_data])
69 Create a reference from *fromnode* to *tonode*, with optional edge data.
73 .. method:: getReferences(fromnode)
75 Yield all nodes that *fromnode* refers to. That is, all modules imported
76 by *fromnode*.