Home
last modified time | relevance | path

Searched refs:AtomicU32 (Results 1 – 13 of 13) sorted by relevance

/external/rust/crates/tokio/src/loom/std/
Datomic_u32.rs6 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 { impl
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 …]
Dmod.rs31 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/
Dsync_once_cell.rs6 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/
Dlib.rs50 AtomicBool, AtomicU16, AtomicU32, AtomicU64, AtomicU8, AtomicUsize,
77 pub(crate) use core::sync::atomic::{AtomicI32, AtomicU32};
/external/rust/crates/tokio-stream/src/
Dstream_map.rs579 use std::sync::atomic::AtomicU32;
582 static COUNTER: AtomicU32 = AtomicU32::new(1);
/external/rust/crates/tokio/src/runtime/
Dqueue.rs4 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/
Dconsume.rs77 impl_atomic!(AtomicU32, u32);
Datomic_cell.rs509 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/
During.rs14 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/
Dlib.rs243 AtomicBool, AtomicI16, AtomicI32, AtomicI8, AtomicIsize, AtomicU16, AtomicU32, AtomicU8,
/external/crosvm/cros_async/src/
During_executor.rs61 use std::sync::atomic::{AtomicI32, AtomicU32, Ordering};
122 static USE_URING: AtomicU32 = AtomicU32::new(UNKNOWN); in use_uring()
/external/rust/crates/serde/src/ser/
Dimpls.rs929 AtomicU8 AtomicU16 AtomicU32 AtomicUsize
/external/rust/crates/serde/src/de/
Dimpls.rs2622 AtomicU8 AtomicU16 AtomicU32 AtomicUsize