Home
last modified time | relevance | path

Searched refs:peeking_take_while (Results 1 – 15 of 15) sorted by relevance

/external/rust/crates/itertools/tests/
Dpeeking_take_while.rs7 r.peeking_take_while(|x| *x <= 3).count(); in peeking_take_while_peekable()
14 r.peeking_take_while(|x| *x <= 3).count(); in peeking_take_while_put_back()
16 r.peeking_take_while(|_| true).count(); in peeking_take_while_put_back()
26 r.peeking_take_while(|x| *x <= 3).count(); in peeking_take_while_put_back_n()
28 r.peeking_take_while(|_| true).count(); in peeking_take_while_put_back_n()
36 r.peeking_take_while(|x| **x <= 3).count(); in peeking_take_while_slice_iter()
38 r.peeking_take_while(|_| true).count(); in peeking_take_while_slice_iter()
46 r.peeking_take_while(|x| **x >= 3).count(); in peeking_take_while_slice_iter_rev()
48 r.peeking_take_while(|_| true).count(); in peeking_take_while_slice_iter_rev()
/external/rust/crates/peeking_take_while/
DREADME.md1 # `peeking_take_while`
3 …s](https://travis-ci.org/fitzgen/peeking_take_while.png?branch=master)](https://travis-ci.org/fitz…
5 Provides the `peeking_take_while` iterator adaptor method.
7 The `peeking_take_while` method is very similar to `take_while`, but behaves
11 `peeking_take_while` peeks at the next item in the iterator and runs the
18 extern crate peeking_take_while;
20 // Bring the `peeking_take_while` method for peekable iterators into
22 use peeking_take_while::PeekableExt;
28 // `ys`, we will use `peeking_take_while`.
44 let ys_less_than_ten = iter_ys.by_ref().peeking_take_while(|y| *y < 10);
[all …]
DMETADATA1 name: "peeking_take_while"
6 value: "https://crates.io/crates/peeking_take_while"
10 value: "https://static.crates.io/crates/peeking_take_while/peeking_take_while-0.1.2.crate"
DCargo.toml7 name = "peeking_take_while"
9 repository = "https://github.com/fitzgen/peeking_take_while"
14 repository = "fitzgen/peeking_take_while"
DAndroid.bp44 crate_name: "peeking_take_while",
51 crate_name: "peeking_take_while",
/external/rust/crates/peeking_take_while/src/
Dlib.rs101 fn peeking_take_while<P>(&'a mut self, predicate: P) -> PeekingTakeWhile<'a, I, P> in peeking_take_while() method
109 fn peeking_take_while<P>(&'a mut self, predicate: P) -> PeekingTakeWhile<I, P> in peeking_take_while() function
/external/rust/crates/itertools/src/
Dlib.rs134 pub use crate::peeking_take_while::PeekingTakeWhile;
172 pub use crate::peeking_take_while::PeekingNext;
215 mod peeking_take_while; module
1216 fn peeking_take_while<F>(&mut self, accept: F) -> PeekingTakeWhile<Self, F> in peeking_take_while() method
1220 peeking_take_while::peeking_take_while(self, accept) in peeking_take_while()
Dpeeking_take_while.rs87 pub fn peeking_take_while<I, F>(iter: &mut I, f: F) -> PeekingTakeWhile<I, F> in peeking_take_while() function
/external/rust/crates/bindgen/
DCargo.toml.orig55 peeking_take_while = "0.1.2"
DCargo.lock47 "peeking_take_while",
203 name = "peeking_take_while"
DCargo.toml65 [dependencies.peeking_take_while]
DAndroid.bp124 // peeking_take_while-0.1.2
/external/rust/crates/grpcio-sys/
DAndroid.bp125 // peeking_take_while-0.1.2
/external/rust/crates/bindgen/src/ir/
Dcomp.rs17 use peeking_take_while::PeekableExt;
515 .peeking_take_while(|f| f.bitfield_width().is_none()) in raw_fields_to_fields_and_bitfield_units()
525 .peeking_take_while(|f| f.bitfield_width().is_some()) in raw_fields_to_fields_and_bitfield_units()
/external/rust/crates/itertools/
DCHANGELOG.md144 - Add iterator adaptor `.peeking_take_while()` and its trait `PeekingNext`.