Home
last modified time | relevance | path

Searched refs:g_pInstance (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/fxjs/
Dcfxjse_runtimedata.cpp38 if (!CFXJSE_IsolateTracker::g_pInstance) in FXJSE_Initialize()
39 CFXJSE_IsolateTracker::g_pInstance = new CFXJSE_IsolateTracker; in FXJSE_Initialize()
50 if (!CFXJSE_IsolateTracker::g_pInstance) in FXJSE_Finalize()
53 CFXJSE_IsolateTracker::g_pInstance->RemoveAll(Runtime_DisposeCallback); in FXJSE_Finalize()
54 delete CFXJSE_IsolateTracker::g_pInstance; in FXJSE_Finalize()
55 CFXJSE_IsolateTracker::g_pInstance = nullptr; in FXJSE_Finalize()
64 ASSERT(pIsolate && CFXJSE_IsolateTracker::g_pInstance); in FXJSE_Runtime_Create_Own()
65 CFXJSE_IsolateTracker::g_pInstance->Append(pIsolate, std::move(allocator)); in FXJSE_Runtime_Create_Own()
72 CFXJSE_IsolateTracker::g_pInstance->Remove(pIsolate, Runtime_DisposeCallback); in FXJSE_Runtime_Release()
109 CFXJSE_IsolateTracker* CFXJSE_IsolateTracker::g_pInstance = nullptr; member in CFXJSE_IsolateTracker
Dcfxjse_isolatetracker.h67 static CFXJSE_IsolateTracker* g_pInstance; variable
/external/pdfium/fpdfsdk/javascript/
DJS_GlobalData.cpp40 CJS_GlobalData* g_pInstance = nullptr; variable
47 if (!g_pInstance) { in GetRetainedInstance()
48 g_pInstance = new CJS_GlobalData(); in GetRetainedInstance()
50 ++g_pInstance->m_RefCount; in GetRetainedInstance()
51 return g_pInstance; in GetRetainedInstance()
56 delete g_pInstance; in Release()
57 g_pInstance = nullptr; in Release()