Home
last modified time | relevance | path

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

/aosp_15_r20/external/rust/android-crates-io/crates/tokio/src/loom/std/
Dmutex.rs16 pub(crate) const fn const_new(t: T) -> Mutex<T> { in const_new() method
Dparking_lot.rs56 pub(crate) const fn const_new(t: T) -> Mutex<T> { in const_new() method
/aosp_15_r20/external/rust/android-crates-io/crates/smallvec/
DCargo.toml65 const_new = ["const_generics"] qkey
/aosp_15_r20/external/rust/android-crates-io/crates/tokio/src/sync/
Donce_cell.rs168 pub const fn const_new() -> Self { in const_new() method
Dsemaphore.rs498 pub const fn const_new(permits: usize) -> Self { in const_new() method
Drwlock.rs347 pub const fn const_new(value: T) -> RwLock<T> in const_new() method
Dbatch_semaphore.rs182 pub(crate) const fn const_new(permits: usize) -> Self { in const_new() method
Dnotify.rs475 pub const fn const_new() -> Notify { in const_new() method
Dmutex.rs395 pub const fn const_new(t: T) -> Self in const_new() method
/aosp_15_r20/external/rust/android-crates-io/crates/slab/tests/
Dslab.rs712 fn const_new() { in const_new() function
/aosp_15_r20/external/rust/android-crates-io/crates/tokio/src/util/
Dlinked_list.rs545 fn const_new() { in const_new() function
/aosp_15_r20/external/rust/android-crates-io/crates/smallvec/src/
Dtests.rs912 fn const_new() { in const_new() function
/aosp_15_r20/external/rust/android-crates-io/crates/lock_api/src/
Dmutex.rs183 pub const fn const_new(raw_mutex: R, val: T) -> Mutex<R, T> { in const_new() method
Dremutex.rs278 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
/aosp_15_r20/external/bazelbuild-rules_rust/crate_universe/test_data/metadata/target_features/
H A Dmetadata.json8527 "const_new": [ array
/aosp_15_r20/external/bazelbuild-rules_rust/crate_universe/test_data/metadata/workspace/
H A Dmetadata.json8622 "const_new": [ array
/aosp_15_r20/external/bazelbuild-rules_rust/crate_universe/test_data/metadata/resolver_2_deps/
H A Dmetadata.json16368 "const_new": [ array
/aosp_15_r20/external/bazelbuild-rules_rust/crate_universe/test_data/metadata/aliases/
H A Dmetadata.json53039 "const_new": [ array