Lines Matching refs:SyncSocket
35 size_t SendHelper(SyncSocket::Handle handle, in SendHelper()
40 DCHECK_NE(handle, SyncSocket::kInvalidHandle); in SendHelper()
47 bool CloseHandle(SyncSocket::Handle handle) { in CloseHandle()
48 if (handle != SyncSocket::kInvalidHandle && close(handle) < 0) { in CloseHandle()
58 const SyncSocket::Handle SyncSocket::kInvalidHandle = -1;
60 SyncSocket::SyncSocket() : handle_(kInvalidHandle) {} in SyncSocket() function in base::SyncSocket
62 SyncSocket::~SyncSocket() { in ~SyncSocket()
67 bool SyncSocket::CreatePair(SyncSocket* socket_a, SyncSocket* socket_b) { in CreatePair()
104 SyncSocket::Handle SyncSocket::UnwrapHandle( in UnwrapHandle()
109 bool SyncSocket::PrepareTransitDescriptor(ProcessHandle peer_process_handle, in PrepareTransitDescriptor()
116 bool SyncSocket::Close() { in Close()
122 size_t SyncSocket::Send(const void* buffer, size_t length) { in Send()
127 size_t SyncSocket::Receive(void* buffer, size_t length) { in Receive()
138 size_t SyncSocket::ReceiveWithTimeout(void* buffer, in ReceiveWithTimeout()
198 size_t SyncSocket::Peek() { in Peek()
209 SyncSocket::Handle SyncSocket::Release() { in Release()
217 : SyncSocket(handle) { in CancelableSyncSocket()
250 return SyncSocket::CreatePair(socket_a, socket_b); in CreatePair()