Home
last modified time | relevance | path

Searched refs:m_isolate (Results 1 – 20 of 20) sorted by relevance

/external/pdfium/fxjs/
Dcjs_v8.cpp14 CJS_V8::CJS_V8(v8::Isolate* isolate) : m_isolate(isolate) {} in CJS_V8()
26 if (!pObj->Get(m_isolate->GetCurrentContext(), in GetObjectProperty()
39 v8::Local<v8::Context> context = m_isolate->GetCurrentContext(); in GetObjectPropertyNames()
56 pObj->Set(m_isolate->GetCurrentContext(), in PutObjectProperty()
62 return v8::Array::New(m_isolate); in NewArray()
70 if (pArray->Set(m_isolate->GetCurrentContext(), index, pValue).IsNothing()) in PutArrayElement()
80 if (!pArray->Get(m_isolate->GetCurrentContext(), index).ToLocal(&val)) in GetArrayElement()
92 return v8::Local<v8::Context>::New(m_isolate, m_V8PersistentContext); in NewLocalContext()
96 return m_V8PersistentContext.Get(m_isolate); in GetPersistentContext()
100 return v8::Int32::New(m_isolate, number); in NewNumber()
[all …]
Dcfxjse_isolatetracker.h21 : m_isolate(pIsolate), m_iscope(pIsolate), m_hscope(pIsolate) {} in CFXJSE_ScopeUtil_IsolateHandle()
22 v8::Isolate* GetIsolate() { return m_isolate; } in GetIsolate()
31 v8::Isolate* m_isolate; variable
Dcjs_v8.h29 v8::Isolate* GetIsolate() const { return m_isolate; } in GetIsolate()
79 void SetIsolate(v8::Isolate* pIsolate) { m_isolate = pIsolate; } in SetIsolate()
83 m_V8PersistentContext.Reset(m_isolate, context); in ResetPersistentContext()
88 v8::Isolate* m_isolate;
Dcjs_runtime.cpp81 pExternalIsolate = reinterpret_cast<v8::Isolate*>(pPlatform->m_isolate); in CJS_Runtime()
/external/v8/src/inspector/
Dv8-inspector-impl.cc59 : m_isolate(isolate), in V8InspectorImpl()
65 m_isolateId(v8::debug::GetNextRandomInt64(m_isolate)) { in V8InspectorImpl()
66 v8::debug::SetInspector(m_isolate, this); in V8InspectorImpl()
67 v8::debug::SetConsoleDelegate(m_isolate, console()); in V8InspectorImpl()
71 v8::debug::SetInspector(m_isolate, nullptr); in ~V8InspectorImpl()
72 v8::debug::SetConsoleDelegate(m_isolate, nullptr); in ~V8InspectorImpl()
87 if (!v8::debug::CompileInspectorScript(m_isolate, source) in compileAndRunInternalScript()
90 v8::MicrotasksScope microtasksScope(m_isolate, in compileAndRunInternalScript()
93 v8::Isolate::SafeForTerminationScope allowTermination(m_isolate); in compileAndRunInternalScript()
101 toV8String(m_isolate, fileName), v8::Integer::New(m_isolate, 0), in compileScript()
[all …]
Dv8-debugger.cc162 : m_isolate(isolate), in V8Debugger()
173 m_isolate->RemoveCallCompletedCallback( in ~V8Debugger()
175 m_isolate->RemoveMicrotasksCompletedCallback( in ~V8Debugger()
181 v8::HandleScope scope(m_isolate); in enable()
182 v8::debug::SetDebugDelegate(m_isolate, this); in enable()
183 m_isolate->AddNearHeapLimitCallback(&V8Debugger::nearHeapLimitCallback, this); in enable()
184 v8::debug::ChangeBreakOnException(m_isolate, v8::debug::NoBreakOnException); in enable()
207 v8::debug::SetDebugDelegate(m_isolate, nullptr); in disable()
208 m_isolate->RemoveNearHeapLimitCallback(&V8Debugger::nearHeapLimitCallback, in disable()
222 v8::HandleScope scope(m_isolate); in getCompiledScripts()
[all …]
Dv8-debugger-script.cc142 v8::EscapableHandleScope scope(m_isolate); in setSource()
143 v8::Local<v8::String> v8Source = toV8String(m_isolate, newSource); in setSource()
144 if (!m_script.Get(m_isolate)->SetScriptSource(v8Source, preview, result)) { in setSource()
157 v8::HandleScope scope(m_isolate); in getPossibleBreakpoints()
158 v8::Local<v8::debug::Script> script = m_script.Get(m_isolate); in getPossibleBreakpoints()
193 v8::HandleScope scope(m_isolate); in resetBlackboxedStateCache()
194 v8::debug::ResetBlackboxedStateCache(m_isolate, m_script.Get(m_isolate)); in resetBlackboxedStateCache()
198 v8::HandleScope scope(m_isolate); in offset()
199 return m_script.Get(m_isolate)->GetSourceOffset( in offset()
204 v8::HandleScope scope(m_isolate); in location()
[all …]
Dv8-heap-profiler-agent-impl.cc151 m_isolate(session->inspector()->isolate()), in V8HeapProfilerAgentImpl()
176 m_isolate->LowMemoryNotification(); in collectGarbage()
207 v8::HeapProfiler* profiler = m_isolate->GetHeapProfiler(); in disable()
210 m_isolate->GetHeapProfiler()->ClearObjectIds(); in disable()
216 v8::HeapProfiler* profiler = m_isolate->GetHeapProfiler(); in takeHeapSnapshot()
239 v8::HandleScope handles(m_isolate); in getObjectByHeapObjectId()
240 v8::Local<v8::Object> heapObject = objectByHeapObjectId(m_isolate, id); in getObjectByHeapObjectId()
258 v8::HandleScope handles(m_isolate); in addInspectedHeapObject()
259 v8::Local<v8::Object> heapObject = objectByHeapObjectId(m_isolate, id); in addInspectedHeapObject()
271 v8::HandleScope handles(m_isolate); in getHeapObjectId()
[all …]
Dv8-profiler-agent-impl.cc171 m_isolate(m_session->inspector()->isolate()), in V8ProfilerAgentImpl()
311 C::SelectMode(m_isolate, mode); in startPreciseCoverage()
320 v8::debug::Coverage::SelectMode(m_isolate, v8::debug::Coverage::kBestEffort); in stopPreciseCoverage()
401 v8::HandleScope handle_scope(m_isolate); in takePreciseCoverage()
402 v8::debug::Coverage coverage = v8::debug::Coverage::CollectPrecise(m_isolate); in takePreciseCoverage()
409 v8::HandleScope handle_scope(m_isolate); in getBestEffortCoverage()
411 v8::debug::Coverage::CollectBestEffort(m_isolate); in getBestEffortCoverage()
464 v8::debug::TypeProfile::SelectMode(m_isolate, in startTypeProfile()
471 v8::debug::TypeProfile::SelectMode(m_isolate, v8::debug::TypeProfile::kNone); in stopTypeProfile()
482 v8::HandleScope handle_scope(m_isolate); in takeTypeProfile()
[all …]
Dv8-debugger-agent-impl.cc318 m_isolate(m_inspector->isolate()) {} in V8DebuggerAgentImpl()
374 v8::debug::RemoveBreakpoint(m_isolate, it.first); in disable()
576 toV8String(m_isolate, optionalCondition.fromMaybe(String16())); in setBreakpointOnFunctionCall()
629 v8::debug::RemoveBreakpoint(m_isolate, id); in removeBreakpointImpl()
663 v8::HandleScope handleScope(m_isolate); in getPossibleBreakpoints()
670 v8::MicrotasksScope microtasks(m_isolate, in getPossibleBreakpoints()
672 v8::TryCatch tryCatch(m_isolate); in getPossibleBreakpoints()
783 v8::HandleScope handles(m_isolate); in setBreakpointImpl()
834 v8::HandleScope handles(m_isolate); in searchInContent()
871 v8::HandleScope handleScope(m_isolate); in setScriptSource()
[all …]
Dv8-inspector-impl.h61 v8::Isolate* isolate() const { return m_isolate; } in isolate()
135 v8::Isolate* m_isolate;
143 v8::Isolate* m_isolate;
Dv8-console.cc40 m_isolate(inspector->isolate()), in ConsoleHelper()
41 m_context(m_isolate->GetCurrentContext()), in ConsoleHelper()
74 if (!m_info.Length()) arguments.push_back(toV8String(m_isolate, message)); in reportCallWithDefaultArgument()
80 toV8String(m_isolate, message)); in reportCallWithArgument()
91 consoleContextToString(m_isolate, m_consoleContext), in reportCall()
102 toV8String(m_isolate, message)); in reportDeprecatedCall()
152 v8::Isolate* m_isolate; member in v8_inspector::__anon89dc04360111::ConsoleHelper
Dv8-debugger.h46 v8::Isolate* isolate() const { return m_isolate; } in isolate()
192 v8::Isolate* m_isolate; variable
Dv8-heap-profiler-agent-impl.h59 v8::Isolate* m_isolate; variable
Dv8-debugger-script.h102 v8::Isolate* m_isolate; variable
Dv8-profiler-agent-impl.h68 v8::Isolate* m_isolate; variable
Dv8-debugger-agent-impl.h156 v8::Isolate* isolate() { return m_isolate; } in isolate()
199 v8::Isolate* m_isolate; variable
Dv8-console-message.cc84 m_isolate(context->GetIsolate()), in V8ValueStringBuilder()
172 m_builder.append(toProtocolString(m_isolate, string)); in append()
183 v8::Isolate* m_isolate; member in v8_inspector::__anon55a612080111::V8ValueStringBuilder
/external/pdfium/public/
Dfpdf_formfill.h305 void* m_isolate; /* Unused in v3, retain for compatibility. */ member
/external/pdfium/testing/
Dembedder_test.cpp209 platform->m_isolate = external_isolate_; in SetupFormFillEnvironment()