Home
last modified time | relevance | path

Searched refs:Graph (Results 1 – 19 of 19) sorted by relevance

/system/update_engine/payload_generator/
Dinplace_generator.h72 static void CheckGraph(const Graph& graph);
93 static bool CutEdges(Graph* graph,
100 static void CreateEdges(Graph* graph, const std::vector<Block>& blocks);
117 static void MoveAndSortFullOpsToBack(Graph* graph,
122 static bool NoTempBlocksRemain(const Graph& graph);
132 Graph* graph,
146 static bool ConvertCutToFullOp(Graph* graph,
160 static bool ConvertGraphToDag(Graph* graph,
182 const Graph& graph,
191 static bool AddInstallOpToGraph(Graph* graph,
Dgraph_utils.h34 uint64_t EdgeWeight(const Graph& graph, const Edge& edge);
46 void DropIncomingEdgesTo(Graph* graph, Vertex::Index index);
48 void DumpGraph(const Graph& graph);
Dcycle_breaker.h46 void BreakCycles(const Graph& graph, std::set<Edge>* out_cut_edges);
59 Graph subgraph_; // "A_K" in the paper
60 Graph blocked_graph_; // "B" in the paper
Dcycle_breaker_unittest.cc39 void SetOpForNodes(Graph* graph) { in SetOpForNodes()
58 const Graph::size_type kNodeCount = counter++; in TEST()
60 Graph graph(kNodeCount); in TEST()
134 Graph graph(kGroups * kNodesPerGroup + 1); // + 1 for the root node in TEST()
191 const Graph::size_type kNodeCount = counter++; in TEST()
193 Graph graph(kNodeCount); in TEST()
234 const Graph::size_type kNodeCount = counter++; in TEST()
236 Graph graph(kNodeCount); in TEST()
261 const Graph::size_type kNodeCount = counter++; in TEST()
263 Graph graph(kNodeCount); in TEST()
Dgraph_utils.cc38 uint64_t EdgeWeight(const Graph& graph, const Edge& edge) { in EdgeWeight()
95 void DropIncomingEdgesTo(Graph* graph, Vertex::Index index) { in DropIncomingEdgesTo()
98 for (Graph::iterator it = graph->begin(), e = graph->end(); it != e; ++it) { in DropIncomingEdgesTo()
126 void DumpGraph(const Graph& graph) { in DumpGraph()
128 for (Graph::size_type i = 0, e = graph.size(); i != e; ++i) { in DumpGraph()
Dtarjan.h39 Graph* graph,
43 void Tarjan(Vertex::Index vertex, Graph* graph);
Dtarjan.cc34 Graph* graph, in Execute()
39 for (Graph::iterator it = graph->begin(); it != graph->end(); ++it) in Execute()
48 void TarjanAlgorithm::Tarjan(Vertex::Index vertex, Graph* graph) { in Tarjan()
Dtopological_sort.cc30 void TopologicalSortVisit(const Graph& graph, in TopologicalSortVisit()
49 void TopologicalSort(const Graph& graph, vector<Vertex::Index>* out) { in TopologicalSort()
Dinplace_generator.cc88 explicit IndexedInstallOperationsDstComparator(Graph* graph) in IndexedInstallOperationsDstComparator()
98 const Graph* const graph_;
103 void InplaceGenerator::CheckGraph(const Graph& graph) { in CheckGraph()
139 bool InplaceGenerator::CutEdges(Graph* graph, in CutEdges()
190 CHECK_EQ(static_cast<Graph::size_type>(1), in CutEdges()
206 void InplaceGenerator::CreateEdges(Graph* graph, const vector<Block>& blocks) { in CreateEdges()
271 Graph* graph, vector<Vertex::Index>* op_indexes) { in MoveAndSortFullOpsToBack()
319 Graph* graph, in ConvertCutsToFull()
354 Graph* graph, in AssignBlockForAdjoiningCuts()
468 Graph* graph, in AssignTempBlocks()
[all …]
Dtopological_sort.h38 void TopologicalSort(const Graph& graph, std::vector<Vertex::Index>* out);
Dgraph_utils_unittest.cc36 Graph graph(2); in TEST()
60 Graph graph(3); in TEST()
Dcycle_breaker.cc40 void CycleBreaker::BreakCycles(const Graph& graph, set<Edge>* out_cut_edges) { in BreakCycles()
58 for (Graph::size_type i = 0; i < subgraph_.size(); i++) { in BreakCycles()
70 for (Graph::size_type j = i; j < subgraph_.size(); j++) { in BreakCycles()
Dtopological_sort_unittest.cc64 const Graph::size_type kNodeCount = counter++; in TEST()
66 Graph graph(kNodeCount); in TEST()
Dtarjan_unittest.cc45 const Graph::size_type kNodeCount = 8; in TEST()
47 Graph graph(kNodeCount); in TEST()
Dgraph_types.h78 typedef std::vector<Vertex> Graph; typedef
Dinplace_generator_unittest.cc186 Graph graph; in TEST_F()
301 Graph graph(9); in TEST_F()
406 Graph graph(4); in TEST_F()
430 Graph graph(9); in TEST_F()
492 Graph expected_graph(12); in TEST_F()
565 for (Graph::size_type i = 0; i < graph.size() - 1; i++) { in TEST_F()
/system/core/libmemunreachable/
DTarjan.h58 using Graph = allocator::vector<Node<T>*>; variable
72 void Execute(Graph<T>& graph, SCCList<T>& out);
76 void Tarjan(Node<T>* vertex, Graph<T>& graph);
84 void TarjanAlgorithm<T>::Execute(Graph<T>& graph, SCCList<T>& out) { in Execute()
102 void TarjanAlgorithm<T>::Tarjan(Node<T>* vertex, Graph<T>& graph) { in Tarjan()
131 void Tarjan(Graph<T>& graph, SCCList<T>& out) { in Tarjan()
DLeakFolding.h94 Graph<LeakInfo> leak_graph_;
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp2571 IGraph::Graph g; in TEST_F()
2589 IGraph::Graph g; in TEST_F()