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()
101 void Socket::Terminate() { in Terminate()
107 std::unique_ptr<Socket> Socket::Create(const SocketProtocol protocol, in Create()
112 std::unique_ptr<Socket> socket_up; in Create()
148 llvm::Expected<std::unique_ptr<Socket>>
149 Socket::TcpConnect(llvm::StringRef host_and_port, in TcpConnect()
155 std::unique_ptr<Socket> connect_socket( in TcpConnect()
168 Socket::TcpListen(llvm::StringRef host_and_port, bool child_processes_inherit, in TcpListen()
184 Socket::UdpConnect(llvm::StringRef host_and_port, in UdpConnect()
189 llvm::Expected<Socket::HostAndPort> Socket::DecodeHostAndPort(llvm::StringRef host_and_port) { in DecodeHostAndPort()
212 IOObject::WaitableHandle Socket::GetWaitableHandle() { in GetWaitableHandle()
217 Status Socket::Read(void *buf, size_t &num_bytes) { in Read()
244 Status Socket::Write(const void *buf, size_t &num_bytes) { in Write()
272 Status Socket::Close() { in Close()
295 int Socket::GetOption(int level, int option_name, int &option_value) { in GetOption()
303 int Socket::SetOption(int level, int option_name, int option_value) { in SetOption()
310 size_t Socket::Send(const void *buf, const size_t num_bytes) { in Send()
314 void Socket::SetLastError(Status &error) { in SetLastError()
322 NativeSocket Socket::CreateSocket(const int domain, const int type, in CreateSocket()
338 NativeSocket Socket::AcceptSocket(NativeSocket sockfd, struct sockaddr *addr, in AcceptSocket()
375 const Socket::HostAndPort &HP) { in operator <<()