Home
last modified time | relevance | path

Searched refs:FnArg (Results 1 – 15 of 15) sorted by relevance

/third_party/rust/crates/syn/tests/
Dtest_receiver.rs1 use syn::{parse_quote, FnArg, Receiver, TraitItemMethod};
9 Some(FnArg::Typed(_)) => (), in test_by_value()
20 Some(FnArg::Typed(_)) => (), in test_by_mut_value()
31 Some(FnArg::Typed(_)) => (), in test_by_ref()
42 Some(FnArg::Typed(_)) => (), in test_by_box()
53 Some(FnArg::Typed(_)) => (), in test_by_pin()
64 Some(FnArg::Typed(_)) => (), in test_explicit_type()
75 Some(FnArg::Receiver(Receiver { in test_value_shorthand()
90 Some(FnArg::Receiver(Receiver { in test_mut_value_shorthand()
105 Some(FnArg::Receiver(Receiver { in test_ref_shorthand()
[all …]
/third_party/skia/third_party/externals/spirv-cross/shaders-msl-no-opt/asm/vert/
Dpointer-to-pointer.asm.vert16 %FnArg = OpTypeFunction %V %PPPF
20 %fn_ptr = OpFunction %V None %FnArg
/third_party/rust/crates/tracing/tracing-attributes/src/
Dexpand.rs7 punctuated::Punctuated, spanned::Spanned, Block, Expr, ExprAsync, ExprCall, FieldPat, FnArg,
105 params: &Punctuated<FnArg, Token![,]>, in gen_block() argument
136 FnArg::Typed(PatType { pat, ty, .. }) => { in gen_block()
139 FnArg::Receiver(_) => Box::new(iter::once(( in gen_block()
632 if let FnArg::Typed(ty) = arg { in from_fn()
/third_party/rust/crates/syn/src/
Ditem.rs899 pub inputs: Punctuated<FnArg, Token![,]>,
907 pub fn receiver(&self) -> Option<&FnArg> { in receiver() argument
910 FnArg::Receiver(_) => Some(arg), in receiver()
911 FnArg::Typed(PatType { pat, .. }) => { in receiver()
928 pub enum FnArg {
1443 fn pop_variadic(args: &mut Punctuated<FnArg, Token![,]>) -> Option<Variadic> { in pop_variadic() argument
1447 FnArg::Typed(last) => last, in pop_variadic()
1565 impl Parse for FnArg { implementation
1574 return Ok(FnArg::Receiver(receiver)); in parse()
1580 Ok(FnArg::Typed(typed)) in parse()
[all …]
Dlib.rs363 FnArg, ForeignItem, ForeignItemFn, ForeignItemMacro, ForeignItemStatic, ForeignItemType,
/third_party/rust/crates/syn/src/gen/
Dclone.rs831 impl Clone for FnArg { implementation
834 FnArg::Receiver(v0) => FnArg::Receiver(v0.clone()), in clone()
835 FnArg::Typed(v0) => FnArg::Typed(v0.clone()), in clone()
Deq.rs793 impl Eq for FnArg {} implementation
796 impl PartialEq for FnArg { implementation
799 (FnArg::Receiver(self0), FnArg::Receiver(other0)) => self0 == other0, in eq()
800 (FnArg::Typed(self0), FnArg::Typed(other0)) => self0 == other0, in eq()
Dfold.rs292 fn fold_fn_arg(&mut self, i: FnArg) -> FnArg { in fold_fn_arg() argument
1691 pub fn fold_fn_arg<F>(f: &mut F, node: FnArg) -> FnArg in fold_fn_arg()
1696 FnArg::Receiver(_binding_0) => FnArg::Receiver(f.fold_receiver(_binding_0)), in fold_fn_arg()
1697 FnArg::Typed(_binding_0) => FnArg::Typed(f.fold_pat_type(_binding_0)), in fold_fn_arg()
Dhash.rs1071 impl Hash for FnArg { implementation
1077 FnArg::Receiver(v0) => { in hash()
1081 FnArg::Typed(v0) => { in hash()
Dvisit_mut.rs295 fn visit_fn_arg_mut(&mut self, i: &mut FnArg) { in visit_fn_arg_mut() argument
1872 pub fn visit_fn_arg_mut<V>(v: &mut V, node: &mut FnArg) in visit_fn_arg_mut()
1877 FnArg::Receiver(_binding_0) => { in visit_fn_arg_mut()
1880 FnArg::Typed(_binding_0) => { in visit_fn_arg_mut()
Dvisit.rs294 fn visit_fn_arg(&mut self, i: &'ast FnArg) { in visit_fn_arg() argument
1871 pub fn visit_fn_arg<'ast, V>(v: &mut V, node: &'ast FnArg) in visit_fn_arg()
1876 FnArg::Receiver(_binding_0) => { in visit_fn_arg()
1879 FnArg::Typed(_binding_0) => { in visit_fn_arg()
Ddebug.rs1153 impl Debug for FnArg { implementation
1156 FnArg::Receiver(v0) => { in fmt()
1161 FnArg::Typed(v0) => { in fmt()
/third_party/rust/crates/cxx/syntax/
Dparse.rs18 Abi, Attribute, Error, Expr, Fields, FnArg, ForeignItem, ForeignItemFn, ForeignItemType,
598 FnArg::Receiver(arg) => { in parse_extern_fn()
616 FnArg::Typed(arg) => { in parse_extern_fn()
/third_party/rust/crates/syn/tests/debug/
Dgen.rs2032 impl Debug for Lite<syn::FnArg> {
2036 syn::FnArg::Receiver(_val) => { in fmt()
2043 syn::FnArg::Typed(_val) => { in fmt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DVerifier.cpp4454 Value *FnArg = Call.getArgOperand(0)->stripPointerCasts(); in visitIntrinsicCall() local
4455 Function *Fn = dyn_cast<Function>(FnArg); in visitIntrinsicCall()