Searched refs:nodes_by_id (Results 1 – 3 of 3) sorted by relevance
147 auto& nodes_by_id = global_dump_graph.nodes_by_id(); in TEST() local148 ASSERT_EQ(nodes_by_id.find(MemoryAllocatorNodeId(1))->second, first); in TEST()149 ASSERT_EQ(nodes_by_id.find(MemoryAllocatorNodeId(2))->second, second); in TEST()150 ASSERT_EQ(nodes_by_id.find(MemoryAllocatorNodeId(3))->second, third); in TEST()151 ASSERT_EQ(nodes_by_id.find(MemoryAllocatorNodeId(4))->second, fourth); in TEST()152 ASSERT_EQ(nodes_by_id.find(MemoryAllocatorNodeId(5))->second, fifth); in TEST()
281 auto node_iterator = global_graph->nodes_by_id().find(raw_node.id()); in CollectAllocatorNodes()282 if (node_iterator == global_graph->nodes_by_id().end()) { in CollectAllocatorNodes()313 const auto& nodes_by_id = global_graph->nodes_by_id(); in AddEdges() local318 auto source_it = nodes_by_id.find(edge->source); in AddEdges()319 auto target_it = nodes_by_id.find(edge->target); in AddEdges()321 if (source_it == nodes_by_id.end()) { in AddEdges()325 } else if (target_it == nodes_by_id.end()) { in AddEdges()
289 const IdNodeMap& nodes_by_id() const { return nodes_by_id_; } in nodes_by_id() function