Home
last modified time | relevance | path

Searched refs:Traverser (Results 1 – 25 of 26) sorted by relevance

12

/external/guava/android/guava-tests/test/com/google/common/graph/
DTraverserTest.java173 Iterable<Character> result = Traverser.forGraph(JAVADOC_GRAPH).breadthFirst('a'); in forGraph_breadthFirst_javadocExample_canBeIteratedMultipleTimes()
181 Iterable<Character> result = Traverser.forGraph(JAVADOC_GRAPH).breadthFirst(charactersOf("bf")); in forGraph_breadthFirstIterable_javadocExample_canBeIteratedMultipleTimes()
190 Traverser.forGraph(fixedSuccessors(Iterables.cycle(1, 2, 3))).breadthFirst(0); in forGraph_breadthFirst_infinite()
196 Traverser<Character> traverser = Traverser.forGraph(DIAMOND_GRAPH); in forGraph_breadthFirst_diamond()
205 Traverser<Character> traverser = Traverser.forGraph(DIAMOND_GRAPH); in forGraph_breadthFirstIterable_diamond()
215 Traverser<Character> traverser = Traverser.forGraph(MULTI_GRAPH); in forGraph_breadthFirst_multiGraph()
224 Traverser<Character> traverser = Traverser.forGraph(MULTI_GRAPH); in forGraph_breadthFirstIterable_multiGraph()
233 Traverser<Character> traverser = Traverser.forGraph(CYCLE_GRAPH); in forGraph_breadthFirst_cycle()
242 Traverser<Character> traverser = Traverser.forGraph(CYCLE_GRAPH); in forGraph_breadthFirstIterable_cycle()
251 Traverser<Character> traverser = Traverser.forGraph(TWO_CYCLES_GRAPH); in forGraph_breadthFirst_twoCycles()
[all …]
/external/guava/guava-tests/test/com/google/common/graph/
DTraverserTest.java173 Iterable<Character> result = Traverser.forGraph(JAVADOC_GRAPH).breadthFirst('a'); in forGraph_breadthFirst_javadocExample_canBeIteratedMultipleTimes()
181 Iterable<Character> result = Traverser.forGraph(JAVADOC_GRAPH).breadthFirst(charactersOf("bf")); in forGraph_breadthFirstIterable_javadocExample_canBeIteratedMultipleTimes()
190 Traverser.forGraph(fixedSuccessors(Iterables.cycle(1, 2, 3))).breadthFirst(0); in forGraph_breadthFirst_infinite()
196 Traverser<Character> traverser = Traverser.forGraph(DIAMOND_GRAPH); in forGraph_breadthFirst_diamond()
205 Traverser<Character> traverser = Traverser.forGraph(DIAMOND_GRAPH); in forGraph_breadthFirstIterable_diamond()
215 Traverser<Character> traverser = Traverser.forGraph(MULTI_GRAPH); in forGraph_breadthFirst_multiGraph()
224 Traverser<Character> traverser = Traverser.forGraph(MULTI_GRAPH); in forGraph_breadthFirstIterable_multiGraph()
233 Traverser<Character> traverser = Traverser.forGraph(CYCLE_GRAPH); in forGraph_breadthFirst_cycle()
242 Traverser<Character> traverser = Traverser.forGraph(CYCLE_GRAPH); in forGraph_breadthFirstIterable_cycle()
251 Traverser<Character> traverser = Traverser.forGraph(TWO_CYCLES_GRAPH); in forGraph_breadthFirst_twoCycles()
[all …]
/external/angle/src/compiler/translator/tree_ops/gl/mac/
DRewriteUnaryMinusOperatorFloat.cpp18 class Traverser : public TIntermTraverser class
24 Traverser();
32 bool Traverser::Apply(TCompiler *compiler, TIntermNode *root) in Apply()
34 Traverser traverser; in Apply()
51 Traverser::Traverser() : TIntermTraverser(true, false, false) {} in Traverser() function in sh::__anondf75d0ca0111::Traverser
53 void Traverser::nextIteration() in nextIteration()
58 bool Traverser::visitUnary(Visit visit, TIntermUnary *node) in visitUnary()
94 return Traverser::Apply(compiler, root); in RewriteUnaryMinusOperatorFloat()
/external/angle/src/compiler/translator/tree_ops/d3d/
DRewriteUnaryMinusOperatorInt.cpp19 class Traverser : public TIntermTraverser class
25 Traverser();
33 bool Traverser::Apply(TCompiler *compiler, TIntermNode *root) in Apply()
35 Traverser traverser; in Apply()
52 Traverser::Traverser() : TIntermTraverser(true, false, false) {} in Traverser() function in sh::__anon58a25d270111::Traverser
54 void Traverser::nextIteration() in nextIteration()
59 bool Traverser::visitUnary(Visit visit, TIntermUnary *node) in visitUnary()
112 return Traverser::Apply(compiler, root); in RewriteUnaryMinusOperatorInt()
DExpandIntegerPowExpressions.cpp23 class Traverser : public TIntermTraverser class
31 Traverser(TSymbolTable *symbolTable);
39 bool Traverser::Apply(TCompiler *compiler, TIntermNode *root, TSymbolTable *symbolTable) in Apply()
41 Traverser traverser(symbolTable); in Apply()
58 Traverser::Traverser(TSymbolTable *symbolTable) : TIntermTraverser(true, false, false, symbolTable) in Traverser() function in sh::__anona6dddbda0111::Traverser
61 void Traverser::nextIteration() in nextIteration()
66 bool Traverser::visitAggregate(Visit visit, TIntermAggregate *node) in visitAggregate()
149 return Traverser::Apply(compiler, root, symbolTable); in ExpandIntegerPowExpressions()
/external/angle/src/compiler/translator/tree_ops/
DRewriteTexelFetchOffset.cpp22 class Traverser : public TIntermTraverser class
31 Traverser(const TSymbolTable &symbolTable, int shaderVersion);
40 Traverser::Traverser(const TSymbolTable &symbolTable, int shaderVersion) in Traverser() function in sh::__anon21fde47e0111::Traverser
45 bool Traverser::Apply(TCompiler *compiler, in Apply()
50 Traverser traverser(symbolTable, shaderVersion); in Apply()
67 void Traverser::nextIteration() in nextIteration()
72 bool Traverser::visitAggregate(Visit visit, TIntermAggregate *node) in visitAggregate()
165 return Traverser::Apply(compiler, root, symbolTable, shaderVersion); in RewriteTexelFetchOffset()
DRewriteDfdy.cpp26 class Traverser : public TIntermTraverser class
37 Traverser(TSymbolTable *symbolTable,
51 Traverser::Traverser(TSymbolTable *symbolTable, in Traverser() function in sh::__anonc708e3320111::Traverser
62 bool Traverser::Apply(TCompiler *compiler, in Apply()
70 Traverser traverser(pSymbolTable, compileOptions, specConst, driverUniforms); in Apply()
75 bool Traverser::visitAggregate(Visit visit, TIntermAggregate *node) in visitAggregate()
84 bool Traverser::visitAggregateWithRotation(Visit visit, TIntermAggregate *node) in visitAggregateWithRotation()
187 bool Traverser::visitAggregateWithoutRotation(Visit visit, TIntermAggregate *node) in visitAggregateWithoutRotation()
231 return Traverser::Apply(compiler, compileOptions, root, symbolTable, specConst, driverUniforms); in RewriteDfdy()
/external/angle/src/compiler/translator/tree_ops/vulkan/
DRewriteInterpolateAtOffset.cpp26 class Traverser : public TIntermTraverser class
38 Traverser(TSymbolTable *symbolTable,
52 Traverser::Traverser(TSymbolTable *symbolTable, in Traverser() function in sh::__anon76d3928e0111::Traverser
66 bool Traverser::Apply(TCompiler *compiler, in Apply()
75 Traverser traverser(pSymbolTable, compileOptions, shaderVersion, specConst, driverUniforms); in Apply()
80 bool Traverser::visitAggregate(Visit visit, TIntermAggregate *node) in visitAggregate()
155 return Traverser::Apply(compiler, compileOptions, root, symbolTable, shaderVersion, specConst, in RewriteInterpolateAtOffset()
DSeparateStructFromUniformDeclarations.cpp21 class Traverser : public TIntermTraverser class
24 explicit Traverser(TSymbolTable *symbolTable) in Traverser() function in sh::__anon6edf83b00111::Traverser
112 Traverser separateStructDecls(symbolTable); in SeparateStructFromUniformDeclarations()
/external/guava/refactorings/
DTraverserRewrite.java18 import com.google.common.graph.Traverser;
50 return Traverser.forTree((N node) -> getChildren(node)).depthFirstPreOrder(root); in after()
75 return Traverser.forTree((N node) -> getChildren(node)).depthFirstPostOrder(root);
100 return Traverser.forTree((N node) -> getChildren(node)).breadthFirst(root);
/external/angle/src/compiler/translator/
DValidateBarrierFunctionCall.cpp19 class Traverser : public TIntermTraverser class
22 Traverser(TDiagnostics *diagnostics) in Traverser() function in sh::__anon98d8adac0111::Traverser
96 Traverser traverser(diagnostics); in ValidateBarrierFunctionCall()
/external/guava/android/guava/src/com/google/common/graph/
DTraverser.java66 public abstract class Traverser<N> { class
69 private Traverser(SuccessorsFunction<N> successorFunction) { in Traverser() method in Traverser
97 public static <N> Traverser<N> forGraph(final SuccessorsFunction<N> graph) { in forGraph()
98 return new Traverser<N>(graph) { in forGraph()
179 public static <N> Traverser<N> forTree(final SuccessorsFunction<N> tree) {
186 return new Traverser<N>(tree) {
DGraphs.java196 return ImmutableSet.copyOf(Traverser.forGraph(graph).breadthFirst(node)); in reachableNodes()
/external/guava/guava/src/com/google/common/graph/
DTraverser.java66 public abstract class Traverser<N> { class
69 private Traverser(SuccessorsFunction<N> successorFunction) { in Traverser() method in Traverser
97 public static <N> Traverser<N> forGraph(final SuccessorsFunction<N> graph) { in forGraph()
98 return new Traverser<N>(graph) { in forGraph()
179 public static <N> Traverser<N> forTree(final SuccessorsFunction<N> tree) {
186 return new Traverser<N>(tree) {
DGraphs.java194 return ImmutableSet.copyOf(Traverser.forGraph(graph).breadthFirst(node)); in reachableNodes()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DNameEmbeddedUniformStructsMetal.cpp20 class Traverser : public TIntermTraverser class
25 explicit Traverser(TSymbolTable *symbolTable) in Traverser() function in sh::__anondd7fe6d60111::Traverser
111 Traverser nameStructs(symbolTable); in NameEmbeddedStructUniformsMetal()
/external/dagger2/java/dagger/internal/codegen/validation/
DValidationReport.java27 import com.google.common.graph.Traverser;
40 private static final Traverser<ValidationReport<?>> SUBREPORTS =
41 Traverser.forTree(report -> report.subreports);
/external/guava/guava/src/com/google/common/io/
DFiles.java31 import com.google.common.graph.Traverser;
850 public static Traverser<File> fileTraverser() { in fileTraverser()
851 return Traverser.forTree(FILE_TREE); in fileTraverser()
DMoreFiles.java28 import com.google.common.graph.Traverser;
291 public static Traverser<Path> fileTraverser() {
292 return Traverser.forTree(FILE_TREE);
/external/guava/android/guava/src/com/google/common/io/
DFiles.java31 import com.google.common.graph.Traverser;
850 public static Traverser<File> fileTraverser() { in fileTraverser()
851 return Traverser.forTree(FILE_TREE); in fileTraverser()
/external/dagger2/java/dagger/internal/codegen/langmodel/
DDaggerElements.java34 import com.google.common.graph.Traverser;
100 private static final Traverser<Element> GET_ENCLOSED_ELEMENTS =
101 Traverser.forTree(Element::getEnclosedElements);
DDaggerTypes.java26 import com.google.common.graph.Traverser;
75 return Traverser.<TypeMirror>forGraph(this::directSupertypes).breadthFirst(type); in supertypes()
/external/dagger2/java/dagger/internal/codegen/binding/
DModuleDescriptor.java42 import com.google.common.graph.Traverser;
215 Traverser.forGraph( in transitiveModules()
DBindingGraph.java35 import com.google.common.graph.Traverser;
285 stream(Traverser.forTree(BindingGraph::subgraphs).depthFirstPostOrder(this)) in componentRequirements()
/external/deqp/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackFuzzLayoutCase.cpp1134 class Traverser class
1138 Traverser (const Iter beg, const Iter end, const bool shuffled) in Traverser() function in vkt::TransformFeedback::__anon5ba59b340111::Traverser
1183Traverser<const InterfaceBlockMember> interfaces(block.begin(), block.end(), shuffleUniformMembers… in generateDeclaration()

12