Searched refs:available_port (Results 1 – 2 of 2) sorted by relevance
23 llvm::Expected<uint16_t> available_port = p1.GetNextAvailablePort(); in TEST() local24 ASSERT_THAT_EXPECTED(available_port, llvm::HasValue(0)); in TEST()31 available_port = p1.GetNextAvailablePort(); in TEST()32 ASSERT_THAT_EXPECTED(available_port, llvm::HasValue(1)); in TEST()40 available_port = p2.GetNextAvailablePort(); in TEST()41 ASSERT_THAT_EXPECTED(available_port, llvm::HasValue(expected)); in TEST()42 p2.AssociatePortWithProcess(*available_port, 1); in TEST()46 available_port = p2.GetNextAvailablePort(); in TEST()47 ASSERT_THAT_EXPECTED(available_port, llvm::Failed()); in TEST()57 llvm::Expected<uint16_t> available_port = p.GetNextAvailablePort(); in TEST() local[all …]
162 llvm::Expected<uint16_t> available_port = m_port_map.GetNextAvailablePort(); in LaunchGDBServer() local163 if (available_port) in LaunchGDBServer()164 port = *available_port; in LaunchGDBServer()166 return Status(available_port.takeError()); in LaunchGDBServer()