/external/rust/crates/tracing-attributes/src/ |
D | lib.rs | 89 use syn::{Attribute, ItemFn, Signature, Visibility}; 584 let input = syn::parse::<ItemFn>(item)?; in instrument_precise() 646 impl From<ItemFn> for MaybeItemFn { 648 ItemFn { 653 }: ItemFn,
|
D | expand.rs | 8 Ident, Item, ItemFn, Pat, PatIdent, PatReference, PatStruct, PatTuple, PatTupleStruct, PatType, 488 Function(&'a ItemFn), 503 input: &'block ItemFn, 532 pub(crate) fn from_fn(input: &'block ItemFn) -> Option<Self> { in from_fn()
|
/external/rust/crates/no-panic/src/ |
D | lib.rs | 137 parse_quote, Attribute, FnArg, GenericArgument, Ident, ItemFn, Pat, PatType, Path, 155 fn parse(args: TokenStream2, input: TokenStream2) -> Result<ItemFn> { in parse() argument 156 let function: ItemFn = syn::parse2(input)?; in parse() 208 fn expand_no_panic(mut function: ItemFn) -> TokenStream2 { in expand_no_panic()
|
/external/rust/crates/syn-mid/src/ |
D | func.rs | 12 pub struct ItemFn { 77 use super::{Block, FnArg, ItemFn, PatType, Receiver, Signature}; 131 impl Parse for ItemFn { implementation 192 use super::{Block, FnArg, ItemFn, Receiver, Signature}; 244 impl ToTokens for ItemFn { implementation
|
D | lib.rs | 53 func::{Block, FnArg, ItemFn, Receiver, Signature},
|
/external/rust/crates/openssl-macros/src/ |
D | lib.rs | 4 use syn::{parse_macro_input, ItemFn}; 9 let item = parse_macro_input!(item as ItemFn); in corresponds()
|
/external/rust/crates/remain/src/ |
D | lib.rs | 169 use syn::{parse_macro_input, ItemFn}; 192 let mut input = parse_macro_input!(input as ItemFn); in check()
|
D | visit.rs | 3 use syn::{parse_quote, Attribute, Expr, ExprMatch, ItemFn, Local}; 7 pub fn check(input: &mut ItemFn) { in check() argument
|
/external/rust/crates/syn/tests/ |
D | test_generics.rs | 7 use syn::{DeriveInput, ItemFn, TypeParamBound, WhereClause, WherePredicate}; 186 snapshot!(input as ItemFn, @r###" in test_fn_precedence_in_where_clause()
|
/external/rust/crates/tokio-macros/src/ |
D | entry.rs | 234 input: syn::ItemFn, in build_config() argument 336 fn parse_knobs(mut input: syn::ItemFn, is_test: bool, config: FinalConfig) -> TokenStream { in parse_knobs() argument 453 let input: syn::ItemFn = match syn::parse(item.clone()) { in main() 477 let input: syn::ItemFn = match syn::parse(item.clone()) { in test()
|
/external/skia/src/base/ |
D | SkTBlockList.h | 24 template<typename T, typename B> using ItemFn = T (*)(B*, int); variable 26 ItemFn<T, typename std::conditional<Const, const SkBlockAllocator::Block, 381 ItemFn<T, typename std::conditional<Const, const SkBlockAllocator::Block,
|
/external/rust/crates/futures-macro/src/ |
D | executor.rs | 12 let mut input = syn::parse_macro_input!(item as syn::ItemFn); in test()
|
/external/cronet/testing/rust_gtest_interop/ |
D | gtest_attribute.rs | 115 let mut input_fn = syn::parse_macro_input!(input as syn::ItemFn); in gtest() 205 let mangled_function_name = |f: &syn::ItemFn| -> syn::Ident { in gtest()
|
/external/rust/crates/syn-mid/ |
D | README.md | 13 - `syn_mid::ItemFn` -- A function whose body is not parsed.
|
/external/rust/crates/syn/src/ |
D | item.rs | 33 Fn(ItemFn), 155 pub struct ItemFn { 367 | Item::Fn(ItemFn { attrs, .. }) in replace_attrs() 1536 impl Parse for ItemFn { implementation 1550 ) -> Result<ItemFn> { in parse_rest_of_fn() argument 1556 Ok(ItemFn { in parse_rest_of_fn() 2831 impl ToTokens for ItemFn { implementation
|
D | lib.rs | 365 ItemEnum, ItemExternCrate, ItemFn, ItemForeignMod, ItemImpl, ItemMacro, ItemMacro2, ItemMod,
|
/external/rust/crates/syn/src/gen/ |
D | fold.rs | 378 fn fold_item_fn(&mut self, i: ItemFn) -> ItemFn { in fold_item_fn() argument 2034 pub fn fold_item_fn<F>(f: &mut F, node: ItemFn) -> ItemFn in fold_item_fn() 2038 ItemFn { in fold_item_fn()
|
D | clone.rs | 1112 impl Clone for ItemFn { implementation 1114 ItemFn { in clone()
|
D | eq.rs | 1073 impl Eq for ItemFn {} implementation 1076 impl PartialEq for ItemFn { implementation
|
D | visit_mut.rs | 378 fn visit_item_fn_mut(&mut self, i: &mut ItemFn) { in visit_item_fn_mut() argument 2268 pub fn visit_item_fn_mut<V>(v: &mut V, node: &mut ItemFn) in visit_item_fn_mut()
|
D | visit.rs | 377 fn visit_item_fn(&mut self, i: &'ast ItemFn) { in visit_item_fn() argument 2268 pub fn visit_item_fn<'ast, V>(v: &mut V, node: &'ast ItemFn) in visit_item_fn()
|
D | hash.rs | 1470 impl Hash for ItemFn { implementation
|
D | debug.rs | 1590 impl Debug for ItemFn { implementation
|
/external/rust/crates/syn/tests/debug/ |
D | gen.rs | 3009 impl Debug for Lite<syn::ItemFn> {
|