Lines Matching refs:m_port_map
49 m_port_map[min_port] = LLDB_INVALID_PROCESS_ID; in PortMap()
54 m_port_map.insert({port, LLDB_INVALID_PROCESS_ID}); in AllowPort()
59 if (m_port_map.empty()) in GetNextAvailablePort()
63 for (auto &pair : m_port_map) { in GetNextAvailablePort()
75 auto pos = m_port_map.find(port); in AssociatePortWithProcess()
76 if (pos != m_port_map.end()) { in AssociatePortWithProcess()
84 std::map<uint16_t, lldb::pid_t>::iterator pos = m_port_map.find(port); in FreePort()
85 if (pos != m_port_map.end()) { in FreePort()
94 if (!m_port_map.empty()) { in FreePortForProcess()
95 for (auto &pair : m_port_map) { in FreePortForProcess()
106 return m_port_map.empty(); in empty()
115 m_spawned_pids_mutex(), m_port_map(), m_port_offset(0) { in GDBRemoteCommunicationServerPlatform()
164 llvm::Expected<uint16_t> available_port = m_port_map.GetNextAvailablePort(); in LaunchGDBServer()
217 m_port_map.AssociatePortWithProcess(*port, pid); in LaunchGDBServer()
220 m_port_map.FreePort(*port); in LaunchGDBServer()
522 m_port_map.FreePortForProcess(pid); in DebugserverProcessReaped()
562 m_port_map = port_map; in SetPortMap()