/external/llvm-project/flang/include/flang/Parser/ |
D | parse-tree-visitor.h | 35 Walk(const A &x, V &visitor) { in Walk() argument 36 if (visitor.Pre(x)) { in Walk() 37 visitor.Post(x); in Walk() 62 void Walk(const std::optional<T> &x, V &visitor) { in Walk() argument 64 Walk(*x, visitor); in Walk() 75 template <typename T, typename V> void Walk(const std::list<T> &x, V &visitor) { in Walk() argument 77 Walk(elem, visitor); in Walk() 85 template <typename V> void Walk(const Block &x, V &visitor) { in Walk() argument 86 if (visitor.Pre(x)) { in Walk() 88 Walk(elem, visitor); in Walk() [all …]
|
/external/rust/crates/serde_test/src/ |
D | de.rs | 87 visitor: V, in visit_seq() 92 let value = visitor.visit_seq(DeserializerSeqVisitor { in visit_seq() 105 visitor: V, in visit_map() 110 let value = visitor.visit_map(DeserializerMapVisitor { in visit_map() 128 fn deserialize_any<V>(self, visitor: V) -> Result<V::Value, Error> in deserialize_any() 134 Token::Bool(v) => visitor.visit_bool(v), in deserialize_any() 135 Token::I8(v) => visitor.visit_i8(v), in deserialize_any() 136 Token::I16(v) => visitor.visit_i16(v), in deserialize_any() 137 Token::I32(v) => visitor.visit_i32(v), in deserialize_any() 138 Token::I64(v) => visitor.visit_i64(v), in deserialize_any() [all …]
|
/external/rust/crates/serde_json/src/value/ |
D | de.rs | 85 fn visit_seq<V>(self, mut visitor: V) -> Result<Value, V::Error> in deserialize() 91 while let Some(elem) = tri!(visitor.next_element()) { in deserialize() 99 fn visit_map<V>(self, mut visitor: V) -> Result<Value, V::Error> in deserialize() 103 match visitor.next_key_seed(KeyClassifier)? { in deserialize() 106 let number: NumberFromString = visitor.next_value()?; in deserialize() 111 let value = visitor.next_value_seed(crate::raw::BoxedFromString)?; in deserialize() 117 values.insert(first_key, tri!(visitor.next_value())); in deserialize() 118 while let Some((key, value)) = tri!(visitor.next_entry()) { in deserialize() 143 fn $method<V>(self, visitor: V) -> Result<V::Value, Error> 148 Value::Number(n) => n.deserialize_any(visitor), [all …]
|
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/ |
D | DescendingVisitor.java | 33 private final Visitor visitor; field in DescendingVisitor 74 public DescendingVisitor(final JavaClass clazz, final Visitor visitor) in DescendingVisitor() argument 77 this.visitor = visitor; in DescendingVisitor() 92 _clazz.accept(visitor); in visitJavaClass() 116 annotation.accept(visitor); in visitAnnotation() 131 annotationEntry.accept(visitor); in visitAnnotationEntry() 139 field.accept(visitor); in visitField() 151 cv.accept(visitor); in visitConstantValue() 159 method.accept(visitor); in visitMethod() 171 table.accept(visitor); in visitExceptionTable() [all …]
|
/external/rust/crates/syn/src/ |
D | gen_helper.rs | 79 pub fn tokens_helper<'ast, V: Visit<'ast> + ?Sized, S: Spans>(visitor: &mut V, spans: &S) { in tokens_helper() 80 spans.visit(visitor); in tokens_helper() 84 fn visit<'ast, V: Visit<'ast> + ?Sized>(&self, visitor: &mut V); in visit() 88 fn visit<'ast, V: Visit<'ast> + ?Sized>(&self, visitor: &mut V) { in visit() 89 visitor.visit_span(self); in visit() 94 fn visit<'ast, V: Visit<'ast> + ?Sized>(&self, visitor: &mut V) { in visit() 95 visitor.visit_span(&self[0]); in visit() 100 fn visit<'ast, V: Visit<'ast> + ?Sized>(&self, visitor: &mut V) { in visit() 101 visitor.visit_span(&self[0]); in visit() 102 visitor.visit_span(&self[1]); in visit() [all …]
|
/external/rust/crates/serde/src/private/ |
D | de.rs | 40 fn deserialize_option<V>(self, visitor: V) -> Result<V::Value, E> in missing_field() 44 visitor.visit_none() in missing_field() 296 let visitor = ContentVisitor { value: PhantomData }; in deserialize() localVariable 297 deserializer.deserialize_any(visitor) in deserialize() 472 fn visit_seq<V>(self, mut visitor: V) -> Result<Self::Value, V::Error> in visit_seq() 476 let mut vec = Vec::with_capacity(size_hint::cautious(visitor.size_hint())); in visit_seq() 477 while let Some(e) = try!(visitor.next_element()) { in visit_seq() 483 fn visit_map<V>(self, mut visitor: V) -> Result<Self::Value, V::Error> in visit_map() 487 let mut vec = Vec::with_capacity(size_hint::cautious(visitor.size_hint())); in visit_map() 488 while let Some(kv) = try!(visitor.next_entry()) { in visit_map() [all …]
|
/external/rust/crates/serde_cbor/src/ |
D | de.rs | 288 fn parse_bytes<V>(&mut self, len: usize, visitor: V) -> Result<V::Value> in parse_bytes() 293 EitherLifetime::Long(buf) => visitor.visit_borrowed_bytes(buf), in parse_bytes() 294 EitherLifetime::Short(buf) => visitor.visit_bytes(buf), in parse_bytes() 298 fn parse_indefinite_bytes<V>(&mut self, visitor: V) -> Result<V::Value> in parse_indefinite_bytes() 325 EitherLifetime::Long(buf) => visitor.visit_borrowed_bytes(buf), in parse_indefinite_bytes() 326 EitherLifetime::Short(buf) => visitor.visit_bytes(buf), in parse_indefinite_bytes() 341 fn parse_str<V>(&mut self, len: usize, visitor: V) -> Result<V::Value> in parse_str() 349 visitor.visit_borrowed_str(s) in parse_str() 353 visitor.visit_str(s) in parse_str() 365 fn parse_indefinite_str<V>(&mut self, visitor: V) -> Result<V::Value> in parse_indefinite_str() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/ |
D | com_github_javaparser_ast_visitor_DumpVisitor.txt | 2 Line 92) makeIndent() ==> com.github.javaparser.ast.visitor.DumpVisitor.SourcePrinter.makeIndent() 4 …Line 99) print(arg) ==> com.github.javaparser.ast.visitor.DumpVisitor.SourcePrinter.print(java.lan… 5 Line 100) printLn() ==> com.github.javaparser.ast.visitor.DumpVisitor.SourcePrinter.printLn() 8 Line 114) getSource() ==> com.github.javaparser.ast.visitor.DumpVisitor.SourcePrinter.getSource() 9 …Line 118) createSourcePrinter() ==> com.github.javaparser.ast.visitor.DumpVisitor.createSourcePrin… 10 …Line 125) printer.getSource() ==> com.github.javaparser.ast.visitor.DumpVisitor.SourcePrinter.getS… 12 …b).collect(Collectors.joining(" ")) + " ") ==> com.github.javaparser.ast.visitor.DumpVisitor.Sourc… 17 …Line 135) printer.printLn() ==> com.github.javaparser.ast.visitor.DumpVisitor.SourcePrinter.printL… 18 …arg) ==> com.github.javaparser.ast.Node.accept(com.github.javaparser.ast.visitor.VoidVisitor<A>, A) 19 …Line 137) printer.printLn() ==> com.github.javaparser.ast.visitor.DumpVisitor.SourcePrinter.printL… [all …]
|
D | com_github_javaparser_ast_visitor_GenericVisitorAdapter.txt | 1 …Line 43) visitComment(n, arg) ==> com.github.javaparser.ast.visitor.GenericVisitorAdapter.visitCom… 4 …arg) ==> com.github.javaparser.ast.Node.accept(com.github.javaparser.ast.visitor.GenericVisitor<R,… 7 …arg) ==> com.github.javaparser.ast.Node.accept(com.github.javaparser.ast.visitor.GenericVisitor<R,… 8 …Line 69) visitComment(n, arg) ==> com.github.javaparser.ast.visitor.GenericVisitorAdapter.visitCom… 11 …arg) ==> com.github.javaparser.ast.Node.accept(com.github.javaparser.ast.visitor.GenericVisitor<R,… 12 …arg) ==> com.github.javaparser.ast.Node.accept(com.github.javaparser.ast.visitor.GenericVisitor<R,… 15 …arg) ==> com.github.javaparser.ast.Node.accept(com.github.javaparser.ast.visitor.GenericVisitor<R,… 17 …Line 99) visitComment(n, arg) ==> com.github.javaparser.ast.visitor.GenericVisitorAdapter.visitCom… 18 …arg) ==> com.github.javaparser.ast.Node.accept(com.github.javaparser.ast.visitor.GenericVisitor<R,… 20 …arg) ==> com.github.javaparser.ast.Node.accept(com.github.javaparser.ast.visitor.GenericVisitor<R,… [all …]
|
D | com_github_javaparser_ast_visitor_VoidVisitorAdapter.txt | 1 …Line 93) visitComment(n.getComment(), arg) ==> com.github.javaparser.ast.visitor.VoidVisitorAdapte… 3 …Line 94) visitAnnotations(n, arg) ==> com.github.javaparser.ast.visitor.VoidVisitorAdapter.visitAn… 4 …com.github.javaparser.ast.expr.NameExpr.accept(com.github.javaparser.ast.visitor.VoidVisitor<A>, A) 8 …arg) ==> com.github.javaparser.ast.Node.accept(com.github.javaparser.ast.visitor.VoidVisitor<A>, A) 9 …Line 104) visitComment(n.getComment(), arg) ==> com.github.javaparser.ast.visitor.VoidVisitorAdapt… 11 …Line 105) visitAnnotations(n, arg) ==> com.github.javaparser.ast.visitor.VoidVisitorAdapter.visitA… 12 …arg) ==> com.github.javaparser.ast.Node.accept(com.github.javaparser.ast.visitor.VoidVisitor<A>, A) 15 …arg) ==> com.github.javaparser.ast.Node.accept(com.github.javaparser.ast.visitor.VoidVisitor<A>, A) 17 …Line 113) visitComment(n.getComment(), arg) ==> com.github.javaparser.ast.visitor.VoidVisitorAdapt… 19 …arg) ==> com.github.javaparser.ast.Node.accept(com.github.javaparser.ast.visitor.VoidVisitor<A>, A) [all …]
|
/external/tensorflow/tensorflow/tools/common/ |
D | traverse_test.py | 44 visitor = TestVisitor() 45 traverse.traverse(Cyclist, visitor) 49 visitor = TestVisitor() 50 traverse.traverse(test_module1, visitor) 52 called = [parent for _, parent, _ in visitor.call_log] 58 visitor = TestVisitor() 59 traverse.traverse(TestVisitor, visitor) 61 visitor.call_log[0][1]) 64 self.assertIn('__init__', [name for name, _ in visitor.call_log[0][2]]) 65 self.assertIn('__call__', [name for name, _ in visitor.call_log[0][2]]) [all …]
|
D | public_api_test.py | 40 visitor = self.TestVisitor() 42 public_api.PublicAPIVisitor(visitor)('test', 'dummy', children) 43 self.assertEqual(set(['test']), visitor.symbols) 44 self.assertEqual('dummy', visitor.last_parent) 46 visitor.last_children) 49 visitor = self.TestVisitor() 51 public_api.PublicAPIVisitor(visitor)('test', 'dummy', children) 53 self.assertEqual([('name1', 'thing1')], visitor.last_children) 57 visitor = self.TestVisitor() 59 public_api.PublicAPIVisitor(visitor)('test', 'dummy', children) [all …]
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/xml/ |
D | XMLFormatterTest.java | 68 final IReportVisitor visitor = formatter.createVisitor(output); in testSessionInfo() local 69 visitor.visitInfo(infos, data); in testSessionInfo() 70 visitor.visitGroup("foo"); in testSessionInfo() 71 visitor.visitEnd(); in testSessionInfo() 81 final IReportVisitor visitor = formatter.createVisitor(output); in testStructureWithNestedGroups() local 82 visitor.visitInfo(infos, data); in testStructureWithNestedGroups() 83 driver.sendNestedGroups(visitor); in testStructureWithNestedGroups() 93 final IReportVisitor visitor = formatter.createVisitor(output); in testStructureWithGroup() local 94 visitor.visitInfo(infos, data); in testStructureWithGroup() 95 driver.sendGroup(visitor); in testStructureWithGroup() [all …]
|
/external/desugar/java/com/google/devtools/build/android/desugar/ |
D | Desugar.java | 538 ClassVisitor visitor = in desugarClassesInInput() local 549 if (writer == visitor) { in desugarClassesInInput() 553 reader.accept(visitor, 0); in desugarClassesInInput() 603 ClassVisitor visitor = in desugarAndWriteDumpedLambdaClassesToOutput() local 616 reader.accept(visitor, 0); in desugarAndWriteDumpedLambdaClassesToOutput() 646 ClassVisitor visitor = writer; in desugarAndWriteGeneratedClasses() local 648 visitor = new EmulatedInterfaceRewriter(visitor, coreLibrarySupport); in desugarAndWriteGeneratedClasses() 649 visitor = new CorePackageRenamer(visitor, coreLibrarySupport); in desugarAndWriteGeneratedClasses() 650 visitor = new CoreLibraryInvocationRewriter(visitor, coreLibrarySupport); in desugarAndWriteGeneratedClasses() 656 visitor = in desugarAndWriteGeneratedClasses() [all …]
|
/external/flatbuffers/include/flatbuffers/ |
D | minireflect.h | 119 IterationVisitor *visitor); 123 soffset_t vector_index, IterationVisitor *visitor) { in IterateValue() argument 127 visitor->UType(tval, EnumName(tval, type_table)); in IterateValue() 131 visitor->Bool(ReadScalar<uint8_t>(val) != 0); in IterateValue() 136 visitor->Char(tval, EnumName(tval, type_table)); in IterateValue() 141 visitor->UChar(tval, EnumName(tval, type_table)); in IterateValue() 146 visitor->Short(tval, EnumName(tval, type_table)); in IterateValue() 151 visitor->UShort(tval, EnumName(tval, type_table)); in IterateValue() 156 visitor->Int(tval, EnumName(tval, type_table)); in IterateValue() 161 visitor->UInt(tval, EnumName(tval, type_table)); in IterateValue() [all …]
|
/external/pigweed/pw_env_setup/py/pw_env_setup/ |
D | environment.py | 70 def accept(self, visitor): argument 71 del visitor 130 def accept(self, visitor): argument 131 visitor.visit_set(self) 141 def accept(self, visitor): argument 142 visitor.visit_clear(self) 147 def accept(self, visitor): argument 148 visitor.visit_remove(self) 170 def accept(self, visitor): argument 171 visitor.visit_prepend(self) [all …]
|
/external/turbine/java/com/google/turbine/tree/ |
D | Tree.java | 36 public abstract <I, O> O accept(Visitor<I, O> visitor, I input); in accept() argument 104 public <I, O> O accept(Visitor<I, O> visitor, I input) { in accept() argument 105 return visitor.visitIdent(this, input); in accept() 157 public <I, O> O accept(Visitor<I, O> visitor, I input) { in accept() argument 158 return visitor.visitWildTy(this, input); in accept() 195 public <I, O> O accept(Visitor<I, O> visitor, I input) { in accept() argument 196 return visitor.visitArrTy(this, input); in accept() 224 public <I, O> O accept(Visitor<I, O> visitor, I input) { in accept() argument 225 return visitor.visitPrimTy(this, input); in accept() 243 public <I, O> O accept(Visitor<I, O> visitor, I input) { in accept() argument [all …]
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/ |
D | StatementParserTest.java | 33 private IStatementVisitor visitor; field in StatementParserTest 45 visitor = new IStatementVisitor() { in setup() 60 StatementParser.parse("", visitor, "Foo.java"); in should_parse_empty_string() 65 StatementParser.parse("run()", visitor, "Foo.java"); in should_parse_invocation_without_params() 72 StatementParser.parse("ask(42)", visitor, "Foo.java"); in should_parse_invocation_with_one_int_parameter() 79 StatementParser.parse("say(\"hello\")", visitor, "Foo.java"); in should_parse_invocation_with_one_string_parameter() 86 StatementParser.parse("add(1000, 234)", visitor, "Foo.java"); in should_parse_invocation_with_two_parameters() 94 StatementParser.parse("mix(1, \"two\", 3)", visitor, "Foo.java"); in should_parse_invocation_with_mixed_parameter_types() 101 StatementParser.parse("start() stop()", visitor, "Foo.java"); in should_parse_multiple_invocations() 109 StatementParser.parse("bad(", visitor, "Foo.java"); in should_fail_when_parenthesis_is_missing() [all …]
|
/external/rust/crates/csv/src/ |
D | deserializer.rs | 98 visitor: V, in infer_deserialize() 145 visitor: V, in infer_deserialize() 147 self.0.infer_deserialize(visitor) in infer_deserialize() 208 visitor: V, in infer_deserialize() 212 return visitor.visit_bool(true); in infer_deserialize() 214 return visitor.visit_bool(false); in infer_deserialize() 216 return visitor.visit_u64(n); in infer_deserialize() 218 return visitor.visit_i64(n); in infer_deserialize() 222 return visitor.visit_u128(n); in infer_deserialize() 224 return visitor.visit_i128(n); in infer_deserialize() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/api/ |
D | PrefixVisitorHost.java | 68 acceptFn.accept(order, host.visitor); in accept() 81 T visitor, Consumer<T> doneHandler, CldrPath prefix) { in of() argument 82 return new VisitorState(prefix, () -> doneHandler.accept(visitor)) { in of() 85 visitor.visit(value); in of() 92 T visitor, Consumer<T> doneHandler, CldrPath prefix) { in of() argument 93 return new VisitorState(prefix, () -> doneHandler.accept(visitor)) { in of() 96 visitor.visitPrefixStart(prefix, ctx); in of() 101 visitor.visitPrefixEnd(prefix); in of() 106 visitor.visitValue(value); in of() 128 private final ValueVisitor visitor = value -> { [all …]
|
D | CldrData.java | 22 void accept(PathOrder order, ValueVisitor visitor); in accept() argument 40 default void accept(PathOrder order, PrefixVisitor visitor) { in accept() argument 41 PrefixVisitorHost.accept(this::accept, order, visitor); in accept() 124 default void install(ValueVisitor visitor) { in install() argument 125 install(visitor, v -> {}); in install() 137 <T extends ValueVisitor> void install(T visitor, Consumer<T> doneHandler); in install() argument 147 default void install(PrefixVisitor visitor) { in install() argument 148 install(visitor, v -> {}); in install() 160 <T extends PrefixVisitor> void install(T visitor, Consumer<T> doneHandler); in install() argument
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
D | Array2DRowRealMatrix.java | 460 public double walkInRowOrder(final RealMatrixChangingVisitor visitor) in walkInRowOrder() argument 464 visitor.start(rows, columns, 0, rows - 1, 0, columns - 1); in walkInRowOrder() 468 rowI[j] = visitor.visit(i, j, rowI[j]); in walkInRowOrder() 471 return visitor.end(); in walkInRowOrder() 476 public double walkInRowOrder(final RealMatrixPreservingVisitor visitor) in walkInRowOrder() argument 480 visitor.start(rows, columns, 0, rows - 1, 0, columns - 1); in walkInRowOrder() 484 visitor.visit(i, j, rowI[j]); in walkInRowOrder() 487 return visitor.end(); in walkInRowOrder() 492 public double walkInRowOrder(final RealMatrixChangingVisitor visitor, in walkInRowOrder() argument 497 visitor.start(getRowDimension(), getColumnDimension(), in walkInRowOrder() [all …]
|
D | RealMatrixImpl.java | 468 public double walkInRowOrder(final RealMatrixChangingVisitor visitor) in walkInRowOrder() argument 472 visitor.start(rows, columns, 0, rows - 1, 0, columns - 1); in walkInRowOrder() 476 rowI[j] = visitor.visit(i, j, rowI[j]); in walkInRowOrder() 479 return visitor.end(); in walkInRowOrder() 484 public double walkInRowOrder(final RealMatrixPreservingVisitor visitor) in walkInRowOrder() argument 488 visitor.start(rows, columns, 0, rows - 1, 0, columns - 1); in walkInRowOrder() 492 visitor.visit(i, j, rowI[j]); in walkInRowOrder() 495 return visitor.end(); in walkInRowOrder() 500 public double walkInRowOrder(final RealMatrixChangingVisitor visitor, in walkInRowOrder() argument 505 visitor.start(getRowDimension(), getColumnDimension(), in walkInRowOrder() [all …]
|
/external/apache-commons-bcel/src/test/java/org/apache/bcel/ |
D | AbstractCounterVisitorTestCase.java | 29 private CounterVisitor visitor = null; field in AbstractCounterVisitorTestCase 34 visitor = new CounterVisitor(); in setUp() 40 if (visitor == null) { in getVisitor() 41 visitor = new CounterVisitor(); in getVisitor() 43 return visitor; in getVisitor() 46 public void setVisitor(final CounterVisitor visitor) in setVisitor() argument 48 this.visitor = visitor; in setVisitor()
|
/external/angle/src/compiler/translator/ |
D | blocklayout.cpp | 54 BlockLayoutMapVisitor visitor(blockInfoOut, prefix, encoder); in GetInterfaceBlockInfo() local 57 TraverseActiveShaderVariables(fields, inRowMajorLayout, &visitor); in GetInterfaceBlockInfo() 61 TraverseShaderVariables(fields, inRowMajorLayout, &visitor); in GetInterfaceBlockInfo() 67 ShaderVariableVisitor *visitor) in TraverseStructVariable() argument 71 visitor->enterStructAccess(variable, isRowMajorLayout); in TraverseStructVariable() 72 TraverseShaderVariables(fields, isRowMajorLayout, visitor); in TraverseStructVariable() 73 visitor->exitStructAccess(variable, isRowMajorLayout); in TraverseStructVariable() 78 ShaderVariableVisitor *visitor) in TraverseStructArrayVariable() argument 80 visitor->enterArray(variable); in TraverseStructArrayVariable() 87 visitor->enterArrayElement(variable, arrayElement); in TraverseStructArrayVariable() [all …]
|