Home
last modified time | relevance | path

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

/external/v8/src/inspector/
Dv8-inspector-impl.cc63 return contextGroupId(InspectedContext::contextId(context)); in contextGroupId()
66 int V8InspectorImpl::contextGroupId(int contextId) { in contextGroupId() argument
68 m_contextIdToGroupIdMap.find(contextId); in contextGroupId()
227 int contextId) const { in getContext()
228 if (!groupId || !contextId) return nullptr; in getContext()
233 ContextByIdMap::iterator contextIt = contextGroupIt->second->find(contextId); in getContext()
240 int contextId = ++m_lastContextId; in contextCreated() local
241 InspectedContext* context = new InspectedContext(this, info, contextId); in contextCreated()
242 m_contextIdToGroupIdMap[contextId] = info.contextGroupId; in contextCreated()
253 DCHECK(contextById->find(contextId) == contextById->cend()); in contextCreated()
[all …]
Dv8-runtime-agent-impl.cc236 Maybe<int> executionContextId, int* contextId) { in ensureContext() argument
238 *contextId = executionContextId.fromJust(); in ensureContext()
245 *contextId = InspectedContext::contextId(defaultContext); in ensureContext()
271 int contextId = 0; in evaluate() local
273 std::move(executionContextId), &contextId); in evaluate()
280 contextId); in evaluate()
323 scope.injectedScript()->context()->contextId(), objectGroup.fromMaybe(""), in evaluate()
342 scope.injectedScript()->context()->contextId(), scope.objectGroupName(), in awaitPromise()
437 scope.injectedScript()->context()->contextId(), scope.objectGroupName(), in callFunctionOn()
541 int contextId = 0; in compileScript() local
[all …]
Dinspected-context.cc35 const V8ContextInfo& info, int contextId) in InspectedContext() argument
38 m_contextId(contextId), in InspectedContext()
46 v8::Int32::New(isolate, contextId)); in InspectedContext()
71 int InspectedContext::contextId(v8::Local<v8::Context> context) { in contextId() function in v8_inspector::InspectedContext
Dv8-console-message.cc236 int contextId = m_contextId; in wrapArguments() local
237 if (!m_arguments.size() || !contextId) return nullptr; in wrapArguments()
239 inspector->getContext(contextGroupId, contextId); in wrapArguments()
255 inspectedContext = inspector->getContext(contextGroupId, contextId); in wrapArguments()
266 inspectedContext = inspector->getContext(contextGroupId, contextId); in wrapArguments()
361 int contextId = inspectedContext->contextId(); in createForConsoleAPI() local
375 message->m_contextId = contextId; in createForConsoleAPI()
413 v8::Isolate* isolate, const String16& message, int contextId, in createForException() argument
421 if (contextId && !exception.IsEmpty()) { in createForException()
422 consoleMessage->m_contextId = contextId; in createForException()
[all …]
Dinspected-context.h24 static int contextId(v8::Local<v8::Context>);
27 int contextId() const { return m_contextId; } in contextId() function
45 InspectedContext(V8InspectorImpl*, const V8ContextInfo&, int contextId);
Dv8-console-message.h55 const String16& message, int contextId, v8::Local<v8::Value> exception,
66 void contextDestroyed(int contextId);
112 void contextDestroyed(int contextId);
Dv8-inspector-session-impl.cc42 return InspectedContext::contextId(context); in executionContextId()
202 int contextId, InjectedScript*& injectedScript) { in findInjectedScript() argument
204 if (!contextId) in findInjectedScript()
212 auto contextsIt = contexts->find(contextId); in findInjectedScript()
229 return findInjectedScript(objectId->contextId(), injectedScript); in findInjectedScript()
303 findInjectedScript(InspectedContext::contextId(context), injectedScript); in wrapObject()
315 findInjectedScript(InspectedContext::contextId(context), injectedScript); in wrapTable()
Dv8-inspector-impl.h61 int contextGroupId(int contextId);
119 void discardInspectedContext(int contextGroupId, int contextId);
123 InspectedContext* getContext(int groupId, int contextId) const;
Dv8-debugger-agent-impl.cc895 int contextId = currentCallFrame->contextId(); in currentCallFrames() local
898 if (contextId) m_session->findInjectedScript(contextId, injectedScript); in currentCallFrames()
901 RemoteCallFrameId::serialize(contextId, static_cast<int>(frameOrdinal)); in currentCallFrames()
1000 int contextId = script->executionContextId(); in didParseSource() local
1001 int contextGroupId = m_inspector->contextGroupId(contextId); in didParseSource()
1003 m_inspector->getContext(contextGroupId, contextId); in didParseSource()
1037 scriptRef->endLine(), scriptRef->endColumn(), contextId, in didParseSource()
1044 scriptRef->endLine(), scriptRef->endColumn(), contextId, in didParseSource()
1078 void V8DebuggerAgentImpl::didPause(int contextId, in didPause() argument
1094 m_session->findInjectedScript(contextId, injectedScript); in didPause()
Dinjected-script.cc94 v8::Number::New(isolate, inspectedContext->contextId())}; in create()
99 int contextId = inspectedContext->contextId(); in create() local
105 if (inspector->getContext(contextGroupId, contextId) != inspectedContext) in create()
312 if (remoteObjectId->contextId() != m_context->contextId()) in resolveCallArgument()
Dremote-object-id.h16 int contextId() const { return m_injectedScriptId; } in contextId() function
Djava-script-call-frame.h52 int contextId() const;
Ddebugger-script.js403 function contextId() function
442 "contextId": contextId,
Dv8-debugger.cc39 int contextId = static_cast<int>(contextData.As<v8::Int32>()->Value()); in agentForScript() local
40 int contextGroupId = inspector->contextGroupId(contextId); in agentForScript()
217 int contextId = static_cast<int>(contextData.As<v8::Int32>()->Value()); in getCompiledScripts() local
218 if (m_inspector->contextGroupId(contextId) != contextGroupId) continue; in getCompiledScripts()
553 agent->didPause(InspectedContext::contextId(pausedContext), exception, in handleProgramBreak()
Dv8-inspector-session-impl.h47 Response findInjectedScript(int contextId, InjectedScript*&);
Djava-script-call-frame.cc64 int JavaScriptCallFrame::contextId() const { in contextId() function in v8_inspector::JavaScriptCallFrame
Dv8-debugger-agent-impl.h130 void didPause(int contextId, v8::Local<v8::Value> exception,
Dv8-heap-profiler-agent-impl.cc59 InspectedContext::contextId(object->CreationContext())); in GetName()
/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()