Home
last modified time | relevance | path

Searched refs:AtomicBool (Results 1 – 25 of 91) sorted by relevance

1234

/external/clang/test/SemaObjC/
Dproperty-atomic-bool.m3 // CHECK: TypedefDecl {{.*}} referenced AtomicBool '_Atomic(_Bool)'
12 // CHECK: ObjCPropertyDecl {{.*}} p 'AtomicBool':'_Atomic(_Bool)' {{.*}} nonatomic
23 // CHECK: ObjCIvarDecl {{.*}} p 'AtomicBool':'_Atomic(_Bool)' protected
24 // CHECK: ObjCPropertyDecl {{.*}} p 'AtomicBool':'_Atomic(_Bool)'
29 typedef _Atomic(_Bool) AtomicBool; typedef
38 @property(nonatomic) AtomicBool p;
54 AtomicBool p;
56 @property AtomicBool p;
/external/llvm-project/clang/test/AST/
Dproperty-atomic-bool.m11 // CHECK: TypedefDecl {{.*}} referenced AtomicBool '_Atomic(_Bool)'
20 // CHECK: ObjCPropertyDecl {{.*}} p 'AtomicBool':'_Atomic(_Bool)' {{.*}} nonatomic
31 // CHECK: ObjCIvarDecl {{.*}} p 'AtomicBool':'_Atomic(_Bool)' protected
32 // CHECK: ObjCPropertyDecl {{.*}} p 'AtomicBool':'_Atomic(_Bool)'
37 typedef _Atomic(_Bool) AtomicBool; typedef
46 @property(nonatomic) AtomicBool p;
62 AtomicBool p;
64 @property AtomicBool p;
/external/rust/crates/rayon/src/iter/
Dfind.rs3 use std::sync::atomic::{AtomicBool, Ordering};
10 let found = AtomicBool::new(false); in find()
17 found: &'p AtomicBool,
21 fn new(find_op: &'p P, found: &'p AtomicBool) -> Self { in new()
68 found: &'p AtomicBool,
90 fn not_full<T>(found: &AtomicBool) -> impl Fn(&T) -> bool + '_ { in consume_iter()
Dwhile_some.rs3 use std::sync::atomic::{AtomicBool, Ordering};
39 let full = AtomicBool::new(false); in drive_unindexed()
53 full: &'f AtomicBool,
108 full: &'f AtomicBool,
129 fn some<T>(full: &AtomicBool) -> impl Fn(&Option<T>) -> bool + '_ { in consume_iter()
Dtry_reduce_with.rs5 use std::sync::atomic::{AtomicBool, Ordering};
13 let full = AtomicBool::new(false); in try_reduce_with()
23 full: &'r AtomicBool,
94 full: &'r AtomicBool,
Dtry_reduce.rs5 use std::sync::atomic::{AtomicBool, Ordering};
14 let full = AtomicBool::new(false); in try_reduce()
26 full: &'r AtomicBool,
95 full: &'r AtomicBool,
Dpanic_fuse.rs3 use std::sync::atomic::{AtomicBool, Ordering};
21 struct Fuse<'a>(&'a AtomicBool);
59 let panicked = AtomicBool::new(false); in drive_unindexed()
80 let panicked = AtomicBool::new(false); in drive()
112 let panicked = AtomicBool::new(false); in with_producer()
/external/rust/crates/getrandom/src/
Dvxworks.rs11 use core::sync::atomic::{AtomicBool, Ordering::Relaxed};
14 static RNG_INIT: AtomicBool = AtomicBool::new(false); in getrandom_inner()
/external/rust/crates/rusqlite/src/
Dhooks.rs250 use std::sync::atomic::{AtomicBool, Ordering};
257 static ref CALLED: AtomicBool = AtomicBool::new(false); in test_commit_hook()
286 static ref CALLED: AtomicBool = AtomicBool::new(false); in test_rollback_hook()
301 static ref CALLED: AtomicBool = AtomicBool::new(false); in test_update_hook()
/external/adhd/sound_card_init/dsm/src/
Dzero_player.rs5 use std::sync::atomic::{AtomicBool, Ordering};
96 thread_run: Arc<AtomicBool>,
113 let thread_run = Arc::new(AtomicBool::new(false)); in new()
143 thread_run: Arc<AtomicBool>,
157 thread_run: Arc<AtomicBool>, in new() argument
/external/rust/crates/parking_lot_core/src/thread_parker/
Dgeneric.rs11 use core::sync::atomic::{spin_loop_hint, AtomicBool, Ordering};
17 parked: AtomicBool,
28 parked: AtomicBool::new(false), in new()
Dsgx.rs8 use core::sync::atomic::{AtomicBool, Ordering};
24 parked: AtomicBool,
36 parked: AtomicBool::new(false), in new()
/external/rust/crates/anyhow/tests/drop/
Dmod.rs5 use std::sync::atomic::AtomicBool;
11 atomic: Arc<AtomicBool>,
17 atomic: Arc::new(AtomicBool::new(false)), in new()
/external/rust/crates/once_cell/src/
Dimp_pl.rs5 sync::atomic::{AtomicBool, Ordering},
14 is_initialized: AtomicBool,
33 is_initialized: AtomicBool::new(false), in new()
118 fn initialize_inner(mutex: &Mutex<()>, is_initialized: &AtomicBool, init: &mut dyn FnMut() -> bool)… in initialize_inner() argument
/external/rust/crates/tokio/tests/
Dtask_local_set.rs16 use std::sync::atomic::{AtomicBool, AtomicUsize};
65 static RAN1: AtomicBool = AtomicBool::new(false); in localset_future_timers()
66 static RAN2: AtomicBool = AtomicBool::new(false); in localset_future_timers()
84 static RAN1: AtomicBool = AtomicBool::new(false); in localset_future_drives_all_local_futs()
85 static RAN2: AtomicBool = AtomicBool::new(false); in localset_future_drives_all_local_futs()
86 static RAN3: AtomicBool = AtomicBool::new(false); in localset_future_drives_all_local_futs()
Dtask_abort.rs33 use std::sync::atomic::{AtomicBool, Ordering}; in test_abort_without_panic_3662()
36 struct DropCheck(Arc<AtomicBool>); in test_abort_without_panic_3662()
49 let drop_flag = Arc::new(AtomicBool::new(false)); in test_abort_without_panic_3662()
/external/crosvm/tpm2/src/
Dlib.rs8 use std::sync::atomic::{AtomicBool, Ordering};
10 static SIMULATOR_EXISTS: AtomicBool = AtomicBool::new(false);
/external/rust/crates/futures-util/src/future/future/
Dremote_handle.rs16 atomic::{AtomicBool, Ordering},
44 keep_running: Arc<AtomicBool>,
80 keep_running: Arc<AtomicBool>,
118 let keep_running = Arc::new(AtomicBool::new(false)); in remote_handle()
/external/rust/crates/futures-channel/src/
Dlock.rs10 use core::sync::atomic::AtomicBool;
18 locked: AtomicBool,
41 locked: AtomicBool::new(false), in new()
/external/rust/crates/tokio/src/util/
Dtry_lock.rs1 use crate::loom::sync::atomic::AtomicBool;
9 locked: AtomicBool,
26 locked: AtomicBool::new(false),
/external/rust/crates/tokio/src/sync/
Donce_cell.rs9 use std::sync::atomic::{AtomicBool, Ordering};
36 value_set: AtomicBool,
84 value_set: AtomicBool::new(false), in new()
99 value_set: AtomicBool::new(true), in new_with()
113 value_set: AtomicBool::new(false), in const_new()
/external/rust/crates/crossbeam-channel/src/
Dutils.rs6 use std::sync::atomic::{AtomicBool, Ordering};
66 flag: AtomicBool,
74 flag: AtomicBool::new(false), in new()
Dcounter.rs6 use std::sync::atomic::{AtomicBool, AtomicUsize, Ordering};
17 destroy: AtomicBool,
28 destroy: AtomicBool::new(false), in new()
/external/rust/crates/structopt/tests/
Dflags.rs79 fn parse_from_flag(b: bool) -> std::sync::atomic::AtomicBool { in parse_from_flag() argument
80 std::sync::atomic::AtomicBool::new(b) in parse_from_flag()
88 alice: std::sync::atomic::AtomicBool, in non_bool_flags()
90 bob: std::sync::atomic::AtomicBool, in non_bool_flags()
/external/rust/crates/futures-util/src/future/
Dabortable.rs7 use core::sync::atomic::{AtomicBool, Ordering};
85 cancel: AtomicBool::new(false), in new_pair()
104 cancel: AtomicBool,

1234