Searched refs:sfd (Results 1 – 5 of 5) sorted by relevance
104 int sfd = ::accept(mListenFd, reinterpret_cast<struct sockaddr*>(&cliAddr), &cliLen); in accept() local106 if (sfd > 0) { in accept()111 return new SocketConn(mMessageProcessor, sfd); in accept()141 SocketConn::SocketConn(MessageProcessor* messageProcessor, int sfd) in SocketConn() argument142 : CommConn(messageProcessor), mSockFd(sfd) {} in SocketConn()
90 int sfd = signalfd(-1, &mask, 0); in main() local91 CHECK(sfd >= 0) << "signalfd failed: " << strerror(errno); in main()92 auto int_fd = cuttlefish::SharedFD::Dup(sfd); in main()93 close(sfd); in main()
47 auto& sfd = const_cast<ndk::ScopedFileDescriptor&>(in); in GetUniqueFd() local48 ::android::base::unique_fd ret(sfd.get()); in GetUniqueFd()49 *sfd.getR() = -1; in GetUniqueFd()
44 [](const ndk::ScopedFileDescriptor& sfd){ return sfd.get(); }); in importAidlNativeHandle() argument
85 SocketConn(MessageProcessor* messageProcessor, int sfd);