/external/rust/crates/rustversion/src/ |
D | lib.rs | 180 pub fn stable(args: TokenStream, input: TokenStream) -> TokenStream { in stable() 185 pub fn beta(args: TokenStream, input: TokenStream) -> TokenStream { in beta() 190 pub fn nightly(args: TokenStream, input: TokenStream) -> TokenStream { in nightly() 195 pub fn since(args: TokenStream, input: TokenStream) -> TokenStream { in since() 200 pub fn before(args: TokenStream, input: TokenStream) -> TokenStream { in before() 205 pub fn not(args: TokenStream, input: TokenStream) -> TokenStream { in not() 210 pub fn any(args: TokenStream, input: TokenStream) -> TokenStream { in any() 215 pub fn all(args: TokenStream, input: TokenStream) -> TokenStream { in all() 219 fn cfg(introducer: &str, args: TokenStream, input: TokenStream) -> TokenStream { in cfg() 223 fn try_cfg(introducer: &str, args: TokenStream, input: TokenStream) -> Result<TokenStream> { in try_cfg() [all …]
|
/external/rust/crates/tokio-macros/src/ |
D | lib.rs | 179 pub fn main(args: TokenStream, item: TokenStream) -> TokenStream { in main() 224 pub fn main_rt(args: TokenStream, item: TokenStream) -> TokenStream { in main_rt() 268 pub fn test(args: TokenStream, item: TokenStream) -> TokenStream { in test() 290 pub fn test_rt(args: TokenStream, item: TokenStream) -> TokenStream { in test_rt() 299 pub fn main_fail(_args: TokenStream, _item: TokenStream) -> TokenStream { in main_fail() 313 pub fn test_fail(_args: TokenStream, _item: TokenStream) -> TokenStream { in test_fail() 326 pub fn select_priv_declare_output_enum(input: TokenStream) -> TokenStream { in select_priv_declare_output_enum()
|
/external/rust/crates/quote/src/ |
D | to_tokens.rs | 55 fn to_tokens(&self, tokens: &mut TokenStream); in to_tokens() 61 fn to_token_stream(&self) -> TokenStream { in to_token_stream() 80 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 86 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 92 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 98 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 104 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 110 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 118 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 124 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() [all …]
|
/external/rust/crates/bindgen/src/codegen/ |
D | helpers.rs | 12 pub fn repr(which: &str) -> TokenStream { in repr() 19 pub fn repr_list(which_ones: &[&str]) -> TokenStream { in repr_list() 29 pub fn derives(which_ones: &[&str]) -> TokenStream { in derives() 57 pub fn doc(comment: String) -> TokenStream { in doc() 63 pub fn link_name(name: &str) -> TokenStream { in link_name() 75 pub fn blob(ctx: &BindgenContext, layout: Layout) -> TokenStream { in blob() 109 ) -> Option<TokenStream> { in integer_type() 116 pub fn bitfield_unit(ctx: &BindgenContext, layout: Layout) -> TokenStream { in bitfield_unit() 139 pub fn c_void(ctx: &BindgenContext) -> TokenStream { in c_void() 160 pub fn raw_type(ctx: &BindgenContext, name: &str) -> TokenStream { in raw_type() [all …]
|
D | impl_debug.rs | 12 ) -> proc_macro2::TokenStream { in gen_debug_impl() 65 ) -> Option<(String, Vec<proc_macro2::TokenStream>)>; in impl_debug() 75 ) -> Option<(String, Vec<proc_macro2::TokenStream>)> { in impl_debug() 91 ) -> Option<(String, Vec<proc_macro2::TokenStream>)> { in impl_debug() 120 ) -> Option<(String, Vec<proc_macro2::TokenStream>)> { in impl_debug() 138 name_ident: proc_macro2::TokenStream, in impl_debug() 139 ) -> Option<(String, Vec<proc_macro2::TokenStream>)> { in impl_debug()
|
D | dyngen.rs | 75 pub fn get_tokens(&self, lib_ident: Ident) -> proc_macro2::TokenStream { in get_tokens() 121 args: Vec<proc_macro2::TokenStream>, in push() 122 args_identifiers: Vec<proc_macro2::TokenStream>, in push() 123 ret: proc_macro2::TokenStream, in push() 124 ret_ty: proc_macro2::TokenStream, in push()
|
D | impl_partialeq.rs | 13 ty_for_impl: &proc_macro2::TokenStream, in gen_partialeq_impl() 14 ) -> Option<proc_macro2::TokenStream> { in gen_partialeq_impl() 78 ) -> proc_macro2::TokenStream { in gen_field() 81 ) -> proc_macro2::TokenStream { in gen_field()
|
/external/rust/cxx/syntax/ |
D | tokens.rs | 11 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 40 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 55 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 80 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 105 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 121 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 140 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 157 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 163 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 169 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() [all …]
|
/external/antlr/runtime/ObjC/Framework/ |
D | Parser.m | 33 { 38 { 43 { 51 { 84 { 93 { 102 { 122 {
|
/external/rust/crates/pin-project-internal/src/ |
D | lib.rs | 486 pub fn pin_project(args: TokenStream, input: TokenStream) -> TokenStream { in pin_project() 568 pub fn pinned_drop(args: TokenStream, input: TokenStream) -> TokenStream { in pinned_drop() 576 pub fn __pin_project_internal_derive(input: TokenStream) -> TokenStream { in __pin_project_internal_derive()
|
/external/rust/cxx/macro/src/ |
D | derive.rs | 7 pub fn expand_struct(strct: &Struct, actual_derives: &mut Option<TokenStream>) -> TokenStream { in expand_struct() 36 pub fn expand_enum(enm: &Enum, actual_derives: &mut Option<TokenStream>) -> TokenStream { in expand_enum() 93 fn struct_copy(strct: &Struct, span: Span) -> TokenStream { in struct_copy() 102 fn struct_clone(strct: &Struct, span: Span) -> TokenStream { in struct_clone() 130 fn struct_debug(strct: &Struct, span: Span) -> TokenStream { in struct_debug() 148 fn struct_default(strct: &Struct, span: Span) -> TokenStream { in struct_default() 166 fn struct_ord(strct: &Struct, span: Span) -> TokenStream { in struct_ord() 186 fn struct_partial_ord(strct: &Struct, span: Span) -> TokenStream { in struct_partial_ord() 216 fn enum_copy(enm: &Enum, span: Span) -> TokenStream { in enum_copy() 224 fn enum_clone(enm: &Enum, span: Span) -> TokenStream { in enum_clone() [all …]
|
/external/rust/crates/proc-macro-hack/src/ |
D | quote.rs | 87 fn extend(tokens: &mut TokenStream, var: &Self); in extend() 91 fn extend(tokens: &mut TokenStream, var: &Self) { in extend() 96 impl Tokens for TokenStream { implementation 97 fn extend(tokens: &mut TokenStream, var: &Self) { in extend() 103 fn extend(tokens: &mut TokenStream, var: &Self) { in extend() 111 fn extend(tokens: &mut TokenStream, var: &Self) { in extend()
|
/external/rust/crates/futures-macro/src/ |
D | lib.rs | 23 pub fn join_internal(input: TokenStream) -> TokenStream { in join_internal() 29 pub fn try_join_internal(input: TokenStream) -> TokenStream { in try_join_internal() 35 pub fn select_internal(input: TokenStream) -> TokenStream { in select_internal() 41 pub fn select_biased_internal(input: TokenStream) -> TokenStream { in select_biased_internal()
|
/external/rust/crates/remain/src/ |
D | lib.rs | 166 pub fn sorted(args: TokenStream, input: TokenStream) -> TokenStream { in sorted() 181 pub fn check(args: TokenStream, input: TokenStream) -> TokenStream { in check()
|
/external/rust/crates/syn/src/ |
D | pat.rs | 720 fn pat_const(input: ParseStream) -> Result<TokenStream> { in pat_const() 773 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 781 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 795 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 811 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 820 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 830 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 838 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 848 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 857 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() [all …]
|
D | expr.rs | 2686 pub(crate) fn expr_const(input: ParseStream) -> Result<TokenStream> { in expr_const() 2878 fn wrap_bare_struct(tokens: &mut TokenStream, e: &Expr) { in wrap_bare_struct() 2889 pub(crate) fn outer_attrs_to_tokens(attrs: &[Attribute], tokens: &mut TokenStream) { in outer_attrs_to_tokens() 2894 fn inner_attrs_to_tokens(attrs: &[Attribute], tokens: &mut TokenStream) { in inner_attrs_to_tokens() 2899 pub(crate) fn outer_attrs_to_tokens(_attrs: &[Attribute], _tokens: &mut TokenStream) {} in outer_attrs_to_tokens() 2902 fn inner_attrs_to_tokens(_attrs: &[Attribute], _tokens: &mut TokenStream) {} in inner_attrs_to_tokens() 2907 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 2917 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 2928 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 2940 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() [all …]
|
/external/rust/crates/syn-mid/src/ |
D | pat.rs | 312 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 318 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 326 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 340 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 347 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 356 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 362 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 370 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 378 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens()
|
/external/rust/crates/pin-project-internal/src/pin_project/ |
D | mod.rs | 11 pub(crate) fn attribute(args: &TokenStream, input: TokenStream) -> TokenStream { in attribute() 15 pub(crate) fn derive(input: TokenStream) -> TokenStream { in derive()
|
/external/rust/crates/paste/src/ |
D | lib.rs | 161 pub fn paste(input: TokenStream) -> TokenStream { in paste() 172 pub fn item(input: TokenStream) -> TokenStream { in item() 178 pub fn expr(input: TokenStream) -> TokenStream { in expr() 183 input: TokenStream, in expand() 186 ) -> Result<TokenStream> { in expand() 340 fn parse_bracket_as_segments(input: TokenStream, scope: Span) -> Result<Vec<Segment>> { in parse_bracket_as_segments() 380 fn pasted_to_tokens(mut pasted: String, span: Span) -> Result<TokenStream> { in pasted_to_tokens()
|
/external/rust/crates/proc-macro2/src/ |
D | wrapper.rs | 12 pub(crate) enum TokenStream { enum 57 fn into_token_stream(mut self) -> proc_macro::TokenStream { in into_token_stream() 63 impl TokenStream { implementation 79 fn unwrap_nightly(self) -> proc_macro::TokenStream { in unwrap_nightly() 86 fn unwrap_stable(self) -> fallback::TokenStream { in unwrap_stable() 94 impl FromStr for TokenStream { implementation 97 fn from_str(src: &str) -> Result<TokenStream, LexError> { in from_str() 109 fn proc_macro_parse(src: &str) -> Result<proc_macro::TokenStream, LexError> { in proc_macro_parse() 118 impl Display for TokenStream { implementation 127 impl From<proc_macro::TokenStream> for TokenStream { implementation [all …]
|
/external/rust/crates/serde_derive/src/ |
D | pretend.rs | 23 pub fn pretend_used(cont: &Container) -> TokenStream { in pretend_used() 51 fn pretend_fields_used(cont: &Container) -> TokenStream { in pretend_fields_used() 95 fn pretend_variants_used(cont: &Container) -> TokenStream { in pretend_variants_used() 135 fn struct_pattern(fields: &[Field]) -> TokenStream { in struct_pattern()
|
D | fragment.rs | 29 fn to_tokens(&self, out: &mut TokenStream) { in to_tokens() 42 fn to_tokens(&self, out: &mut TokenStream) { in to_tokens() 54 fn to_tokens(&self, out: &mut TokenStream) { in to_tokens() 68 fn as_ref(&self) -> &TokenStream { in as_ref()
|
/external/crosvm/bit_field/bit_field_derive/ |
D | bit_field_derive.rs | 20 _args: proc_macro::TokenStream, in bitfield() 21 input: proc_macro::TokenStream, in bitfield() 22 ) -> proc_macro::TokenStream { in bitfield() 39 fn bitfield_impl(ast: &DeriveInput) -> Result<TokenStream> { in bitfield_impl() 64 fn bitfield_tuple_struct_impl(ast: &DeriveInput, fields: &FieldsUnnamed) -> Result<TokenStream> { in bitfield_tuple_struct_impl() 136 fn bitfield_enum_impl(ast: &DeriveInput, data: &DataEnum) -> Result<TokenStream> { in bitfield_enum_impl() 149 ) -> Result<TokenStream> { in bitfield_enum_with_width_impl() 218 fn bitfield_enum_without_width_impl(ast: &DeriveInput, data: &DataEnum) -> Result<TokenStream> { in bitfield_enum_without_width_impl() 274 ) -> Vec<TokenStream> { in get_declare_discriminants_for_enum() 323 fn bitfield_struct_impl(ast: &DeriveInput, fields: &FieldsNamed) -> Result<TokenStream> { in bitfield_struct_impl() [all …]
|
/external/rust/crates/proc-macro-error-attr/src/ |
D | lib.rs | 37 pub fn proc_macro_error(attr: TokenStream, input: TokenStream) -> TokenStream { in proc_macro_error() 49 fn impl_proc_macro_error(attr: TokenStream2, input: TokenStream2) -> Result<TokenStream> { in impl_proc_macro_error() 87 fn gen_body(block: TokenTree, settings: Settings) -> proc_macro2::TokenStream { in gen_body() 103 fn gen_body(block: TokenTree, settings: Settings) -> proc_macro2::TokenStream { in gen_body()
|
/external/rust/crates/num-derive/src/ |
D | lib.rs | 252 pub fn from_primitive(input: TokenStream) -> TokenStream { in from_primitive() 426 pub fn to_primitive(input: TokenStream) -> TokenStream { in to_primitive() 563 pub fn num_ops(input: TokenStream) -> TokenStream { in num_ops() 612 pub fn num_cast(input: TokenStream) -> TokenStream { in num_cast() 635 pub fn zero(input: TokenStream) -> TokenStream { in zero() 662 pub fn one(input: TokenStream) -> TokenStream { in one() 689 pub fn num(input: TokenStream) -> TokenStream { in num() 714 pub fn float(input: TokenStream) -> TokenStream { in float()
|