Home
last modified time | relevance | path

Searched refs:IJS_Runtime (Results 1 – 25 of 26) sorted by relevance

12

/external/pdfium/fxjs/
Dijs_runtime.cpp15 IJS_Runtime::ScopedEventContext::ScopedEventContext(IJS_Runtime* pRuntime) in ScopedEventContext()
18 IJS_Runtime::ScopedEventContext::~ScopedEventContext() { in ~ScopedEventContext()
23 void IJS_Runtime::Initialize(unsigned int slot, void* isolate) { in Initialize()
30 void IJS_Runtime::Destroy() { in Destroy()
37 std::unique_ptr<IJS_Runtime> IJS_Runtime::Create( in Create()
46 IJS_Runtime::~IJS_Runtime() = default;
48 IJS_Runtime::JS_Error::JS_Error(int line, in JS_Error()
Dijs_runtime.h25 class IJS_Runtime {
37 explicit ScopedEventContext(IJS_Runtime* pRuntime);
44 UnownedPtr<IJS_Runtime> const m_pRuntime;
50 static std::unique_ptr<IJS_Runtime> Create(
53 virtual ~IJS_Runtime();
62 IJS_Runtime() = default;
Dcfxjs_engine_embeddertest.cpp38 Optional<IJS_Runtime::JS_Error> err = engine()->Execute(WideString(kScript1)); in TEST_F()
55 Optional<IJS_Runtime::JS_Error> err = in TEST_F()
63 Optional<IJS_Runtime::JS_Error> err = engine1.Execute(WideString(kScript1)); in TEST_F()
71 Optional<IJS_Runtime::JS_Error> err = engine1.Execute(WideString(kScript2)); in TEST_F()
86 Optional<IJS_Runtime::JS_Error> err = in TEST_F()
99 Optional<IJS_Runtime::JS_Error> err = in TEST_F()
Dcjs_event_context_stub.cpp9 Optional<IJS_Runtime::JS_Error> CJS_EventContextStub::RunScript( in RunScript()
11 return IJS_Runtime::JS_Error(1, 1, L"JavaScript support not present"); in RunScript()
Dcjs_runtimestub.h19 class CJS_RuntimeStub final : public IJS_Runtime {
30 Optional<IJS_Runtime::JS_Error> ExecuteScript(
Dcjs_runtime.h24 class CJS_Runtime final : public IJS_Runtime,
38 Optional<IJS_Runtime::JS_Error> ExecuteScript(
Dcjs_event_context.cpp29 Optional<IJS_Runtime::JS_Error> CJS_EventContext::RunScript( in RunScript()
37 return IJS_Runtime::JS_Error(1, 1, in RunScript()
48 return IJS_Runtime::JS_Error( in RunScript()
52 Optional<IJS_Runtime::JS_Error> err; in RunScript()
Dcjs_runtimestub.cpp33 Optional<IJS_Runtime::JS_Error> CJS_RuntimeStub::ExecuteScript( in ExecuteScript()
Dcfxjs_engine_unittest.cpp86 Optional<IJS_Runtime::JS_Error> err = engine()->Execute(L"gc();"); in TEST_F()
Dcjs_event_context_stub.h18 Optional<IJS_Runtime::JS_Error> RunScript(const WideString& script) override;
Dijs_event_context.h27 virtual Optional<IJS_Runtime::JS_Error> RunScript(
Dcfxjs_engine.h123 Optional<IJS_Runtime::JS_Error> Execute(const WideString& script);
Dcjs_event_context.h28 Optional<IJS_Runtime::JS_Error> RunScript(const WideString& script) override;
Dcfxjs_engine.cpp554 Optional<IJS_Runtime::JS_Error> CFXJS_Engine::Execute( in Execute()
567 return IJS_Runtime::JS_Error(line, column, WideString::FromUTF8(*error)); in Execute()
577 return IJS_Runtime::JS_Error(line, column, WideString::FromUTF8(*error)); in Execute()
Dcjs_runtime.cpp162 Optional<IJS_Runtime::JS_Error> CJS_Runtime::ExecuteScript( in ExecuteScript()
Dcjs_app.cpp404 IJS_Runtime::ScopedEventContext pContext(pRuntime); in RunJsScript()
/external/pdfium/fpdfsdk/
Dcpdfsdk_formfillenvironment.h27 class IJS_Runtime; variable
203 IJS_Runtime* GetIJSRuntime(); // Creates if not present.
212 std::unique_ptr<IJS_Runtime> m_pIJSRuntime;
Dcpdfsdk_interactiveform.cpp253 IJS_Runtime* pRuntime = m_pFormFillEnv->GetIJSRuntime(); in OnCalculate()
279 IJS_Runtime::ScopedEventContext pContext(pRuntime); in OnCalculate()
282 Optional<IJS_Runtime::JS_Error> err = pContext->RunScript(csJS); in OnCalculate()
294 IJS_Runtime* pRuntime = m_pFormFillEnv->GetIJSRuntime(); in OnFormat()
308 IJS_Runtime::ScopedEventContext pContext(pRuntime); in OnFormat()
310 Optional<IJS_Runtime::JS_Error> err = pContext->RunScript(script); in OnFormat()
Dcpdfsdk_formfillenvironment.cpp320 IJS_Runtime* CPDFSDK_FormFillEnvironment::GetIJSRuntime() { in GetIJSRuntime()
322 m_pIJSRuntime = IJS_Runtime::Create(this); in GetIJSRuntime()
Dcpdfsdk_actionhandler.cpp422 IJS_Runtime::ScopedEventContext pContext(pFormFillEnv->GetIJSRuntime()); in RunScript()
Dfpdf_view.cpp121 IJS_Runtime::Initialize(config->m_v8EmbedderSlot, config->m_pIsolate); in FPDF_InitLibraryWithConfig()
136 IJS_Runtime::Destroy(); in FPDF_DestroyLibrary()
/external/pdfium/fpdfsdk/fpdfxfa/
Dcpdfxfa_docenvironment.h16 class IJS_Runtime; variable
57 IJS_Runtime* GetIJSRuntime(CXFA_FFDoc* hDoc) const override;
Dcpdfxfa_context.h26 class IJS_Runtime; variable
/external/pdfium/xfa/fxfa/
Dfxfa.h23 class IJS_Runtime; variable
239 virtual IJS_Runtime* GetIJSRuntime(CXFA_FFDoc* hDoc) const = 0;
/external/pdfium/fxjs/xfa/
Dcfxjse_engine.cpp152 IJS_Runtime::ScopedEventContext ctx(m_pSubordinateRuntime.Get()); in RunScript()
216 IJS_Runtime::ScopedEventContext pContext(pCJSRuntime); in GlobalPropertySetter()
285 IJS_Runtime::ScopedEventContext pContext(pCJSRuntime); in GlobalPropertyGetter()
381 IJS_Runtime::ScopedEventContext pContext(pCJSRuntime); in NormalPropertyGetter()

12