Home
last modified time | relevance | path

Searched refs:AtomicU8 (Results 1 – 15 of 15) sorted by relevance

/external/rust/crates/tokio/src/loom/std/
Datomic_u8.rs6 pub(crate) struct AtomicU8 { struct
7 inner: UnsafeCell<std::sync::atomic::AtomicU8>, argument
10 unsafe impl Send for AtomicU8 {} implementation
11 unsafe impl Sync for AtomicU8 {} implementation
13 impl AtomicU8 { implementation
14 pub(crate) const fn new(val: u8) -> AtomicU8 { in new() argument
15 let inner = UnsafeCell::new(std::sync::atomic::AtomicU8::new(val)); in new()
16 AtomicU8 { inner } in new()
20 impl Deref for AtomicU8 { implementation
21 type Target = std::sync::atomic::AtomicU8;
[all …]
Dmod.rs74 pub(crate) use crate::loom::std::atomic_u8::AtomicU8;
/external/rust/crates/getrandom/tests/
Dcustom.rs15 sync::atomic::{AtomicU8, Ordering},
29 static COUNTER: AtomicU8 = AtomicU8::new(0); in super_insecure_rng()
/external/rust/crates/grpcio/src/task/
Dexecutor.rs12 use std::sync::atomic::{AtomicU8, Ordering};
87 state: AtomicU8,
101 state: AtomicU8::new(IDLE), in new()
/external/rust/crates/crossbeam-utils/src/
Dlib.rs50 AtomicBool, AtomicU16, AtomicU32, AtomicU64, AtomicU8, AtomicUsize,
81 pub(crate) use core::sync::atomic::{AtomicI8, AtomicU8};
/external/rust/crates/parking_lot/src/
Draw_mutex.rs10 sync::atomic::{AtomicU8, Ordering},
55 state: AtomicU8,
60 state: AtomicU8::new(0),
Donce.rs11 sync::atomic::{fence, AtomicU8, Ordering},
83 pub struct Once(AtomicU8);
89 Once(AtomicU8::new(0)) in new()
/external/crosvm/cros_async/src/sync/
Dwaiter.rs10 use std::sync::atomic::{AtomicBool, AtomicU8, Ordering};
122 waiting_for: AtomicU8,
156 waiting_for: AtomicU8::new(waiting_for as u8), in new()
/external/libchromeos-rs/src/sync/
Dwaiter.rs10 use std::sync::atomic::{AtomicBool, AtomicU8, Ordering};
126 waiting_for: AtomicU8,
162 waiting_for: AtomicU8::new(waiting_for as u8), in new()
/external/rust/crates/crossbeam-utils/src/atomic/
Dconsume.rs69 impl_atomic!(AtomicU8, u8);
Datomic_cell.rs501 impl_arithmetic!(u8, atomic::AtomicU8, "let a = AtomicCell::new(7u8);");
813 atomic!(@check, $t, atomic::AtomicU8, $a, $atomic_op);
836 let is_lock_free = is_lock_free | can_transmute::<T, atomic::AtomicU8>(); in atomic_is_lock_free()
/external/crosvm/devices/src/
Dserial.rs7 use std::sync::atomic::{AtomicU8, Ordering};
68 interrupt_enable: Arc<AtomicU8>,
/external/rust/crates/serde/src/
Dlib.rs243 AtomicBool, AtomicI16, AtomicI32, AtomicI8, AtomicIsize, AtomicU16, AtomicU32, AtomicU8,
/external/rust/crates/serde/src/ser/
Dimpls.rs929 AtomicU8 AtomicU16 AtomicU32 AtomicUsize
/external/rust/crates/serde/src/de/
Dimpls.rs2622 AtomicU8 AtomicU16 AtomicU32 AtomicUsize