| /linux/rust/syn/ |
| H A D | custom_keyword.rs | 137 ident == $crate::__private::stringify!($ident) 144 $crate::__private::concat!("`", $crate::__private::stringify!($ident), "`") 152 if ident == $crate::__private::stringify!($ident) { 158 $crate::__private::stringify!($ident), 183 let ident = $crate::Ident::new($crate::__private::stringify!($ident), self.span); 235 $crate::__private::stringify!($ident),
|
| H A D | custom_punctuation.rs | 202 $crate::__private::Formatter::write_str(f, $crate::__private::stringify!($ident)) 304 $crate::__private::concat!($($crate::__private::stringify!($tt)),+)
|
| H A D | ident.rs | 21 Ident::new(stringify!($token), token.span)
|
| H A D | export.rs | 22 pub use std::stringify;
|
| H A D | token.rs | 248 f.write_str(stringify!($name)) 375 f.write_str(stringify!($name)) 482 f.write_str(stringify!($name))
|
| /linux/rust/kernel/sync/lock/ |
| H A D | global.rs | 268 ::core::stringify!($name), 270 ::core::stringify!($name), 277 const NAME: &'static $crate::str::CStr = $crate::c_str!(::core::stringify!($name));
|
| /linux/rust/kernel/ |
| H A D | kunit.rs | 70 static CONDITION: &'static $crate::str::CStr = $crate::c_str!(stringify!($condition)); 248 let name_u8 = ::core::stringify!($name).as_bytes(); 254 ::core::stringify!($name),
|
| H A D | build_assert.rs | 211 $crate::build_assert::build_error_fn(concat!("assertion failed: ", stringify!($cond)));
|
| H A D | std_vendor.rs | 156 ::core::stringify!($val), &tmp);
|
| H A D | device_id.rs | 191 "__", stringify!($table_name)) 210 "__", stringify!($table_name))
|
| H A D | bitfield.rs | 540 f.debug_struct(stringify!($name)) 543 .field(stringify!($field), &self.$field())
|
| /linux/rust/zerocopy/src/ |
| H A D | byteorder.rs | 174 f.debug_tuple(stringify!($name)).field(&self.get()).finish() 499 `", stringify!($name), "` is like the native `", stringify!($native), "` type with 505 ", stringify!($article), " `", stringify!($name), "` can be constructed using 507 `",stringify!($native), "` using the [`get`] method, or updated in place with 510 order to uphold the invariants that a) the layout of `", stringify!($name), "` 511 has endianness `O` and that, b) the layout of `", stringify!($native), "` has 514 `", stringify!($name), "` implements [`FromBytes`], [`IntoBytes`], and [`Unaligned`], 518 [`new`]: crate::byteorder::", stringify!($name), "::new 519 [`get`]: crate::byteorder::", stringify!($name), "::get 520 [`set`]: crate::byteorder::", stringify!($name), "::set
|
| H A D | impls.rs | 1674 let allowlist_names: &[&str] = &[ $($(stringify!($tys)),*)? ]; in test_impls() 1677 …llowlist.contains(&id), "{} is not on allowlist for {}: {:?}", stringify!($ty), stringify!($fn_nam… in test_impls() 1804 … assert!(res, "{}::is_bit_valid (shared `Ptr`): got false, expected true", stringify!($ty)); in test_impls() 1814 … assert!(res, "{}::is_bit_valid (exclusive `Ptr`): got false, expected true", stringify!($ty)); in test_impls() 1825 … assert!(res.is_some(), "{}::try_ref_from_bytes: got `None`, expected `Some`", stringify!($ty)); in test_impls() 1849 … assert!(res.is_some(), "{}::try_mut_from_bytes: got `None`, expected `Some`", stringify!($ty)); in test_impls() 1855 … assert!(res.is_some(), "{}::try_read_from_bytes: got `None`, expected `Some`", stringify!($ty)); in test_impls() 1867 …ssert!(res.is_none(), "{}::try_ref_from_bytes({:?}): got Some, expected None", stringify!($ty), c); in test_impls() 1872 …ssert!(res.is_none(), "{}::try_mut_from_bytes({:?}): got Some, expected None", stringify!($ty), c); in test_impls() 1878 …sert!(res.is_none(), "{}::try_read_from_bytes({:?}): got Some, expected None", stringify!($ty), c); in test_impls()
|
| /linux/rust/ |
| H A D | compiler_builtins.rs | 32 #[export_name = concat!("__rust", stringify!($ident))]
|
| /linux/rust/quote/ |
| H A D | lib.rs | 1018 $crate::__private::push_ident(&mut $tokens, stringify!($ident)); 1222 $crate::__private::push_lifetime(&mut $tokens, stringify!($lifetime)); 1230 $crate::__private::parse(&mut $tokens, stringify!($other)); 1239 $crate::__private::push_ident_spanned(&mut $tokens, $span, stringify!($ident)); 1446 $crate::__private::push_lifetime_spanned(&mut $tokens, $span, stringify!($lifetime)); 1454 $crate::__private::parse_spanned(&mut $tokens, $span, stringify!($other));
|
| /linux/rust/zerocopy/src/util/ |
| H A D | macros.rs | 597 let _: () = const_panic!(@non_panic concat!("assertion failed: ", stringify!($e))); 608 …: () = const_panic!(@non_panic concat!("assertion failed: ", stringify!($e), ": ", stringify!($arg… 627 …let _: () = const_panic!(@non_panic concat!("assertion failed: ", stringify!($e) $(, ": ", $msg)?)… 890 <details name='tab-", $name,"' style='--n: ", $n ,"'", $(stringify!($open),)*">
|
| /linux/rust/kernel/num/ |
| H A D | bounded.rs | 262 ::core::stringify!($type), 1022 ::core::stringify!($type), 1096 ::core::stringify!($type), 1098 ::core::stringify!($type),
|
| /linux/drivers/pinctrl/aspeed/ |
| H A D | pinmux-aspeed.h | 578 #define stringify(x) #x macro 579 #define istringify(x) stringify(x)
|
| /linux/scripts/gcc-plugins/ |
| H A D | Makefile | 31 -DPLUGIN_VERSION=$(call stringify,$(KERNELVERSION)) \
|
| /linux/rust/kernel/drm/ |
| H A D | ioctl.rs | 210 $crate::c_str!(::core::stringify!($cmd)),
|
| /linux/scripts/ |
| H A D | Makefile.lib | 20 name-fix = $(call stringify,$(call name-fix-token,$1)) 24 modfile_flags = -DKBUILD_MODFILE=$(call stringify,$(modfile))
|
| /linux/rust/pin-init/src/ |
| H A D | macros.rs | |
| /linux/scripts/gdb/linux/ |
| H A D | constants.py.in | 28 /* We need to stringify expanded macros so that they can be parsed */
|
| /linux/rust/macros/ |
| H A D | quote.rs | |
| /linux/rust/kernel/pci/ |
| H A D | id.rs | 61 &Self::$variant => write!(f, stringify!($variant)), 146 &Self::$variant => write!(f, stringify!($variant)),
|