OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GraphError
(Results
1 - 10
of
10
) sorted by null
/external/chromium-trace/catapult/telemetry/third_party/altgraph/altgraph/
__init__.py
134
class
GraphError
(ValueError):
GraphAlgo.py
5
from altgraph import
GraphError
39
raise
GraphError
("Dijkstra: found better path to already-final vertex")
Graph.py
16
from altgraph import
GraphError
57
raise
GraphError
("Cannot create edge from %s"%(item,))
113
raise
GraphError
('Invalid nodes %s -> %s' % (head_id, tail_id))
132
raise
GraphError
('Invalid edge %s' % edge)
146
raise
GraphError
('Invalid node %s' % node)
159
raise
GraphError
('Invalid node %s' % node)
172
raise
GraphError
('Invalid edge %s' % edge)
181
except
GraphError
:
205
raise
GraphError
('Invalid edge %s' % edge)
344
raise
GraphError
('Invalid node %s' % node
[
all
...]
Dot.py
108
from altgraph import
GraphError
211
raise
GraphError
("invalid node %s" % (tail,))
218
raise
GraphError
("invalid edge %s -> %s " % (head, tail) )
228
raise
GraphError
("unsupported graphtype %s" % (self.type,))
GraphUtil.py
9
from altgraph import
GraphError
25
raise
GraphError
("inconsistent arguments to 'generate_random_graph'")
ObjectGraph.py
9
from altgraph import
GraphError
155
except
GraphError
:
/external/chromium-trace/catapult/telemetry/third_party/altgraph/altgraph_tests/
test_graphutil.py
3
from altgraph import Graph,
GraphError
52
self.assertRaises(
GraphError
, GraphUtil.generate_random_graph, 5, 21)
54
self.assertRaises(
GraphError
, GraphUtil.generate_random_graph, 5, 26, True)
test_dot.py
6
from altgraph import
GraphError
78
self.assertRaises(
GraphError
, Dot.Dot, g, nodes=[1,2, 9])
153
self.assertRaises(
GraphError
, dot.edge_style, 1, 9, a=1)
154
self.assertRaises(
GraphError
, dot.edge_style, 9, 1, a=1)
190
self.assertRaises(
GraphError
, list, dot.iterdot())
test_graph.py
3
from altgraph import
GraphError
80
self.assertRaises(
GraphError
, graph.add_edge, 'a', 'b', create_nodes=False)
109
self.assertRaises(
GraphError
, graph.edge_by_id, (e1+1)*(e2+1)+1)
162
self.assertRaises(
GraphError
, graph.edge_by_node, 1, 2)
544
self.assertRaises(
GraphError
, g.restore_edge, e)
547
self.assertRaises(
GraphError
, g.edge_by_id, e)
636
except
GraphError
:
641
self.assertRaises(
GraphError
, Graph, [(1,2,3,4)])
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph/
modulegraph.py
26
from altgraph import
GraphError
846
except (KeyError,
GraphError
): # XXX: Why '
GraphError
'
[
all
...]
Completed in 255 milliseconds