Home
last modified time | relevance | path

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

/external/llvm-project/lldb/unittests/Process/gdb-remote/
DPortMapTest.cpp23 llvm::Expected<uint16_t> available_port = p1.GetNextAvailablePort(); in TEST() local
24 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 …]
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteCommunicationServerPlatform.cpp162 llvm::Expected<uint16_t> available_port = m_port_map.GetNextAvailablePort(); in LaunchGDBServer() local
163 if (available_port) in LaunchGDBServer()
164 port = *available_port; in LaunchGDBServer()
166 return Status(available_port.takeError()); in LaunchGDBServer()