Home
last modified time | relevance | path

Searched refs:timer_ (Results 1 – 25 of 49) sorted by relevance

12

/external/chromium/base/
Dtimer.h90 explicit TimerTask(TimeDelta delay) : timer_(NULL), delay_(delay) { in TimerTask()
93 BaseTimer_Helper* timer_; variable
155 if (!timer_) // timer_ is null if we were orphaned. in Run()
171 if (timer_) { in ClearBaseTimer()
172 SelfType* self = static_cast<SelfType*>(timer_); in ClearBaseTimer()
181 timer_ = NULL; in ClearBaseTimer()
187 DCHECK(timer_); in ResetBaseTimer()
189 SelfType* self = static_cast<SelfType*>(timer_); in ResetBaseTimer()
240 if (timer_.IsRunning() && timer_.GetCurrentDelay() <= delay) in DelayFor()
244 timer_.Stop(); in DelayFor()
[all …]
Dtimer_unittest.cc22 timer_.Start(TimeDelta::FromMilliseconds(delay_ms_), this, in Start()
31 base::OneShotTimer<OneShotTimerTester> timer_; member in __anon28b7be880111::OneShotTimerTester
39 timer_(new base::OneShotTimer<OneShotSelfDeletingTimerTester>()) { in OneShotSelfDeletingTimerTester()
42 timer_->Start(TimeDelta::FromMilliseconds(10), this, in Start()
48 timer_.reset(); in Run()
52 scoped_ptr<base::OneShotTimer<OneShotSelfDeletingTimerTester> > timer_; member in __anon28b7be880111::OneShotSelfDeletingTimerTester
62 timer_.Start(TimeDelta::FromMilliseconds(10), this, in Start()
74 base::RepeatingTimer<RepeatingTimerTester> timer_; member in __anon28b7be880111::RepeatingTimerTester
209 : timer_(timer), in ResetHelper()
215 timer_->Reset(); in Reset()
[all …]
Dtimer.cc13 delayed_task_->timer_ = NULL; in OrphanDelayedTask()
22 delayed_task_->timer_ = this; in InitiateDelayedTask()
Dperftimer.h74 LogPerfResult(test_name_.c_str(), timer_.Elapsed().InMillisecondsF(), "ms"); in Done()
81 PerfTimer timer_; variable
/external/chromium/base/metrics/
Dstats_counters.h179 : timer_(timer) { in timer_() function
180 timer_.Start(); in timer_()
184 timer_.Stop(); in ~StatsScope()
188 timer_.Stop(); in Stop()
192 T& timer_;
/external/v8/src/
Dcounters.h241 timer_(timer) { in HistogramTimerScope()
242 timer_->Start(); in HistogramTimerScope()
245 timer_->Stop(); in ~HistogramTimerScope()
248 HistogramTimer* timer_;
/external/chromium/chrome/common/
Dimportant_file_writer.cc100 return timer_.IsRunning(); in HasPendingWrite()
107 timer_.Stop(); in WriteNow()
133 if (!timer_.IsRunning()) { in ScheduleWrite()
134 timer_.Start(commit_interval_, this, in ScheduleWrite()
Dimportant_file_writer.h102 base::OneShotTimer<ImportantFileWriter> timer_; variable
/external/chromium/chrome/browser/sync/glue/
Ddatabase_model_worker_unittest.cc31 OneShotTimer<DatabaseModelWorkerTest>* timer() { return &timer_; } in timer()
49 timer_.Stop(); // Stop the failure timer so the test succeeds. in DoWork()
77 OneShotTimer<DatabaseModelWorkerTest> timer_; member in __anon6e6c33e30111::DatabaseModelWorkerTest
/external/chromium/chrome/browser/
Doom_priority_manager.cc49 if (!timer_.IsRunning()) { in StartTimer()
50 timer_.Start(TimeDelta::FromSeconds(ADJUSTMENT_INTERVAL_SECONDS), in StartTimer()
57 timer_.Stop(); in StopTimer()
Doom_priority_manager.h53 base::RepeatingTimer<OomPriorityManager> timer_; variable
/external/chromium/net/base/
Dnetwork_change_notifier_win.cc155 timer_.Stop(); // cancel any already waiting notification in OnObjectSignaled()
156 timer_.Start(base::TimeDelta::FromSeconds(1), this, in OnObjectSignaled()
Dnetwork_change_notifier_win.h41 base::OneShotTimer<NetworkChangeNotifierWin> timer_; variable
/external/chromium/webkit/glue/
Dresource_fetcher_unittest.cc52 timer_.Stop(); in OnURLFetchComplete()
71 timer_.Start(base::TimeDelta::FromMilliseconds(kMaxWaitTimeMs), in StartTimer()
87 base::OneShotTimer<FetcherDelegate> timer_; member in __anone22396760111::FetcherDelegate
/external/chromium/net/http/
Dhttp_response_body_drainer.cc33 timer_.Start(base::TimeDelta::FromSeconds(kTimeoutInSeconds), in Start()
101 timer_.Stop(); in OnIOComplete()
Dhttp_response_body_drainer.h60 base::OneShotTimer<HttpResponseBodyDrainer> timer_; variable
/external/chromium/chrome/browser/renderer_host/
Dsafe_browsing_resource_handler.cc150 timer_.Stop(); // Cancel the timeout timer. in OnBrowseUrlCheckResult()
225 timer_.Stop(); in Shutdown()
250 timer_.Start(base::TimeDelta::FromMilliseconds(kCheckUrlTimeoutMs), in CheckUrl()
/external/chromium/base/debug/
Dtrace_event.cc142 timer_.Start(TimeDelta::FromMilliseconds(250), this, &TraceLog::Heartbeat); in Start()
152 timer_.Stop(); in Stop()
Dtrace_event.h143 RepeatingTimer<TraceLog> timer_;
/external/chromium/chrome/browser/ui/cocoa/tabs/
Dthrobber_view.mm167 NSTimer* timer_; field
213 timer_ = [NSTimer scheduledTimerWithTimeInterval:kAnimationIntervalSeconds
218 [timer_ setFireDate:[NSDate distantFuture]];
233 [timer_ invalidate];
264 [timer_ setFireDate:fireDate];
/external/chromium/net/disk_cache/
Ddisk_cache_test_util.h96 base::RepeatingTimer<MessageLoopHelper> timer_; variable
/external/chromium/chrome/browser/net/
Dpredictor_unittest.cc40 timer_(timer) { in WaitForResolutionHelper()
50 timer_->Stop(); in Run()
52 delete timer_; in Run()
59 HelperTimer* timer_; member in chrome_browser_net::WaitForResolutionHelper
/external/chromium/chrome/browser/cocoa/
Dkeystone_glue.h89 NSTimer* timer_; // strong variable
/external/chromium/chrome/browser/ui/webui/
Dnew_tab_ui.h113 base::OneShotTimer<NewTabUI> timer_; variable
/external/chromium/chrome/browser/chromeos/status/
Dclock_menu_button.h90 base::OneShotTimer<ClockMenuButton> timer_; variable

12