Home
last modified time | relevance | path

Searched refs:ItemFn (Results 1 – 24 of 24) sorted by relevance

/external/rust/crates/tracing-attributes/src/
Dlib.rs89 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,
Dexpand.rs8 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/
Dlib.rs137 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/
Dfunc.rs12 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
Dlib.rs53 func::{Block, FnArg, ItemFn, Receiver, Signature},
/external/rust/crates/openssl-macros/src/
Dlib.rs4 use syn::{parse_macro_input, ItemFn};
9 let item = parse_macro_input!(item as ItemFn); in corresponds()
/external/rust/crates/remain/src/
Dlib.rs169 use syn::{parse_macro_input, ItemFn};
192 let mut input = parse_macro_input!(input as ItemFn); in check()
Dvisit.rs3 use syn::{parse_quote, Attribute, Expr, ExprMatch, ItemFn, Local};
7 pub fn check(input: &mut ItemFn) { in check() argument
/external/rust/crates/syn/tests/
Dtest_generics.rs7 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/
Dentry.rs234 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/
DSkTBlockList.h24 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/
Dexecutor.rs12 let mut input = syn::parse_macro_input!(item as syn::ItemFn); in test()
/external/cronet/testing/rust_gtest_interop/
Dgtest_attribute.rs115 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/
DREADME.md13 - `syn_mid::ItemFn` -- A function whose body is not parsed.
/external/rust/crates/syn/src/
Ditem.rs33 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
Dlib.rs365 ItemEnum, ItemExternCrate, ItemFn, ItemForeignMod, ItemImpl, ItemMacro, ItemMacro2, ItemMod,
/external/rust/crates/syn/src/gen/
Dfold.rs378 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()
Dclone.rs1112 impl Clone for ItemFn { implementation
1114 ItemFn { in clone()
Deq.rs1073 impl Eq for ItemFn {} implementation
1076 impl PartialEq for ItemFn { implementation
Dvisit_mut.rs378 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()
Dvisit.rs377 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()
Dhash.rs1470 impl Hash for ItemFn { implementation
Ddebug.rs1590 impl Debug for ItemFn { implementation
/external/rust/crates/syn/tests/debug/
Dgen.rs3009 impl Debug for Lite<syn::ItemFn> {