Home | History | Annotate | Download | only in javascript

Lines Matching refs:pRuntime

25 	CJS_Runtime* pRuntime = pContext->GetJSRuntime();

26 ASSERT(pRuntime != NULL);
28 return pRuntime->GetIsolate();
148 CJS_Runtime* pRuntime = pContext->GetJSRuntime();
149 ASSERT(pRuntime != NULL);
153 CJS_Array aDocs(pRuntime->GetIsolate());
165 JSFXObject pObj = JS_GetThisObj(*pRuntime);
167 if (JS_GetObjDefnID(pObj) == JS_GetObjDefnID(*pRuntime, L"Document"))
169 pJSDocument = (CJS_Document*)JS_GetPrivate(pRuntime->GetIsolate(),pObj);
174 JSFXObject pObj = JS_NewFxDynamicObj(*pRuntime, pContext, JS_GetObjDefnID(*pRuntime,L"Document"));
175 pJSDocument = (CJS_Document*)JS_GetPrivate(pRuntime->GetIsolate(),pObj);
182 aDocs.SetElement(0,CJS_Value(pRuntime->GetIsolate(),pJSDocument));
209 CJS_Runtime* pRuntime = pContext->GetJSRuntime();
210 ASSERT(pRuntime != NULL);
212 CJS_Array aDocs(pRuntime->GetIsolate());
444 CJS_Runtime* pRuntime = pContext->GetJSRuntime();
445 ASSERT(pRuntime != NULL);
446 pRuntime->BeginBlock();
447 vRet = MsgBox(pRuntime->GetReaderApp(), JSGetPageView(cc),swMsg,swTitle,iType,iIcon);
448 pRuntime->EndBlock();
459 CJS_Runtime* pRuntime = pContext->GetJSRuntime();
460 CPDFDoc_Environment * pEnv = pRuntime->GetReaderApp();
489 CJS_Runtime* pRuntime = pContext->GetJSRuntime();
490 ASSERT(pRuntime != NULL);
513 CJS_Runtime* pRuntime = pContext->GetJSRuntime();
514 ASSERT(pRuntime != NULL);
525 CPDFDoc_Environment* pApp = pRuntime->GetReaderApp();
531 pTimer->SetRuntime(pRuntime);
537 JSFXObject pRetObj = JS_NewFxDynamicObj(*pRuntime, pContext, JS_GetObjDefnID(*pRuntime, L"TimerObj"));
539 CJS_TimerObj* pJS_TimerObj = (CJS_TimerObj*)JS_GetPrivate(pRuntime->GetIsolate(),pRetObj);
562 CJS_Runtime* pRuntime = pContext->GetJSRuntime();
563 ASSERT(pRuntime != NULL);
574 CPDFDoc_Environment* pApp = pRuntime->GetReaderApp();
580 pTimer->SetRuntime(pRuntime);
587 JSFXObject pRetObj = JS_NewFxDynamicObj(*pRuntime, pContext, JS_GetObjDefnID(*pRuntime, L"TimerObj"));
590 CJS_TimerObj* pJS_TimerObj = (CJS_TimerObj*)JS_GetPrivate(pRuntime->GetIsolate(),pRetObj);
607 CJS_Runtime* pRuntime = pContext->GetJSRuntime();
608 ASSERT(pRuntime != NULL);
620 if (JS_GetObjDefnID(pObj) == JS_GetObjDefnID(*pRuntime, L"TimerObj"))
655 CJS_Runtime* pRuntime = pContext->GetJSRuntime();
656 ASSERT(pRuntime != NULL);
668 if (JS_GetObjDefnID(pObj) == JS_GetObjDefnID(*pRuntime, L"TimerObj"))
724 void app::RunJsScript(CJS_Runtime* pRuntime,const CFX_WideString& wsScript)
726 ASSERT(pRuntime != NULL);
728 if (!pRuntime->IsBlocking())
730 IFXJS_Context* pContext = pRuntime->NewContext();
735 pRuntime->ReleaseContext(pContext);
810 CJS_Runtime* pRuntime = pContext->GetJSRuntime();
811 ASSERT(pRuntime != NULL);
816 pRuntime->BeginBlock();
819 pRuntime->EndBlock();
837 CJS_Runtime* pRuntime = pContext->GetJSRuntime();
838 ASSERT(pRuntime != NULL);
840 pRuntime->BeginBlock();
842 pRuntime->EndBlock();
927 CJS_Runtime* pRuntime = pContext->GetJSRuntime();
928 ASSERT(pRuntime != NULL);
936 JSFXObject pRetObj = JS_NewFxDynamicObj(*pRuntime, pContext, -1);