/third_party/typescript/src/compiler/ |
D | visitorPublic.ts | 12 …export function visitNode<T extends Node>(node: T, visitor: Visitor | undefined, test?: (node: Nod… 22 …export function visitNode<T extends Node>(node: T | undefined, visitor: Visitor | undefined, test?… 24 …export function visitNode<T extends Node>(node: T | undefined, visitor: Visitor | undefined, test?… 25 if (node === undefined || visitor === undefined) { 29 const visited = visitor(node); 58 …export function visitNodes<T extends Node>(nodes: NodeArray<T>, visitor: Visitor | undefined, test… 69 …export function visitNodes<T extends Node>(nodes: NodeArray<T> | undefined, visitor: Visitor | und… 80 …export function visitNodes<T extends Node>(nodes: NodeArray<T> | undefined, visitor: Visitor | und… 81 if (nodes === undefined || visitor === undefined) { 111 const visited = node !== undefined ? visitor(node) : undefined; [all …]
|
/third_party/rust/crates/serde/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 …]
|
/third_party/rust/crates/serde/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() 297 let visitor = ContentVisitor { value: PhantomData }; in deserialize() localVariable 298 deserializer.__deserialize_content(actually_private::T, visitor) in deserialize() 473 fn visit_seq<V>(self, mut visitor: V) -> Result<Self::Value, V::Error> in visit_seq() 477 let mut vec = Vec::with_capacity(size_hint::cautious(visitor.size_hint())); in visit_seq() 478 while let Some(e) = try!(visitor.next_element()) { in visit_seq() 484 fn visit_map<V>(self, mut visitor: V) -> Result<Self::Value, V::Error> in visit_map() 488 let mut vec = Vec::with_capacity(size_hint::cautious(visitor.size_hint())); in visit_map() 489 while let Some(kv) = try!(visitor.next_entry()) { in visit_map() [all …]
|
/third_party/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 …]
|
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/build_system/ |
D | source_test.dart | 18 SourceVisitor visitor; 28 visitor = SourceVisitor(environment); 43 fooSource.accept(visitor); 45 expect(visitor.sources.single.path, fs.path.absolute('foo')); 52 barSource.accept(visitor); 54 expect(visitor.sources.single.path, fs.path.absolute(path)); 61 barSource.accept(visitor); 63 expect(visitor.sources.single.path, fs.path.absolute(path)); 74 fizzSource.accept(visitor); 76 expect(visitor.sources.single.resolveSymbolicLinksSync(), fs.path.absolute(path)); [all …]
|
/third_party/cef/tests/ceftests/ |
D | browser_info_map_unittest.cc | 323 MyVisitor visitor; in TEST() local 324 map.Find(kBrowserId2, 4, &visitor); in TEST() 325 EXPECT_EQ(1U, visitor.info_size()); in TEST() 326 EXPECT_TRUE(visitor.Exists(kBrowserId2, 4, obj4)); in TEST() 327 EXPECT_EQ(0U, visitor.info_size()); in TEST() 362 MyVisitor visitor(true); in TEST() local 363 map.Find(kBrowserId1, 2, &visitor); in TEST() 364 EXPECT_EQ(1U, visitor.info_size()); in TEST() 365 EXPECT_TRUE(visitor.Exists(kBrowserId1, 2, obj2)); in TEST() 366 EXPECT_EQ(0U, visitor.info_size()); in TEST() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/ |
D | blocklayout.cpp | 53 BlockLayoutMapVisitor visitor(blockInfoOut, prefix, encoder); in GetInterfaceBlockInfo() local 54 TraverseShaderVariables(fields, inRowMajorLayout, &visitor); in GetInterfaceBlockInfo() 59 ShaderVariableVisitor *visitor) in TraverseStructVariable() argument 63 visitor->enterStructAccess(variable, isRowMajorLayout); in TraverseStructVariable() 64 TraverseShaderVariables(fields, isRowMajorLayout, visitor); in TraverseStructVariable() 65 visitor->exitStructAccess(variable, isRowMajorLayout); in TraverseStructVariable() 70 ShaderVariableVisitor *visitor) in TraverseStructArrayVariable() argument 72 visitor->enterArray(variable); in TraverseStructArrayVariable() 80 visitor->enterArrayElement(variable, arrayElement); in TraverseStructArrayVariable() 86 TraverseStructArrayVariable(elementVar, inRowMajorLayout, visitor); in TraverseStructArrayVariable() [all …]
|
/third_party/typescript/src/compiler/transformers/ |
D | classFields.ts | 77 const visited = visitEachChild(node, visitor, context); 82 function visitor(node: Node): VisitResult<Node> { 112 return visitEachChild(node, visitor, context); 121 return visitor(node); 164 return visitor(node); 172 const visitedNode = visitEachChild(node, visitor, context); 182 let node = visitEachChild(name, visitor, context); 202 visitNodes(node.modifiers, visitor, isModifier), 220 receiver = visitNode(receiver, visitor, isExpression); 241 return visitEachChild(node, visitor, context); [all …]
|
D | es2018.ts | 121 function visitor(node: Node): VisitResult<Node> { 147 return visitEachChild(node, visitor, context); 251 return visitEachChild(node, visitor, context); 256 return visitEachChild(node, visitor, context); 265 return visitEachChild(node, visitor, context); 273 …n*/ undefined, emitHelpers().createAwaitHelper(visitNode(node.expression, visitor, isExpression))), 279 return visitEachChild(node, visitor, context); 285 … const expression = visitNode(Debug.assertDefined(node.expression), visitor, isExpression); 319 ? visitNode(node.expression, visitor, isExpression) 329 return visitEachChild(node, visitor, context); [all …]
|
D | generators.ts | 303 const visited = visitEachChild(node, visitor, context); 313 function visitor(node: Node): VisitResult<Node> { 325 return visitEachChild(node, visitor, context); 383 return visitEachChild(node, visitor, context); 417 return visitEachChild(node, visitor, context); 459 visitParameterList(node.parameters, visitor, context), 473 node = visitEachChild(node, visitor, context); 508 visitParameterList(node.parameters, visitor, context), 522 node = visitEachChild(node, visitor, context); 543 node = visitEachChild(node, visitor, context); [all …]
|
D | es2020.ts | 16 return visitEachChild(node, visitor, context); 19 function visitor(node: Node): VisitResult<Node> { 32 return visitEachChild(node, visitor, context); 37 return visitEachChild(node, visitor, context); 41 return visitEachChild(node, visitor, context); 72 let expression: Expression = visitNode(node.expression, visitor, isExpression); 87 …ctory.updatePropertyAccessExpression(node, expression, visitNode(node.name, visitor, isIdentifier)) 88 …ementAccessExpression(node, expression, visitNode(node.argumentExpression, visitor, isExpression)); 97 return visitEachChild(node, visitor, context); 106 default: return visitNode(node, visitor, isExpression); [all …]
|
D | es2017.ts | 70 const visited = visitEachChild(node, visitor, context); 103 return visitEachChild(node, visitor, context); 106 function visitor(node: Node): VisitResult<Node> { 134 return visitEachChild(node, visitor, context); 140 return visitEachChild(node, visitor, context); 150 return visitEachChild(node, visitor, context); 183 return visitor(node); 218 return visitEachChild(node, visitor, context); 226 : visitNode(node.initializer, visitor, isForInitializer), 227 visitNode(node.expression, visitor, isExpression), [all …]
|
/third_party/skia/third_party/externals/angle2/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 …]
|
/third_party/rust/crates/regex/regex-syntax/src/ast/ |
D | visitor.rs | 119 pub fn visit<V: Visitor>(ast: &Ast, visitor: V) -> Result<V::Output, V::Err> { in visit() 120 HeapVisitor::new().visit(ast, visitor) in visit() 209 mut visitor: V, in visit() 214 visitor.start(); in visit() 216 visitor.visit_pre(ast)?; in visit() 217 if let Some(x) = self.induct(ast, &mut visitor)? { in visit() 225 visitor.visit_post(ast)?; in visit() 231 None => return visitor.finish(), in visit() 238 visitor.visit_alternation_in()?; in visit() 246 visitor.visit_post(post_ast)?; in visit() [all …]
|
/third_party/cef/libcef/browser/net_service/ |
D | cookie_manager_impl.cc | 69 void ExecuteVisitor(CefRefPtr<CefCookieVisitor> visitor, in ExecuteVisitor() argument 86 bool keepLooping = visitor->Visit(cookie, count, total, deleteCookie); in ExecuteVisitor() 99 CefRefPtr<CefCookieVisitor> visitor, in GetAllCookiesCallbackImpl() argument 102 CEF_POST_TASK(CEF_UIT, base::BindOnce(&ExecuteVisitor, visitor, in GetAllCookiesCallbackImpl() 107 CefRefPtr<CefCookieVisitor> visitor, in GetCookiesCallbackImpl() argument 115 GetAllCookiesCallbackImpl(visitor, browser_context_getter, cookies); in GetCookiesCallbackImpl() 143 CefRefPtr<CefCookieVisitor> visitor) { in VisitAllCookies() argument 144 if (!visitor.get()) in VisitAllCookies() 150 this, visitor)); in VisitAllCookies() 154 return VisitAllCookiesInternal(visitor); in VisitAllCookies() [all …]
|
/third_party/rust/crates/tracing/tracing-serde/src/ |
D | fields.rs | 26 let mut visitor = SerdeMapVisitor::new(serializer); in serialize() localVariable 27 self.0.record(&mut visitor); in serialize() 28 visitor.finish() in serialize() 39 let mut visitor = SerdeMapVisitor::new(serializer); in serialize() localVariable 40 self.0.record(&mut visitor); in serialize() 41 visitor.finish() in serialize() 51 let mut visitor = SerdeMapVisitor::new(serializer); in serialize() localVariable 52 self.0.record(&mut visitor); in serialize() 53 visitor.finish() in serialize()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_instr_export.cpp | 67 void ExportInstr::accept(ConstInstrVisitor& visitor) const in accept() 69 visitor.visit(*this); in accept() 72 void ExportInstr::accept(InstrVisitor& visitor) in accept() argument 74 visitor.visit(this); in accept() 185 void ScratchIOInstr::accept(ConstInstrVisitor& visitor) const in accept() 187 visitor.visit(*this); in accept() 190 void ScratchIOInstr::accept(InstrVisitor& visitor) in accept() argument 192 visitor.visit(this); in accept() 353 void StreamOutInstr::accept(ConstInstrVisitor& visitor) const in accept() 355 visitor.visit(*this); in accept() [all …]
|
D | sfn_alu_readport_validation.cpp | 94 ReserveReadportVec visitor(*this); in schedule_vec_src() local 97 visitor.src0_sel = src[0]->sel(); in schedule_vec_src() 98 visitor.src0_chan = src[0]->chan(); in schedule_vec_src() 100 visitor.src0_sel = 0xffff; in schedule_vec_src() 101 visitor.src0_chan = 8; in schedule_vec_src() 105 visitor.cycle = cycle_vec(swz, i); in schedule_vec_src() 106 visitor.isrc = i; in schedule_vec_src() 107 src[i]->accept(visitor); in schedule_vec_src() 110 return visitor.success; in schedule_vec_src() 115 ReserveReadportVec visitor(*this); in schedule_vec_instruction() local [all …]
|
D | sfn_instr_export.h | 64 void accept(ConstInstrVisitor& visitor) const override; 65 void accept(InstrVisitor& visitor) override; 101 void accept(ConstInstrVisitor& visitor) const override; 102 void accept(InstrVisitor& visitor) override; 142 void accept(ConstInstrVisitor& visitor) const override; 143 void accept(InstrVisitor& visitor) override; 182 void accept(ConstInstrVisitor& visitor) const override; 183 void accept(InstrVisitor& visitor) override; 207 void accept(ConstInstrVisitor& visitor) const override; 208 void accept(InstrVisitor& visitor) override; [all …]
|
/third_party/gn/src/gn/ |
D | xcode_object.cc | 346 void PBXObject::Visit(PBXObjectVisitor& visitor) { in Visit() argument 347 visitor.Visit(this); in Visit() 350 void PBXObject::Visit(PBXObjectVisitorConst& visitor) const { in Visit() 351 visitor.Visit(this); in Visit() 365 void PBXBuildPhase::Visit(PBXObjectVisitor& visitor) { in Visit() argument 366 PBXObject::Visit(visitor); in Visit() 368 file->Visit(visitor); in Visit() 372 void PBXBuildPhase::Visit(PBXObjectVisitorConst& visitor) const { in Visit() 373 PBXObject::Visit(visitor); in Visit() 375 file->Visit(visitor); in Visit() [all …]
|
/third_party/mesa3d/src/gallium/tools/trace/ |
D | model.py | 69 def visit(self, visitor): argument 88 def visit(self, visitor): argument 89 visitor.visit_literal(self) 103 def visit(self, visitor): argument 104 visitor.visit_blob(self) 115 def visit(self, visitor): argument 116 visitor.visit_named_constant(self) 127 def visit(self, visitor): argument 128 visitor.visit_array(self) 143 def visit(self, visitor): argument [all …]
|
/third_party/rust/crates/serde/serde/src/de/ |
D | mod.rs | 915 fn deserialize_any<V>(self, visitor: V) -> Result<V::Value, Self::Error> in deserialize_any() 920 fn deserialize_bool<V>(self, visitor: V) -> Result<V::Value, Self::Error> in deserialize_bool() 925 fn deserialize_i8<V>(self, visitor: V) -> Result<V::Value, Self::Error> in deserialize_i8() 930 fn deserialize_i16<V>(self, visitor: V) -> Result<V::Value, Self::Error> in deserialize_i16() 935 fn deserialize_i32<V>(self, visitor: V) -> Result<V::Value, Self::Error> in deserialize_i32() 940 fn deserialize_i64<V>(self, visitor: V) -> Result<V::Value, Self::Error> in deserialize_i64() 949 fn deserialize_i128<V>(self, visitor: V) -> Result<V::Value, Self::Error> 953 let _ = visitor; 959 fn deserialize_u8<V>(self, visitor: V) -> Result<V::Value, Self::Error> in deserialize_u8() 964 fn deserialize_u16<V>(self, visitor: V) -> Result<V::Value, Self::Error> in deserialize_u16() [all …]
|
D | value.rs | 156 fn deserialize_any<V>(self, visitor: V) -> Result<V::Value, Self::Error> in deserialize_any() 160 visitor.visit_unit() in deserialize_any() 163 fn deserialize_option<V>(self, visitor: V) -> Result<V::Value, Self::Error> in deserialize_option() 167 visitor.visit_none() in deserialize_option() 258 fn deserialize_any<V>(self, visitor: V) -> Result<V::Value, Self::Error> 262 visitor.$method(self.value $($cast)*) 330 fn deserialize_any<V>(self, visitor: V) -> Result<V::Value, Self::Error> in deserialize_any() 334 visitor.visit_u32(self.value) in deserialize_any() 341 visitor: V, in deserialize_enum() 348 visitor.visit_enum(self) in deserialize_enum() [all …]
|
/third_party/rust/crates/cxx/syntax/ |
D | visit.rs | 9 pub fn visit_type<'a, V>(visitor: &mut V, ty: &'a Type) in visit_type() 20 | Type::RustVec(ty) => visitor.visit_type(&ty.inner), in visit_type() 21 Type::Ref(r) => visitor.visit_type(&r.inner), in visit_type() 22 Type::Ptr(p) => visitor.visit_type(&p.inner), in visit_type() 23 Type::Array(a) => visitor.visit_type(&a.inner), in visit_type() 24 Type::SliceRef(s) => visitor.visit_type(&s.inner), in visit_type() 27 visitor.visit_type(ret); in visit_type() 30 visitor.visit_type(&arg.ty); in visit_type()
|
/third_party/rust/crates/tracing/tracing-core/src/ |
D | field.rs | 337 fn record(&self, key: &Field, visitor: &mut dyn Visit); in record() 471 fn record(&self, key: &$crate::field::Field, visitor: &mut dyn $crate::field::Visit) { 472 visitor.$record(key, $op(*self)) 486 fn record(&self, key: &$crate::field::Field, visitor: &mut dyn $crate::field::Visit) { 487 visitor.$record(key, $op(self.get())) 521 fn record(&self, key: &crate::field::Field, visitor: &mut dyn crate::field::Visit) { in record() 522 self.0.record(key, visitor) in record() 529 fn record(&self, key: &Field, visitor: &mut dyn Visit) { in record() 530 visitor.record_str(key, self) in record() 540 fn record(&self, key: &Field, visitor: &mut dyn Visit) { in record() [all …]
|