Lines Matching refs:fd_
32 fd_(-1),
65 epoll_server_->SetFDReady(fd_, EPOLLIN | EPOLLOUT);
100 int ret = CreateConnectedSocket(&fd_,
110 DCHECK_NE(-1, fd_);
123 if (epoll_server_ && registered_in_epoll_server_ && fd_ != -1) {
124 epoll_server_->UnregisterFD(fd_);
126 if (fd_ != -1) {
129 close(fd_);
130 fd_ = -1;
133 fd_ = fd;
152 epoll_server_->RegisterFD(fd_, this, EPOLLIN | EPOLLOUT | EPOLLET);
156 SSL_set_fd(ssl_, fd_);
163 int rv = setsockopt(fd_, IPPROTO_TCP, TCP_CORK, &state, sizeof(state));
170 int rv = setsockopt(fd_, IPPROTO_TCP, TCP_CORK, &state, sizeof(state));
215 rv = send(fd_, data, len, flags);
270 int ret = getsockopt(fd_, SOL_SOCKET, SO_ERROR, &sock_error,
408 if (fd_ == -1) {
410 << "DoRead(): fd_ == -1. Invalid FD. Returning false";
434 bytes_read = recv(fd_, bytes, size, MSG_DONTWAIT);
525 if (fd_ == -1) {
630 epoll_server_->UnregisterFD(fd_);
633 if (fd_ >= 0) {
635 close(fd_);
636 fd_ = -1;