/external/rust/crates/futures/tests/ |
D | futures_unordered.rs | 25 assert_eq!(tasks.iter_mut().len(), 0); in is_terminated() 31 assert_eq!(tasks.iter_mut().len(), 1); in is_terminated() 157 for rx in stream.iter_mut() { in iter_mut_cancel() 186 let mut iter_mut = stream.iter_mut(); in iter_mut_len() localVariable 187 assert_eq!(iter_mut.len(), 3); in iter_mut_len() 188 assert!(iter_mut.next().is_some()); in iter_mut_len() 189 assert_eq!(iter_mut.len(), 2); in iter_mut_len() 190 assert!(iter_mut.next().is_some()); in iter_mut_len() 191 assert_eq!(iter_mut.len(), 1); in iter_mut_len() 192 assert!(iter_mut.next().is_some()); in iter_mut_len() [all …]
|
/external/rust/crates/gdbstub/src/arch/x86/reg/ |
D | core64.rs | 86 for reg in self.regs.iter_mut() { in gdb_deserialize() 97 for seg in self.segments.iter_mut() { in gdb_deserialize() 103 for reg in self.st.iter_mut() { in gdb_deserialize() 113 for reg in self.xmm.iter_mut() { in gdb_deserialize()
|
D | core32.rs | 110 for seg in self.segments.iter_mut() { in gdb_deserialize() 116 for reg in self.st.iter_mut() { in gdb_deserialize() 126 for reg in self.xmm.iter_mut() { in gdb_deserialize()
|
/external/rust/crates/rand_chacha/src/ |
D | chacha.rs | 300 for i in results.iter_mut() { in test_chacha_true_values_a() 310 for i in results.iter_mut() { in test_chacha_true_values_a() 337 for i in results.iter_mut() { in test_chacha_true_values_b() 369 for i in results.iter_mut() { in test_chacha_true_values_c() 378 for i in results.iter_mut() { in test_chacha_true_values_c() 410 for i in results.iter_mut() { in test_chacha_multiple_blocks() 449 for i in results.iter_mut() { in test_chacha_nonce()
|
/external/rust/crates/thread_local/src/ |
D | cached.rs | 65 pub fn iter_mut(&mut self) -> CachedIterMut<T> { in iter_mut() method 67 inner: self.inner.iter_mut(), in iter_mut() 99 self.iter_mut() in into_iter()
|
D | lib.rs | 146 for (i, bucket) in self.buckets.iter_mut().enumerate() { in drop() 180 for (i, bucket) in buckets[..allocated_buckets].iter_mut().enumerate() { in with_capacity() 296 pub fn iter_mut(&mut self) -> IterMut<T> { in iter_mut() method 340 self.iter_mut() in into_iter() 606 let mut v = tls.iter_mut().map(|x| **x).collect::<Vec<i32>>(); in iter()
|
/external/rust/crates/rand_core/src/ |
D | le.rs | 20 for (out, chunk) in dst.iter_mut().zip(src.chunks_exact(4)) { in read_u32_into() 29 for (out, chunk) in dst.iter_mut().zip(src.chunks_exact(8)) { in read_u64_into()
|
/external/rust/crates/nix/src/sys/ |
D | select.rs | 179 readfds.iter_mut() in select() 180 .chain(writefds.iter_mut()) in select() 181 .chain(errorfds.iter_mut()) in select() 250 readfds.iter_mut() in pselect() 251 .chain(writefds.iter_mut()) in pselect() 252 .chain(errorfds.iter_mut()) in pselect()
|
/external/rust/crates/itertools/benches/ |
D | bench1.rs | 391 for (index, elt) in data.iter_mut().enumerate() { in group_by_lazy_1() 410 for (index, elt) in data.iter_mut().enumerate() { in group_by_lazy_2() 478 for (_, elt) in data1.iter_mut().enumerate() { in merge_default() 484 for (i, elt) in data2.iter_mut().enumerate() { in merge_default() 506 for (_, elt) in data1.iter_mut().enumerate() { in merge_by_cmp() 512 for (i, elt) in data2.iter_mut().enumerate() { in merge_by_cmp() 534 for (_, elt) in data1.iter_mut().enumerate() { in merge_by_lt() 540 for (i, elt) in data2.iter_mut().enumerate() { in merge_by_lt() 562 for (_, elt) in data1.iter_mut().enumerate() { in kmerge_default() 568 for (i, elt) in data2.iter_mut().enumerate() { in kmerge_default()
|
/external/rust/crates/syn/tests/ |
D | test_iterators.rs | 41 check_exact_size_iterator!(p.iter_mut()); in iter() 47 assert_eq!(p.iter_mut().next_back(), Some(&mut 4)); in iter()
|
/external/rust/crates/rand_xorshift/tests/ |
D | mod.rs | 23 for i in results.iter_mut() { *i = rng.next_u32(); } in test_xorshift_true_values() 30 for i in results.iter_mut() { *i = rng.next_u64(); } in test_xorshift_true_values()
|
/external/rust/crates/lru-cache/src/ |
D | lib.rs | 304 pub fn iter_mut(&mut self) -> IterMut<K, V> { IterMut(self.map.iter_mut()) } in iter_mut() method 339 fn into_iter(self) -> IterMut<'a, K, V> { self.iter_mut() } in into_iter() 560 assert_eq!(cache.iter_mut().collect::<Vec<_>>(), in test_iter() 564 assert_eq!(cache.iter_mut().rev().collect::<Vec<_>>(), in test_iter()
|
/external/rust/crates/crossbeam-channel/src/ |
D | select.rs | 219 for (handle, i, _) in handles.iter_mut() { in run_select() 261 for (handle, _, _) in handles.iter_mut().take(registered_count) { in run_select() 280 for (handle, i, ptr) in handles.iter_mut() { in run_select() 377 for (handle, _, _) in handles.iter_mut() { in run_ready() 416 for (handle, _, _) in handles.iter_mut().take(registered_count) { in run_ready() 425 for (handle, i, _) in handles.iter_mut() { in run_ready()
|
/external/rust/crates/zip/src/ |
D | zipcrypto.rs | 89 for byte in header_buf.iter_mut() { in validate() 115 for byte in buf.iter_mut() { in read()
|
/external/rust/crates/tokio-stream/src/ |
D | stream_map.rs | 222 pub fn iter_mut(&mut self) -> impl Iterator<Item = &mut (K, V)> { in iter_mut() method 223 self.entries.iter_mut() in iter_mut() 326 self.iter_mut().map(|(_, v)| v) in values_mut()
|
/external/rust/crates/slab/tests/ |
D | slab.rs | 212 fn iter_mut() { in iter_mut() function 219 for (i, (key, e)) in slab.iter_mut().enumerate() { in iter_mut() 229 for (_, e) in slab.iter_mut() { in iter_mut()
|
/external/rust/crates/hashlink/src/ |
D | lru_cache.rs | 75 pub fn iter_mut(&mut self) -> IterMut<K, V> { in iter_mut() method 76 self.map.iter_mut() in iter_mut() 280 self.iter_mut() in into_iter()
|
/external/rust/crates/syn/src/ |
D | data.rs | 90 pub fn iter_mut(&mut self) -> punctuated::IterMut<Field> { in iter_mut() method 93 Fields::Named(f) => f.named.iter_mut(), in iter_mut() 94 Fields::Unnamed(f) => f.unnamed.iter_mut(), in iter_mut() 144 self.iter_mut() in into_iter()
|
/external/crosvm/disk/src/qcow/ |
D | vec_cache.rs | 112 pub fn iter_mut(&mut self) -> IterMut<usize, T> { in iter_mut() method 113 self.map.iter_mut() in iter_mut()
|
/external/rust/crates/hashlink/tests/ |
D | lru_cache.rs | 110 cache.iter_mut().collect::<Vec<_>>(), in test_iter() 118 cache.iter_mut().rev().collect::<Vec<_>>(), in test_iter()
|
/external/rust/crates/slab/src/ |
D | lib.rs | 470 pub fn iter_mut(&mut self) -> IterMut<T> { in iter_mut() method 472 entries: self.entries.iter_mut(), in iter_mut() 817 self.iter_mut() in into_iter()
|
/external/crosvm/gpu_display/examples/ |
D | simple_open.rs | 10 for (x, item) in row.iter_mut().enumerate() { in main()
|
/external/rust/crates/regex-automata/src/nfa/ |
D | mod.rs | 162 for r in ranges.iter_mut() { in remap() 167 for alt in alternates.iter_mut() { in remap()
|
/external/rust/crates/ring/src/ |
D | hmac.rs | 247 for (padded_key, key_value) in padded_key.iter_mut().zip(key_value.iter()) { in new() 256 for b in padded_key.iter_mut() { in new()
|
/external/rust/crates/gdbstub/src/arch/mips/reg/ |
D | mips.rs | 151 for reg in self.r.iter_mut() { in gdb_deserialize() 170 for reg in self.fpu.r.iter_mut() { in gdb_deserialize()
|