Searched refs:socket_b (Results 1 - 5 of 5) sorted by relevance
/external/chromium_org/base/ |
H A D | sync_socket_unittest.cc | 49 void SendReceivePeek(base::SyncSocket* socket_a, base::SyncSocket* socket_b) { argument 55 ASSERT_EQ(0u, socket_b->Peek()); 60 ASSERT_EQ(sizeof(kSending), socket_b->Peek()); 61 ASSERT_EQ(sizeof(kSending), socket_b->Receive(&received, sizeof(kSending))); 65 ASSERT_EQ(0u, socket_b->Peek()); 69 ASSERT_EQ(sizeof(kSending), socket_b->Send(&kSending, sizeof(kSending))); 75 ASSERT_EQ(0u, socket_b->Peek()); 78 ASSERT_TRUE(socket_b->Close()); 83 SocketType socket_a, socket_b; local 84 ASSERT_TRUE(SocketType::CreatePair(&socket_a, &socket_b)); 90 SocketType socket_a, socket_b; local 117 base::CancelableSyncSocket socket_a, socket_b; local [all...] |
H A D | sync_socket_nacl.cc | 26 bool SyncSocket::CreatePair(SyncSocket* socket_a, SyncSocket* socket_b) { argument 94 CancelableSyncSocket* socket_b) { 95 return SyncSocket::CreatePair(socket_a, socket_b); 93 CreatePair(CancelableSyncSocket* socket_a, CancelableSyncSocket* socket_b) argument
|
H A D | sync_socket_win.cc | 30 bool CreatePairImpl(HANDLE* socket_a, HANDLE* socket_b, bool overlapped) { argument 31 DCHECK_NE(socket_a, socket_b); 33 DCHECK_EQ(*socket_b, SyncSocket::kInvalidHandle); 97 *socket_b = handle_b.Take(); 212 bool SyncSocket::CreatePair(SyncSocket* socket_a, SyncSocket* socket_b) { argument 213 return CreatePairImpl(&socket_a->handle_, &socket_b->handle_, false); 336 CancelableSyncSocket* socket_b) { 337 return CreatePairImpl(&socket_a->handle_, &socket_b->handle_, true); 335 CreatePair(CancelableSyncSocket* socket_a, CancelableSyncSocket* socket_b) argument
|
H A D | sync_socket.h | 48 // |socket_a| and |socket_b| must not hold a valid handle. Upon successful 50 static bool CreatePair(SyncSocket* socket_a, SyncSocket* socket_b); 114 CancelableSyncSocket* socket_b);
|
H A D | sync_socket_posix.cc | 63 bool SyncSocket::CreatePair(SyncSocket* socket_a, SyncSocket* socket_b) { argument 64 DCHECK_NE(socket_a, socket_b); 66 DCHECK_EQ(socket_b->handle_, kInvalidHandle); 94 socket_b->handle_ = handles[1]; 241 CancelableSyncSocket* socket_b) { 242 return SyncSocket::CreatePair(socket_a, socket_b); 240 CreatePair(CancelableSyncSocket* socket_a, CancelableSyncSocket* socket_b) argument
|
Completed in 119 milliseconds