/external/rust/crates/spin/src/ |
D | once.rs | 29 pub struct Once<T> { struct 34 impl<T: fmt::Debug> fmt::Debug for Once<T> { argument 47 unsafe impl<T: Send + Sync> Sync for Once<T> {} implementation 48 unsafe impl<T: Send> Send for Once<T> {} implementation 59 impl<T> Once<T> { impl 68 pub const fn new() -> Once<T> { in new() 73 pub const fn initialized(data: T) -> Once<T> { in initialized() 249 impl<T> From<T> for Once<T> { implementation 255 impl<T> Drop for Once<T> { implementation 285 use super::Once; [all …]
|
D | lazy.rs | 7 use crate::Once; 42 cell: Once<T>, 57 unsafe impl<T, F: Send> Sync for Lazy<T, F> where Once<T>: Sync {} 64 Lazy { cell: Once::new(), init: Cell::new(Some(f)) } in new()
|
/external/rust/crates/parking_lot/src/ |
D | once.rs | 83 pub struct Once(AtomicU8); struct 85 impl Once { implementation 88 pub const fn new() -> Once { in new() 89 Once(AtomicU8::new(0)) in new() 281 struct PanicGuard<'a>(&'a Once); in call_once_slow() 318 impl Default for Once { implementation 320 fn default() -> Once { in default() 321 Once::new() in default() 325 impl fmt::Debug for Once { implementation 335 use crate::Once; [all …]
|
/external/rust/crates/spin/ |
D | CHANGELOG.md | 20 - Prevented `Once` leaking the inner value upon drop 26 - `Once::initialized` 27 - `Once::get_mut` 28 - `Once::try_into_inner` 29 - `Once::poll` 30 - `RwLock`, `Mutex` and `Once` now implement `From<T>` 39 - `Once::wait` now spins even if initialization has not yet started
|
/external/rust/crates/futures-util/src/stream/ |
D | once.rs | 20 pub fn once<Fut: Future>(future: Fut) -> Once<Fut> { in once() 21 assert_stream::<Fut::Output, _>(Once::new(future)) in once() 28 pub struct Once<Fut> { 34 impl<Fut> Once<Fut> { implementation 40 impl<Fut: Future> Stream for Once<Fut> { implementation 63 impl<Fut: Future> FusedStream for Once<Fut> { implementation
|
/external/rust/crates/tokio-stream/src/ |
D | once.rs | 10 pub struct Once<T> { struct 14 impl<I> Unpin for Once<I> {} implementation 36 pub fn once<T>(value: T) -> Once<T> { in once() 37 Once { in once() 42 impl<T> Stream for Once<T> { implementation
|
/external/rust/crates/rayon/src/iter/ |
D | once.rs | 24 pub fn once<T: Send>(item: T) -> Once<T> { in once() 25 Once { item } in once() 30 pub struct Once<T: Send> { struct 34 impl<T: Send> ParallelIterator for Once<T> { implementation 49 impl<T: Send> IndexedParallelIterator for Once<T> { implementation
|
/external/rust/crates/protobuf/src/ |
D | lazy.rs | 17 pub lock: sync::Once, 28 lock: sync::Once::new(), 42 let lock: &sync::Once = unsafe { mem::transmute(&self.lock) }; in get() 55 pub const ONCE_INIT: sync::Once = sync::Once::new();
|
D | lazy_v2.rs | 9 lock: sync::Once, 18 lock: sync::Once::new(),
|
/external/rust/crates/lazy_static/src/ |
D | core_lazy.rs | 10 use self::spin::Once; 12 pub struct Lazy<T: Sync>(Once<T>); 15 pub const INIT: Self = Lazy(Once::INIT);
|
D | inline_lazy.rs | 14 use self::std::sync::Once; 19 pub struct Lazy<T: Sync>(Cell<Option<T>>, Once);
|
/external/rust/crates/proc-macro2/src/ |
D | detection.rs | 3 use std::sync::Once; 6 static INIT: Once = Once::new();
|
/external/rust/crates/no-panic/tests/compiletest/ |
D | mod.rs | 3 use std::sync::Once; 6 static BUILD: Once = Once::new(); in setup()
|
/external/rust/crates/lazy_static/tests/ |
D | test.rs | 110 struct Once(X); struct 111 const ONCE_INIT: Once = Once(X); 122 test(vec![X, Once(X).0, ONCE_INIT.0, DATA, ONCE,
|
/external/rust/crates/mio/src/sys/windows/ |
D | net.rs | 4 use std::sync::Once; 15 static INIT: Once = Once::new(); in init()
|
/external/rust/crates/plotters/src/element/ |
D | points.rs | 30 type IntoIter = std::iter::Once<&'a Coord>; 31 fn point_iter(self) -> std::iter::Once<&'a Coord> { in point_iter() 73 type IntoIter = std::iter::Once<&'a Coord>; 74 fn point_iter(self) -> std::iter::Once<&'a Coord> { in point_iter()
|
D | composable.rs | 4 use std::iter::{once, Once}; 40 type IntoIter = Once<&'a Coord>; 68 type IntoIter = Once<&'b Coord>; 136 type IntoIter = Once<&'b Coord>;
|
/external/libchrome/base/ |
D | bind_helpers.h | 45 return Once<Args...>(); 54 static OnceCallback<void(Args...)> Once() { in Once() function
|
/external/rust/crates/tokio/src/signal/ |
D | windows.rs | 15 use std::sync::Once; 95 static INIT: Once = Once::new(); in global_init()
|
D | unix.rs | 17 use std::sync::Once; 189 init: Once, 197 init: Once::new(), in default()
|
/external/llvm-project/clang/tools/clang-format-vs/ |
D | README.txt | 20 Once LLVM.sln is generated, build the clang_format_vsix target, which will build 25 ClangFormat/source.extension.vsixmanifest. Once the plug-in has been built with 33 Once you've built the clang_format_vsix project from LLVM.sln at least once,
|
/external/google-breakpad/docs/ |
D | contributing_to_breakpad.md | 17 Contributor License Agreement</a>. Once completed this document will need to be 29 Once you have signed the agreement you can be added to our contributors list and
|
/external/rust/crates/rand/src/rngs/adapter/ |
D | reseeding.rs | 285 use std::sync::Once; 312 static REGISTER: Once = Once::new(); in register_fork_handler()
|
/external/rust/crates/rusqlite/src/ |
D | inner_connection.rs | 309 static SQLITE_VERSION_CHECK: std::sync::Once = std::sync::Once::new(); 358 static SQLITE_INIT: std::sync::Once = std::sync::Once::new();
|
/external/crosvm/integration_tests/tests/ |
D | fixture.rs | 10 use std::sync::Once; 241 static PREP_ONCE: Once = Once::new(); in new()
|