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 | 64 static sockaddr_un setSocketAddr(StringRef SocketPath) { in setSocketAddr() argument 68 strncpy(Addr.sun_path, SocketPath.str().c_str(), sizeof(Addr.sun_path) - 1); in setSocketAddr() 72 static Expected<int> getSocketFD(StringRef SocketPath) { in getSocketFD() argument 93 struct sockaddr_un Addr = setSocketAddr(SocketPath); in getSocketFD() 105 ListeningSocket::ListeningSocket(int SocketFD, StringRef SocketPath, in getSocketFD() argument 107 : FD(SocketFD), SocketPath(SocketPath), PipeFD{PipeFD[0], PipeFD[1]} {} in getSocketFD() 110 : FD(LS.FD.load()), SocketPath(LS.SocketPath), in getSocketFD() 114 LS.SocketPath.clear(); in getSocketFD() 119 Expected<ListeningSocket> ListeningSocket::createUnix(StringRef SocketPath, in getSocketFD() argument 128 if (llvm::sys::fs::exists(SocketPath)) { in getSocketFD() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | raw_socket_stream.h | 63 std::string SocketPath; // Not modified after construction variable 71 ListeningSocket(int SocketFD, StringRef SocketPath, int PipeFD[2]); 113 StringRef SocketPath, 134 createConnectedUnix(StringRef SocketPath);
|