Home
last modified time | relevance | path

Searched refs:FromA (Results 1 – 8 of 8) sorted by relevance

/external/rust/crates/futures-util/src/stream/stream/
Dunzip.rs13 pub struct Unzip<St, FromA, FromB> {
16 left: FromA,
21 impl<St: Stream, FromA: Default, FromB: Default> Unzip<St, FromA, FromB> {
22 fn finish(self: Pin<&mut Self>) -> (FromA, FromB) { in finish() argument
39 impl<St, A, B, FromA, FromB> FusedFuture for Unzip<St, FromA, FromB>
41 FromA: Default + Extend<A>,
49 impl<St, A, B, FromA, FromB> Future for Unzip<St, FromA, FromB>
51 FromA: Default + Extend<A>,
54 type Output = (FromA, FromB);
56 fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<(FromA, FromB)> { in poll() argument
Dmod.rs516 fn unzip<A, B, FromA, FromB>(self) -> Unzip<Self, FromA, FromB> in unzip() argument
518 FromA: Default + Extend<A>, in unzip()
522 assert_future::<(FromA, FromB), _>(Unzip::new(self)) in unzip()
/external/rust/crates/rayon/src/iter/
Dunzip.rs29 fn execute<I, OP, FromA, FromB>(pi: I, op: OP) -> (FromA, FromB) in execute() argument
33 FromA: Default + Send + ParallelExtend<OP::Left>, in execute()
36 let mut a = FromA::default(); in execute()
43 fn execute_into<I, OP, FromA, FromB>(a: &mut FromA, b: &mut FromB, pi: I, op: OP) in execute_into() argument
47 FromA: Send + ParallelExtend<OP::Left>, in execute_into()
61 pub(super) fn unzip<I, A, B, FromA, FromB>(pi: I) -> (FromA, FromB) in unzip() argument
64 FromA: Default + Send + ParallelExtend<A>, in unzip()
413 impl<A, B, FromA, FromB> ParallelExtend<(A, B)> for (FromA, FromB)
417 FromA: Send + ParallelExtend<A>,
Dmod.rs2010 fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB) in unzip() argument
2013 FromA: Default + Send + ParallelExtend<A>, in unzip()
/external/rust/crates/fallible-iterator/src/
Dlib.rs706 fn unzip<A, B, FromA, FromB>(self) -> Result<(FromA, FromB), Self::Error> in unzip() argument
709 FromA: Default + Extend<A>, in unzip()
712 let mut from_a = FromA::default(); in unzip()
/external/clang/test/SemaCXX/
Dconstant-expression-cxx11.cpp1143 constexpr int get(bool FromA) { return FromA ? A().get() : 1; } in get() argument
/external/llvm-project/clang/test/SemaCXX/
Dconstant-expression-cxx11.cpp1258 constexpr int get(bool FromA) { return FromA ? A().get() : 1; } in get() argument
/external/llvm-project/clang/unittests/AST/
DASTImporterTest.cpp4960 auto *FromA = FirstDeclMatcher<CXXRecordDecl>().match( in TEST_P() local
4971 EXPECT_FALSE(Import(FromA, Lang_CXX03)); in TEST_P()
4983 OptErr = Importer->getImportDeclErrorIfAny(FromA); in TEST_P()