/external/rust/crates/itertools/tests/ |
D | zip.rs | 37 assert_eq!(it.next_back(), Some(Left(6))); in test_double_ended_zip_longest() 38 assert_eq!(it.next_back(), Some(Left(5))); in test_double_ended_zip_longest() 39 assert_eq!(it.next_back(), Some(Both(4, 7))); in test_double_ended_zip_longest() 51 assert_eq!(it.next_back(), Some((4, 7))); in test_double_ended_zip() 52 assert_eq!(it.next_back(), Some((3, 3))); in test_double_ended_zip() 53 assert_eq!(it.next_back(), Some((2, 2))); in test_double_ended_zip() 54 assert_eq!(it.next_back(), Some((1, 1))); in test_double_ended_zip() 55 assert_eq!(it.next_back(), None); in test_double_ended_zip()
|
/external/rust/crates/syn/tests/ |
D | test_iterators.rs | 28 assert_eq!(p.pairs().next_back().map(Pair::into_value), Some(&4)); in pairs() 30 p.pairs_mut().next_back().map(Pair::into_value), in pairs() 33 assert_eq!(p.into_pairs().next_back().map(Pair::into_value), Some(4)); in pairs() 46 assert_eq!(p.iter().next_back(), Some(&4)); in iter() 47 assert_eq!(p.iter_mut().next_back(), Some(&mut 4)); in iter() 48 assert_eq!(p.into_iter().next_back(), Some(4)); in iter()
|
/external/rust/crates/itertools/src/ |
D | zip_longest.rs | 60 fn next_back(&mut self) -> Option<Self::Item> { in next_back() function 62 Equal => match (self.a.next_back(), self.b.next_back()) { in next_back() 69 Greater => self.a.next_back().map(EitherOrBoth::Left), in next_back() 70 Less => self.b.next_back().map(EitherOrBoth::Right), in next_back()
|
D | pad_tail.rs | 67 fn next_back(&mut self) -> Option<Self::Item> { in next_back() function 69 self.iter.next_back() in next_back() 72 self.iter.next_back() in next_back()
|
D | unique_impl.rs | 84 fn next_back(&mut self) -> Option<Self::Item> { in next_back() function 85 while let Some(v) = self.iter.next_back() { in next_back() 127 fn next_back(&mut self) -> Option<Self::Item> { in next_back() function 128 while let Some(v) = self.iter.iter.next_back() { in next_back()
|
D | ziptuple.rs | 109 fn next_back(&mut self) -> Option<Self::Item> { 115 for _ in 0..$B.len() - size { $B.next_back(); } 119 match ($($B.next_back(),)*) {
|
D | rciter_impl.rs | 80 fn next_back(&mut self) -> Option<Self::Item> { in next_back() function 81 self.rciter.borrow_mut().next_back() in next_back()
|
/external/rust/crates/anyhow/tests/ |
D | test_chain.rs | 16 assert!(chain.next_back().is_none()); in test_iter() 28 assert!(chain.next_back().is_none()); in test_rev() 38 assert_eq!("0", chain.next_back().unwrap().to_string()); in test_len() 42 assert_eq!("1", chain.next_back().unwrap().to_string()); in test_len()
|
/external/rust/crates/managed/src/ |
D | map.rs | 131 fn next_back(&mut self) -> Option<Self::Item> { in next_back() method 145 RangeInner::Owned(ref mut range) => range.next_back(), in next_back() 582 assert_eq!(range.next_back(), None); in test_range_full_unbounded() 586 assert_eq!(range.next_back(), Some((&"d", &4))); in test_range_full_unbounded() 587 assert_eq!(range.next_back(), Some((&"c", &3))); in test_range_full_unbounded() 589 assert_eq!(range.next_back(), None); in test_range_full_unbounded() 597 assert_eq!(range.next_back(), None); in test_range_full_unbounded() 602 assert_eq!(range.next_back(), None); in test_range_full_unbounded() 610 assert_eq!(range.next_back(), None); in test_range_full_unbounded() 617 assert_eq!(range.next_back(), None); in test_range_full_unbounded() [all …]
|
/external/rust/crates/hashlink/tests/ |
D | linked_hash_set.rs | 466 assert_eq!(iter.next_back(), Some(&4)); in double_ended_iter() 467 assert_eq!(iter.next_back(), Some(&3)); in double_ended_iter() 468 assert_eq!(iter.next_back(), None); in double_ended_iter() 470 assert_eq!(iter.next_back(), None); in double_ended_iter() 476 assert_eq!(iter.next_back(), Some(4)); in double_ended_iter() 477 assert_eq!(iter.next_back(), Some(3)); in double_ended_iter() 478 assert_eq!(iter.next_back(), None); in double_ended_iter() 480 assert_eq!(iter.next_back(), None); in double_ended_iter() 491 assert_eq!(iter.next_back(), Some(4)); in double_ended_iter() 492 assert_eq!(iter.next_back(), Some(3)); in double_ended_iter() [all …]
|
D | linked_hash_map.rs | 233 assert_eq!((&"c", &30), mixed_iter.next_back().unwrap()); in test_iter() 236 assert_eq!(None, mixed_iter.next_back()); in test_iter() 325 assert_eq!(Some(("b", 20)), iter.next_back()); in test_consuming_iter() 375 assert_eq!(iter.next_back().map(|p| p.0), Some("c")); in test_into_iter_drop() 407 assert_eq!(iter.next_back().map(|p| p.0), Some("c")); in test_drain() 408 assert_eq!(iter.next_back().map(|p| p.0), Some("b")); in test_drain() 410 assert!(iter.next_back().is_none()); in test_drain() 426 assert_eq!(iter.next_back().map(|p| p.0), Some("c")); in test_drain() 428 assert!(iter.next_back().is_none()); in test_drain()
|
/external/rust/crates/syn/src/ |
D | punctuated.rs | 96 self.iter().next_back() in last() 101 self.iter_mut().next_back() in last_mut() 554 fn next_back(&mut self) -> Option<Self::Item> { in next_back() method 558 .or_else(|| self.inner.next_back().map(|(t, p)| Pair::Punctuated(t, p))) in next_back() 604 fn next_back(&mut self) -> Option<Self::Item> { in next_back() method 608 .or_else(|| self.inner.next_back().map(|(t, p)| Pair::Punctuated(t, p))) in next_back() 644 fn next_back(&mut self) -> Option<Self::Item> { in next_back() method 648 .or_else(|| self.inner.next_back().map(|(t, p)| Pair::Punctuated(t, p))) in next_back() 693 fn next_back(&mut self) -> Option<Self::Item> { in next_back() method 694 self.inner.next_back() in next_back() [all …]
|
/external/rust/crates/anyhow/src/ |
D | chain.rs | 57 fn next_back(&mut self) -> Option<Self::Item> { in next_back() method 66 let last = rest.next_back(); in next_back() 70 Buffered { rest } => rest.next_back(), in next_back()
|
/external/rust/crates/regex/src/ |
D | re_set.rs | 345 fn next_back(&mut self) -> Option<usize> { 347 match self.0.next_back() { 387 fn next_back(&mut self) -> Option<usize> { 389 match self.0.next_back() {
|
/external/rust/crates/clap/src/args/ |
D | arg_matches.rs | 816 fn next_back(&mut self) -> Option<&'a str> { in next_back() method 817 self.iter.next_back() in next_back() 875 fn next_back(&mut self) -> Option<&'a OsStr> { in next_back() method 876 self.iter.next_back() in next_back() 935 fn next_back(&mut self) -> Option<usize> { in next_back() method 936 self.iter.next_back() in next_back()
|
/external/rust/crates/rayon/src/iter/ |
D | interleave.rs | 312 fn next_back(&mut self) -> Option<I::Item> { in next_back() function 315 self.i.next_back() in next_back() 317 self.j.next_back() in next_back() 320 self.j.next_back() in next_back() 322 self.i.next_back() in next_back()
|
D | intersperse.rs | 251 fn next_back(&mut self) -> Option<Self::Item> { in next_back() function 255 } else if let next_back @ Some(_) = self.base.next_back() { in next_back() 258 next_back in next_back()
|
/external/rust/crates/memchr/src/ |
D | iter.rs | 66 fn next_back(&mut self) -> Option<Self::Item> { in next_back() method 110 fn next_back(&mut self) -> Option<Self::Item> { in next_back() method 167 fn next_back(&mut self) -> Option<Self::Item> { in next_back() method
|
/external/rust/crates/lru-cache/src/ |
D | lib.rs | 381 fn next_back(&mut self) -> Option<(K, V)> { in next_back() method 382 self.0.next_back() in next_back() 408 fn next_back(&mut self) -> Option<(&'a K, &'a V)> { self.0.next_back() } in next_back() method 428 fn next_back(&mut self) -> Option<(&'a K, &'a mut V)> { self.0.next_back() } in next_back() method
|
/external/rust/crates/unicode-segmentation/src/ |
D | word.rs | 40 fn next_back(&mut self) -> Option<&'a str> { self.inner.next_back() } in next_back() method 105 fn next_back(&mut self) -> Option<(usize, &'a str)> { in next_back() method 106 self.iter.next_back().map(|s| (s.as_ptr() as usize - self.start_offset, s)) in next_back() 386 fn next_back(&mut self) -> Option<&'a str> { in next_back() method 397 idx -= self.string.chars().next_back().unwrap().len_utf8(); in next_back() 655 let nch = self.string[..idx].chars().next_back().unwrap(); in get_prev_cat()
|
/external/rust/crates/fallible-iterator/src/ |
D | lib.rs | 989 fn next_back(&mut self) -> Result<Option<I::Item>, I::Error> { in next_back() method 990 (**self).next_back() in next_back() 1018 fn next_back(&mut self) -> Result<Option<I::Item>, I::Error> { in next_back() method 1019 (**self).next_back() in next_back() 1026 fn next_back(&mut self) -> Result<Option<Self::Item>, Self::Error>; in next_back() method 1048 while let Some(v) = self.next_back()? { in try_rfold() 1237 fn next_back(&mut self) -> Result<Option<B>, I::Error> { in next_back() function 1238 match self.it.next_back() { in next_back() 1371 fn next_back(&mut self) -> Result<Option<T::Item>, T::Error> { in next_back() function 1373 ChainState::Both => match self.back.next_back()? { in next_back() [all …]
|
/external/rust/crates/clap/src/ |
D | map.rs | 84 fn next_back(&mut self) -> Option<Self::Item> { in next_back() method 85 self.inner.next_back().map(|(k, v)| (*k, v)) in next_back()
|
/external/rust/crates/quiche/src/ |
D | ranges.rs | 120 self.flatten().next_back() in last() 145 .next_back() in prev_to() 212 fn next_back(&mut self) -> Option<Range<u64>> { in next_back() method 213 let (&start, &end) = self.inner.next_back()?; in next_back() 249 fn next_back(&mut self) -> Option<u64> { in next_back() method 251 let (&start, &end) = self.inner.next_back()?; in next_back()
|
/external/rust/crates/tinyvec/src/ |
D | arrayvec_drain.rs | 59 fn next_back(&mut self) -> Option<Self::Item> { in next_back() method 60 self.iter.next_back().map(take) in next_back()
|
/external/rust/crates/itertools/src/adaptors/ |
D | map.rs | 53 fn next_back(&mut self) -> Option<Self::Item> { in next_back() function 54 self.iter.next_back().map(|i| self.f.call(i)) in next_back()
|