Home
last modified time | relevance | path

Searched refs:with_producer (Results 1 – 25 of 38) sorted by relevance

12

/external/rust/crates/rayon/src/
Dpar_either.rs47 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() function
52 Left(iter) => iter.with_producer(callback), in with_producer()
53 Right(iter) => iter.with_producer(callback), in with_producer()
Ddelegate.rs63 fn with_producer<CB>(self, callback: CB) -> CB::Output
66 self.inner.with_producer(callback)
Drange_inclusive.rs135 fn with_producer<CB>(self, callback: CB) -> CB::Output
139 convert!(self.with_producer(callback))
227 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() method
231 convert_char!(self.with_producer(callback)) in with_producer()
Dvec.rs59 fn with_producer<CB>(mut self, callback: CB) -> CB::Output in with_producer() method
64 self.vec.par_drain(..).with_producer(callback) in with_producer()
116 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() method
Drange.rs108 fn with_producer<CB>(self, callback: CB) -> CB::Output
288 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() method
292 convert_char!(self.with_producer(callback)) in with_producer()
/external/rust/crates/rayon/src/iter/
Dlen.rs57 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() function
61 return self.base.with_producer(Callback { in with_producer()
191 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() function
195 return self.base.with_producer(Callback { in with_producer()
Donce.rs61 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() method
66 Some(self.item).into_par_iter().with_producer(callback) in with_producer()
Dzip.rs65 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() function
69 return self.a.with_producer(CallbackA { in with_producer()
90 self.b.with_producer(CallbackB { in with_producer()
Dzip_eq.rs66 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() function
70 self.zip.with_producer(callback) in with_producer()
Dtake.rs58 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() function
62 return self.base.with_producer(Callback { in with_producer()
Dskip.rs59 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() function
63 return self.base.with_producer(Callback { in with_producer()
Dinterleave_shortest.rs79 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() function
83 self.interleave.with_producer(callback) in with_producer()
Denumerate.rs58 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() function
62 return self.base.with_producer(Callback { callback }); in with_producer()
Drev.rs56 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() function
61 return self.base.with_producer(Callback { callback, len }); in with_producer()
Dstep_by.rs62 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() function
67 return self.base.with_producer(Callback { in with_producer()
Dchain.rs86 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() function
91 return self.a.with_producer(CallbackA { in with_producer()
114 self.b.with_producer(CallbackB { in with_producer()
Dinterleave.rs69 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() function
74 return self.i.with_producer(CallbackI { in with_producer()
101 self.j.with_producer(CallbackJ { in with_producer()
Dchunks.rs66 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() function
71 return self.i.with_producer(Callback { in with_producer()
Dmultizip.rs222 fn with_producer<CB>(self, callback: CB) -> CB::Output
228 .with_producer(callback)
Dcopied.rs65 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() function
69 return self.base.with_producer(Callback { callback }); in with_producer()
Dcloned.rs65 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() function
69 return self.base.with_producer(Callback { callback }); in with_producer()
/external/rust/crates/rayon/src/iter/plumbing/
DREADME.md151 The way we do this is by invoking the method `with_producer()`, defined on
156 base_iter.with_producer(|base_producer| {
176 fn with_producer<CB>(self, callback: CB) -> CB::Output {
178 self.base_iter.with_producer(|base_producer| {
202 The `with_producer` method can also create resources that are needed
208 would have to have. If we were going to write the `with_producer`
214 fn with_producer<CB, R>(self, callback: CB) -> R
232 fn with_producer<CB, R>(self, callback: CB) -> R
237 // so it will be different for each call to `with_producer`!
245 `with_producer` and hence is not in scope at the impl level.
[all …]
/external/rust/crates/rayon/src/collections/
Dbinary_heap.rs103 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() method
109 .with_producer(callback) in with_producer()
Dvec_deque.rs140 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() method
147 .with_producer(callback) in with_producer()
/external/rust/crates/rayon/src/slice/
Dmod.rs539 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() method
605 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() method
695 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() method
776 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() method
850 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() method
913 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() method
1020 fn with_producer<CB>(self, callback: CB) -> CB::Output in with_producer() method

12