/external/bluetooth/bluedroid/hci/src/ |
btsnoop_net.c | 44 static int listen_socket_ = -1; variable 58 shutdown(listen_socket_, SHUT_RDWR); 79 listen_socket_ = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); 80 if (listen_socket_ == -1) { 86 if (setsockopt(listen_socket_, SOL_SOCKET, SO_REUSEADDR, &enable, sizeof(enable)) == -1) { 95 if (bind(listen_socket_, (struct sockaddr *)&addr, sizeof(addr)) == -1) { 100 if (listen(listen_socket_, 10) == -1) { 107 int client_socket = accept(listen_socket_, NULL, NULL); 127 safe_close_(&listen_socket_);
|
/external/chromium_org/net/socket/ |
unix_domain_server_socket_posix.cc | 72 DCHECK(!listen_socket_); 101 listen_socket_.swap(socket); 131 DCHECK(listen_socket_); 135 int rv = listen_socket_->Accept(
|
unix_domain_server_socket_posix.h | 62 // Accepts an incoming connection on |listen_socket_|, but passes back 80 scoped_ptr<SocketLibevent> listen_socket_; member in class:net::UnixDomainServerSocket
|
/external/chromium_org/net/test/embedded_test_server/ |
embedded_test_server.h | 119 return listen_socket_.get() != NULL; 184 scoped_ptr<HttpListenSocket> listen_socket_; member in class:net::test_server::EmbeddedTestServer
|
embedded_test_server.cc | 153 listen_socket_->DetachFromThread(); 198 listen_socket_.reset(new HttpListenSocket(socket_descriptor, this)); 199 listen_socket_->Listen(); 202 int result = listen_socket_->GetLocalAddress(&address); 213 listen_socket_->ListenOnIOThread(); 219 listen_socket_.reset();
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
asyncstuntcpsocket_unittest.cc | 119 listen_socket_.reset(new_socket); 146 rtc::scoped_ptr<rtc::AsyncPacketSocket> listen_socket_; member in class:cricket::AsyncStunTCPSocketTest
|