Home
last modified time | relevance | path

Searched refs:iter_mut (Results 1 – 25 of 51) sorted by relevance

123

/third_party/rust/crates/clap/src/builder/
Dstyled_str.rs79 if let Some((_, item)) = self.iter_mut().next() { in trim_start()
98 if let Some((_, first)) = self.iter_mut().next() { in indent()
103 for (_, content) in self.iter_mut() { in indent()
114 for (_, content) in self.iter_mut() { in wrap()
170 pub(crate) fn iter_mut(&mut self) -> impl Iterator<Item = (Option<Style>, &mut String)> { in iter_mut() method
171 self.pieces.iter_mut().map(|(s, c)| (*s, c)) in iter_mut()
175 pub(crate) fn iter_mut(&mut self) -> impl Iterator<Item = (Option<Style>, &mut String)> { in iter_mut() method
/third_party/rust/crates/nix/src/sys/
Dselect.rs197 .iter_mut() in select()
198 .chain(writefds.iter_mut()) in select()
199 .chain(errorfds.iter_mut()) in select()
280 readfds.iter_mut()
281 .chain(writefds.iter_mut())
282 .chain(errorfds.iter_mut())
Dresource.rs428 numbers.iter_mut().for_each(|item| *item *= 2); in test_self_cpu_time()
/third_party/rust/crates/syn/tests/
Dtest_iterators.rs41 check_exact_size_iterator!(p.iter_mut()); in iter()
47 assert_eq!(p.iter_mut().next_back(), Some(&mut 4)); in iter()
/third_party/rust/crates/syn/src/
Ddata.rs90 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()
Dpunctuated.rs92 self.iter_mut().next() in first_mut()
102 self.iter_mut().next_back() in last_mut()
117 pub fn iter_mut(&mut self) -> IterMut<T> { in iter_mut() method
120 inner: self.inner.iter_mut(), in iter_mut()
139 inner: self.inner.iter_mut(), in pairs_mut()
519 Punctuated::iter_mut(self) in into_iter()
Dgenerics.rs126 TypeParamsMut(self.params.iter_mut()) in type_params_mut()
148 LifetimesMut(self.params.iter_mut()) in lifetimes_mut()
170 ConstParamsMut(self.params.iter_mut()) in const_params_mut()
/third_party/rust/crates/clap/src/util/
Dflat_map.rs128 pub fn iter_mut(&mut self) -> IterMut<K, V> { in iter_mut() method
130 keys: self.keys.iter_mut(), in iter_mut()
131 values: self.values.iter_mut(), in iter_mut()
/third_party/rust/crates/rust-openssl/openssl/src/
Dstack.rs211 pub fn iter_mut(&mut self) -> IterMut<'_, T> { in iter_mut() method
292 self.iter_mut() in into_iter()
310 self.iter_mut() in into_iter()
Dcipher_ctx.rs208 .iter_mut() in seal_init()
226 for (buf, len) in encrypted_keys.iter_mut().zip(key_lengths) { in seal_init()
/third_party/rust/crates/bindgen/bindgen-tests/tests/quickchecking/src/
Dfuzzers.rs403 for (i, decl) in decl_list.decls.iter_mut().enumerate() { in arbitrary()
451 for (i, decl) in decl_list.decls.iter_mut().enumerate() { in arbitrary()
606 for (i, decl) in decl_list.decls.iter_mut().enumerate() { in arbitrary()
/third_party/rust/crates/regex/src/
Dpikevm.rs240 for (slot, val) in slots.iter_mut().zip(thread_caps.iter()) { in step()
332 for (slot, val) in t.iter_mut().zip(thread_caps.iter()) { in add_step()
/third_party/rust/crates/once_cell/examples/
Dbench_acquire.rs34 for j in data.iter_mut() { in thread_main()
/third_party/rust/crates/libc/libc-test/test/
Dcmsg.rs70 for i in buffer[start_ofs..].iter_mut() { in test_cmsg_nxthdr()
/third_party/rust/crates/cxx/src/
Dcxx_vector.rs155 pub fn iter_mut(self: Pin<&mut Self>) -> IterMut<T> { in iter_mut() function
258 self.iter_mut() in into_iter()
/third_party/rust/crates/signal-hook/signal-hook-registry/src/
Dhalf_lock.rs160 for (seen, slot) in seen_zero.iter_mut().zip(&self.lock) {
/third_party/rust/crates/clap/src/
Dmkeymap.rs123 self.args.iter_mut() in args_mut()
/third_party/rust/crates/minimal-lexical/src/
Dbigint.rs456 for xi in x.iter_mut() { in small_mul()
631 for xi in x.iter_mut() { in shl_bits()
/third_party/rust/crates/clap/src/parser/
Darg_matcher.rs91 for (name, matched_arg) in vals_map.iter_mut() { in fill_in_global_values()
/third_party/rust/crates/aho-corasick/src/packed/teddy/
Dcompile.rs286 for (i, mask) in self.masks.iter_mut().enumerate() { in compile()
/third_party/rust/crates/nix/test/sys/
Dtest_uio.rs206 .iter_mut() in test_preadv()
/third_party/rust/crates/cxx/macro/src/
Dload.rs121 for (i, enm) in variants_from_header.iter_mut().enumerate() { in traverse()
/third_party/rust/crates/codespan/codespan-reporting/src/term/
Dviews.rs104 .iter_mut() in render()
/third_party/rust/crates/tracing/tracing-subscriber/tests/
Dsupport.rs231 for (expected, actual) in expected_scope.iter_mut().zip(&mut current_scope) { in on_event()
/third_party/rust/crates/memchr/bench/data/code/
Drust-library.rs59 assert!(m.iter_mut().count() == 128); in bench_iter_mut()
75 assert!(m.iter_mut().rev().count() == 128); in bench_iter_mut_rev()
1044 data.iter_mut().enumerate().for_each(|(i, d)| { in bench_in_place_zip_iter_mut()
1197 for item in buf.iter_mut() { in random_sorted_fill()
1453 for kv in map.iter_mut() { in bench_iteration_mut()
2767 for (i, elt) in m.iter_mut().enumerate() { in test_mut_iter()
2773 assert!(n.iter_mut().next().is_none()); in test_mut_iter()
2776 let mut it = n.iter_mut(); in test_mut_iter()
2787 assert!(n.iter_mut().next_back().is_none()); in test_iterator_mut_double_end()
2791 let mut it = n.iter_mut(); in test_iterator_mut_double_end()
[all …]

123