Home
last modified time | relevance | path

Searched refs:Alarm (Results 1 – 25 of 57) sorted by relevance

123

/external/grpc-grpc/include/grpcpp/
Dalarm.h36 class Alarm : private GrpcLibraryCodegen {
39 Alarm();
42 ~Alarm();
52 Alarm(CompletionQueue* cq, const T& deadline, void* tag) : Alarm() { in Alarm() function
66 Alarm(const Alarm&) = delete;
67 Alarm& operator=(const Alarm&) = delete;
70 Alarm(Alarm&& rhs) : alarm_(rhs.alarm_) { rhs.alarm_ = nullptr; } in Alarm() function
71 Alarm& operator=(Alarm&& rhs) {
86 explicit experimental_type(Alarm* alarm) : alarm_(alarm) {} in experimental_type()
97 Alarm* alarm_;
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/
Dalarm.h35 class Alarm : private ::grpc::GrpcLibraryCodegen {
38 Alarm();
41 ~Alarm() override;
51 Alarm(::grpc::CompletionQueue* cq, const T& deadline, void* tag) : Alarm() { in Alarm() function
65 Alarm(const Alarm&) = delete;
66 Alarm& operator=(const Alarm&) = delete;
69 Alarm(Alarm&& rhs) noexcept : alarm_(rhs.alarm_) { rhs.alarm_ = nullptr; } in Alarm() function
70 Alarm& operator=(Alarm&& rhs) noexcept {
95 explicit experimental_type(Alarm* alarm) : alarm_(alarm) {} in experimental_type()
107 Alarm* alarm_;
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/
Dalarm.h35 class Alarm : private ::grpc::GrpcLibraryCodegen {
38 Alarm();
41 ~Alarm() override;
51 Alarm(::grpc::CompletionQueue* cq, const T& deadline, void* tag) : Alarm() { in Alarm() function
65 Alarm(const Alarm&) = delete;
66 Alarm& operator=(const Alarm&) = delete;
69 Alarm(Alarm&& rhs) noexcept : alarm_(rhs.alarm_) { rhs.alarm_ = nullptr; } in Alarm() function
70 Alarm& operator=(Alarm&& rhs) noexcept {
95 explicit experimental_type(Alarm* alarm) : alarm_(alarm) {} in experimental_type()
107 Alarm* alarm_;
/external/openscreen/util/
Dalarm.h34 class Alarm {
36 Alarm(ClockNowFunctionPtr now_function, TaskRunner* task_runner);
37 ~Alarm();
40 Alarm(const Alarm&) = delete;
41 Alarm& operator=(const Alarm&) = delete;
42 Alarm(Alarm&&) = delete;
43 Alarm& operator=(Alarm&&) = delete;
Dalarm.cc11 class Alarm::CancelableFunctor {
13 explicit CancelableFunctor(Alarm* alarm) : alarm_(alarm) { in CancelableFunctor()
58 Alarm* alarm_;
61 Alarm::Alarm(ClockNowFunctionPtr now_function, TaskRunner* task_runner) in Alarm() function in openscreen::Alarm
67 Alarm::~Alarm() { in ~Alarm()
74 void Alarm::Cancel() { in Cancel()
78 void Alarm::ScheduleWithTask(TaskRunner::Task task, in ScheduleWithTask()
98 void Alarm::InvokeLater(Clock::time_point now, Clock::time_point fire_time) { in InvokeLater()
105 void Alarm::TryInvoke() { in TryInvoke()
127 constexpr Clock::time_point Alarm::kImmediately;
Dalarm_unittest.cc22 Alarm* alarm() { return &alarm_; } in alarm()
27 Alarm alarm_{&FakeClock::now, &task_runner_};
56 Alarm::kImmediately); in TEST_F()
76 Alarm scoped_alarm(&FakeClock::now, task_runner()); in TEST_F()
/external/grpc-grpc/test/cpp/common/
Dalarm_test.cc37 Alarm alarm; in TEST()
57 Alarm alarm; in TEST()
75 Alarm alarm; in TEST()
92 Alarm alarm; in TEST()
116 Alarm alarm; in TEST()
137 Alarm alarm(&cq, grpc_timeout_seconds_to_deadline(1), junk); in TEST()
152 Alarm first; in TEST()
154 Alarm second(std::move(first)); in TEST()
167 Alarm first; in TEST()
169 Alarm second(std::move(first)); in TEST()
[all …]
/external/grpc-grpc/src/cpp/common/
Dalarm.cc119 Alarm::Alarm() : alarm_(new internal::AlarmImpl()) { in Alarm() function in grpc::Alarm
123 void Alarm::SetInternal(CompletionQueue* cq, gpr_timespec deadline, void* tag) { in SetInternal()
132 void Alarm::SetInternal(gpr_timespec deadline, std::function<void(bool)> f) { in SetInternal()
141 Alarm::~Alarm() { in ~Alarm()
147 void Alarm::Cancel() { static_cast<internal::AlarmImpl*>(alarm_)->Cancel(); } in Cancel()
/external/rust/crates/grpcio-sys/grpc/src/cpp/common/
Dalarm.cc131 Alarm::Alarm() : alarm_(new internal::AlarmImpl()) { in Alarm() function in grpc::Alarm
135 void Alarm::SetInternal(::grpc::CompletionQueue* cq, gpr_timespec deadline, in SetInternal()
145 void Alarm::SetInternal(gpr_timespec deadline, std::function<void(bool)> f) { in SetInternal()
154 Alarm::~Alarm() { in ~Alarm()
160 void Alarm::Cancel() { static_cast<internal::AlarmImpl*>(alarm_)->Cancel(); } in Cancel()
/external/openscreen/cast/standalone_sender/
Dsimulated_capturer.cc83 Alarm::kImmediately); in SimulatedCapturer()
109 Alarm::kImmediately); in OnError()
130 Alarm::kImmediately); in StartDecodingNextFrame()
142 Alarm::kImmediately); in StartDecodingNextFrame()
158 Alarm::kImmediately); in StartDecodingNextFrame()
170 Alarm::kImmediately); in ConsumeNextDecodedFrame()
192 Alarm::kImmediately); in ConsumeNextDecodedFrame()
Dlooping_file_sender.h81 Alarm next_task_;
82 Alarm console_update_task_;
Dlooping_file_sender.cc39 next_task_.Schedule([this] { SendFileAgain(); }, Alarm::kImmediately); in __anonf624c3560102()
159 next_task_.Schedule([this] { SendFileAgain(); }, Alarm::kImmediately); in OnEndOfFile()
Dreceiver_chooser.h56 Alarm menu_alarm_;
/external/openscreen/cast/standalone_receiver/
Dsdl_player_base.h167 Alarm decode_alarm_;
168 Alarm render_alarm_;
169 Alarm presentation_alarm_;
Dsdl_glue.cc19 alarm_.Schedule([this] { ProcessPendingEvents(); }, Alarm::kImmediately); in SDLEventLoopProcessor()
/external/openscreen/cast/streaming/
Dreceiver.h263 void ScheduleFrameReadyCheck(Clock::time_point when = Alarm::kImmediately);
284 Alarm rtcp_alarm_;
344 Alarm consumption_alarm_;
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_rtc.c782 assert_param(IS_RTC_ALARM(sAlarm->Alarm)); in HAL_RTC_SetAlarm()
869 if(sAlarm->Alarm == RTC_ALARM_A) in HAL_RTC_SetAlarm()
966 assert_param(IS_RTC_ALARM(sAlarm->Alarm)); in HAL_RTC_SetAlarm_IT()
1050 if(sAlarm->Alarm == RTC_ALARM_A) in HAL_RTC_SetAlarm_IT()
1144 HAL_StatusTypeDef HAL_RTC_DeactivateAlarm(RTC_HandleTypeDef *hrtc, uint32_t Alarm) in HAL_RTC_DeactivateAlarm() argument
1149 assert_param(IS_RTC_ALARM(Alarm)); in HAL_RTC_DeactivateAlarm()
1159 if(Alarm == RTC_ALARM_A) in HAL_RTC_DeactivateAlarm()
1238 …AL_RTC_GetAlarm(RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Alarm, uint32_t Format) in HAL_RTC_GetAlarm() argument
1244 assert_param(IS_RTC_ALARM(Alarm)); in HAL_RTC_GetAlarm()
1246 if(Alarm == RTC_ALARM_A) in HAL_RTC_GetAlarm()
[all …]
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Drivers/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_rtc.c782 assert_param(IS_RTC_ALARM(sAlarm->Alarm)); in HAL_RTC_SetAlarm()
869 if(sAlarm->Alarm == RTC_ALARM_A) in HAL_RTC_SetAlarm()
966 assert_param(IS_RTC_ALARM(sAlarm->Alarm)); in HAL_RTC_SetAlarm_IT()
1050 if(sAlarm->Alarm == RTC_ALARM_A) in HAL_RTC_SetAlarm_IT()
1144 HAL_StatusTypeDef HAL_RTC_DeactivateAlarm(RTC_HandleTypeDef *hrtc, uint32_t Alarm) in HAL_RTC_DeactivateAlarm() argument
1149 assert_param(IS_RTC_ALARM(Alarm)); in HAL_RTC_DeactivateAlarm()
1159 if(Alarm == RTC_ALARM_A) in HAL_RTC_DeactivateAlarm()
1238 …AL_RTC_GetAlarm(RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Alarm, uint32_t Format) in HAL_RTC_GetAlarm() argument
1244 assert_param(IS_RTC_ALARM(Alarm)); in HAL_RTC_GetAlarm()
1246 if(Alarm == RTC_ALARM_A) in HAL_RTC_GetAlarm()
[all …]
/external/libchrome/base/threading/
Dwatchdog_unittest.cc32 void Alarm() override { in Alarm() function in base::__anona3f49f4f0111::WatchdogCounter
34 Watchdog::Alarm(); in Alarm()
Dwatchdog.cc110 void Watchdog::Alarm() { in Alarm() function in base::Watchdog
155 watchdog_->Alarm(); // Set a break point here to debug on alarms. in ThreadMain()
/external/openscreen/discovery/mdns/
Dmdns_publisher.h135 Alarm alarm_;
187 absl::optional<Alarm> batch_records_alarm_;
/external/grpc-grpc/src/cpp/server/load_reporter/
Dload_reporter_async_service_impl.h169 std::unique_ptr<Alarm> next_report_alarm_;
188 std::unique_ptr<Alarm> next_fetch_and_sample_alarm_;
/external/rust/crates/grpcio-sys/grpc/src/cpp/server/load_reporter/
Dload_reporter_async_service_impl.h170 std::unique_ptr<Alarm> next_report_alarm_;
189 std::unique_ptr<Alarm> next_fetch_and_sample_alarm_;
/external/grpc-grpc/test/cpp/qps/
Dclient_async.cc122 std::unique_ptr<Alarm> alarm_;
143 alarm_.reset(new Alarm); in StartInternal()
372 alarm_.reset(new Alarm); in RunNextState()
437 std::unique_ptr<Alarm> alarm_;
556 alarm_.reset(new Alarm); in RunNextState()
592 std::unique_ptr<Alarm> alarm_;
712 std::unique_ptr<Alarm> alarm_;
802 alarm_.reset(new Alarm); in RunNextState()
857 std::unique_ptr<Alarm> alarm_;
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_rtc.h174 uint32_t Alarm; /*!< Specifies the alarm . member
680 HAL_StatusTypeDef HAL_RTC_DeactivateAlarm(RTC_HandleTypeDef *hrtc, uint32_t Alarm);
681 …L_RTC_GetAlarm(RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Alarm, uint32_t Format);

123