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

  /external/chromium_org/ipc/
ipc_channel_factory.cc 14 : path_(path), delegate_(delegate), listen_fd_(-1) {
24 DCHECK(listen_fd_ < 0);
27 return CreateServerUnixDomainSocket(path_, &listen_fd_);
31 if (listen_fd_ < 0)
37 listen_fd_,
47 DCHECK(fd == listen_fd_);
49 if (!ServerAcceptConnection(listen_fd_, &new_fd)) {
77 if (listen_fd_ < 0)
79 if (IGNORE_EINTR(close(listen_fd_)) < 0)
81 listen_fd_ = -1
    [all...]
ipc_channel_factory.h 51 int listen_fd_; member in class:IPC::ChannelFactory
  /frameworks/base/services/common_time/
diag_thread.cpp 65 listen_fd_ = -1;
97 if ((listen_fd_ = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP)) < 0) {
103 if (!setNonblocking(listen_fd_))
112 if (bind(listen_fd_, (struct sockaddr*)&addr, sizeof(addr)) < 0) {
117 if (listen(listen_fd_, 1) < 0) {
131 if (listen_fd_ >= 0) {
138 setsockopt(listen_fd_, SOL_SOCKET, SO_LINGER, &l, sizeof(l));
139 shutdown(listen_fd_, SHUT_RDWR);
140 close(listen_fd_);
141 listen_fd_ = -1
    [all...]
diag_thread.h 62 int listen_fd_; member in class:android::DiagThread
  /external/chromium/net/tools/flip_server/
acceptor_thread.cc 80 epoll_server_.RegisterFD(acceptor_->listen_fd_, this, EPOLLIN | EPOLLET);
119 int fd = accept(acceptor_->listen_fd_, &address, &socklen);
123 << acceptor_->listen_fd_ << "): " << errno << ": "
135 int fd = accept(acceptor_->listen_fd_, &address, &socklen);
139 << acceptor_->listen_fd_ << "): " << errno << ": "
flip_config.cc 58 &listen_fd_);
73 SetNonBlocking(listen_fd_);
flip_config.h 58 int listen_fd_; member in class:net::FlipAcceptor
  /external/chromium_org/net/tools/flip_server/
acceptor_thread.cc 78 epoll_server_.RegisterFD(acceptor_->listen_fd_, this, EPOLLIN | EPOLLET);
122 int fd = accept(acceptor_->listen_fd_, &address, &socklen);
126 << acceptor_->listen_fd_ << "): " << errno << ": "
138 int fd = accept(acceptor_->listen_fd_, &address, &socklen);
142 << acceptor_->listen_fd_ << "): " << errno << ": "
flip_config.cc 60 &listen_fd_);
74 FlipSetNonBlocking(listen_fd_);
flip_config.h 57 int listen_fd_; member in class:net::FlipAcceptor
http_interface_test.cc 90 if (acceptor_->listen_fd_ >= 0) {
91 epoll_server_->UnregisterFD(acceptor_->listen_fd_);
92 close(acceptor_->listen_fd_);
93 acceptor_->listen_fd_ = -1;
spdy_interface_test.cc 161 if (acceptor_->listen_fd_ >= 0) {
162 epoll_server_->UnregisterFD(acceptor_->listen_fd_);
163 close(acceptor_->listen_fd_);
164 acceptor_->listen_fd_ = -1;

Completed in 108 milliseconds