Home
last modified time | relevance | path

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

/base/startup/appspawn/adapter/
Dappspawn_nweb.cpp40 std::map<int32_t, RenderProcessNode> g_renderProcessMap; variable
158 for (auto& it : g_renderProcessMap) { in DumpRenderProcessExitedMap()
167 if (g_renderProcessMap.size() < RENDER_PROCESS_MAX_NUM) { in RecordRenderProcessExitedStatus()
169 g_renderProcessMap.insert({pid, node}); in RecordRenderProcessExitedStatus()
175 auto oldestData = std::min_element(g_renderProcessMap.begin(), g_renderProcessMap.end(), in RecordRenderProcessExitedStatus()
180 g_renderProcessMap.erase(oldestData); in RecordRenderProcessExitedStatus()
182 g_renderProcessMap.insert({pid, node}); in RecordRenderProcessExitedStatus()
193 auto it = g_renderProcessMap.find(pid); in GetRenderProcessTerminationStatus()
194 if (it != g_renderProcessMap.end()) { in GetRenderProcessTerminationStatus()
196 g_renderProcessMap.erase(it); in GetRenderProcessTerminationStatus()