Home
last modified time | relevance | path

Searched refs:AtomicUsize (Results 1 - 16 of 16) sorted by relevance

/third_party/rust/crates/rustix/src/backend/linux_raw/param/
H A Dauxv.rs23 use core::sync::atomic::{AtomicPtr, AtomicUsize};
124 static PAGE_SIZE: AtomicUsize = AtomicUsize::new(0);
125 static CLOCK_TICKS_PER_SECOND: AtomicUsize = AtomicUsize::new(0);
126 static HWCAP: AtomicUsize = AtomicUsize::new(0);
127 static HWCAP2: AtomicUsize = AtomicUsize::new(0);
130 static PHNUM: AtomicUsize
[all...]
/third_party/rust/crates/once_cell/tests/
H A Dit.rs4 sync::atomic::{AtomicUsize, Ordering::SeqCst},
38 static DROP_CNT: AtomicUsize = AtomicUsize::new(0); in once_cell_drop()
177 static CALLED: AtomicUsize = AtomicUsize::new(0); in lazy_default()
254 use std::sync::atomic::{AtomicUsize, Ordering::SeqCst};
307 static DROP_CNT: AtomicUsize = AtomicUsize::new(0); in once_cell_drop()
484 let called = AtomicUsize::new(0); in lazy_new()
508 let called = AtomicUsize in lazy_deref_mut()
[all...]
/third_party/rust/crates/regex/src/
H A Dpool.rs61 use std::sync::atomic::{AtomicUsize, Ordering};
65 static COUNTER: AtomicUsize = AtomicUsize::new(1);
118 owner: AtomicUsize,
183 let owner = AtomicUsize::new(0); in fmt()
/third_party/rust/crates/proc-macro2/src/
H A Ddetection.rs1 use core::sync::atomic::{AtomicUsize, Ordering};
4 static WORKS: AtomicUsize = AtomicUsize::new(0);
/third_party/rust/crates/syn/tests/
H A Dtest_round_trip.rs42 use std::sync::atomic::{AtomicUsize, Ordering};
62 let failed = AtomicUsize::new(0); in test_round_trip()
72 fn test(path: &Path, failed: &AtomicUsize, abort_after: usize) { in test()
153 static COUNTER: AtomicUsize = AtomicUsize::new(0); in librustc_parse()
H A Dtest_precedence.rs51 use std::sync::atomic::{AtomicUsize, Ordering};
70 let passed = AtomicUsize::new(0); in test_rustc_precedence()
71 let failed = AtomicUsize::new(0); in test_rustc_precedence()
/third_party/rust/crates/once_cell/examples/
H A Dbench_acquire.rs6 use std::sync::atomic::{AtomicUsize, Ordering};
12 static OTHER: AtomicUsize = AtomicUsize::new(0);
/third_party/rust/crates/log/src/
H A Dlib.rs349 use std::sync::atomic::{AtomicUsize, Ordering};
357 struct AtomicUsize { structure names
362 impl AtomicUsize { impls
363 const fn new(v: usize) -> AtomicUsize {
364 AtomicUsize { v: Cell::new(v) }
394 unsafe impl Sync for AtomicUsize {}
400 static STATE: AtomicUsize = AtomicUsize::new(0);
409 static MAX_LOG_LEVEL_FILTER: AtomicUsize = AtomicUsize
[all...]
/third_party/rust/crates/once_cell/src/
H A Drace.rs27 use atomic::{AtomicUsize, Ordering};
35 inner: AtomicUsize,
42 OnceNonZeroUsize { inner: AtomicUsize::new(0) }
/third_party/rust/crates/lazycell/src/
H A Dlib.rs54 use std::sync::atomic::{AtomicUsize, Ordering};
238 state: AtomicUsize,
245 state: AtomicUsize::new(NONE),
339 state: AtomicUsize::new(SOME), in clone()
/third_party/rust/crates/autocfg/src/
H A Dlib.rs70 use std::sync::atomic::{AtomicUsize, Ordering};
207 static ID: AtomicUsize = ATOMIC_USIZE_INIT; in probe()
/third_party/rust/crates/serde/serde/src/
H A Dlib.rs260 AtomicUsize, Ordering,
276 pub use std::sync::atomic::{AtomicIsize, AtomicUsize};
/third_party/rust/crates/memchr/bench/data/code/
H A Drust-library.rs9253 use std::sync::atomic::{AtomicUsize, Ordering::Relaxed};
10730 use std::sync::atomic::{AtomicUsize, Ordering}; in test_box_slice_clone_panics()
10734 count: Arc<AtomicUsize>, in test_box_slice_clone_panics()
10754 let drop_count = Arc::new(AtomicUsize::new(0)); in test_box_slice_clone_panics()
10798 static DROP_COUNTS: [AtomicUsize; MAX_LEN] = [
10799 // FIXME(RFC 1109): AtomicUsize is not Copy.
10800 AtomicUsize::new(0),
10801 AtomicUsize::new(0),
10802 AtomicUsize::new(0),
10803 AtomicUsize
[all...]
/third_party/rust/crates/serde/test_suite/tests/
H A Dtest_ser.rs19 AtomicUsize,
669 assert_ser_tokens(&AtomicUsize::new(655360usize), &[Token::U64(655360u64)]); in test_atomic()
H A Dtest_de.rs33 AtomicUsize, Ordering,
2344 test(AtomicUsize::load, 131072usize); in test_atomics()
/third_party/rust/crates/serde/serde/src/ser/
H A Dimpls.rs1070 AtomicUsize "ptr"

Completed in 45 milliseconds