Home
last modified time | relevance | path

Searched refs:visit_type (Results 1 – 10 of 10) sorted by relevance

/external/rust/cxx/syntax/
Dvisit.rs4 fn visit_type(&mut self, ty: &'a Type) { in visit_type() method
5 visit_type(self, ty); in visit_type()
9 pub fn visit_type<'a, V>(visitor: &mut V, ty: &'a Type) in visit_type() function
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()
Dtypes.rs48 fn visit_type(&mut self, ty: &'a Type) { in collect() method
50 visit::visit_type(self, ty); in collect()
54 CollectTypes(all).visit_type(ty); in collect()
Dcheck.rs566 fn visit_type(&mut self, ty: &'t Type) { in check_mut_return_restriction() method
578 visit::visit_type(self, ty); in check_mut_return_restriction()
585 visitor.visit_type(&arg.ty); in check_mut_return_restriction()
/external/rust/crates/serde_derive/src/
Dbound.rs124 self.visit_type(&field.ty); in with_bound()
148 fn visit_type(&mut self, ty: &'ast syn::Type) { in with_bound() method
150 syn::Type::Array(ty) => self.visit_type(&ty.elem), in with_bound()
153 self.visit_type(&arg.ty); in with_bound()
157 syn::Type::Group(ty) => self.visit_type(&ty.elem), in with_bound()
164 syn::Type::Paren(ty) => self.visit_type(&ty.elem), in with_bound()
167 self.visit_type(&qself.ty); in with_bound()
171 syn::Type::Ptr(ty) => self.visit_type(&ty.elem), in with_bound()
172 syn::Type::Reference(ty) => self.visit_type(&ty.elem), in with_bound()
173 syn::Type::Slice(ty) => self.visit_type(&ty.elem), in with_bound()
[all …]
/external/perfetto/src/trace_processor/prelude/table_functions/
Dconnected_flow.cc103 VisitType visit_type = slices_to_visit_.front().second; in VisitAll() local
109 if (visit_type != VisitType::VIA_RELATIVE) { in VisitAll()
115 visit_type != VisitType::VIA_OUTGOING_FLOW) { in VisitAll()
119 visit_type != VisitType::VIA_INCOMING_FLOW) { in VisitAll()
/external/antlr/runtime/Ruby/lib/antlr3/tree/
Dwizard.rb376 when Integer then visit_type( tree, nil, what, &block )
394 def visit_type( tree, parent, type, &block ) method in ANTLR3.AST.Wizard
399 visit_type( child, tree, type, &block )
/external/rust/crates/syn/src/gen/
Dvisit.rs650 fn visit_type(&mut self, i: &'ast Type) { in visit_type() method
651 visit_type(self, i); in visit_type()
863 v.visit_type(&node.ty); in visit_bare_fn_arg()
964 v.visit_type(&node.ty); in visit_binding()
1003 v.visit_type(&node.ty); in visit_const_param()
1367 v.visit_type(&*node.ty); in visit_expr_cast()
1717 v.visit_type(&*node.ty); in visit_expr_type()
1784 v.visit_type(&node.ty); in visit_field()
1949 v.visit_type(&*node.ty); in visit_foreign_item_static()
1975 v.visit_type(_binding_0); in visit_generic_argument()
[all …]
/external/fmtlib/test/
Dcore-test.cc273 template <typename T> struct visit_type { using type = T; }; struct
276 template <> struct visit_type<type_> { using type = visit_type_; }
303 typename_ visit_type<value_type>::type expected = value; \
/external/rust/crates/zerocopy-derive/src/
Dlib.rs499 FromTypeParamVisit(&input.generics.params, &mut ret).visit_type(ty); in impl_block()
/external/rust/crates/synstructure/src/
Dlib.rs485 btl.visit_type(&field.ty); in get_ty_params()