Home
last modified time | relevance | path

Searched refs:in_fd (Results 1 – 3 of 3) sorted by relevance

/device/google/cuttlefish/guest/commands/vtpm_manager/
Dmain.cpp44 bool ReadResponseLoop(cuttlefish::SharedFD in_fd, cuttlefish::SharedFD out_fd) { in ReadResponseLoop() argument
48 CHECK(cuttlefish::ReadExactBinary(in_fd, &response_size) == 4) in ReadResponseLoop()
53 CHECK(cuttlefish::ReadExact(in_fd, &message) == response_size) in ReadResponseLoop()
60 CHECK(cuttlefish::ReadExact(in_fd, &response_bytes) == 4) in ReadResponseLoop()
82 bool SendCommandLoop(cuttlefish::SharedFD in_fd, cuttlefish::SharedFD out_fd) { in SendCommandLoop() argument
89 while ((data_length = in_fd->Read(message.data(), message.size())) < 0) { in SendCommandLoop()
90 CHECK(in_fd->GetErrno() == EIO) << "Error in reading TPM command from " in SendCommandLoop()
91 << "kernel: " << in_fd->StrError(); in SendCommandLoop()
103 CHECK(cuttlefish::WriteAll(in_fd, message) == message.size()) in SendCommandLoop()
/device/google/fuchsia/bioniccompat/src/
Dsendfile.cc29 ssize_t sendfile(int out_fd, int in_fd, off_t *offset, size_t count) { in sendfile() argument
39 int bytes = read(in_fd, buffer, sizeof(buffer)); in sendfile()
/device/google/fuchsia/bioniccompat/include/sys/
Dsendfile.h31 ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count);