/third_party/rust/crates/syn/tests/ |
D | test_receiver.rs | 1 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/ |
D | pointer-to-pointer.asm.vert | 16 %FnArg = OpTypeFunction %V %PPPF 20 %fn_ptr = OpFunction %V None %FnArg
|
/third_party/rust/crates/tracing/tracing-attributes/src/ |
D | expand.rs | 7 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/ |
D | item.rs | 899 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 …]
|
D | lib.rs | 363 FnArg, ForeignItem, ForeignItemFn, ForeignItemMacro, ForeignItemStatic, ForeignItemType,
|
/third_party/rust/crates/syn/src/gen/ |
D | clone.rs | 831 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()
|
D | eq.rs | 793 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()
|
D | fold.rs | 292 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()
|
D | hash.rs | 1071 impl Hash for FnArg { implementation 1077 FnArg::Receiver(v0) => { in hash() 1081 FnArg::Typed(v0) => { in hash()
|
D | visit_mut.rs | 295 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()
|
D | visit.rs | 294 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()
|
D | debug.rs | 1153 impl Debug for FnArg { implementation 1156 FnArg::Receiver(v0) => { in fmt() 1161 FnArg::Typed(v0) => { in fmt()
|
/third_party/rust/crates/cxx/syntax/ |
D | parse.rs | 18 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/ |
D | gen.rs | 2032 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/ |
D | Verifier.cpp | 4454 Value *FnArg = Call.getArgOperand(0)->stripPointerCasts(); in visitIntrinsicCall() local 4455 Function *Fn = dyn_cast<Function>(FnArg); in visitIntrinsicCall()
|