/external/rust/crates/tokio/src/loom/std/ |
D | atomic_u32.rs | 6 pub(crate) struct AtomicU32 { struct 7 inner: UnsafeCell<std::sync::atomic::AtomicU32>, argument 10 unsafe impl Send for AtomicU32 {} implementation 11 unsafe impl Sync for AtomicU32 {} implementation 13 impl AtomicU32 { implementation 14 pub(crate) const fn new(val: u32) -> AtomicU32 { in new() argument 15 let inner = UnsafeCell::new(std::sync::atomic::AtomicU32::new(val)); in new() 16 AtomicU32 { inner } in new() 20 impl Deref for AtomicU32 { implementation 21 type Target = std::sync::atomic::AtomicU32; [all …]
|
D | mod.rs | 31 use std::sync::atomic::AtomicU32; 34 static COUNTER: AtomicU32 = AtomicU32::new(1); 72 pub(crate) use crate::loom::std::atomic_u32::AtomicU32;
|
/external/rust/crates/tokio/tests/ |
D | sync_once_cell.rs | 6 use std::sync::atomic::{AtomicU32, Ordering}; 182 static NUM_DROPS: AtomicU32 = AtomicU32::new(0); in drop_cell() 204 static NUM_DROPS: AtomicU32 = AtomicU32::new(0); in drop_cell_new_with() 225 static NUM_DROPS: AtomicU32 = AtomicU32::new(0); in drop_into_inner() 249 static NUM_DROPS: AtomicU32 = AtomicU32::new(0); in drop_into_inner_new_with()
|
/external/rust/crates/crossbeam-utils/src/ |
D | lib.rs | 50 AtomicBool, AtomicU16, AtomicU32, AtomicU64, AtomicU8, AtomicUsize, 77 pub(crate) use core::sync::atomic::{AtomicI32, AtomicU32};
|
/external/rust/crates/tokio-stream/src/ |
D | stream_map.rs | 579 use std::sync::atomic::AtomicU32; 582 static COUNTER: AtomicU32 = AtomicU32::new(1);
|
/external/rust/crates/tokio/src/runtime/ |
D | queue.rs | 4 use crate::loom::sync::atomic::{AtomicU16, AtomicU32, AtomicUsize}; 46 head: AtomicU32, 91 head: AtomicU32::new(0), in local()
|
/external/rust/crates/crossbeam-utils/src/atomic/ |
D | consume.rs | 77 impl_atomic!(AtomicU32, u32);
|
D | atomic_cell.rs | 509 impl_arithmetic!(u32, atomic::AtomicU32, "let a = AtomicCell::new(7u32);"); 817 atomic!(@check, $t, atomic::AtomicU32, $a, $atomic_op); 840 let is_lock_free = is_lock_free | can_transmute::<T, atomic::AtomicU32>(); in atomic_is_lock_free()
|
/external/crosvm/io_uring/src/ |
D | uring.rs | 14 use std::sync::atomic::{AtomicPtr, AtomicU32, AtomicU64, AtomicUsize, Ordering}; 666 let head = ptr.add(params.sq_off.head as usize) as *const AtomicU32; in new() constant 667 let tail = ptr.add(params.sq_off.tail as usize) as *const AtomicU32; in new() constant 711 let head = ptr.add(params.cq_off.head as usize) as *const AtomicU32; in new() constant 712 let tail = ptr.add(params.cq_off.tail as usize) as *const AtomicU32; in new() constant 798 head: *const AtomicU32, 799 tail: *const AtomicU32,
|
/external/rust/crates/serde/src/ |
D | lib.rs | 243 AtomicBool, AtomicI16, AtomicI32, AtomicI8, AtomicIsize, AtomicU16, AtomicU32, AtomicU8,
|
/external/crosvm/cros_async/src/ |
D | uring_executor.rs | 61 use std::sync::atomic::{AtomicI32, AtomicU32, Ordering}; 122 static USE_URING: AtomicU32 = AtomicU32::new(UNKNOWN); in use_uring()
|
/external/rust/crates/serde/src/ser/ |
D | impls.rs | 929 AtomicU8 AtomicU16 AtomicU32 AtomicUsize
|
/external/rust/crates/serde/src/de/ |
D | impls.rs | 2622 AtomicU8 AtomicU16 AtomicU32 AtomicUsize
|