/external/chromium_org/net/dns/ |
D | mock_mdns_socket_factory.cc | 72 scoped_ptr<testing::NiceMock<MockMDnsDatagramServerSocket> > new_socket( in CreateSocket() local 75 ON_CALL(*new_socket, SendToInternal(_, _, _)) in CreateSocket() 80 ON_CALL(*new_socket, RecvFrom(_, _, _, _)) in CreateSocket() 85 sockets->push_back(new_socket.release()); in CreateSocket()
|
/external/chromium_org/third_party/webrtc/base/ |
D | asynctcpsocket.cc | 182 rtc::AsyncSocket* new_socket = socket->Accept(&address); in OnReadEvent() local 183 if (!new_socket) { in OnReadEvent() 190 HandleIncomingConnection(new_socket); in OnReadEvent() 193 new_socket->SignalReadEvent(new_socket); in OnReadEvent()
|
D | asynchttprequest_unittest.cc | 42 AsyncSocket* new_socket = socket_->Accept(NULL); in OnAccept() local 43 if (new_socket) { in OnAccept() 44 HandleConnection(new SocketStream(new_socket)); in OnAccept()
|
D | ssladapter_unittest.cc | 180 rtc::AsyncSocket* new_socket = socket->Accept(&address); in OnServerSocketReadEvent() local 181 rtc::SocketStream* stream = new rtc::SocketStream(new_socket); in OnServerSocketReadEvent()
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
D | asyncstuntcpsocket_unittest.cc | 118 rtc::AsyncPacketSocket* new_socket) { in OnNewConnection() argument 119 listen_socket_.reset(new_socket); in OnNewConnection() 120 new_socket->SignalReadPacket.connect( in OnNewConnection()
|
D | tcpport.cc | 191 rtc::AsyncPacketSocket* new_socket) { in OnNewConnection() argument 195 incoming.addr = new_socket->GetRemoteAddress(); in OnNewConnection() 196 incoming.socket = new_socket; in OnNewConnection()
|
D | tcpport.h | 91 rtc::AsyncPacketSocket* new_socket);
|
/external/chromium_org/tools/android/forwarder2/ |
D | socket.cc | 206 bool Socket::Accept(Socket* new_socket) { in Accept() argument 207 DCHECK(new_socket != NULL); in Accept() 219 new_socket->socket_ = new_socket_fd; in Accept() 220 if (!new_socket->SetNonBlocking()) in Accept()
|
D | socket.h | 42 bool Accept(Socket* new_socket);
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_socket_test/ |
D | socket_test.cc | 636 int new_socket = ki_accept(server_sock, (sockaddr*)&client_addr[0], in TEST_F() local 638 ASSERT_GT(new_socket, -1) in TEST_F() 669 ASSERT_EQ(greeting_len, ki_recv(new_socket, inbuf, sizeof(inbuf), 0)); in TEST_F() 672 ASSERT_EQ(reply_len, ki_send(new_socket, server_reply, reply_len, 0)); in TEST_F() 679 ASSERT_EQ(0, ki_close(new_socket)); in TEST_F() 719 int new_socket = ki_accept(server_sock, (sockaddr*)&addr, &addrlen); in TEST_F() local 720 ASSERT_NE(-1, new_socket) in TEST_F() 722 ASSERT_EQ(0, ki_close(new_socket)); in TEST_F()
|
/external/chromium_org/net/socket/ |
D | socket_libevent.cc | 365 int new_socket = HANDLE_EINTR(accept(socket_fd_, in DoAccept() local 368 if (new_socket < 0) in DoAccept() 372 int rv = accepted_socket->AdoptConnectedSocket(new_socket, new_peer_address); in DoAccept()
|
D | tcp_socket_win.cc | 726 int new_socket = accept(socket_, storage.addr, &storage.addr_len); in AcceptInternal() local 727 if (new_socket < 0) { in AcceptInternal() 737 if (closesocket(new_socket) < 0) in AcceptInternal() 745 int adopt_result = tcp_socket->AdoptConnectedSocket(new_socket, ip_end_point); in AcceptInternal()
|
/external/chromium_org/extensions/browser/api/cast_channel/ |
D | cast_channel_api.cc | 371 CastSocket* new_socket = GetSocket(new_channel_id_); in AsyncWorkStart() local 372 api_->GetLogger()->LogNewSocketEvent(*new_socket); in AsyncWorkStart() 373 new_socket->Connect(base::Bind(&CastChannelOpenFunction::OnOpen, this)); in AsyncWorkStart()
|