Home
last modified time | relevance | path

Searched defs:const_new (Results 1 – 14 of 14) sorted by relevance

/external/rust/crates/tokio/src/loom/std/
Dmutex.rs17 pub(crate) const fn const_new(t: T) -> Mutex<T> { in const_new() method
Dparking_lot.rs57 pub(crate) const fn const_new(t: T) -> Mutex<T> { in const_new() method
/external/rust/crates/tokio/src/sync/
Donce_cell.rs176 pub const fn const_new() -> Self { in const_new() method
Dsemaphore.rs176 pub const fn const_new(permits: usize) -> Self { in const_new() method
Dnotify.rs327 pub const fn const_new() -> Notify { in const_new() method
Drwlock.rs341 pub const fn const_new(value: T) -> RwLock<T> in const_new() method
Dbatch_semaphore.rs185 pub(crate) const fn const_new(mut permits: usize) -> Self { in const_new() method
Dmutex.rs304 pub const fn const_new(t: T) -> Self in const_new() method
/external/rust/crates/slab/tests/
Dslab.rs712 fn const_new() { in const_new() function
/external/rust/crates/tokio/src/util/
Dlinked_list.rs431 fn const_new() { in const_new() function
/external/rust/crates/smallvec/src/
Dtests.rs915 fn const_new() { in const_new() function
/external/rust/crates/lock_api/src/
Dmutex.rs183 pub const fn const_new(raw_mutex: R, val: T) -> Mutex<R, T> { in const_new() method
Dremutex.rs276 pub const fn const_new(raw_mutex: R, get_thread_id: G, val: T) -> ReentrantMutex<R, G, T> { in const_new() method
Drwlock.rs403 pub const fn const_new(raw_rwlock: R, val: T) -> RwLock<R, T> { in const_new() method