Home
last modified time | relevance | path

Searched refs:TryFold (Results 1 – 12 of 12) sorted by relevance

/external/rust/crates/futures-util/src/stream/try_stream/
Dtry_fold.rs12 pub struct TryFold<St, Fut, T, F> {
22 impl<St, Fut, T, F> fmt::Debug for TryFold<St, Fut, T, F> implementation
37 impl<St, Fut, T, F> TryFold<St, Fut, T, F> implementation
52 impl<St, Fut, T, F> FusedFuture for TryFold<St, Fut, T, F> implementation
62 impl<St, Fut, T, F> Future for TryFold<St, Fut, T, F> implementation
Dmod.rs98 pub use self::try_fold::TryFold;
731 fn try_fold<T, Fut, F>(self, init: T, f: F) -> TryFold<Self, Fut, T, F> in try_fold()
737 assert_future::<Result<T, Self::Error>, _>(TryFold::new(self, f, init)) in try_fold()
/external/rust/crates/rayon/src/iter/
Dtry_fold.rs8 impl<U, I, ID, F> TryFold<I, U, ID, F> impl
16 TryFold { in new()
32 pub struct TryFold<I, U, ID, F> { struct
39 impl<U, I: ParallelIterator + Debug, ID, F> Debug for TryFold<I, U, ID, F> { argument
45 impl<U, I, ID, F> ParallelIterator for TryFold<I, U, ID, F> implementation
Dmod.rs185 try_fold::{TryFold, TryFoldWith},
1310 fn try_fold<T, R, ID, F>(self, identity: ID, fold_op: F) -> TryFold<Self, R, ID, F> in try_fold()
1316 TryFold::new(self, identity, fold_op) in try_fold()
/external/rust/crates/futures-util/src/stream/
Dmod.rs52 TryCollect, TryConcat, TryFilter, TryFilterMap, TryFlatten, TryFold, TryForEach, TryNext,
/external/rust/crates/futures/tests/
Dauto_traits.rs1664 assert_impl!(TryFold<(), (), (), ()>: Send);
1665 assert_not_impl!(TryFold<*const (), (), (), ()>: Send);
1666 assert_not_impl!(TryFold<(), *const (), (), ()>: Send);
1667 assert_not_impl!(TryFold<(), (), *const (), ()>: Send);
1668 assert_not_impl!(TryFold<(), (), (), *const ()>: Send);
1669 assert_impl!(TryFold<(), (), (), ()>: Sync);
1670 assert_not_impl!(TryFold<*const (), (), (), ()>: Sync);
1671 assert_not_impl!(TryFold<(), *const (), (), ()>: Sync);
1672 assert_not_impl!(TryFold<(), (), *const (), ()>: Sync);
1673 assert_not_impl!(TryFold<(), (), (), *const ()>: Sync);
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp493 bool TryFold = false; in insertSelect() local
497 TryFold = true; in insertSelect()
501 TryFold = true; in insertSelect()
512 if (TryFold) { in insertSelect()
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp3378 auto TryFold = [this, N, User, dl](SDValue Val) { in foldBoolExts() local
3388 SDValue TrueRes = TryFold(ConstTrue); in foldBoolExts()
3391 SDValue FalseRes = TryFold(ConstFalse); in foldBoolExts()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp625 bool TryFold = false; in insertSelect() local
629 TryFold = true; in insertSelect()
633 TryFold = true; in insertSelect()
644 if (TryFold) { in insertSelect()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp742 bool TryFold = false; in insertSelect() local
746 TryFold = true; in insertSelect()
750 TryFold = true; in insertSelect()
761 if (TryFold) { in insertSelect()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp5546 auto TryFold = [this, N, User, dl](SDValue Val) { in foldBoolExts() local
5558 SDValue TrueRes = TryFold(ConstTrue); in foldBoolExts()
5561 SDValue FalseRes = TryFold(ConstFalse); in foldBoolExts()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp5698 auto TryFold = [this, N, User, dl](SDValue Val) { in foldBoolExts() local
5709 SDValue TrueRes = TryFold(ConstTrue); in foldBoolExts()
5712 SDValue FalseRes = TryFold(ConstFalse); in foldBoolExts()