/external/guava/android/guava-tests/test/com/google/common/graph/ |
D | StandardImmutableGraphAdditionalTest.java | 36 ImmutableGraph<String> immutableGraph = ImmutableGraph.copyOf(mutableGraph); in immutableGraph() 47 Graph<String> graph1 = ImmutableGraph.copyOf(GraphBuilder.directed().<String>build()); in copyOfImmutableGraph_optimized() 48 Graph<String> graph2 = ImmutableGraph.copyOf(graph1); in copyOfImmutableGraph_optimized() 55 ImmutableGraph<String> emptyGraph = in immutableGraphBuilder_appliesGraphBuilderConfig() 77 ImmutableGraph.Builder<String> immutableGraphBuilder = graphBuilder.immutable(); in immutableGraphBuilder_copiesGraphBuilder() 82 ImmutableGraph<String> emptyGraph = immutableGraphBuilder.build(); in immutableGraphBuilder_copiesGraphBuilder() 91 ImmutableGraph<Object> graph = ImmutableGraph.copyOf(GraphBuilder.undirected().build()); in copyOf_incidentEdgeOrder() 98 ImmutableGraph<Object> graph = in copyOf_fromUnorderedGraph_incidentEdgeOrder() 99 ImmutableGraph.copyOf( in copyOf_fromUnorderedGraph_incidentEdgeOrder() 107 ImmutableGraph<String> graph = GraphBuilder.directed().<String>immutable().addNode("A").build(); in immutableGraphBuilder_addNode() [all …]
|
D | PackageSanityTests.java | 38 private static final ImmutableGraph<String> IMMUTABLE_GRAPH_A = 40 private static final ImmutableGraph<String> IMMUTABLE_GRAPH_B =
|
D | StandardImmutableUndirectedGraphTest.java | 37 private ImmutableGraph.Builder<Integer> graphBuilder;
|
D | StandardImmutableDirectedGraphTest.java | 36 private ImmutableGraph.Builder<Integer> graphBuilder;
|
D | ImmutableNetworkTest.java | 35 assertThat(immutableNetwork.asGraph()).isInstanceOf(ImmutableGraph.class); in immutableNetwork()
|
D | ImmutableValueGraphTest.java | 36 assertThat(immutableValueGraph.asGraph()).isInstanceOf(ImmutableGraph.class); in immutableValueGraph()
|
D | AbstractGraphTest.java | 112 assertStronglyEquivalent(graph, ImmutableGraph.copyOf(graph)); in validateGraph()
|
/external/guava/guava-tests/test/com/google/common/graph/ |
D | StandardImmutableGraphAdditionalTest.java | 36 ImmutableGraph<String> immutableGraph = ImmutableGraph.copyOf(mutableGraph); in immutableGraph() 47 Graph<String> graph1 = ImmutableGraph.copyOf(GraphBuilder.directed().<String>build()); in copyOfImmutableGraph_optimized() 48 Graph<String> graph2 = ImmutableGraph.copyOf(graph1); in copyOfImmutableGraph_optimized() 55 ImmutableGraph<String> emptyGraph = in immutableGraphBuilder_appliesGraphBuilderConfig() 77 ImmutableGraph.Builder<String> immutableGraphBuilder = graphBuilder.immutable(); in immutableGraphBuilder_copiesGraphBuilder() 82 ImmutableGraph<String> emptyGraph = immutableGraphBuilder.build(); in immutableGraphBuilder_copiesGraphBuilder() 91 ImmutableGraph<Object> graph = ImmutableGraph.copyOf(GraphBuilder.undirected().build()); in copyOf_incidentEdgeOrder() 98 ImmutableGraph<Object> graph = in copyOf_fromUnorderedGraph_incidentEdgeOrder() 99 ImmutableGraph.copyOf( in copyOf_fromUnorderedGraph_incidentEdgeOrder() 107 ImmutableGraph<String> graph = GraphBuilder.directed().<String>immutable().addNode("A").build(); in immutableGraphBuilder_addNode() [all …]
|
D | PackageSanityTests.java | 38 private static final ImmutableGraph<String> IMMUTABLE_GRAPH_A = 40 private static final ImmutableGraph<String> IMMUTABLE_GRAPH_B =
|
D | StandardImmutableDirectedGraphTest.java | 36 private ImmutableGraph.Builder<Integer> graphBuilder;
|
D | StandardImmutableUndirectedGraphTest.java | 37 private ImmutableGraph.Builder<Integer> graphBuilder;
|
D | ImmutableNetworkTest.java | 35 assertThat(immutableNetwork.asGraph()).isInstanceOf(ImmutableGraph.class); in immutableNetwork()
|
D | ImmutableValueGraphTest.java | 36 assertThat(immutableValueGraph.asGraph()).isInstanceOf(ImmutableGraph.class); in immutableValueGraph()
|
D | AbstractGraphTest.java | 112 assertStronglyEquivalent(graph, ImmutableGraph.copyOf(graph)); in validateGraph()
|
/external/guava/guava/src/com/google/common/graph/ |
D | ImmutableGraph.java | 48 public class ImmutableGraph<N> extends ForwardingGraph<N> { class 52 ImmutableGraph(BaseGraph<N> backingGraph) { in ImmutableGraph() method in ImmutableGraph 57 public static <N> ImmutableGraph<N> copyOf(Graph<N> graph) { in copyOf() 58 return (graph instanceof ImmutableGraph) in copyOf() 59 ? (ImmutableGraph<N>) graph in copyOf() 60 : new ImmutableGraph<N>( in copyOf() 71 public static <N> ImmutableGraph<N> copyOf(ImmutableGraph<N> graph) { in copyOf() 196 public ImmutableGraph<N> build() { in build() 197 return ImmutableGraph.copyOf(mutableGraph); in build()
|
D | GraphBuilder.java | 108 public <N1 extends N> ImmutableGraph.Builder<N1> immutable() { in immutable() 110 return new ImmutableGraph.Builder<>(castBuilder); in immutable()
|
D | ImmutableValueGraph.java | 75 public ImmutableGraph<N> asGraph() { in asGraph() 76 return new ImmutableGraph<N>(this); // safe because the view is effectively immutable in asGraph()
|
D | ImmutableNetwork.java | 74 public ImmutableGraph<N> asGraph() { in asGraph() 75 return new ImmutableGraph<N>(super.asGraph()); // safe because the view is effectively immutable in asGraph()
|
/external/guava/android/guava/src/com/google/common/graph/ |
D | ImmutableGraph.java | 48 public class ImmutableGraph<N> extends ForwardingGraph<N> { class 52 ImmutableGraph(BaseGraph<N> backingGraph) { in ImmutableGraph() method in ImmutableGraph 57 public static <N> ImmutableGraph<N> copyOf(Graph<N> graph) { in copyOf() 58 return (graph instanceof ImmutableGraph) in copyOf() 59 ? (ImmutableGraph<N>) graph in copyOf() 60 : new ImmutableGraph<N>( in copyOf() 71 public static <N> ImmutableGraph<N> copyOf(ImmutableGraph<N> graph) { in copyOf() 196 public ImmutableGraph<N> build() { in build() 197 return ImmutableGraph.copyOf(mutableGraph); in build()
|
D | GraphBuilder.java | 108 public <N1 extends N> ImmutableGraph.Builder<N1> immutable() { in immutable() 110 return new ImmutableGraph.Builder<>(castBuilder); in immutable()
|
D | ImmutableValueGraph.java | 75 public ImmutableGraph<N> asGraph() { in asGraph() 76 return new ImmutableGraph<N>(this); // safe because the view is effectively immutable in asGraph()
|
D | ImmutableNetwork.java | 74 public ImmutableGraph<N> asGraph() { in asGraph() 75 return new ImmutableGraph<N>(super.asGraph()); // safe because the view is effectively immutable in asGraph()
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | ImmutableGraph.h | 38 template <typename NodeValueT, typename EdgeValueT> class ImmutableGraph { 39 using Traits = GraphTraits<ImmutableGraph<NodeValueT, EdgeValueT> *>; 48 friend class ImmutableGraph; variable 59 friend class ImmutableGraph; variable 80 ImmutableGraph(std::unique_ptr<Node[]> Nodes, std::unique_ptr<Edge[]> Edges, in ImmutableGraph() function 84 ImmutableGraph(const ImmutableGraph &) = delete; 85 ImmutableGraph(ImmutableGraph &&) = delete; 86 ImmutableGraph &operator=(const ImmutableGraph &) = delete; 87 ImmutableGraph &operator=(ImmutableGraph &&) = delete; 112 const ImmutableGraph &G; [all …]
|
D | X86LoadValueInjectionLoadHardening.cpp | 115 struct MachineGadgetGraph : ImmutableGraph<MachineInstr *, int> { 119 using GraphT = ImmutableGraph<MachineInstr *, int>; 190 : GraphTraits<ImmutableGraph<MachineInstr *, int> *> {};
|
/external/dagger2/java/dagger/hilt/processor/internal/ |
D | ComponentTree.java | 27 import com.google.common.graph.ImmutableGraph; 36 private final ImmutableGraph<ComponentDescriptor> graph; 50 return new ComponentTree(ImmutableGraph.copyOf(graph)); in from() 53 private ComponentTree(ImmutableGraph<ComponentDescriptor> graph) { in ComponentTree() 99 public ImmutableGraph<ComponentDescriptor> graph() { in graph()
|