Home
last modified time | relevance | path

Searched refs:GlobalTimer (Results 1 – 6 of 6) sorted by relevance

/external/pdfium/fxjs/
Dglobal_timer.cpp17 using TimerMap = std::map<int32_t, GlobalTimer*>;
25 GlobalTimer::GlobalTimer(CJS_App* pObj, in GlobalTimer() function in GlobalTimer
41 GlobalTimer::~GlobalTimer() { in ~GlobalTimer()
52 void GlobalTimer::Trigger(int32_t nTimerID) { in Trigger()
57 GlobalTimer* pTimer = it->second; in Trigger()
77 void GlobalTimer::Cancel(int32_t nTimerID) { in Cancel()
82 GlobalTimer* pTimer = it->second; in Cancel()
86 bool GlobalTimer::HasValidID() const { in HasValidID()
Dglobal_timer.h14 class GlobalTimer {
21 GlobalTimer(CJS_App* pObj,
27 ~GlobalTimer();
Dcjs_timerobj.h12 class GlobalTimer; variable
22 void SetTimer(GlobalTimer* pTimer);
Dcjs_app.cpp305 auto timerRef = pdfium::MakeUnique<GlobalTimer>( in setInterval()
306 this, pRuntime, GlobalTimer::Type::kRepeating, script, dwInterval, 0); in setInterval()
307 GlobalTimer* pTimerRef = timerRef.get(); in setInterval()
333 auto timerRef = pdfium::MakeUnique<GlobalTimer>(this, pRuntime, in setTimeOut()
334 GlobalTimer::Type::kOneShot, in setTimeOut()
336 GlobalTimer* pTimerRef = timerRef.get(); in setTimeOut()
381 GlobalTimer::Cancel(pTimer->GetTimerID()); in ClearTimerCommon()
390 void CJS_App::TimerProc(GlobalTimer* pTimer) { in TimerProc()
396 void CJS_App::CancelProc(GlobalTimer* pTimer) { in CancelProc()
397 m_Timers.erase(pdfium::FakeUniquePtr<GlobalTimer>(pTimer)); in CancelProc()
Dcjs_app.h18 class GlobalTimer; variable
28 void TimerProc(GlobalTimer* pTimer);
29 void CancelProc(GlobalTimer* pTimer);
160 std::set<std::unique_ptr<GlobalTimer>> m_Timers;
Dcjs_timerobj.cpp30 void CJS_TimerObj::SetTimer(GlobalTimer* pTimer) { in SetTimer()