Home
last modified time | relevance | path

Searched refs:m_pIsolate (Results 1 – 19 of 19) sorted by relevance

/external/pdfium/fxjs/
Dcfxjse_value.cpp67 CFXJSE_Value::CFXJSE_Value(v8::Isolate* pIsolate) : m_pIsolate(pIsolate) {} in CFXJSE_Value()
74 CFXJSE_ScopeUtil_IsolateHandleRootContext scope(m_pIsolate); in ToHostObject()
75 v8::Local<v8::Value> pValue = v8::Local<v8::Value>::New(m_pIsolate, m_hValue); in ToHostObject()
86 CFXJSE_ScopeUtil_IsolateHandleRootContext scope(m_pIsolate); in SetObject()
88 v8::Local<v8::FunctionTemplate>::New(m_pIsolate, pClass->m_hTemplate); in SetObject()
91 m_hValue.Reset(m_pIsolate, hObject); in SetObject()
96 CFXJSE_ScopeUtil_IsolateHandleRootContext scope(m_pIsolate); in SetArray()
97 v8::Local<v8::Array> hArrayObject = v8::Array::New(m_pIsolate, values.size()); in SetArray()
101 m_pIsolate, v.get()->DirectGetValue())); in SetArray()
103 m_hValue.Reset(m_pIsolate, hArrayObject); in SetArray()
[all …]
Dcfxjse_context.cpp97 m_parent(pContext->m_pIsolate), in CFXJSE_ScopeUtil_IsolateHandleContext()
98 m_cscope(v8::Local<v8::Context>::New(pContext->m_pIsolate, in CFXJSE_ScopeUtil_IsolateHandleContext()
100 v8::Isolate* GetIsolate() { return m_context->m_pIsolate; } in GetIsolate()
102 return v8::Local<v8::Context>::New(m_context->m_pIsolate, in GetLocalContext()
191 CFXJSE_Context::CFXJSE_Context(v8::Isolate* pIsolate) : m_pIsolate(pIsolate) {} in CFXJSE_Context()
196 auto pValue = pdfium::MakeUnique<CFXJSE_Value>(m_pIsolate); in GetGlobalObject()
199 v8::Local<v8::Context>::New(m_pIsolate, m_hContext); in GetGlobalObject()
206 return v8::Local<v8::Context>::New(m_pIsolate, m_hContext); in GetContext()
231 v8::TryCatch trycatch(m_pIsolate); in ExecuteScript()
233 v8::String::NewFromUtf8(m_pIsolate, szScript); in ExecuteScript()
[all …]
Dcfxjse_value.h72 v8::Isolate* GetIsolate() const { return m_pIsolate; } in GetIsolate()
75 m_hValue.Reset(m_pIsolate, hValue); in ForceSetValue()
80 m_hValue.Reset(m_pIsolate, lpValue->m_hValue); in Assign()
94 v8::Isolate* m_pIsolate; variable
Dcjs_object.h57 v8::Local<v8::Object> ToV8Object() { return m_pV8Object.Get(m_pIsolate); } in ToV8Object()
63 v8::Isolate* GetIsolate() const { return m_pIsolate; } in GetIsolate()
68 v8::Isolate* m_pIsolate; variable
Dcfxjse_context.h30 v8::Isolate* GetIsolate() const { return m_pIsolate; } in GetIsolate()
48 v8::Isolate* m_pIsolate; variable
Dcjs_object.cpp44 m_pIsolate = pObject->GetIsolate(); in CJS_Object()
45 m_pV8Object.Reset(m_pIsolate, pObject); in CJS_Object()
Dfxjs_v8.cpp73 m_pIsolate(isolate) { in CFXJS_ObjDefinition()
98 FXJS_PerIsolateData* pData = FXJS_PerIsolateData::Get(m_pIsolate); in AssignID()
104 v8::EscapableHandleScope scope(m_pIsolate); in GetInstanceTemplate()
106 m_FunctionTemplate.Get(m_pIsolate); in GetInstanceTemplate()
111 v8::EscapableHandleScope scope(m_pIsolate); in GetSignature()
112 return scope.Escape(m_Signature.Get(m_pIsolate)); in GetSignature()
120 v8::Isolate* m_pIsolate; member in CFXJS_ObjDefinition
Dcfxjse_runtimedata.h22 v8::Isolate* m_pIsolate; variable
Dcfxjse_runtimedata.cpp15 : m_pIsolate(pIsolate) {} in CFXJSE_RuntimeData()
Dcfxjse_formcalc_context.h426 v8::Isolate* GetScriptRuntime() const { return m_pIsolate; } in GetScriptRuntime()
439 v8::Isolate* m_pIsolate; variable
Dcfxjse_formcalc_context.cpp6193 m_pIsolate(pScriptIsolate), in CFXJSE_FormCalcContext()
/external/pdfium/testing/
Djs_embedder_test.cpp18 m_pIsolate = v8::Isolate::New(params); in SetUp()
20 EmbedderTest::SetExternalIsolate(m_pIsolate); in SetUp()
23 v8::Isolate::Scope isolate_scope(m_pIsolate); in SetUp()
24 v8::HandleScope handle_scope(m_pIsolate); in SetUp()
25 FXJS_PerIsolateData::SetUp(m_pIsolate); in SetUp()
26 m_Engine = pdfium::MakeUnique<CFXJS_Engine>(m_pIsolate); in SetUp()
34 m_pIsolate->Dispose(); in TearDown()
35 m_pIsolate = nullptr; in TearDown()
39 return m_pIsolate; in isolate()
Djs_embedder_test.h27 v8::Isolate* m_pIsolate = nullptr; variable
Dembedder_test.cpp74 config.m_pIsolate = external_isolate_; in SetUp()
/external/pdfium/docs/
Dgetting-started.md45 config.m_pIsolate = NULL;
59 `m_pIsolate` and `m_v8EmbedderSlot` are both used to configure the V8
61 `m_pIsolate` for PDFium to use to store per-isolate data. Passing `NULL` will
130 config.m_pIsolate = NULL;
/external/pdfium/testing/libfuzzer/
Dpdf_fuzzer_init.cc15 config.m_pIsolate = nullptr; in TestCase()
/external/pdfium/public/
Dfpdfview.h193 void* m_pIsolate; member
/external/pdfium/samples/
Dpdfium_test.cc1581 config.m_pIsolate = nullptr; in main()
/external/pdfium/fpdfsdk/
Dfpdfview.cpp483 IJS_Runtime::Initialize(cfg->m_v8EmbedderSlot, cfg->m_pIsolate); in FPDF_InitLibraryWithConfig()