Home
last modified time | relevance | path

Searched defs:m (Results 1 – 9 of 9) sorted by relevance

/drstd/src/std/collections/hash/map/
H A Dtests.rs20 let m = HM::new(); in test_zero_capacities() localVariable
23 let m = HM::default(); in test_zero_capacities() localVariable
26 let m = HM::with_hasher(RandomState::new()); in test_zero_capacities() localVariable
29 let m = HM::with_capacity(0); in test_zero_capacities() localVariable
32 let m = HM::with_capacity_and_hasher(0, RandomState::new()); in test_zero_capacities() localVariable
35 let mut m = HM::new(); in test_zero_capacities() localVariable
43 let mut m = HM::new(); in test_zero_capacities() localVariable
50 let mut m = HashMap::with_capacity(0); in test_create_capacity_zero() localVariable
60 let mut m = HashMap::new(); in test_insert() localVariable
72 let mut m = HashMap::new(); in test_clone() localVariable
[all …]
/drstd/src/std/sync/mutex/
H A Dtests.rs13 let m = Mutex::new(()); in smoke() localVariable
23 let m = Arc::new(Mutex::new(0)); in lots_and_lots() localVariable
56 let m = Mutex::new(()); in try_lock() localVariable
62 let m = Mutex::new(NonCopy(10)); in test_into_inner() localVariable
75 let m = Mutex::new(Foo(num_drops.clone())); in test_into_inner_drop() localVariable
86 let m = Arc::new(Mutex::new(NonCopy(10))); in test_into_inner_poison() localVariable
103 let mut m = Mutex::new(NonCopy(10)); in test_get_mut() localVariable
110 let m = Arc::new(Mutex::new(NonCopy(10))); in test_get_mut_poison() localVariable
/drstd/src/std/sync/condvar/
H A Dtests.rs17 let m = Arc::new(Mutex::new(())); in notify_one() localVariable
92 let m = Arc::new(Mutex::new(())); in wait_timeout_wait() localVariable
111 let m = Arc::new(Mutex::new(())); in wait_timeout_while_wait() localVariable
125 let m = Arc::new(Mutex::new(())); in wait_timeout_while_instant_satisfy() localVariable
164 let m = Arc::new(Mutex::new(())); in wait_timeout_wake() localVariable
/drstd/src/std/sync/remutex/
H A Dtests.rs8 let m = ReentrantMutex::new(()); in smoke() localVariable
25 let m = Arc::new(ReentrantMutex::new(RefCell::new(0))); in is_mutex() localVariable
42 let m = Arc::new(ReentrantMutex::new(())); in trylock_works() localVariable
/drstd/src/std/sync/rwlock/
H A Dtests.rs189 let m = RwLock::new(NonCopy(10)); in test_into_inner() localVariable
202 let m = RwLock::new(Foo(num_drops.clone())); in test_into_inner_drop() localVariable
213 let m = Arc::new(RwLock::new(NonCopy(10))); in test_into_inner_poison() localVariable
230 let mut m = RwLock::new(NonCopy(10)); in test_get_mut() localVariable
237 let m = Arc::new(RwLock::new(NonCopy(10))); in test_get_mut_poison() localVariable
/drstd/src/std/sys/unsupported/locks/
H A Drwlock.rs19 let m = self.mode.get(); in read() localVariable
29 let m = self.mode.get(); in try_read() localVariable
/drstd/src/std/thread/local/
H A Ddynamic_tests.rs20 let mut m = HashMap::new(); in hashmap() localVariable
/drstd/dlibc/src/unix/header/time/
H A Dmod.rs420 let mut m = (*tm).tm_mon as ::time_t + 1; in timegm() localVariable
/drstd/src/std/os/wasi/
H A Dfs.rs286 let m = self.as_inner().metadata_at(lookup_flags, path.as_ref())?; in metadata_at() localVariable