Searched refs:SocketPath (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | raw_socket_stream.cpp | 65 static sockaddr_un setSocketAddr(StringRef SocketPath) { in setSocketAddr() argument 69 strncpy(Addr.sun_path, SocketPath.str().c_str(), sizeof(Addr.sun_path) - 1); in setSocketAddr() 73 static Expected<int> getSocketFD(StringRef SocketPath) { in getSocketFD() argument 85 struct sockaddr_un Addr = setSocketAddr(SocketPath); in getSocketFD() 97 ListeningSocket::ListeningSocket(int SocketFD, StringRef SocketPath, in getSocketFD() argument 99 : FD(SocketFD), SocketPath(SocketPath), PipeFD{PipeFD[0], PipeFD[1]} {} in getSocketFD() 102 : FD(LS.FD.load()), SocketPath(LS.SocketPath), in getSocketFD() 106 LS.SocketPath.clear(); in getSocketFD() 111 Expected<ListeningSocket> ListeningSocket::createUnix(StringRef SocketPath, in getSocketFD() argument 120 if (llvm::sys::fs::exists(SocketPath)) { in getSocketFD() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | raw_socket_stream.h | 62 std::string SocketPath; // Not modified after construction variable 70 ListeningSocket(int SocketFD, StringRef SocketPath, int PipeFD[2]); 112 StringRef SocketPath, 133 createConnectedUnix(StringRef SocketPath);
|