Home
last modified time | relevance | path

Searched refs:socket2 (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/tools/android/forwarder/
Dforwarder.cc106 int socket2; member
198 int socket2 = info->socket2; in ForwarderThread() local
199 int nfds = socket1 > socket2 ? socket1 + 1 : socket2 + 1; in ForwarderThread()
210 FD_SET(socket2, &read_fds); in ForwarderThread()
214 FD_SET(socket2, &write_fds); in ForwarderThread()
231 if (FD_ISSET(socket2, &read_fds)) { in ForwarderThread()
233 int bytes = buffer2.Read(socket2); in ForwarderThread()
242 if (FD_ISSET(socket2, &write_fds)) { in ForwarderThread()
243 if (buffer1.Write(socket2) <= 0) in ForwarderThread()
249 CloseSocket(socket2); in ForwarderThread()
[all …]
/external/chromium_org/tools/android/forwarder2/
Dforwarders_manager.cc35 scoped_ptr<Socket> socket2) { in CreateAndStartNewForwarder() argument
42 base::Passed(&socket2))); in CreateAndStartNewForwarder()
51 scoped_ptr<Socket> socket2) { in CreateNewForwarderOnInternalThread() argument
53 forwarders_.push_back(new Forwarder(socket1.Pass(), socket2.Pass())); in CreateNewForwarderOnInternalThread()
Dforwarders_manager.h28 scoped_ptr<Socket> socket2);
32 scoped_ptr<Socket> socket2);
Dforwarder.cc219 scoped_ptr<Socket> socket2) in Forwarder() argument
221 socket2_(socket2.Pass()), in Forwarder()
Dforwarder.h21 Forwarder(scoped_ptr<Socket> socket1, scoped_ptr<Socket> socket2);
/external/chromium_org/third_party/webrtc/base/
Dvirtualsocket_unittest.cc162 AsyncSocket* socket2 = in BasicTest() local
164 TestClient* client2 = new TestClient(new AsyncUDPSocket(socket2)); in BasicTest()
748 AsyncSocket* socket2 = ss_->CreateAsyncSocket(SOCK_DGRAM); in CrossFamilyDatagramTest() local
749 socket2->Bind(client_addr); in CrossFamilyDatagramTest()
750 TestClient* client2 = new TestClient(new AsyncUDPSocket(socket2)); in CrossFamilyDatagramTest()