HomeSort by relevance Sort by last modified time
    Searched refs:socket_b (Results 1 - 5 of 5) sorted by null

  /external/chromium_org/base/
sync_socket_unittest.cc 49 void SendReceivePeek(base::SyncSocket* socket_a, base::SyncSocket* socket_b) {
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...]
sync_socket_nacl.cc 26 bool SyncSocket::CreatePair(SyncSocket* socket_a, SyncSocket* socket_b) {
76 CancelableSyncSocket* socket_b) {
77 return SyncSocket::CreatePair(socket_a, socket_b);
sync_socket.h 41 // |socket_a| and |socket_b| must not hold a valid handle. Upon successful
43 static bool CreatePair(SyncSocket* socket_a, SyncSocket* socket_b);
98 CancelableSyncSocket* socket_b);
sync_socket_win.cc 30 bool CreatePairImpl(HANDLE* socket_a, HANDLE* socket_b, bool overlapped) {
31 DCHECK_NE(socket_a, socket_b);
33 DCHECK_EQ(*socket_b, SyncSocket::kInvalidHandle);
97 *socket_b = handle_b.Take();
206 bool SyncSocket::CreatePair(SyncSocket* socket_a, SyncSocket* socket_b) {
207 return CreatePairImpl(&socket_a->handle_, &socket_b->handle_, false);
313 CancelableSyncSocket* socket_b) {
314 return CreatePairImpl(&socket_a->handle_, &socket_b->handle_, true);
sync_socket_posix.cc 63 bool SyncSocket::CreatePair(SyncSocket* socket_a, SyncSocket* socket_b) {
64 DCHECK_NE(socket_a, socket_b);
66 DCHECK_EQ(socket_b->handle_, kInvalidHandle);
94 socket_b->handle_ = handles[1];
228 CancelableSyncSocket* socket_b) {
229 return SyncSocket::CreatePair(socket_a, socket_b);

Completed in 3437 milliseconds