Home
last modified time | relevance | path

Searched refs:alarm_ (Results 1 – 4 of 4) sorted by relevance

/external/grpc-grpc/include/grpcpp/
Dalarm.h70 Alarm(Alarm&& rhs) : alarm_(rhs.alarm_) { rhs.alarm_ = nullptr; } in Alarm()
72 alarm_ = rhs.alarm_;
73 rhs.alarm_ = nullptr;
86 explicit experimental_type(Alarm* alarm) : alarm_(alarm) {} in experimental_type()
93 alarm_->SetInternal(TimePoint<T>(deadline).raw_time(), std::move(f)); in Set()
97 Alarm* alarm_;
109 internal::CompletionQueueTag* alarm_; variable
/external/grpc-grpc/src/cpp/common/
Dalarm.cc119 Alarm::Alarm() : alarm_(new internal::AlarmImpl()) { in Alarm()
129 static_cast<internal::AlarmImpl*>(alarm_)->Set(cq, deadline, tag); in SetInternal()
138 static_cast<internal::AlarmImpl*>(alarm_)->Set(deadline, std::move(f)); in SetInternal()
142 if (alarm_ != nullptr) { in ~Alarm()
143 static_cast<internal::AlarmImpl*>(alarm_)->Destroy(); in ~Alarm()
147 void Alarm::Cancel() { static_cast<internal::AlarmImpl*>(alarm_)->Cancel(); } in Cancel()
/external/grpc-grpc/test/cpp/qps/
Dclient_async.cc122 std::unique_ptr<Alarm> alarm_; member in grpc::testing::ClientRpcContextUnaryImpl
143 alarm_.reset(new Alarm); in StartInternal()
144 alarm_->Set(cq_, next_issue_(), ClientRpcContext::tag(this)); in StartInternal()
372 alarm_.reset(new Alarm); in RunNextState()
373 alarm_->Set(cq_, next_issue_(), ClientRpcContext::tag(this)); in RunNextState()
437 std::unique_ptr<Alarm> alarm_; member in grpc::testing::ClientRpcContextStreamingPingPongImpl
556 alarm_.reset(new Alarm); in RunNextState()
557 alarm_->Set(cq_, next_issue_(), ClientRpcContext::tag(this)); in RunNextState()
592 std::unique_ptr<Alarm> alarm_; member in grpc::testing::ClientRpcContextStreamingFromClientImpl
712 std::unique_ptr<Alarm> alarm_; member in grpc::testing::ClientRpcContextStreamingFromServerImpl
[all …]
/external/webrtc/webrtc/modules/video_capture/test/
Dvideo_capture_unittest.cc201 alarm_(webrtc::Cleared) { in TestVideoCaptureFeedBack()
213 alarm_ = reported_alarm; in OnNoPictureAlarm()
222 return alarm_; in alarm()
228 VideoCaptureAlarm alarm_; member in TestVideoCaptureFeedBack