Searched refs:PortStr (Results 1 – 3 of 3) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/tools/llvm-jitlink/llvm-jitlink-executor/ |
| H A D | llvm-jitlink-executor.cpp | 63 int openListener(std::string Host, std::string PortStr) { in openListener() argument 75 if (int EC = getaddrinfo(nullptr, PortStr.c_str(), &Hints, &AI)) { in openListener() 146 StringRef Host, PortStr; in main() local 147 std::tie(Host, PortStr) = Specifier.split(':'); in main() 150 if (PortStr.getAsInteger(10, Port)) in main() 151 printErrorAndExit("port number '" + PortStr + in main() 154 InFD = OutFD = openListener(Host.str(), PortStr.str()); in main()
|
| /openbsd-src/gnu/llvm/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/ |
| H A D | RemoteJITUtils.cpp | 152 std::string PortStr) { in connectTCPSocketImpl() argument 159 if (int EC = getaddrinfo(Host.c_str(), PortStr.c_str(), &Hints, &AI)) in connectTCPSocketImpl() 199 StringRef Host, PortStr; in connectTCPSocket() local 200 std::tie(Host, PortStr) = NetworkAddress.split(':'); in connectTCPSocket() 203 if (PortStr.empty()) in connectTCPSocket() 206 if (PortStr.getAsInteger(10, Port)) in connectTCPSocket() 209 Expected<int> SockFD = connectTCPSocketImpl(Host.str(), PortStr.str()); in connectTCPSocket()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-jitlink/ |
| H A D | llvm-jitlink.cpp | 799 static Expected<int> connectTCPSocket(std::string Host, std::string PortStr) { in connectTCPSocket() argument 806 if (int EC = getaddrinfo(Host.c_str(), PortStr.c_str(), &Hints, &AI)) in connectTCPSocket() 852 StringRef Host, PortStr; in connectToExecutor() 853 std::tie(Host, PortStr) = StringRef(OutOfProcessExecutorConnect).split(':'); in connectToExecutor() 858 if (PortStr.empty()) in connectToExecutor() 863 if (PortStr.getAsInteger(10, Port)) in connectToExecutor() 864 return createTCPSocketError("Port number '" + PortStr + in connectToExecutor() 867 Expected<int> SockFD = connectTCPSocket(Host.str(), PortStr.str()); in connectToExecutor()
|