Lines Matching refs:Socket

58 const NativeSocket Socket::kInvalidSocketValue = INVALID_SOCKET;
62 const NativeSocket Socket::kInvalidSocketValue = -1;
73 Socket::Socket(SocketProtocol protocol, bool should_close, in Socket() function in Socket
80 Socket::~Socket() { Close(); } in ~Socket()
82 llvm::Error Socket::Initialize() { in Initialize()
100 void Socket::Terminate() { in Terminate()
106 std::unique_ptr<Socket> Socket::Create(const SocketProtocol protocol, in Create()
111 std::unique_ptr<Socket> socket_up; in Create()
147 llvm::Expected<std::unique_ptr<Socket>>
148 Socket::TcpConnect(llvm::StringRef host_and_port, in TcpConnect()
154 std::unique_ptr<Socket> connect_socket( in TcpConnect()
167 Socket::TcpListen(llvm::StringRef host_and_port, bool child_processes_inherit, in TcpListen()
183 Socket::UdpConnect(llvm::StringRef host_and_port, in UdpConnect()
188 llvm::Expected<Socket::HostAndPort> Socket::DecodeHostAndPort(llvm::StringRef host_and_port) { in DecodeHostAndPort()
211 IOObject::WaitableHandle Socket::GetWaitableHandle() { in GetWaitableHandle()
216 Status Socket::Read(void *buf, size_t &num_bytes) { in Read()
243 Status Socket::Write(const void *buf, size_t &num_bytes) { in Write()
271 Status Socket::Close() { in Close()
294 int Socket::GetOption(int level, int option_name, int &option_value) { in GetOption()
302 int Socket::SetOption(int level, int option_name, int option_value) { in SetOption()
309 size_t Socket::Send(const void *buf, const size_t num_bytes) { in Send()
313 void Socket::SetLastError(Status &error) { in SetLastError()
321 NativeSocket Socket::CreateSocket(const int domain, const int type, in CreateSocket()
337 NativeSocket Socket::AcceptSocket(NativeSocket sockfd, struct sockaddr *addr, in AcceptSocket()
374 const Socket::HostAndPort &HP) { in operator <<()