Searched refs:socket_a (Results 1 – 3 of 3) sorted by relevance
/external/libchrome/base/ |
D | sync_socket_unittest.cc | 71 void SendReceivePeek(SyncSocket* socket_a, SyncSocket* socket_b) { in SendReceivePeek() argument 76 ASSERT_EQ(0u, socket_a->Peek()); in SendReceivePeek() 81 ASSERT_EQ(sizeof(kSending), socket_a->Send(&kSending, sizeof(kSending))); in SendReceivePeek() 86 ASSERT_EQ(0u, socket_a->Peek()); in SendReceivePeek() 92 ASSERT_EQ(sizeof(kSending), socket_a->Peek()); in SendReceivePeek() 93 ASSERT_EQ(sizeof(kSending), socket_a->Receive(&received, sizeof(kSending))); in SendReceivePeek() 96 ASSERT_EQ(0u, socket_a->Peek()); in SendReceivePeek() 99 ASSERT_TRUE(socket_a->Close()); in SendReceivePeek()
|
D | sync_socket_posix.cc | 67 bool SyncSocket::CreatePair(SyncSocket* socket_a, SyncSocket* socket_b) { in CreatePair() argument 68 DCHECK_NE(socket_a, socket_b); in CreatePair() 69 DCHECK_EQ(socket_a->handle_, kInvalidHandle); in CreatePair() 97 socket_a->handle_ = handles[0]; in CreatePair() 248 bool CancelableSyncSocket::CreatePair(CancelableSyncSocket* socket_a, in CreatePair() argument 250 return SyncSocket::CreatePair(socket_a, socket_b); in CreatePair()
|
D | sync_socket.h | 53 static bool CreatePair(SyncSocket* socket_a, SyncSocket* socket_b); 117 static bool CreatePair(CancelableSyncSocket* socket_a,
|