Searched refs:sfd (Results 1 – 2 of 2) sorted by relevance
135 static int accept_server_socket(int sfd) { in accept_server_socket() argument141 BTIF_TRACE_EVENT("accept fd %d", sfd); in accept_server_socket()144 pfd.fd = sfd; in accept_server_socket()156 OSI_NO_INTR(fd = accept(sfd, (struct sockaddr*)&remote, &len)); in accept_server_socket()
198 unique_fd* PassOutput(unique_fd* sfd, ShellProtocol::Id id);739 unique_fd* Subprocess::PassOutput(unique_fd* sfd, ShellProtocol::Id id) { in PassOutput() argument740 int bytes = adb_read(*sfd, output_->data(), output_->data_capacity()); in PassOutput()745 PLOG(ERROR) << "error reading output FD " << sfd->get(); in PassOutput()747 return sfd; in PassOutput()