/external/libchrome/base/timer/ |
D | timer.cc | 27 : timer_(timer) { in BaseTimerTaskInternal() 34 if (timer_) in ~BaseTimerTaskInternal() 35 timer_->AbandonAndStop(); in ~BaseTimerTaskInternal() 40 if (!timer_) in Run() 44 timer_->scheduled_task_ = nullptr; in Run() 48 Timer* timer = timer_; in Run() 49 timer_ = nullptr; in Run() 54 void Abandon() { timer_ = nullptr; } in Abandon() 57 Timer* timer_; member in base::BaseTimerTaskInternal
|
D | timer_unittest.cc | 71 timer_->Start(FROM_HERE, delay_, this, &OneShotTimerTesterBase::Run); in Start() 74 bool IsRunning() { return timer_->IsRunning(); } in IsRunning() 87 std::unique_ptr<OneShotTimer> timer_ = std::make_unique<OneShotTimer>(); member in base::__anon30b8a4280111::OneShotTimerTesterBase 111 timer_->SetTaskRunner(std::move(task_runner)); in SetTaskRunner() 149 void OnRun() override { timer_.reset(); } in OnRun() 164 timer_.Start(FROM_HERE, delay_, this, &RepeatingTimerTester::Run); in Start() 181 timer_.Stop(); in Run() 186 RepeatingTimer timer_; member in base::__anon30b8a4280111::RepeatingTimerTester 325 : timer_(timer), target_(target) {} in ResetHelper() 329 timer_->Reset(); in Reset() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/stream_executor/tpu/ |
D | tpu_timer.h | 28 explicit TpuTimer(SE_Timer* timer) : timer_(timer) {} in TpuTimer() 30 tensorflow::tpu::ExecutorApiFn()->TpuTimer_FreeFn(timer_); in ~TpuTimer() 33 return tensorflow::tpu::ExecutorApiFn()->TpuTimer_MicrosecondsFn(timer_); in Microseconds() 36 return tensorflow::tpu::ExecutorApiFn()->TpuTimer_NanosecondsFn(timer_); in Nanoseconds() 40 SE_Timer* timer_;
|
/external/webrtc/net/dcsctp/rx/ |
D | data_tracker_test.cc | 43 timer_(timer_manager_.CreateTimer( 48 std::make_unique<DataTracker>("log: ", timer_.get(), kInitialTSN)) { 70 std::make_unique<DataTracker>("log: ", timer_.get(), kInitialTSN); in HandoverTracker() 77 std::unique_ptr<Timer> timer_; member in dcsctp::__anon58bc42630111::DataTrackerTest 332 EXPECT_FALSE(timer_->is_running()); in TEST_F() 339 EXPECT_FALSE(timer_->is_running()); in TEST_F() 343 EXPECT_TRUE(timer_->is_running()); in TEST_F() 347 EXPECT_FALSE(timer_->is_running()); in TEST_F() 351 EXPECT_TRUE(timer_->is_running()); in TEST_F() 355 EXPECT_FALSE(timer_->is_running()); in TEST_F() [all …]
|
/external/cronet/base/timer/ |
D | wall_clock_timer.cc | 19 : timer_(tick_clock), clock_(clock ? clock : DefaultClock::GetInstance()) {} in WallClockTimer() 32 timer_.Start(posted_from_, desired_run_time_ - Now(), this, in Start() 37 timer_.Stop(); in Stop() 43 return timer_.IsRunning(); in IsRunning() 48 timer_.Start(posted_from_, desired_run_time_ - Now(), this, in OnResume()
|
D | hi_res_timer_manager_win.cc | 51 timer_.Start(FROM_HERE, kUsageSampleInterval, in HighResolutionTimerManager() 72 timer_.Stop(); in OnSuspend() 79 timer_.Reset(); in OnResume()
|
/external/icing/icing/util/ |
D | clock.h | 83 : timer_(std::move(timer)), callback_(std::move(callback)), unit_(unit) {} in timer_() function 87 callback_(timer_->GetElapsedMilliseconds()); in ~ScopedTimer() 89 callback_(timer_->GetElapsedNanoseconds()); in ~ScopedTimer() 93 const Timer& timer() const { return *timer_; } in timer() 96 std::unique_ptr<Timer> timer_;
|
/external/pigweed/pw_rpc/fuzz/public/pw_rpc/fuzz/ |
D | alarm_timer.h | 27 : timer_(std::move(on_timeout)) {} in AlarmTimer() 44 timer_.InvokeAfter(timeout_); in Restart() 49 void Cancel() { timer_.Cancel(); } in Cancel() 52 chrono::SystemTimer timer_;
|
/external/cronet/components/metrics/ |
D | metrics_scheduler.cc | 40 if (timer_.IsRunning()) in Stop() 41 timer_.Stop(); in Stop() 68 if (timer_.IsRunning() || callback_pending_) in ScheduleNextTask() 71 timer_.Start(FROM_HERE, interval_, this, &MetricsScheduler::TriggerTask); in ScheduleNextTask()
|
/external/cronet/net/reporting/ |
D | reporting_garbage_collector.cc | 30 : context_(context), timer_(std::make_unique<base::OneShotTimer>()) { in ReportingGarbageCollectorImpl() 41 timer_ = std::move(timer); in SetTimerForTesting() 86 if (timer_->IsRunning()) in EnsureTimerIsRunning() 89 timer_->Start(FROM_HERE, context_->policy().garbage_collection_interval, in EnsureTimerIsRunning() 95 std::unique_ptr<base::OneShotTimer> timer_; member in net::__anon75e0b44b0111::ReportingGarbageCollectorImpl
|
/external/cronet/net/quic/ |
D | quic_chromium_alarm_factory.cc | 32 timer_(std::make_unique<base::OneShotTimer>(this)) { in QuicChromeAlarm() 33 timer_->SetTaskRunner(task_runner); in QuicChromeAlarm() 40 timer_->Start(FROM_HERE, base::Microseconds(delay_us), on_alarm_callback_); in SetImpl() 45 timer_->Stop(); in CancelImpl() 72 const std::unique_ptr<base::OneShotTimer> timer_; member in net::__anond6f29b530111::QuicChromeAlarm
|
/external/grpc-grpc/src/cpp/common/ |
D | alarm.cc | 41 grpc_timer_init_unset(&timer_); in AlarmImpl() 71 grpc_timer_init(&timer_, grpc_timespec_to_millis_round_up(deadline), in Set() 86 grpc_timer_init(&timer_, grpc_timespec_to_millis_round_up(deadline), in Set() 91 grpc_timer_cancel(&timer_); in Cancel() 106 grpc_timer timer_; member in grpc::internal::AlarmImpl
|
/external/rust/crates/grpcio-sys/grpc/src/cpp/common/ |
D | alarm.cc | 42 grpc_timer_init_unset(&timer_); in AlarmImpl() 74 grpc_timer_init(&timer_, grpc_timespec_to_millis_round_up(deadline), in Set() 97 grpc_timer_init(&timer_, grpc_timespec_to_millis_round_up(deadline), in Set() 103 grpc_timer_cancel(&timer_); in Cancel() 118 grpc_timer timer_; member in grpc::internal::AlarmImpl
|
/external/webrtc/modules/audio_coding/neteq/ |
D | expand_uma_logger.cc | 32 timer_(GetNewCountdown(tick_timer_, logging_period_s_)) { in ExpandUmaLogger() 53 if (!timer_->Finished()) { in UpdateSampleCounter() 68 timer_ = GetNewCountdown(tick_timer_, logging_period_s_); in UpdateSampleCounter()
|
/external/grpc-grpc/test/cpp/qps/ |
D | server.h | 43 : timer_(new UsageTimer), last_reset_poll_count_(0) { in Server() 59 timer.swap(timer_); in Mark() 63 timer_result = timer_->Mark(); in Mark() 148 std::unique_ptr<UsageTimer> timer_; variable
|
/external/libchrome/components/timers/ |
D | alarm_timer_unittest.cc | 38 timer_(new timers::SimpleAlarmTimer()) {} in AlarmTimerTester() 40 timer_->Start( in Start() 55 std::unique_ptr<timers::SimpleAlarmTimer> timer_; member in timers::__anonc81db9b20111::AlarmTimerTester 68 timer_(new timers::SimpleAlarmTimer()) {} in SelfDeletingAlarmTimerTester() 70 timer_->Start(FROM_HERE, delay_, in Start() 78 timer_.reset(); in Run() 87 std::unique_ptr<timers::SimpleAlarmTimer> timer_; member in timers::__anonc81db9b20111::SelfDeletingAlarmTimerTester
|
/external/libchrome/base/files/ |
D | important_file_writer.h | 122 : timer_; in timer() 124 Timer& timer() { return timer_override_ ? *timer_override_ : timer_; } in timer() 139 OneShotTimer timer_; variable
|
/external/cronet/net/spdy/ |
D | bidirectional_stream_spdy_impl.cc | 53 timer_ = std::move(timer); in Start() 88 DCHECK(!timer_->IsRunning()) << "There should be only one ReadData in flight"; in ReadData() 269 timer_->Stop(); in OnClose() 348 if (timer_->IsRunning()) { in ScheduleBufferedRead() 354 timer_->Start(FROM_HERE, base::Milliseconds(kBufferTimeMs), in ScheduleBufferedRead() 360 DCHECK(!timer_->IsRunning()); in DoBufferedRead()
|
/external/webrtc/rtc_base/ |
D | task_queue_win.cc | 177 MultimediaTimer timer_; member in webrtc::__anon5bbcb3360111::TaskQueueWin 265 HANDLE handles[2] = {*timer_.event_for_wait(), in_queue_}; in RunThreadMain() 281 ::WaitForSingleObject(*timer_.event_for_wait(), 0) == WAIT_OBJECT_0)) { in RunThreadMain() 283 timer_.Cancel(); in RunThreadMain() 363 if (!timer_.StartOneShotTimer(milliseconds)) in ScheduleNextTimer() 368 timer_.Cancel(); in CancelTimers()
|
/external/cronet/components/cronet/ |
D | host_cache_persistence_manager.cc | 47 timer_.Stop(); in ~HostCachePersistenceManager() 69 if (timer_.IsRunning()) in ScheduleWrite() 73 timer_.Start(FROM_HERE, delay_, in ScheduleWrite()
|
/external/cronet/net/websockets/ |
D | websocket_stream.cc | 175 timer_ = std::move(timer); in Start() 176 timer_->Start(FROM_HERE, timeout, in Start() 183 DCHECK(timer_); in PerformUpgrade() 186 timer_->Stop(); in PerformUpgrade() 225 DCHECK(timer_); in ReportFailure() 226 timer_->Stop(); in ReportFailure() 295 std::unique_ptr<base::OneShotTimer> timer_; member in net::__anon7399aef50111::WebSocketStreamRequestImpl
|
/external/cronet/net/socket/ |
D | connect_job.cc | 112 timer_.Start(FROM_HERE, timeout_duration_, this, &ConnectJob::OnTimeout); in Connect() 178 timer_.Stop(); in ResetTimer() 180 timer_.Start(FROM_HERE, remaining_time, this, &ConnectJob::OnTimeout); in ResetTimer() 184 return timer_.IsRunning(); in TimerIsRunning()
|
/external/libcxx/utils/google-benchmark/src/ |
D | benchmark.cc | 138 timer_(timer), in State() 171 timer_->StopTimer(); in PauseTiming() 176 timer_->StartTimer(); in ResumeTiming() 190 if (timer_->running()) timer_->StopTimer(); in SkipWithError() 194 timer_->SetIterationTime(seconds); in SetIterationTime()
|
/external/google-benchmark/src/ |
D | benchmark.cc | 132 timer_(timer), in State() 165 timer_->StopTimer(); in PauseTiming() 170 timer_->StartTimer(); in ResumeTiming() 184 if (timer_->running()) timer_->StopTimer(); in SkipWithError() 188 timer_->SetIterationTime(seconds); in SetIterationTime()
|
/external/cronet/base/files/ |
D | important_file_writer.h | 158 return timer_override_ ? *timer_override_ : timer_; in timer() 160 OneShotTimer& timer() { return timer_override_ ? *timer_override_ : timer_; } in timer() 199 OneShotTimer timer_; variable
|