/third_party/rust/crates/nix/test/sys/ |
D | test_aio.rs | 36 let err = $aiocb.as_mut().error(); 87 let err = aiof.as_mut().submit(); in error() 104 aiof.as_mut().submit().unwrap(); in ok() 106 aiof.as_mut().aio_return().unwrap(); in ok() 148 aior.as_mut().submit().unwrap(); in cancel() 150 aior.as_mut().cancel().unwrap(); in cancel() 154 let _ = aior.as_mut().aio_return(); in cancel() 175 aior.as_mut().submit().expect_err("assertion failed"); in error() 197 aior.as_mut().submit().unwrap(); in ok() 201 assert_eq!(aior.as_mut().aio_return().unwrap(), EXPECT.len()); in ok() [all …]
|
D | test_aio_drop.rs | 34 aiocb.as_mut().submit().unwrap(); in test_drop()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
D | union_bitfield_1_0.rs | 40 let byte = &mut self.storage.as_mut()[byte_index]; in set_bit() 106 pub unsafe fn as_mut(&mut self) -> &mut T { in as_mut() method 175 self._bitfield_1.as_mut().set(0usize, 1u8, val as u64) in set_derp() 229 self._bitfield_1.as_mut().set(0usize, 31u8, val as u64) in set_foo() 244 self._bitfield_1.as_mut().set(31usize, 1u8, val as u64) in set_bar()
|
D | union_with_anon_struct_bitfield_1_0.rs | 40 let byte = &mut self.storage.as_mut()[byte_index]; in set_bit() 106 pub unsafe fn as_mut(&mut self) -> &mut T { in as_mut() method
|
D | union-in-ns_1_0.rs | 22 pub unsafe fn as_mut(&mut self) -> &mut T { in as_mut() method
|
D | disable-untagged-union.rs | 20 pub unsafe fn as_mut(&mut self) -> &mut T { in as_mut() method
|
D | wrap_unsafe_ops_anon_union_1_0.rs | 20 pub unsafe fn as_mut(&mut self) -> &mut T { in as_mut() method
|
D | union_dtor_1_0.rs | 20 pub unsafe fn as_mut(&mut self) -> &mut T { in as_mut() method
|
D | union_template_1_0.rs | 20 pub unsafe fn as_mut(&mut self) -> &mut T { in as_mut() method
|
D | bindgen-union-inside-namespace.rs | 22 pub unsafe fn as_mut(&mut self) -> &mut T { in as_mut() method
|
D | issue-1034.rs | 40 let byte = &mut self.storage.as_mut()[byte_index]; in set_bit()
|
D | issue-1076-unnamed-bitfield-alignment.rs | 40 let byte = &mut self.storage.as_mut()[byte_index]; in set_bit()
|
D | union_fields_1_0.rs | 20 pub unsafe fn as_mut(&mut self) -> &mut T { in as_mut() method
|
/third_party/rust/crates/cxx/src/ |
D | unique_ptr.rs | 64 pub fn as_mut(&mut self) -> Option<Pin<&mut T>> { in as_mut() function 66 let mut_reference = (T::__get(self.repr) as *mut T).as_mut()?; in as_mut() 78 match self.as_mut() { in pin_mut() 150 match self.as_mut() { in deref_mut()
|
D | cxx_string.rs | 262 self.as_mut().push_str(s); in write_str() 270 self.as_mut().push_bytes(buf); in write()
|
/third_party/rust/crates/pin-utils/tests/ |
D | projection.rs | 22 let x1: Pin<&mut i32> = foo.as_mut().field1(); in projection() 25 let x2: &mut i32 = foo.as_mut().field2(); in projection()
|
/third_party/rust/crates/nix/src/sys/ |
D | aio.rs | 175 self.as_mut().in_progress = true; in set_in_progress() 398 let p: *mut libc::aiocb = &mut self.as_mut().aiocb().aiocb.0; 485 let aiocb = &mut self.as_mut().aiocb().aiocb.0; in submit() 607 fn as_mut(&mut self) -> &mut libc::aiocb { in as_mut() method 730 fn as_mut(&mut self) -> &mut libc::aiocb { in as_mut() method 843 fn as_mut(&mut self) -> &mut libc::aiocb { in as_mut() method 963 fn as_mut(&mut self) -> &mut libc::aiocb { in as_mut() method
|
D | timer.rs | 150 libc::timer_gettime(self.0, timerspec.as_mut()) in get()
|
D | timerfd.rs | 162 libc::timerfd_gettime(self.fd, timerspec.as_mut()) in get()
|
/third_party/rust/crates/serde/serde_derive/src/internals/ |
D | ctxt.rs | 34 .as_mut() in error_spanned_by() 42 self.errors.borrow_mut().as_mut().unwrap().push(err); in syn_error()
|
/third_party/rust/crates/either/src/ |
D | lib.rs | 253 pub fn as_mut(&mut self) -> Either<&mut L, &mut R> { in as_mut() method 1203 fn as_mut(&mut self) -> &mut $t { 1204 for_both!(*self, ref mut inner => inner.as_mut()) 1242 fn as_mut(&mut self) -> &mut Target { in as_mut() function 1243 for_both!(*self, ref mut inner => inner.as_mut()) in as_mut() 1252 fn as_mut(&mut self) -> &mut [Target] { in as_mut() function 1253 for_both!(*self, ref mut inner => inner.as_mut()) in as_mut() 1321 assert_eq!(e.as_mut().right(), Some(&mut 2)); in basic()
|
/third_party/rust/crates/proc-macro2/src/ |
D | rcvec.rs | 83 pub fn as_mut(&mut self) -> RcVecMut<T> { in as_mut() method 109 pub fn as_mut(&mut self) -> RcVecMut<T> { in as_mut() method
|
/third_party/rust/crates/proc-macro-error/src/ |
D | dummy.rs | 140 if let Some(ts) = cell.as_mut() { in append_dummy()
|
/third_party/rust/crates/bindgen/book/src/ |
D | using-unions.md | 113 // Instead, access the field through `.as_ref()` and `.as_mut()` helpers: 115 *x.alfa.as_mut() = bindings::alpha_t {
|
/third_party/rust/crates/bindgen/bindgen/codegen/ |
D | bitfield_unit.rs | 41 let byte = &mut self.storage.as_mut()[byte_index]; in set_bit()
|