| /linux/rust/zerocopy-derive/derive/ |
| H A D | try_from_bytes.rs | 4 use quote::{quote, ToTokens as _}; 40 return Ok(quote!(true)); in generate_tag_consts() 55 quote! { in generate_tag_consts() 70 return Ok(quote! { true #(&& #field_checks.is_ok())* }); 88 Ok(quote! { in generate_variant_structs() 98 Ok(quote! { in generate_variant_structs() 141 quote! { in generate_variants_union() 160 let variant_id = quote! { #zerocopy_crate::ident_id!(#name) }; in generate_variants_union() 163 quote! { #cor in generate_variants_union() [all...] |
| H A D | known_layout.rs | 4 use quote::quote; 27 quote!(#core::num::NonZeroUsize::new(#align as usize)) in derive_known_layout_for_repr_c_struct() 29 .unwrap_or_else(|| quote!(#core::option::Option::None)); in derive_known_layout_for_repr_c_struct() 34 quote!(#core::num::NonZeroUsize::new(#packed as usize)) in derive_known_layout_for_repr_c_struct() 36 .unwrap_or_else(|| quote!(#core::option::Option::None)); in derive_known_layout_for_repr_c_struct() 40 quote! { in derive_known_layout_for_repr_c_struct() 93 quote!( in derive_known_layout_for_repr_c_struct() 146 quote! { in derive_known_layout_for_repr_c_struct() 152 let field_impls = field_indices.iter().zip(fields).map(|(idx, (_, _, ty))| quote! { in derive_known_layout_for_repr_c_struct() [all...] |
| H A D | into_bytes.rs | 4 use quote::quote; 221 quote!() 226 quote!( 258 Ok(quote!(#cfg_compile_error #impl_block))
|
| H A D | mod.rs | 11 use quote::quote; 44 Ok(quote! { in derive_hash() 72 Ok(quote! { in derive_eq() 121 let elem = quote!(<#trailing_field as #zerocopy_crate::SplitAt>::Elem); in derive_split_at() 123 if repr.get_packed().is_some() { quote!(#zerocopy_crate::Unalign<#elem>) } else { elem }; in derive_split_at() 141 .inner_extras(quote! {
|
| /linux/rust/zerocopy-derive/ |
| H A D | util.rs | 14 use quote::{quote, quote_spanned, ToTokens}; 179 quote!(#zerocopy_crate::util::macro_util::core_reexport) in tag() 205 quote! { const _: () = { #(#items)* }; } in fields() 217 quote!() in fields() 222 quote::quote_spanned! {span=> in variants() 230 quote!() in map_fields() 233 quote!() in map_fields() 238 quote::quote_spanned! {span=> in map_fields() 246 quote!() in map_fields() [all...] |
| /linux/rust/quote/ |
| H A D | README.md | 1 # `quote` 3 These source files come from the Rust `quote` crate, version 1.0.40 4 (released 2025-03-12), hosted in the <https://github.com/dtolnay/quote> 10 https://github.com/dtolnay/quote/blob/1.0.40/README.md#license 11 https://github.com/dtolnay/quote/blob/1.0.40/LICENSE-APACHE 12 https://github.com/dtolnay/quote/blob/1.0.40/LICENSE-MIT
|
| H A D | lib.rs | 130 ($quote:item) => { 477 $quote 484 macro_rules! quote { 494 macro_rules! quote { 1029 $crate::quote!($($inner)*), 1037 $crate::quote!($($inner)*), 1045 $crate::quote!($($inner)*),
|
| /linux/rust/pin-init/internal/src/ |
| H A D | init.rs | 4 use quote::{format_ident, quote, quote_spanned, ToTokens, TokenStreamExt}; 171 quote!(::pin_init::pin_init) 173 quote!(::pin_init::init) 180 return Ok(quote! { 267 InitKind::Normal => quote!(), 283 None => quote!(), 396 res.extend(quote! { 446 .map(|(colon_token, value)| (colon_token.span(), quote!(#value))) 447 .unwrap_or_else(|| (member.span(), quote!(#membe [all...] |
| H A D | zeroable.rs | 4 use quote::quote; 27 Ok(quote! { in parse_zeroable_derive_input() 71 Ok(quote! { in parse_zeroable_derive_input()
|
| H A D | lib.rs | 26 mod quote; global() module
|
| H A D | pinned_drop.rs | 4 use quote::quote; 60 Ok(quote!(#input))
|
| /linux/rust/ |
| H A D | Makefile | 109 quote-cfgs := \ 112 quote-skip_flags := \ 115 quote-flags := \ 119 $(call cfgs-to-flags,$(quote-cfgs)) 135 --extern quote \ 144 --extern quote \ 153 --extern quote \ 219 rustdoc-quote: private rustdoc_host = yes 220 rustdoc-quote: private rustc_target_flags = $(quote [all...] |
| /linux/rust/macros/ |
| H A D | zeroable.rs | |
| H A D | pinned_drop.rs | |
| H A D | quote.rs | |
| H A D | lib.rs | 15 mod quote; global() module
|
| /linux/rust/syn/ |
| H A D | parse_quote.rs | 84 $crate::__private::parse_quote($crate::__private::quote::quote!($($tt)*)) 116 $crate::__private::parse_quote($crate::__private::quote::quote_spanned!($span=> $($tt)*))
|
| H A D | export.rs | 36 pub use quote; 72 pub use quote::{ToTokens, TokenStreamExt};
|
| H A D | macros.rs | 24 impl ::quote::ToTokens for $name { 133 impl ::quote::ToTokens for $name {
|
| H A D | print.rs | 4 use quote::ToTokens;
|
| H A D | spanned.rs | 85 use quote::spanned::Spanned as ToTokens;
|
| H A D | file.rs | 118 use quote::{ToTokens, TokenStreamExt};
|
| /linux/tools/perf/util/ |
| H A D | config.c | 104 int quote = 0, comment = 0, space = 0; in parse_value() 113 if (quote) in parse_value() 120 if (isspace(c) && !quote) { in parse_value() 124 if (!quote) { in parse_value() 160 quote = 1-quote; in iskeychar() 96 int quote = 0, comment = 0, space = 0; parse_value() local
|
| /linux/scripts/gendwarfksyms/ |
| H A D | types.c | 295 const char *quote; in get_type_name() local 313 quote = strstr(cache->fqn, " ") ? "'" : ""; in get_type_name() 316 if (asprintf(&name, "%c#%s%s%s", prefix, quote, cache->fqn, quote) < 0) in get_type_name()
|
| /linux/net/bluetooth/ |
| H A D | hci_core.c | 3515 static inline void hci_quote_sent(struct hci_conn *conn, int num, int *quote) in hci_chan_sent() 3521 *quote = 0; in hci_chan_sent() 3549 *quote = q ? q : 1; in hci_prio_recalculate() 3553 int *quote) in hci_prio_recalculate() 3586 hci_quote_sent(conn, num, quote); in hci_prio_recalculate() 3588 BT_DBG("conn %p quote %d", conn, *quote); in __check_timeout() 3614 int *quote) in __check_timeout() 3670 hci_quote_sent(chan->conn, num, quote); in hci_sched_sco() 3672 BT_DBG("chan %p quote in hci_sched_sco() 3377 hci_quote_sent(struct hci_conn * conn,int num,int * quote) hci_quote_sent() argument 3415 hci_low_sent(struct hci_dev * hdev,__u8 type,int * quote) hci_low_sent() argument 3476 hci_chan_sent(struct hci_dev * hdev,__u8 type,int * quote) hci_chan_sent() argument 3629 int quote, *cnt; __hci_sched_sco() local 3680 int quote; hci_sched_acl_pkt() local 3736 int quote, *cnt, tmp; hci_sched_le() local 3786 int quote, *cnt; hci_sched_iso() local [all...] |