/external/rust/crates/quote/src/ |
D | lib.rs | 108 pub mod __private; module 483 $crate::__private::TokenStream::new() 488 let mut _s = $crate::__private::TokenStream::new(); 495 let mut _s = $crate::__private::TokenStream::new(); 500 let mut _s = $crate::__private::TokenStream::new(); 508 let mut _s = $crate::__private::TokenStream::new(); 622 let _: $crate::__private::Span = $span; 623 $crate::__private::TokenStream::new() 628 let mut _s = $crate::__private::TokenStream::new(); 629 let _span: $crate::__private::Span = $span; [all …]
|
/external/rust/crates/pin-project/tests/expand/multifields/ |
D | enum.expanded.rs | 3 __private( 31 pinned1: ::pin_project::__private::Pin<&'pin mut (T)>, 32 pinned2: ::pin_project::__private::Pin<&'pin mut (T)>, 37 ::pin_project::__private::Pin<&'pin mut (T)>, 38 ::pin_project::__private::Pin<&'pin mut (T)>, 61 pinned1: ::pin_project::__private::Pin<&'pin (T)>, 62 pinned2: ::pin_project::__private::Pin<&'pin (T)>, 67 ::pin_project::__private::Pin<&'pin (T)>, 68 ::pin_project::__private::Pin<&'pin (T)>, 89 pinned1: ::pin_project::__private::PhantomData<T>, [all …]
|
D | tuple_struct.expanded.rs | 2 #[pin(__private(project_replace))] 24 ::pin_project::__private::Pin<&'pin mut (T)>, 25 ::pin_project::__private::Pin<&'pin mut (T)>, 34 ::pin_project::__private::Pin<&'pin (T)>, 35 ::pin_project::__private::Pin<&'pin (T)>, 43 ::pin_project::__private::PhantomData<T>, 44 ::pin_project::__private::PhantomData<T>, 51 self: _pin_project::__private::Pin<&'pin mut Self>, in project() 56 _pin_project::__private::Pin::new_unchecked(_0), in project() 57 _pin_project::__private::Pin::new_unchecked(_1), in project() [all …]
|
D | struct.expanded.rs | 2 #[pin(__private(project_replace))] 34 pinned1: ::pin_project::__private::Pin<&'pin mut (T)>, 35 pinned2: ::pin_project::__private::Pin<&'pin mut (T)>, 45 pinned1: ::pin_project::__private::Pin<&'pin (T)>, 46 pinned2: ::pin_project::__private::Pin<&'pin (T)>, 52 pinned1: ::pin_project::__private::PhantomData<T>, 53 pinned2: ::pin_project::__private::PhantomData<T>, 60 self: _pin_project::__private::Pin<&'pin mut Self>, in project() 66 pinned1: _pin_project::__private::Pin::new_unchecked(pinned1), in project() 67 pinned2: _pin_project::__private::Pin::new_unchecked(pinned2), in project() [all …]
|
/external/rust/crates/syn/src/ |
D | custom_keyword.rs | 94 pub span: $crate::__private::Span, 99 pub fn $ident<__S: $crate::__private::IntoSpans<[$crate::__private::Span; 1]>>( 103 span: $crate::__private::IntoSpans::into_spans(span)[0], 107 impl $crate::__private::Default for $ident { 110 span: $crate::__private::Span::call_site(), 130 fn peek(cursor: $crate::buffer::Cursor) -> $crate::__private::bool { 131 if let $crate::__private::Some((ident, _rest)) = cursor.ident() { 138 fn display() -> &'static $crate::__private::str { 146 if let $crate::__private::Some((ident, rest)) = cursor.ident() { 148 return $crate::__private::Ok(($ident { span: ident.span() }, rest)); [all …]
|
/external/rust/crates/futures-test/src/ |
D | assert.rs | 30 $crate::__private::assert::assert_is_unpin_stream(stream); 31 let stream = $crate::__private::Pin::new(stream); 33 let poll = $crate::__private::stream::Stream::poll_next(stream, &mut cx); 64 $crate::__private::assert::assert_is_unpin_stream(stream); 65 let stream = $crate::__private::Pin::new(stream); 67 match $crate::__private::stream::Stream::poll_next(stream, &mut cx) { 68 $crate::__private::task::Poll::Ready($crate::__private::Some(x)) => { 71 $crate::__private::task::Poll::Ready($crate::__private::None) => { 76 $crate::__private::task::Poll::Pending => { 108 $crate::__private::assert::assert_is_unpin_stream(stream); [all …]
|
/external/rust/crates/anyhow/src/ |
D | macros.rs | 58 return $crate::__private::Err($crate::__anyhow!($msg)) 61 return $crate::__private::Err($crate::__anyhow!($err)) 64 return $crate::__private::Err($crate::__anyhow!($fmt, $($arg)*)) 123 return $crate::__private::Err($crate::Error::msg( 124 … $crate::__private::concat!("Condition failed: `", $crate::__private::stringify!($cond), "`") 130 return $crate::__private::Err($crate::__anyhow!($msg)); 135 return $crate::__private::Err($crate::__anyhow!($err)); 140 return $crate::__private::Err($crate::__anyhow!($fmt, $($arg)*)); 192 $crate::__private::must_use({ 193 let error = $crate::__private::format_err($crate::__private::format_args!($msg)); [all …]
|
/external/rust/crates/serde_derive/src/ |
D | de.rs | 43 …#vis fn deserialize<__D>(__deserializer: __D) -> #serde::__private::Result<#remote #ty_generics, _… in expand_derive_deserialize() 58 … fn deserialize<__D>(__deserializer: __D) -> #serde::__private::Result<Self, __D::Error> in expand_derive_deserialize() 184 &parse_quote!(_serde::__private::Default), in build_generics() 201 &parse_quote!(_serde::__private::Default), in build_generics() 343 …fn deserialize_in_place<__D>(__deserializer: __D, __place: &mut Self) -> _serde::__private::Result… in deserialize_in_place_body() 382 attr::Default::Default => quote!(_serde::__private::Default::default()), in deserialize_transparent() 384 attr::Default::None => quote!(_serde::__private::PhantomData), in deserialize_transparent() 391 _serde::__private::Result::map( in deserialize_transparent() 399 _serde::__private::Result::map( in deserialize_from() 401 _serde::__private::From::from) in deserialize_from() [all …]
|
/external/rust/crates/pin-project-lite/tests/expand/multifields/ |
D | struct.expanded.rs | 14 pinned1: ::pin_project_lite::__private::PhantomData<T>, 15 pinned2: ::pin_project_lite::__private::PhantomData<T>, 36 pinned1: ::pin_project_lite::__private::Pin<&'__pin mut (T)>, 37 pinned2: ::pin_project_lite::__private::Pin<&'__pin mut (T)>, 52 pinned1: ::pin_project_lite::__private::Pin<&'__pin (T)>, 53 pinned2: ::pin_project_lite::__private::Pin<&'__pin (T)>, 59 self: ::pin_project_lite::__private::Pin<&'__pin mut Self>, in project() 69 pinned1: ::pin_project_lite::__private::Pin::new_unchecked(pinned1), in project() 70 pinned2: ::pin_project_lite::__private::Pin::new_unchecked(pinned2), in project() 77 self: ::pin_project_lite::__private::Pin<&'__pin Self>, in project_ref() [all …]
|
D | enum.expanded.rs | 18 pinned1: ::pin_project_lite::__private::PhantomData<T>, 19 pinned2: ::pin_project_lite::__private::PhantomData<T>, 31 self: ::pin_project_lite::__private::Pin<&mut Self>, in project_replace() 36 let __guard = ::pin_project_lite::__private::UnsafeOverwriteGuard::new( in project_replace() 48 pinned1: ::pin_project_lite::__private::PhantomData, in project_replace() 49 pinned2: ::pin_project_lite::__private::PhantomData, in project_replace() 50 unpinned1: ::pin_project_lite::__private::ptr::read(unpinned1), in project_replace() 51 unpinned2: ::pin_project_lite::__private::ptr::read(unpinned2), in project_replace() 55 ::pin_project_lite::__private::UnsafeDropInPlaceGuard::new(pinned1), in project_replace() 56 ::pin_project_lite::__private::UnsafeDropInPlaceGuard::new(pinned2), in project_replace() [all …]
|
/external/rust/crates/pin-project/tests/expand/naming/ |
D | enum-all.expanded.rs | 2 #[pin(__private(project = Proj, project_ref = ProjRef, project_replace = ProjOwn))] 25 pinned: ::pin_project::__private::Pin<&'pin mut (T)>, 28 Tuple(::pin_project::__private::Pin<&'pin mut (T)>, &'pin mut (U)), 47 Struct { pinned: ::pin_project::__private::Pin<&'pin (T)>, unpinned: &'pin (U) }, 48 Tuple(::pin_project::__private::Pin<&'pin (T)>, &'pin (U)), 65 Struct { pinned: ::pin_project::__private::PhantomData<T>, unpinned: U }, 66 Tuple(::pin_project::__private::PhantomData<T>, U), 89 self: _pin_project::__private::Pin<&'pin mut Self>, in project() 95 pinned: _pin_project::__private::Pin::new_unchecked(pinned), in project() 100 Proj::Tuple(_pin_project::__private::Pin::new_unchecked(_0), _1) in project() [all …]
|
D | tuple_struct-own.expanded.rs | 2 #[pin(__private(project_replace = ProjOwn))] 15 struct ProjOwn<T, U>(::pin_project::__private::PhantomData<T>, U); 36 ::pin_project::__private::Pin<&'pin mut (T)>, 44 ::pin_project::__private::Pin<&'pin (T)>, 52 self: _pin_project::__private::Pin<&'pin mut Self>, in project() 57 _pin_project::__private::Pin::new_unchecked(_0), in project() 65 self: _pin_project::__private::Pin<&'pin Self>, in project_ref() 70 _pin_project::__private::Pin::new_unchecked(_0), in project_ref() 77 self: _pin_project::__private::Pin<&mut Self>, in project_replace() 82 let __guard = _pin_project::__private::UnsafeOverwriteGuard::new( in project_replace() [all …]
|
D | struct-own.expanded.rs | 2 #[pin(__private(project_replace = ProjOwn))] 20 pinned: ::pin_project::__private::PhantomData<T>, 46 pinned: ::pin_project::__private::Pin<&'pin mut (T)>, 55 pinned: ::pin_project::__private::Pin<&'pin (T)>, 61 self: _pin_project::__private::Pin<&'pin mut Self>, in project() 66 pinned: _pin_project::__private::Pin::new_unchecked(pinned), in project() 74 self: _pin_project::__private::Pin<&'pin Self>, in project_ref() 79 pinned: _pin_project::__private::Pin::new_unchecked(pinned), in project_ref() 86 self: _pin_project::__private::Pin<&mut Self>, in project_replace() 91 let __guard = _pin_project::__private::UnsafeOverwriteGuard::new( in project_replace() [all …]
|
D | enum-own.expanded.rs | 2 #[pin(__private(project_replace = ProjOwn))] 22 Struct { pinned: ::pin_project::__private::PhantomData<T>, unpinned: U }, 23 Tuple(::pin_project::__private::PhantomData<T>, U), 46 self: _pin_project::__private::Pin<&mut Self>, in project_replace() 51 let __guard = _pin_project::__private::UnsafeOverwriteGuard::new( in project_replace() 58 pinned: _pin_project::__private::PhantomData, in project_replace() 59 unpinned: _pin_project::__private::ptr::read(unpinned), in project_replace() 62 let __guard = _pin_project::__private::UnsafeDropInPlaceGuard::new( in project_replace() 70 _pin_project::__private::PhantomData, in project_replace() 71 _pin_project::__private::ptr::read(_1), in project_replace() [all …]
|
D | tuple_struct-all.expanded.rs | 2 #[pin(__private(project = Proj, project_ref = ProjRef, project_replace = ProjOwn))] 17 ::pin_project::__private::Pin<&'pin mut (T)>, 35 ::pin_project::__private::Pin<&'pin (T)>, 51 struct ProjOwn<T, U>(::pin_project::__private::PhantomData<T>, U); 72 self: _pin_project::__private::Pin<&'pin mut Self>, in project() 76 Proj(_pin_project::__private::Pin::new_unchecked(_0), _1) in project() 82 self: _pin_project::__private::Pin<&'pin Self>, in project_ref() 86 ProjRef(_pin_project::__private::Pin::new_unchecked(_0), _1) in project_ref() 91 self: _pin_project::__private::Pin<&mut Self>, in project_replace() 96 let __guard = _pin_project::__private::UnsafeOverwriteGuard::new( in project_replace() [all …]
|
D | struct-all.expanded.rs | 2 #[pin(__private(project = Proj, project_ref = ProjRef, project_replace = ProjOwn))] 24 pinned: ::pin_project::__private::Pin<&'pin mut (T)>, 43 pinned: ::pin_project::__private::Pin<&'pin (T)>, 58 pinned: ::pin_project::__private::PhantomData<T>, 81 self: _pin_project::__private::Pin<&'pin mut Self>, in project() 86 pinned: _pin_project::__private::Pin::new_unchecked(pinned), in project() 94 self: _pin_project::__private::Pin<&'pin Self>, in project_ref() 99 pinned: _pin_project::__private::Pin::new_unchecked(pinned), in project_ref() 106 self: _pin_project::__private::Pin<&mut Self>, in project_replace() 111 let __guard = _pin_project::__private::UnsafeOverwriteGuard::new( in project_replace() [all …]
|
/external/rust/crates/pin-project/examples/ |
D | project_replace-expanded.rs | 35 pinned: ::pin_project::__private::Pin<&'pin mut (T)>, 42 pinned: ::pin_project::__private::Pin<&'pin (T)>, 46 pinned: ::pin_project::__private::PhantomData<T>, 52 self: ::pin_project::__private::Pin<&'pin mut Self>, in project() 57 pinned: ::pin_project::__private::Pin::new_unchecked(pinned), in project() 63 self: ::pin_project::__private::Pin<&'pin Self>, in project_ref() 68 pinned: ::pin_project::__private::Pin::new_unchecked(pinned), in project_ref() 74 self: ::pin_project::__private::Pin<&mut Self>, in project_replace() 83 ::pin_project::__private::UnsafeOverwriteGuard::new(__self_ptr, __replacement); in project_replace() 89 pinned: ::pin_project::__private::PhantomData, in project_replace() [all …]
|
D | not_unpin-expanded.rs | 38 pinned: ::pin_project::__private::Pin<&'pin mut (T)>, 45 pinned: ::pin_project::__private::Pin<&'pin (T)>, 51 self: ::pin_project::__private::Pin<&'pin mut Self>, in project() 56 pinned: ::pin_project::__private::Pin::new_unchecked(pinned), in project() 62 self: ::pin_project::__private::Pin<&'pin Self>, in project_ref() 67 pinned: ::pin_project::__private::Pin::new_unchecked(pinned), in project_ref() 89 impl<'pin, T, U> ::pin_project::__private::Unpin for Struct<T, U> where 90 ::pin_project::__private::Wrapper<'pin, ::pin_project::__private::PhantomPinned>: 91 ::pin_project::__private::Unpin 102 ::pin_project::__private::Wrapper<'pin, ::pin_project::__private::PhantomPinned>: [all …]
|
/external/rust/crates/pin-project/tests/expand/project_replace/ |
D | struct.expanded.rs | 2 #[pin(__private(project_replace))] 31 pinned: ::pin_project::__private::Pin<&'pin mut (T)>, 40 pinned: ::pin_project::__private::Pin<&'pin (T)>, 45 pinned: ::pin_project::__private::PhantomData<T>, 51 self: _pin_project::__private::Pin<&'pin mut Self>, in project() 56 pinned: _pin_project::__private::Pin::new_unchecked(pinned), in project() 64 self: _pin_project::__private::Pin<&'pin Self>, in project_ref() 69 pinned: _pin_project::__private::Pin::new_unchecked(pinned), in project_ref() 76 self: _pin_project::__private::Pin<&mut Self>, in project_replace() 81 let __guard = _pin_project::__private::UnsafeOverwriteGuard::new( in project_replace() [all …]
|
D | tuple_struct.expanded.rs | 2 #[pin(__private(project_replace))] 24 ::pin_project::__private::Pin<&'pin mut (T)>, 32 ::pin_project::__private::Pin<&'pin (T)>, 39 ::pin_project::__private::PhantomData<T>, 45 self: _pin_project::__private::Pin<&'pin mut Self>, in project() 50 _pin_project::__private::Pin::new_unchecked(_0), in project() 58 self: _pin_project::__private::Pin<&'pin Self>, in project_ref() 63 _pin_project::__private::Pin::new_unchecked(_0), in project_ref() 70 self: _pin_project::__private::Pin<&mut Self>, in project_replace() 75 let __guard = _pin_project::__private::UnsafeOverwriteGuard::new( in project_replace() [all …]
|
D | enum.expanded.rs | 2 #[pin(__private(project_replace = EnumProjOwn))] 22 Struct { pinned: ::pin_project::__private::PhantomData<T>, unpinned: U }, 23 Tuple(::pin_project::__private::PhantomData<T>, U), 46 self: _pin_project::__private::Pin<&mut Self>, in project_replace() 51 let __guard = _pin_project::__private::UnsafeOverwriteGuard::new( in project_replace() 58 pinned: _pin_project::__private::PhantomData, in project_replace() 59 unpinned: _pin_project::__private::ptr::read(unpinned), in project_replace() 62 let __guard = _pin_project::__private::UnsafeDropInPlaceGuard::new( in project_replace() 70 _pin_project::__private::PhantomData, in project_replace() 71 _pin_project::__private::ptr::read(_1), in project_replace() [all …]
|
/external/rust/crates/pin-project/tests/expand/not_unpin/ |
D | enum.expanded.rs | 2 #[pin(__private(!Unpin, project = EnumProj, project_ref = EnumProjRef))] 25 pinned: ::pin_project::__private::Pin<&'pin mut (T)>, 28 Tuple(::pin_project::__private::Pin<&'pin mut (T)>, &'pin mut (U)), 47 Struct { pinned: ::pin_project::__private::Pin<&'pin (T)>, unpinned: &'pin (U) }, 48 Tuple(::pin_project::__private::Pin<&'pin (T)>, &'pin (U)), 71 self: _pin_project::__private::Pin<&'pin mut Self>, in project() 77 pinned: _pin_project::__private::Pin::new_unchecked(pinned), in project() 83 _pin_project::__private::Pin::new_unchecked(_0), in project() 94 self: _pin_project::__private::Pin<&'pin Self>, in project_ref() 100 pinned: _pin_project::__private::Pin::new_unchecked(pinned), in project_ref() [all …]
|
D | tuple_struct.expanded.rs | 2 #[pin(__private(!Unpin))] 24 ::pin_project::__private::Pin<&'pin mut (T)>, 32 ::pin_project::__private::Pin<&'pin (T)>, 40 self: _pin_project::__private::Pin<&'pin mut Self>, in project() 45 _pin_project::__private::Pin::new_unchecked(_0), in project() 53 self: _pin_project::__private::Pin<&'pin Self>, in project_ref() 58 _pin_project::__private::Pin::new_unchecked(_0), in project_ref() 69 impl<'pin, T, U> _pin_project::__private::Unpin for TupleStruct<T, U> 71 _pin_project::__private::Wrapper< 73 _pin_project::__private::PhantomPinned, [all …]
|
D | struct.expanded.rs | 2 #[pin(__private(!Unpin))] 31 pinned: ::pin_project::__private::Pin<&'pin mut (T)>, 40 pinned: ::pin_project::__private::Pin<&'pin (T)>, 46 self: _pin_project::__private::Pin<&'pin mut Self>, in project() 51 pinned: _pin_project::__private::Pin::new_unchecked(pinned), in project() 59 self: _pin_project::__private::Pin<&'pin Self>, in project_ref() 64 pinned: _pin_project::__private::Pin::new_unchecked(pinned), in project_ref() 75 impl<'pin, T, U> _pin_project::__private::Unpin for Struct<T, U> 77 _pin_project::__private::Wrapper< 79 _pin_project::__private::PhantomPinned, [all …]
|
/external/rust/crates/pin-project/tests/expand/pinned_drop/ |
D | enum.expanded.rs | 3 #[pin(__private(PinnedDrop, project = EnumProj, project_ref = EnumProjRef))] 26 pinned: ::pin_project::__private::Pin<&'pin mut (T)>, 29 Tuple(::pin_project::__private::Pin<&'pin mut (T)>, &'pin mut (U)), 48 Struct { pinned: ::pin_project::__private::Pin<&'pin (T)>, unpinned: &'pin (U) }, 49 Tuple(::pin_project::__private::Pin<&'pin (T)>, &'pin (U)), 72 self: _pin_project::__private::Pin<&'pin mut Self>, in project() 78 pinned: _pin_project::__private::Pin::new_unchecked(pinned), in project() 84 _pin_project::__private::Pin::new_unchecked(_0), in project() 95 self: _pin_project::__private::Pin<&'pin Self>, in project_ref() 101 pinned: _pin_project::__private::Pin::new_unchecked(pinned), in project_ref() [all …]
|