OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:socket_a
(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) {
54
ASSERT_EQ(0u,
socket_a
->Peek());
57
// Verify |
socket_a
| can send to |
socket_a
| and |
socket_a
| can Receive from
58
// |
socket_a
|.
59
ASSERT_EQ(sizeof(kSending),
socket_a
->Send(&kSending, sizeof(kSending)));
64
ASSERT_EQ(0u,
socket_a
->Peek());
70
ASSERT_EQ(sizeof(kSending),
socket_a
->Peek());
71
ASSERT_EQ(sizeof(kSending),
socket_a
->Receive(&received, sizeof(kSending)))
83
SocketType
socket_a
, socket_b;
local
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) {
75
bool CancelableSyncSocket::CreatePair(CancelableSyncSocket*
socket_a
,
77
return SyncSocket::CreatePair(
socket_a
, socket_b);
sync_socket_win.cc
30
bool CreatePairImpl(HANDLE*
socket_a
, HANDLE* socket_b, bool overlapped) {
31
DCHECK_NE(
socket_a
, socket_b);
32
DCHECK_EQ(*
socket_a
, SyncSocket::kInvalidHandle);
96
*
socket_a
= handle_a.Take();
206
bool SyncSocket::CreatePair(SyncSocket*
socket_a
, SyncSocket* socket_b) {
207
return CreatePairImpl(&
socket_a
->handle_, &socket_b->handle_, false);
312
bool CancelableSyncSocket::CreatePair(CancelableSyncSocket*
socket_a
,
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);
65
DCHECK_EQ(
socket_a
->handle_, kInvalidHandle);
93
socket_a
->handle_ = handles[0];
227
bool CancelableSyncSocket::CreatePair(CancelableSyncSocket*
socket_a
,
229
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);
97
static bool CreatePair(CancelableSyncSocket*
socket_a
,
Completed in 35 milliseconds