/third_party/rust/crates/pin-project-lite/tests/ |
D | test.rs | 9 pin::Pin, 29 let mut s_orig = Pin::new(&mut s); in projection() 32 let _: Pin<&mut i32> = s.f1; in projection() 41 let mut s = Pin::new(&mut s); in projection() 44 let _: Pin<&mut i32> = f1; in projection() 49 let _: Pin<&i32> = f1; in projection() 78 let mut e = Pin::new(&mut e); in projection() 82 let _: Pin<&mut i32> = f1; in projection() 93 let _: Pin<&mut i32> = f1; in projection() 118 let mut e_orig = Pin::new(&mut e); in enum_project_set() [all …]
|
D | drop_order.rs | 5 use std::{cell::Cell, panic, pin::Pin, thread}; 69 let y = Pin::new(&mut x); in struct_pinned() 83 let y = Pin::new(&mut x); in struct_unpinned() 97 let y = Pin::new(&mut x); in enum_struct() 108 let y = Pin::new(&mut x); in enum_struct() 140 let _y = Pin::new(&mut x) in project_replace_panic() 156 let _y = Pin::new(&mut x) in project_replace_panic()
|
/third_party/rust/crates/cxx/src/ |
D | cxx_vector.rs | 12 use core::pin::Pin; 69 pub fn index_mut(self: Pin<&mut Self>, pos: usize) -> Option<Pin<&mut T>> { in index_mut() 106 pub unsafe fn index_unchecked_mut(self: Pin<&mut Self>, pos: usize) -> Pin<&mut T> { in index_unchecked_mut() 109 Pin::new_unchecked(&mut *ptr) in index_unchecked_mut() 136 pub fn as_mut_slice(self: Pin<&mut Self>) -> &mut [T] in as_mut_slice() 155 pub fn iter_mut(self: Pin<&mut Self>) -> IterMut<T> { in iter_mut() 164 pub fn push(self: Pin<&mut Self>, value: T) in push() 177 pub fn pop(self: Pin<&mut Self>) -> Option<T> in pop() 246 v: Pin<&'a mut CxxVector<T>>, 250 impl<'a, T> IntoIterator for Pin<&'a mut CxxVector<T>> implementation [all …]
|
D | cxx_string.rs | 12 use core::pin::Pin; 26 fn string_clear(this: Pin<&mut CxxString>); in string_clear() 28 fn string_reserve_total(this: Pin<&mut CxxString>, new_cap: usize); in string_reserve_total() 30 fn string_push(this: Pin<&mut CxxString>, ptr: *const u8, len: usize); in string_push() 167 pub fn clear(self: Pin<&mut Self>) { in clear() 191 pub fn reserve(self: Pin<&mut Self>, additional: usize) { in reserve() 200 pub fn push_str(self: Pin<&mut Self>, s: &str) { in push_str() 205 pub fn push_bytes(self: Pin<&mut Self>, bytes: &[u8]) { in push_bytes() 276 pub unsafe fn init(&mut self, value: impl AsRef<[u8]>) -> Pin<&mut CxxString> { in init() 281 Pin::new_unchecked(&mut *this.as_mut_ptr()) in init()
|
/third_party/rust/crates/tracing/tracing/src/ |
D | instrument.rs | 1 use crate::stdlib::pin::Pin; 269 fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> { in poll() 300 pub fn inner_pin_ref(self: Pin<&Self>) -> Pin<&T> { in inner_pin_ref() 305 pub fn inner_pin_mut(self: Pin<&mut Self>) -> Pin<&mut T> { in inner_pin_mut() 324 fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> { in poll() 355 pub fn inner_pin_ref(self: Pin<&Self>) -> Pin<&T> { in inner_pin_ref() 360 pub fn inner_pin_mut(self: Pin<&mut Self>) -> Pin<&mut T> { in inner_pin_mut()
|
/third_party/rust/crates/pin-project-lite/tests/expand/pinned_drop/ |
D | enum.expanded.rs | 2 use std::pin::Pin; 19 pinned: ::pin_project_lite::__private::Pin<&'__pin mut (T)>, 36 pinned: ::pin_project_lite::__private::Pin<&'__pin (T)>, 47 self: ::pin_project_lite::__private::Pin<&'__pin mut Self>, in project() 52 pinned: ::pin_project_lite::__private::Pin::new_unchecked(pinned), in project() 60 self: ::pin_project_lite::__private::Pin<&'__pin Self>, in project_ref() 65 pinned: ::pin_project_lite::__private::Pin::new_unchecked(pinned), in project_ref() 85 fn __drop_inner<T, U>(this: ::pin_project_lite::__private::Pin<&mut Enum<T, U>>) { in drop() 89 let pinned_self: ::pin_project_lite::__private::Pin<&mut Self> = in drop() 90 unsafe { ::pin_project_lite::__private::Pin::new_unchecked(self) }; in drop()
|
D | struct.expanded.rs | 2 use std::pin::Pin; 24 pinned: ::pin_project_lite::__private::Pin<&'__pin mut (T)>, 38 pinned: ::pin_project_lite::__private::Pin<&'__pin (T)>, 43 self: ::pin_project_lite::__private::Pin<&'__pin mut Self>, in project() 48 pinned: ::pin_project_lite::__private::Pin::new_unchecked(pinned), in project() 54 self: ::pin_project_lite::__private::Pin<&'__pin Self>, in project_ref() 59 pinned: ::pin_project_lite::__private::Pin::new_unchecked(pinned), in project_ref() 77 fn __drop_inner<T, U>(this: ::pin_project_lite::__private::Pin<&mut Struct<T, U>>) { in drop() 81 let pinned_self: ::pin_project_lite::__private::Pin<&mut Self> = in drop() 82 unsafe { ::pin_project_lite::__private::Pin::new_unchecked(self) }; in drop()
|
/third_party/rust/crates/pin-project-lite/tests/expand/multifields/ |
D | struct.expanded.rs | 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() 87 pinned1: ::pin_project_lite::__private::Pin::new_unchecked(pinned1), in project_ref() 88 pinned2: ::pin_project_lite::__private::Pin::new_unchecked(pinned2), in project_ref() [all …]
|
/third_party/rust/crates/pin-utils/src/ |
D | projection.rs | 44 self: $crate::core_reexport::pin::Pin<&'__a mut Self> 45 ) -> $crate::core_reexport::pin::Pin<&'__a mut $t> { 47 $crate::core_reexport::pin::Pin::map_unchecked_mut( 93 self: $crate::core_reexport::pin::Pin<&'__a mut Self> 96 &mut $crate::core_reexport::pin::Pin::get_unchecked_mut(self).$f
|
/third_party/rust/crates/tracing/tracing-futures/src/ |
D | lib.rs | 108 use crate::stdlib::{pin::Pin, task::Context}; 291 fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> crate::stdlib::task::Poll<Self::Output> { in poll() 348 self: Pin<&mut Self>, in poll_next() 366 self: Pin<&mut Self>, in poll_ready() 374 fn start_send(self: Pin<&mut Self>, item: I) -> Result<(), Self::Error> { in start_send() 381 self: Pin<&mut Self>, in poll_flush() 390 self: Pin<&mut Self>, in poll_close() 423 pub fn inner_pin_ref(self: Pin<&Self>) -> Pin<&T> { in inner_pin_ref() 430 pub fn inner_pin_mut(self: Pin<&mut Self>) -> Pin<&mut T> { in inner_pin_mut() 462 fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> crate::stdlib::task::Poll<Self::Output> { in poll() [all …]
|
/third_party/rust/crates/pin-utils/tests/ |
D | stack_pin.rs | 4 use core::pin::Pin; 11 let _: Pin<&mut Foo> = foo; in stack_pin() 19 let _: Pin<&mut Foo> = bar; in stack_pin() 20 let _: Pin<&mut Foo> = baz; in stack_pin()
|
/third_party/rust/crates/pin-project-lite/tests/expand/naming/ |
D | enum-all.expanded.rs | 18 pinned: ::pin_project_lite::__private::Pin<&'__pin mut (T)>, 35 pinned: ::pin_project_lite::__private::Pin<&'__pin (T)>, 58 self: ::pin_project_lite::__private::Pin<&'__pin mut Self>, in project() 63 pinned: ::pin_project_lite::__private::Pin::new_unchecked(pinned), in project() 71 self: ::pin_project_lite::__private::Pin<&'__pin Self>, in project_ref() 76 pinned: ::pin_project_lite::__private::Pin::new_unchecked(pinned), in project_ref() 84 self: ::pin_project_lite::__private::Pin<&mut Self>, in project_replace()
|
D | struct-all.expanded.rs | 17 pinned: ::pin_project_lite::__private::Pin<&'__pin mut (T)>, 31 pinned: ::pin_project_lite::__private::Pin<&'__pin (T)>, 51 self: ::pin_project_lite::__private::Pin<&'__pin mut Self>, in project() 56 pinned: ::pin_project_lite::__private::Pin::new_unchecked(pinned), in project() 62 self: ::pin_project_lite::__private::Pin<&'__pin Self>, in project_ref() 67 pinned: ::pin_project_lite::__private::Pin::new_unchecked(pinned), in project_ref() 73 self: ::pin_project_lite::__private::Pin<&mut Self>, in project_replace()
|
D | struct-ref.expanded.rs | 17 pinned: ::pin_project_lite::__private::Pin<&'__pin (T)>, 37 pinned: ::pin_project_lite::__private::Pin<&'__pin mut (T)>, 42 self: ::pin_project_lite::__private::Pin<&'__pin mut Self>, in project() 47 pinned: ::pin_project_lite::__private::Pin::new_unchecked(pinned), in project() 53 self: ::pin_project_lite::__private::Pin<&'__pin Self>, in project_ref() 58 pinned: ::pin_project_lite::__private::Pin::new_unchecked(pinned), in project_ref()
|
D | struct-none.expanded.rs | 23 pinned: ::pin_project_lite::__private::Pin<&'__pin mut (T)>, 37 pinned: ::pin_project_lite::__private::Pin<&'__pin (T)>, 42 self: ::pin_project_lite::__private::Pin<&'__pin mut Self>, in project() 47 pinned: ::pin_project_lite::__private::Pin::new_unchecked(pinned), in project() 53 self: ::pin_project_lite::__private::Pin<&'__pin Self>, in project_ref() 58 pinned: ::pin_project_lite::__private::Pin::new_unchecked(pinned), in project_ref()
|
D | struct-mut.expanded.rs | 17 pinned: ::pin_project_lite::__private::Pin<&'__pin mut (T)>, 37 pinned: ::pin_project_lite::__private::Pin<&'__pin (T)>, 42 self: ::pin_project_lite::__private::Pin<&'__pin mut Self>, in project() 47 pinned: ::pin_project_lite::__private::Pin::new_unchecked(pinned), in project() 53 self: ::pin_project_lite::__private::Pin<&'__pin Self>, in project_ref() 58 pinned: ::pin_project_lite::__private::Pin::new_unchecked(pinned), in project_ref()
|
/third_party/rust/crates/pin-project-lite/tests/expand/default/ |
D | enum.expanded.rs | 18 pinned: ::pin_project_lite::__private::Pin<&'__pin mut (T)>, 35 pinned: ::pin_project_lite::__private::Pin<&'__pin (T)>, 58 self: ::pin_project_lite::__private::Pin<&'__pin mut Self>, in project() 63 pinned: ::pin_project_lite::__private::Pin::new_unchecked(pinned), in project() 71 self: ::pin_project_lite::__private::Pin<&'__pin Self>, in project_ref() 76 pinned: ::pin_project_lite::__private::Pin::new_unchecked(pinned), in project_ref() 84 self: ::pin_project_lite::__private::Pin<&mut Self>, in project_replace()
|
D | struct.expanded.rs | 23 pinned: ::pin_project_lite::__private::Pin<&'__pin mut (T)>, 37 pinned: ::pin_project_lite::__private::Pin<&'__pin (T)>, 42 self: ::pin_project_lite::__private::Pin<&'__pin mut Self>, in project() 47 pinned: ::pin_project_lite::__private::Pin::new_unchecked(pinned), in project() 53 self: ::pin_project_lite::__private::Pin<&'__pin Self>, in project_ref() 58 pinned: ::pin_project_lite::__private::Pin::new_unchecked(pinned), in project_ref()
|
/third_party/rust/crates/nix/src/sys/ |
D | aio.rs | 34 pin::Pin, 123 fn aio_return(mut self: Pin<&mut Self>) -> Result<usize> { in aio_return() 132 fn cancel(mut self: Pin<&mut Self>) -> Result<AioCancelStat> { in cancel() 160 fn error(self: Pin<&mut Self>) -> Result<()> { in error() 174 fn set_in_progress(mut self: Pin<&mut Self>) { in set_in_progress() 226 fn aio_return(self: Pin<&mut Self>) -> Result<Self::Output>; in aio_return() 272 fn cancel(self: Pin<&mut Self>) -> Result<AioCancelStat>; in cancel() 309 fn error(self: Pin<&mut Self>) -> Result<()>; in error() 357 fn submit(self: Pin<&mut Self>) -> Result<()>; in submit() 362 fn cancel(self: Pin<&mut Self>) -> Result<AioCancelStat> { [all …]
|
/third_party/rust/crates/cxx/tests/ui/ |
D | mut_return.rs | 10 fn f(t: &Thing) -> Pin<&mut CxxString>; in f() 11 unsafe fn g(t: &Thing) -> Pin<&mut CxxString>; in g() 12 fn h(t: Box<Mut>) -> Pin<&mut CxxString>; in h() 13 fn i<'a>(t: Box<Mut<'a>>) -> Pin<&'a mut CxxString>; in i()
|
D | pin_mut_opaque.stderr | 1 error: mutable reference to C++ type requires a pin -- use Pin<&mut Opaque> 7 error: mutable reference to C++ type requires a pin -- use Pin<&mut CxxString> 13 error: mutable reference to C++ type requires a pin -- use Pin<&mut CxxVector<...>> 25 error: mutable reference to opaque C++ type requires a pin -- use `self: Pin<&mut Opaque>` 31 error: mutable reference to opaque C++ type requires a pin -- use `self: Pin<&mut Opaque>`
|
/third_party/rust/crates/pin-project-lite/tests/expand/pub/ |
D | enum.expanded.rs | 18 pinned: ::pin_project_lite::__private::Pin<&'__pin mut (T)>, 35 pinned: ::pin_project_lite::__private::Pin<&'__pin (T)>, 46 self: ::pin_project_lite::__private::Pin<&'__pin mut Self>, in project() 51 pinned: ::pin_project_lite::__private::Pin::new_unchecked(pinned), in project() 59 self: ::pin_project_lite::__private::Pin<&'__pin Self>, in project_ref() 64 pinned: ::pin_project_lite::__private::Pin::new_unchecked(pinned), in project_ref()
|
D | struct.expanded.rs | 23 pub pinned: ::pin_project_lite::__private::Pin<&'__pin mut (T)>, 37 pub pinned: ::pin_project_lite::__private::Pin<&'__pin (T)>, 42 self: ::pin_project_lite::__private::Pin<&'__pin mut Self>, in project() 47 pinned: ::pin_project_lite::__private::Pin::new_unchecked(pinned), in project() 53 self: ::pin_project_lite::__private::Pin<&'__pin Self>, in project_ref() 58 pinned: ::pin_project_lite::__private::Pin::new_unchecked(pinned), in project_ref()
|
/third_party/rust/crates/cxx/tests/ffi/ |
D | module.rs | 36 fn c_take_trivial_pin_ref(d: Pin<&D>); in c_take_trivial_pin_ref() 37 fn c_take_trivial_pin_mut_ref(d: Pin<&mut D>); in c_take_trivial_pin_mut_ref() 47 fn c_take_opaque_mut_ref_method(self: Pin<&mut E>); in c_take_opaque_mut_ref_method() 55 fn c_return_opaque_mut_pin(e: Pin<&mut E>) -> Pin<&mut E>; in c_return_opaque_mut_pin()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_valuefactory.h | 217 PRegister dest(const nir_alu_dest& dest, int chan, Pin pin_channel); 218 PRegister dest(const nir_dest& dest, int chan, Pin pin_channel); 219 PRegister dest(const nir_ssa_def& dest, int chan, Pin pin_channel); 223 RegisterVec4 temp_vec4(Pin pin, const RegisterVec4::Swizzle& swizzle = {0,1,2,3}); 224 RegisterVec4 dest_vec4(const nir_dest& dest, Pin pin); 226 … RegisterVec4 src_vec4(const nir_src& src, Pin pin, const RegisterVec4::Swizzle &swz = {0,1,2,3}); 240 Pin pin = pin_none);
|