• Home
  • Raw
  • Download

Lines Matching refs:contextId

63   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()
254 (*contextById)[contextId].reset(context); in contextCreated()
261 int contextId = InspectedContext::contextId(context); in contextDestroyed() local
263 m_contextIdToGroupIdMap.erase(contextId); in contextDestroyed()
267 storageIt->second->contextDestroyed(contextId); in contextDestroyed()
269 InspectedContext* inspectedContext = getContext(groupId, contextId); in contextDestroyed()
276 discardInspectedContext(groupId, contextId); in contextDestroyed()
330 InspectedContext::contextId(context), exception, exceptionId); in exceptionThrown()
380 int contextId) { in discardInspectedContext() argument
381 if (!getContext(contextGroupId, contextId)) return; in discardInspectedContext()
382 m_contexts[contextGroupId]->erase(contextId); in discardInspectedContext()