Lines Matching refs:close
78 // close its copy of the client socket and remove the mapping.
83 // connects. Once the client connects, the server will close the original
85 // object closes, it will close the only remaining copy of the client socket
207 Close();
221 if (IGNORE_EINTR(close(pipe_fds[0])) < 0)
222 PLOG(ERROR) << "close";
223 if (IGNORE_EINTR(close(pipe_fds[1])) < 0)
224 PLOG(ERROR) << "close";
364 // There is a bug on OSX which makes it dangerous to close
369 // letting us know that it is now safe to close the file
479 // We can't close the pipe here, because calling OnChannelError
482 // caller will close the pipe. If they do not, the pipe will
566 if (IGNORE_EINTR(close(client_pipe_)) < 0)
567 PLOG(ERROR) << "close " << pipe_name_;
586 // Unregister libevent for the unix domain socket and close it.
590 if (IGNORE_EINTR(close(pipe_)) < 0)
591 PLOG(ERROR) << "close pipe_ " << pipe_name_;
596 if (IGNORE_EINTR(close(fd_pipe_)) < 0)
597 PLOG(ERROR) << "close fd_pipe_ " << pipe_name_;
601 if (IGNORE_EINTR(close(remote_fd_pipe_)) < 0)
602 PLOG(ERROR) << "close remote_fd_pipe_ " << pipe_name_;
613 // Close any outstanding, received file descriptors.
621 if (IGNORE_EINTR(close(*i)) < 0)
622 PLOG(ERROR) << "close";
647 Close();
653 // close our new descriptor.
656 if (IGNORE_EINTR(close(new_pipe)) < 0)
657 DPLOG(ERROR) << "close " << pipe_name_;
741 Close();
945 if (IGNORE_EINTR(close(input_fds_[i])) < 0)
946 PLOG(ERROR) << "close ";
960 NOTREACHED() << "Unable to pickle close fd.";
1013 if (IGNORE_EINTR(close(fd)) < 0)
1014 PLOG(ERROR) << "close";
1026 void ChannelPosix::Close() {
1027 // Close can be called multiple time, so we need to make sure we're
1037 if (IGNORE_EINTR(close(server_listen_pipe_)) < 0)
1038 DPLOG(ERROR) << "close " << server_listen_pipe_;
1040 // Unregister libevent for the listening socket and close it.