/third_party/node/src/ |
D | timer_wrap.cc | 11 if (timer_.data == nullptr) return; in Stop() 12 uv_timer_stop(&timer_); in Stop() 16 timer_.data = nullptr; in Close() 17 env_->CloseHandle(reinterpret_cast<uv_handle_t*>(&timer_), TimerClosedCb); in Close() 22 ContainerOf(&TimerWrap::timer_, in TimerClosedCb() 27 if (timer_.data == nullptr) return; in Update() 28 uv_timer_start(&timer_, OnTimeout, interval, repeat); in Update() 32 if (timer_.data == nullptr) return; in Ref() 33 uv_ref(reinterpret_cast<uv_handle_t*>(&timer_)); in Ref() 37 if (timer_.data == nullptr) return; in Unref() [all …]
|
D | timer_wrap-inl.h | 18 uv_timer_init(env->event_loop(), &timer_); in TimerWrap() 19 timer_.data = this; in TimerWrap() 24 timer_ = new TimerWrap(env, std::forward<Args>(args)...); in TimerWrapHandle()
|
D | timer_wrap.h | 48 uv_timer_t timer_; variable 78 TimerWrap* timer_; variable
|
D | node_watchdog.cc | 58 rc = uv_timer_init(&loop_, &timer_); in Watchdog() 61 rc = uv_timer_start(&timer_, &Watchdog::Timer, ms, 0); in Watchdog() 91 uv_close(reinterpret_cast<uv_handle_t*>(&wd->timer_), nullptr); in Run() 95 Watchdog* w = ContainerOf(&Watchdog::timer_, timer); in Timer()
|
D | histogram.cc | 432 reinterpret_cast<uv_handle_t*>(&timer_), in IntervalHistogram() 438 uv_timer_init(env->event_loop(), &timer_); in IntervalHistogram() 464 ContainerOf(&IntervalHistogram::timer_, handle); in TimerCB() 480 uv_timer_start(&timer_, TimerCB, interval_, interval_); in OnStart() 481 uv_unref(reinterpret_cast<uv_handle_t*>(&timer_)); in OnStart() 487 uv_timer_stop(&timer_); in OnStop()
|
D | node_watchdog.h | 61 uv_timer_t timer_; variable
|
/third_party/nghttp2/src/ |
D | shrpx_connect_blocker.cc | 51 ev_timer_init(&timer_, connect_blocker_cb, 0., 0.); in ConnectBlocker() 52 timer_.data = this; in ConnectBlocker() 55 ConnectBlocker::~ConnectBlocker() { ev_timer_stop(loop_, &timer_); } in ~ConnectBlocker() 57 bool ConnectBlocker::blocked() const { return ev_is_active(&timer_); } in blocked() 60 if (ev_is_active(&timer_)) { in on_success() 76 if (ev_is_active(&timer_)) { in on_failure() 97 ev_timer_set(&timer_, backoff, 0.); in on_failure() 98 ev_timer_start(loop_, &timer_); in on_failure() 108 if (!ev_is_active(&timer_)) { in offline() 114 ev_timer_stop(loop_, &timer_); in offline() [all …]
|
D | shrpx_dns_resolver.cc | 123 ev_timer_init(&timer_, timeoutcb, 0., 0.); 124 timer_.data = this; 135 ev_timer_stop(loop_, &timer_); in ~DNSResolver() 223 timer_.repeat = tv->tv_sec + tv->tv_usec / 1000000. + 1e-9; in reset_timeout() 224 ev_timer_again(loop_, &timer_); in reset_timeout() 291 ev_timer_stop(loop_, &timer_); in on_result()
|
D | shrpx_connect_blocker.h | 75 ev_timer timer_; variable
|
D | shrpx_dns_resolver.h | 105 ev_timer timer_; variable
|
D | shrpx_http3_upstream.h | 160 ev_timer timer_; variable
|
/third_party/node/deps/v8/src/heap/ |
D | collection-barrier.cc | 30 CHECK(!timer_.IsStarted()); in TryRequestGC() 31 timer_.Start(); in TryRequestGC() 57 if (timer_.IsStarted()) timer_.Stop(); in NotifyShutdownRequested() 64 DCHECK(!timer_.IsStarted()); in ResumeThreadsAwaitingCollection() 73 if (timer_.IsStarted()) timer_.Stop(); in CancelCollectionAndResumeThreads() 94 CHECK(timer_.IsStarted()); in AwaitCollectionBackground() 128 CHECK(timer_.IsStarted()); in StopTimeToCollectionTimer() 129 base::TimeDelta delta = timer_.Elapsed(); in StopTimeToCollectionTimer() 138 timer_.Stop(); in StopTimeToCollectionTimer()
|
D | gc-tracer-inl.h | 44 runtime_stats_->Enter(&timer_, GCTracer::RCSCounterFromScope(scope)); in Scope() 49 runtime_stats_->Enter(&timer_, GCTracer::RCSCounterFromScope(scope)); in Scope() 76 runtime_stats_->Leave(&timer_); in ~Scope()
|
D | collection-barrier.h | 58 base::ElapsedTimer timer_; variable
|
/third_party/node/deps/v8/src/logging/ |
D | counters-scopes.h | 22 timer_.Start(); in StartInternal() 27 histogram_->AddTimedSample(timer_.Elapsed()); in StopInternal() 28 timer_.Stop(); in StopInternal() 49 base::ElapsedTimer timer_; variable 106 timer_.Start(); in LazyTimedHistogramScope() 137 timer_.Start(now); in StartInteral() 143 base::TimeDelta elapsed = timer_.Elapsed(now); in StopInternal() 149 timer_.Stop(); in StopInternal() 166 timer_.Pause(now); in Pause() 171 timer_.Resume(now); in Resume()
|
D | runtime-call-stats-scope.h | 30 stats_->Enter(&timer_, counter_id); in RuntimeCallTimerScope() 44 stats_->Enter(&timer_, counter_id); in RuntimeCallTimerScope()
|
D | counters.h | 358 timer_.Start(); in AggregatedHistogramTimerScope() 360 ~AggregatedHistogramTimerScope() { histogram_->Add(timer_.Elapsed()); } in ~AggregatedHistogramTimerScope() 363 base::ElapsedTimer timer_;
|
D | runtime-call-stats.h | 745 stats_->Enter(&timer_, counter_id); 750 stats_->Leave(&timer_); in ~RuntimeCallTimerScope() 759 RuntimeCallTimer timer_; variable
|
/third_party/cef/tests/shared/browser/ |
D | main_message_loop_external_pump_mac.mm | 39 bool IsTimerPending() override { return timer_ != nil; } 46 NSTimer* timer_; 87 : owner_thread_([NSThread currentThread]), timer_(nil) { 149 DCHECK(!timer_); 152 timer_ = [NSTimer timerWithTimeInterval:delay_s 158 [timer_ retain]; 163 [owner_runloop addTimer:timer_ forMode:NSRunLoopCommonModes]; 164 [owner_runloop addTimer:timer_ forMode:NSEventTrackingRunLoopMode]; 168 if (timer_ != nil) { 169 [timer_ invalidate]; [all …]
|
/third_party/node/deps/v8/src/compiler/ |
D | pipeline-statistics.cc | 24 timer_.Start(); in Begin() 38 diff->delta_ = timer_.Elapsed(); in End() 47 timer_.Stop(); in End()
|
D | pipeline-statistics.h | 56 base::ElapsedTimer timer_; variable
|
/third_party/node/test/cctest/ |
D | test_inspector_socket_server.cc | 44 uv_timer_init(loop, &timer_); in Timeout() 45 uv_timer_start(&timer_, Timeout::set_flag, 5000, 0); in Timeout() 46 uv_unref(reinterpret_cast<uv_handle_t*>(&timer_)); in Timeout() 50 uv_timer_stop(&timer_); in ~Timeout() 51 uv_close(reinterpret_cast<uv_handle_t*>(&timer_), mark_done); in ~Timeout() 60 Timeout* t = node::ContainerOf(&Timeout::timer_, timer); in set_flag() 65 Timeout* t = node::ContainerOf(&Timeout::timer_, in mark_done() 71 uv_timer_t timer_; member in __anon965b89240111::Timeout
|
D | test_inspector_socket.cc | 20 uv_timer_init(loop, &timer_); in Timeout() 21 uv_timer_start(&timer_, Timeout::set_flag, 5000, 0); in Timeout() 25 uv_timer_stop(&timer_); in ~Timeout() 26 uv_close(reinterpret_cast<uv_handle_t*>(&timer_), mark_done); in ~Timeout() 36 Timeout* t = node::ContainerOf(&Timeout::timer_, timer); in set_flag() 41 Timeout* t = node::ContainerOf(&Timeout::timer_, in mark_done() 47 uv_timer_t timer_; member in __anon35db90ae0111::Timeout
|
/third_party/benchmark/src/ |
D | benchmark.cc | 150 timer_(timer), in State() 185 timer_->StopTimer(); in PauseTiming() 199 timer_->StartTimer(); in ResumeTiming() 216 if (timer_->running()) timer_->StopTimer(); in SkipWithError() 220 timer_->SetIterationTime(seconds); in SetIterationTime()
|
/third_party/node/deps/v8/src/codegen/ |
D | compiler.h | 255 timer_.Start(); in CompilationJob() 263 return timer_.Elapsed(); in ElapsedTime() 283 base::ElapsedTimer timer_; variable 554 TimedHistogram* timer_; variable
|