Home
last modified time | relevance | path

Searched refs:pTimer (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/fxjs/
Dglobal_timer.cpp57 GlobalTimer* pTimer = it->second; in Trigger() local
58 if (pTimer->m_bProcessing) in Trigger()
61 pTimer->m_bProcessing = true; in Trigger()
62 if (pTimer->m_pEmbedApp) in Trigger()
63 pTimer->m_pEmbedApp->TimerProc(pTimer); in Trigger()
70 pTimer = it->second; in Trigger()
71 pTimer->m_bProcessing = false; in Trigger()
72 if (pTimer->IsOneShot()) in Trigger()
73 pTimer->m_pEmbedApp->CancelProc(pTimer); in Trigger()
82 GlobalTimer* pTimer = it->second; in Cancel() local
[all …]
Dcjs_timerobj.cpp30 void CJS_TimerObj::SetTimer(GlobalTimer* pTimer) { in SetTimer() argument
31 m_nTimerID = pTimer->GetTimerID(); in SetTimer()
Dcjs_app.cpp377 auto pTimer = JSGetObject<CJS_TimerObj>(pObj); in ClearTimerCommon() local
378 if (!pTimer) in ClearTimerCommon()
381 GlobalTimer::Cancel(pTimer->GetTimerID()); in ClearTimerCommon()
390 void CJS_App::TimerProc(GlobalTimer* pTimer) { in TimerProc() argument
391 CJS_Runtime* pRuntime = pTimer->GetRuntime(); in TimerProc()
392 if (pRuntime && (!pTimer->IsOneShot() || pTimer->GetTimeOut() > 0)) in TimerProc()
393 RunJsScript(pRuntime, pTimer->GetJScript()); in TimerProc()
396 void CJS_App::CancelProc(GlobalTimer* pTimer) { in CancelProc() argument
397 m_Timers.erase(pdfium::FakeUniquePtr<GlobalTimer>(pTimer)); in CancelProc()
Dcjs_timerobj.h22 void SetTimer(GlobalTimer* pTimer);
Dcjs_app.h28 void TimerProc(GlobalTimer* pTimer);
29 void CancelProc(GlobalTimer* pTimer);