Home
last modified time | relevance | path

Searched refs:FindConsumer (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/rayon/src/iter/
Dfind.rs11 let consumer = FindConsumer::new(&find_op, &found); in find()
15 struct FindConsumer<'p, P> { struct
20 impl<'p, P> FindConsumer<'p, P> { argument
22 FindConsumer { find_op, found } in new()
26 impl<'p, T, P: 'p> Consumer<T> for FindConsumer<'p, P> implementation
52 impl<'p, T, P: 'p> UnindexedConsumer<T> for FindConsumer<'p, P> implementation
58 FindConsumer::new(self.find_op, self.found) in split_off_left()
/external/rust/crates/rayon/src/iter/find_first_last/
Dmod.rs47 let consumer = FindConsumer::new(&find_op, MatchPosition::Leftmost, &best_found); in find_first()
57 let consumer = FindConsumer::new(&find_op, MatchPosition::Rightmost, &best_found); in find_last()
61 struct FindConsumer<'p, P> { struct
69 impl<'p, P> FindConsumer<'p, P> { argument
71 FindConsumer { in new()
88 impl<'p, T, P> Consumer<T> for FindConsumer<'p, P> implementation
129 impl<'p, T, P> UnindexedConsumer<T> for FindConsumer<'p, P> implementation
150 FindConsumer { in split_off_left()
Dtest.rs8 let far_right_consumer = FindConsumer::new(&find_op, MatchPosition::Leftmost, &first_found); in same_range_first_consumers_return_correct_answer()
44 let consumer = FindConsumer::new(&find_op, MatchPosition::Rightmost, &last_found); in same_range_last_consumers_return_correct_answer()
/external/clang/unittests/Tooling/
DTestVisitor.h81 class FindConsumer : public ASTConsumer {
83 FindConsumer(TestVisitor *Visitor) : Visitor(Visitor) {} in FindConsumer() function
101 return llvm::make_unique<FindConsumer>(Visitor); in CreateASTConsumer()
DRefactoringTest.cpp330 class FindConsumer : public clang::ASTConsumer { class in clang::tooling::__anon4d733f1c0111::TestVisitor
332 FindConsumer(TestVisitor *Visitor) : Visitor(Visitor) {} in FindConsumer() function in clang::tooling::__anon4d733f1c0111::TestVisitor::FindConsumer
352 return llvm::make_unique<FindConsumer>(Visitor); in CreateASTConsumer()
/external/perfetto/src/tracing/internal/
Dtracing_muxer_impl.cc739 auto* consumer = muxer->FindConsumer(session_id); in StartBlocking()
761 auto* consumer = muxer->FindConsumer(session_id); in Flush()
786 auto* consumer = muxer->FindConsumer(session_id); in StopBlocking()
816 auto* consumer = muxer->FindConsumer(session_id); in SetOnStartCallback()
829 auto* consumer = muxer->FindConsumer(session_id); in SetOnErrorCallback()
846 auto* consumer = muxer->FindConsumer(session_id); in SetOnStopCallback()
1889 auto* consumer = FindConsumer(session_id); in SetupTracingSession()
1910 auto* consumer = FindConsumer(session_id); in StartTracingSession()
1941 auto* consumer = FindConsumer(session_id); in ChangeTracingSessionConfig()
1961 auto* consumer = FindConsumer(session_id); in FlushTracingSession()
[all …]
Dtracing_muxer_impl.h468 ConsumerImpl* FindConsumer(TracingSessionGlobalID session_id);