Home
last modified time | relevance | path

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

/external/v8/src/inspector/
Djava-script-call-frame.cc40 : m_isolate(debuggerContext->GetIsolate()), in JavaScriptCallFrame()
41 m_debuggerContext(m_isolate, debuggerContext), in JavaScriptCallFrame()
42 m_callFrame(m_isolate, callFrame) {} in JavaScriptCallFrame()
47 v8::HandleScope handleScope(m_isolate); in callV8FunctionReturnInt()
48 v8::MicrotasksScope microtasks(m_isolate, in callV8FunctionReturnInt()
51 v8::Local<v8::Context>::New(m_isolate, m_debuggerContext); in callV8FunctionReturnInt()
53 v8::Local<v8::Object>::New(m_isolate, m_callFrame); in callV8FunctionReturnInt()
55 callFrame->Get(context, toV8StringInternalized(m_isolate, name)) in callV8FunctionReturnInt()
69 v8::HandleScope handleScope(m_isolate); in isAtReturn()
71 v8::Local<v8::Context>::New(m_isolate, m_debuggerContext); in isAtReturn()
[all …]
Dv8-debugger.cc146 v8::MicrotasksScope microtasks(m_isolate, in callDebuggerMethod()
148 DCHECK(m_isolate->InContext()); in callDebuggerMethod()
149 v8::Local<v8::Context> context = m_isolate->GetCurrentContext(); in callDebuggerMethod()
150 v8::Local<v8::Object> debuggerScript = m_debuggerScript.Get(m_isolate); in callDebuggerMethod()
153 ->Get(context, toV8StringInternalized(m_isolate, functionName)) in callDebuggerMethod()
156 v8::TryCatch try_catch(m_isolate); in callDebuggerMethod()
163 : m_isolate(isolate), in V8Debugger()
180 v8::HandleScope scope(m_isolate); in enable()
181 v8::debug::SetDebugDelegate(m_isolate, this); in enable()
182 v8::debug::SetOutOfMemoryCallback(m_isolate, &V8Debugger::v8OOMCallback, in enable()
[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 …]
Dinjected-script-native.cc10 : m_lastBoundObjectId(1), m_isolate(isolate) {} in InjectedScriptNative()
18 v8::HandleScope handleScope(m_isolate); in setOnInjectedScriptHost()
19 v8::Local<v8::External> external = v8::External::New(m_isolate, this); in setOnInjectedScriptHost()
21 m_isolate, v8::String::NewFromUtf8(m_isolate, privateKeyName, in setOnInjectedScriptHost()
24 injectedScriptHost->SetPrivate(m_isolate->GetCurrentContext(), privateKey, in setOnInjectedScriptHost()
48 std::make_pair(id, v8::Global<v8::Value>(m_isolate, value))); in bind()
60 return iter != m_idToWrappedObject.end() ? iter->second.Get(m_isolate) in objectForId()
Dv8-inspector-impl.cc53 : m_isolate(isolate), in V8InspectorImpl()
95 v8::MicrotasksScope microtasksScope(m_isolate, in runCompiledScript()
126 v8::MicrotasksScope microtasksScope(m_isolate, runMicrotasks); in callFunction()
142 if (!v8::debug::CompileInspectorScript(m_isolate, source) in compileAndRunInternalScript()
145 v8::MicrotasksScope microtasksScope(m_isolate, in compileAndRunInternalScript()
155 toV8String(m_isolate, fileName), v8::Integer::New(m_isolate, 0), in compileScript()
156 v8::Integer::New(m_isolate, 0), in compileScript()
157 v8::False(m_isolate), // sharable in compileScript()
158 v8::Local<v8::Integer>(), toV8String(m_isolate, String16()), // sourceMap in compileScript()
159 v8::True(m_isolate)); // opaqueresource in compileScript()
[all …]
Dv8-debugger-script.cc136 m_sourceObj.Reset(m_isolate, tmp); in ActualScript()
147 m_script.Reset(m_isolate, script); in ActualScript()
169 m_sourceObj.Reset(m_isolate, source); in setSource()
176 v8::HandleScope scope(m_isolate); in getPossibleBreakpoints()
177 v8::Local<v8::debug::Script> script = m_script.Get(m_isolate); in getPossibleBreakpoints()
182 v8::HandleScope scope(m_isolate); in resetBlackboxedStateCache()
183 v8::debug::ResetBlackboxedStateCache(m_isolate, m_script.Get(m_isolate)); in resetBlackboxedStateCache()
232 v8::HandleScope scope(m_isolate); in getPossibleBreakpoints()
233 v8::Local<v8::debug::Script> script = m_script.Get(m_isolate); in getPossibleBreakpoints()
291 : m_id(std::move(id)), m_url(std::move(url)), m_isolate(isolate) {} in V8DebuggerScript()
Dv8-debugger-agent-impl.cc133 m_isolate(m_inspector->isolate()), in V8DebuggerAgentImpl()
460 v8::HandleScope handles(m_isolate); in resolveBreakpoint()
501 v8::HandleScope handles(m_isolate); in searchInContent()
507 searchInTextByLinesImpl(m_session, it->second->source(m_isolate), query, in searchInContent()
532 v8::HandleScope handles(m_isolate); in setScriptSource()
533 v8::Local<v8::String> newSource = toV8String(m_isolate, newContent); in setScriptSource()
585 v8::HandleScope handles(m_isolate); in getScriptSource()
586 *scriptSource = it->second->source(m_isolate); in getScriptSource()
721 toV8String(m_isolate, expression), in evaluateOnCallFrame()
753 scopeNumber, toV8String(m_isolate, variableName), newValue); in setVariableValue()
[all …]
Dv8-profiler-agent-impl.cc155 m_isolate(m_session->inspector()->isolate()), in V8ProfilerAgentImpl()
276 v8::debug::Coverage::TogglePrecise(m_isolate, true); in startPreciseCoverage()
283 v8::debug::Coverage::TogglePrecise(m_isolate, false); in stopPreciseCoverage()
348 return takeCoverage(m_isolate, true, out_result); in takePreciseCoverage()
354 return takeCoverage(m_isolate, false, out_result); in getBestEffortCoverage()
363 v8::HandleScope handleScope(m_isolate); in startProfiling()
366 m_profiler = v8::CpuProfiler::New(m_isolate); in startProfiling()
373 m_profiler->StartProfiling(toV8String(m_isolate, title), true); in startProfiling()
378 v8::HandleScope handleScope(m_isolate); in stopProfiling()
380 m_profiler->StopProfiling(toV8String(m_isolate, title)); in stopProfiling()
[all …]
Dv8-console.cc35 m_isolate(info.GetIsolate()), in ConsoleHelper()
53 v8::Local<v8::Private> key = inspectedContextPrivateKey(m_isolate); in ensureInspectedContext()
82 if (!m_info.Length()) arguments.push_back(toV8String(m_isolate, message)); in reportCallWithDefaultArgument()
88 toV8String(m_isolate, message)); in reportCallWithArgument()
109 toV8String(m_isolate, message)); in reportDeprecatedCall()
151 v8::Private::ForApi(m_isolate, toV8StringInternalized(m_isolate, name)); in privateMap()
156 v8::Local<v8::Map> map = v8::Map::New(m_isolate); in privateMap()
167 v8::Local<v8::String> v8Key = toV8String(m_isolate, key); in getIntFromMap()
175 v8::Local<v8::String> v8Key = toV8String(m_isolate, key); in setIntOnMap()
176 if (!map->Set(m_context, v8Key, v8::Integer::New(m_isolate, value)) in setIntOnMap()
[all …]
Dv8-value-copier.cc30 v8::Local<v8::Array> result = v8::Array::New(m_isolate, array->Length()); in copy()
31 if (!result->SetPrototype(m_to, v8::Null(m_isolate)).FromMaybe(false)) in copy()
46 v8::Local<v8::Object> result = v8::Object::New(m_isolate); in copy()
47 if (!result->SetPrototype(m_to, v8::Null(m_isolate)).FromMaybe(false)) in copy()
70 v8::Isolate* m_isolate; member in v8_inspector::__anon830a8ea30111::V8ValueCopier
172 copier.m_isolate = isolate; in copyValueFromDebuggerContext()
Dv8-inspector-impl.h57 v8::Isolate* isolate() const { return m_isolate; } in isolate()
134 v8::Isolate* m_isolate; variable
Dinjected-script-native.h36 v8::Isolate* m_isolate; variable
Djava-script-call-frame.h70 v8::Isolate* m_isolate; variable
Dv8-debugger-agent-impl.h144 v8::Isolate* isolate() { return m_isolate; } in isolate()
188 v8::Isolate* m_isolate; variable
Dv8-console-message.cc83 m_isolate(context->GetIsolate()), in V8ValueStringBuilder()
117 if (object->ObjectProtoToString(m_isolate->GetCurrentContext()) in append()
122 if (!value->ToString(m_isolate->GetCurrentContext()).ToLocal(&stringValue)) in append()
170 v8::Isolate* m_isolate; member in v8_inspector::__anon45cbd7fc0111::V8ValueStringBuilder
Dv8-heap-profiler-agent-impl.h57 v8::Isolate* m_isolate; variable
Dv8-profiler-agent-impl.h63 v8::Isolate* m_isolate; variable
Dv8-debugger-script.h97 v8::Isolate* m_isolate; variable
Dv8-debugger.h148 v8::Isolate* m_isolate; variable
/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/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()