Home
last modified time | relevance | path

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

/external/v8/src/inspector/
Dv8-inspector-impl.cc76 return contextGroupId(InspectedContext::contextId(context)); in contextGroupId()
79 int V8InspectorImpl::contextGroupId(int contextId) const { in contextGroupId()
80 auto it = m_contextIdToGroupIdMap.find(contextId); in contextGroupId()
175 int contextId) const { in getContext()
176 if (!groupId || !contextId) return nullptr; in getContext()
181 ContextByIdMap::iterator contextIt = contextGroupIt->second->find(contextId); in getContext()
187 InspectedContext* V8InspectorImpl::getContext(int contextId) const { in getContext()
188 return getContext(contextGroupId(contextId), contextId); in getContext()
192 int groupId, v8::Maybe<int> contextId) { in contextById() argument
193 if (contextId.IsNothing()) { in contextById()
[all …]
Dv8-console-message.h49 v8::Local<v8::Context> v8Context, int contextId, int groupId,
58 const String16& message, int contextId, v8::Local<v8::Value> exception,
69 void contextDestroyed(int contextId);
116 void contextDestroyed(int contextId);
119 bool shouldReportDeprecationMessage(int contextId, const String16& method);
120 int count(int contextId, const String16& id);
121 bool countReset(int contextId, const String16& id);
122 void time(int contextId, const String16& id);
123 double timeEnd(int contextId, const String16& id);
124 bool hasTimer(int contextId, const String16& id);
Dv8-console-message.cc249 int contextId = m_contextId; in wrapArguments() local
250 if (!m_arguments.size() || !contextId) return nullptr; in wrapArguments()
252 inspector->getContext(contextGroupId, contextId); in wrapArguments()
268 inspectedContext = inspector->getContext(contextGroupId, contextId); in wrapArguments()
279 inspectedContext = inspector->getContext(contextGroupId, contextId); in wrapArguments()
376 v8::Local<v8::Context> v8Context, int contextId, int groupId, in createForConsoleAPI() argument
393 message->m_contextId = contextId; in createForConsoleAPI()
434 v8::Isolate* isolate, const String16& message, int contextId, in createForException() argument
442 if (contextId && !exception.IsEmpty()) { in createForException()
443 consoleMessage->m_contextId = contextId; in createForException()
[all …]
Dv8-runtime-agent-impl.cc204 Maybe<int> executionContextId, int* contextId) { in ensureContext() argument
206 *contextId = executionContextId.fromJust(); in ensureContext()
213 *contextId = InspectedContext::contextId(defaultContext); in ensureContext()
240 int contextId = 0; in evaluate() local
242 std::move(executionContextId), &contextId); in evaluate()
248 InjectedScript::ContextScope scope(m_session, contextId); in evaluate()
354 int contextId = 0; in callFunctionOn() local
357 std::move(executionContextId.fromJust()), &contextId); in callFunctionOn()
362 InjectedScript::ContextScope scope(m_session, contextId); in callFunctionOn()
486 int contextId = 0; in compileScript() local
[all …]
Dinspected-context.cc20 int groupId, int contextId) in WeakCallbackData() argument
24 m_contextId(contextId) {} in WeakCallbackData()
51 const V8ContextInfo& info, int contextId) in InspectedContext() argument
54 m_contextId(contextId), in InspectedContext()
59 v8::debug::SetContextId(info.context, contextId); in InspectedContext()
84 int InspectedContext::contextId(v8::Local<v8::Context> context) { in contextId() function in v8_inspector::InspectedContext
Dv8-inspector-impl.h65 int contextGroupId(int contextId) const;
82 v8::Maybe<int> contextId) override;
83 void contextCollected(int contextGroupId, int contextId);
116 void discardInspectedContext(int contextGroupId, int contextId);
119 InspectedContext* getContext(int groupId, int contextId) const;
120 InspectedContext* getContext(int contextId) const;
Dinspected-context.h27 static int contextId(v8::Local<v8::Context>);
30 int contextId() const { return m_contextId; } in contextId() function
48 InspectedContext(V8InspectorImpl*, const V8ContextInfo&, int contextId);
Dv8-debugger-agent-impl.cc664 int contextId = it->second->executionContextId(); in getPossibleBreakpoints() local
665 InspectedContext* inspected = m_inspector->getContext(contextId); in getPossibleBreakpoints()
703 int contextId = script->executionContextId(); in continueToLocation() local
704 InspectedContext* inspected = m_inspector->getContext(contextId); in continueToLocation()
795 int contextId = script->executionContextId(); in setBreakpointImpl() local
796 InspectedContext* inspected = m_inspector->getContext(contextId); in setBreakpointImpl()
866 int contextId = it->second->executionContextId(); in setScriptSource() local
867 InspectedContext* inspected = m_inspector->getContext(contextId); in setScriptSource()
1258 int contextId = iterator->GetContextId(); in currentCallFrames() local
1260 if (contextId) m_session->findInjectedScript(contextId, injectedScript); in currentCallFrames()
[all …]
Dv8-inspector-session-impl.cc42 return InspectedContext::contextId(context); in executionContextId()
199 int contextId, InjectedScript*& injectedScript) { in findInjectedScript() argument
202 m_inspector->getContext(m_contextGroupId, contextId); in findInjectedScript()
220 return findInjectedScript(objectId->contextId(), injectedScript); in findInjectedScript()
285 findInjectedScript(InspectedContext::contextId(context), injectedScript); in wrapObject()
297 findInjectedScript(InspectedContext::contextId(context), injectedScript); in wrapTable()
Dv8-debugger.cc233 int contextId; in getCompiledScripts() local
234 if (!script->ContextId().To(&contextId)) continue; in getCompiledScripts()
235 if (m_inspector->contextGroupId(contextId) != contextGroupId) continue; in getCompiledScripts()
530 InspectedContext::contextId(pausedContext), exception, in handleProgramBreak()
577 int contextId; in ScriptCompiled() local
578 if (!script->ContextId().To(&contextId)) return; in ScriptCompiled()
582 m_inspector->contextGroupId(contextId), in ScriptCompiled()
592 m_inspector->contextGroupId(contextId), in ScriptCompiled()
622 int contextId; in IsFunctionBlackboxed() local
623 if (!script->ContextId().To(&contextId)) return false; in IsFunctionBlackboxed()
[all …]
Dv8-console.cc43 m_contextId(InspectedContext::contextId(m_context)), in ConsoleHelper()
46 int contextId() const { return m_contextId; } in contextId() function in v8_inspector::__anon89dc04360111::ConsoleHelper
314 helper.consoleMessageStorage()->count(helper.contextId(), identifier); in Count()
328 if (!helper.consoleMessageStorage()->countReset(helper.contextId(), in CountReset()
376 if (helper.consoleMessageStorage()->hasTimer(helper.contextId(), timerId)) { in timeFunction()
383 helper.consoleMessageStorage()->time(helper.contextId(), timerId); in timeFunction()
395 if (!helper.consoleMessageStorage()->hasTimer(helper.contextId(), timerId)) { in timeEndFunction()
403 helper.contextId(), in timeEndFunction()
Dinjected-script.cc299 v8::Number::New(isolate, inspectedContext->contextId())}; in create()
302 int contextId = inspectedContext->contextId(); in create() local
308 if (inspector->getContext(contextGroupId, contextId) != inspectedContext) in create()
451 m_context->contextId(), objectGroup, returnByValue, generatePreview, in addPromiseCallback()
531 if (remoteObjectId->contextId() != m_context->contextId()) in resolveCallArgument()
Dremote-object-id.h16 int contextId() const { return m_injectedScriptId; } in contextId() function
Dv8-inspector-session-impl.h48 Response findInjectedScript(int contextId, InjectedScript*&);
Dv8-debugger-agent-impl.h143 void didPause(int contextId, v8::Local<v8::Value> exception,
Dv8-heap-profiler-agent-impl.cc59 InspectedContext::contextId(object->CreationContext())); in GetName()
Djs_protocol.pdl1199 optional ExecutionContextId contextId
/external/deqp/modules/egl/
DteglImageFormatTests.cpp154 ImageApi (const Library& egl, int contextId, EGLDisplay display, EGLSurface surface);
164 ImageApi::ImageApi (const Library& egl, int contextId, EGLDisplay display, EGLSurface surface) in ImageApi() argument
166 , m_contextId (contextId) in ImageApi()
268 …GLES2ImageApi (const Library& egl, const glw::Functions& gl, int contextId, tcu::TestLog& log,…
278 GLES2ImageApi::GLES2ImageApi (const Library& egl, const glw::Functions& gl, int contextId, tcu::Tes… in GLES2ImageApi() argument
279 : ImageApi (egl, contextId, display, surface) in GLES2ImageApi()
/external/v8/include/
Dv8-inspector.h249 v8::Maybe<int> contextId) = 0;