Searched refs:IOResult (Results 1 – 2 of 2) sorted by relevance
/art/dt_fd_forward/ |
D | dt_fd_forward.h | 74 enum class IOResult { enum 110 IOResult ReceiveFdsFromSocket(/*out*/bool* do_handshake); 112 IOResult WriteFully(const void* data, size_t ndata); // REQUIRES(!state_mutex_); 113 IOResult WriteFullyWithoutChecks(const void* data, size_t ndata); // REQUIRES(state_mutex_); 114 IOResult ReadFully(void* data, size_t ndata); // REQUIRES(!state_mutex_); 115 IOResult ReadUpToMax(void* data, size_t ndata, /*out*/size_t* amount_read); 117 IOResult ReadFullyWithoutChecks(void* data, size_t ndata); // REQUIRES(state_mutex_);
|
D | dt_fd_forward.cc | 156 IOResult FdForwardTransport::ReadFullyWithoutChecks(void* data, size_t ndata) { in ReadFullyWithoutChecks() 163 return IOResult::kError; in ReadFullyWithoutChecks() 165 return IOResult::kEOF; in ReadFullyWithoutChecks() 170 return IOResult::kOk; in ReadFullyWithoutChecks() 173 IOResult FdForwardTransport::ReadUpToMax(void* data, size_t ndata, /*out*/size_t* read_amount) { in ReadUpToMax() 179 return IOResult::kError; in ReadUpToMax() 189 return IOResult::kError; in ReadUpToMax() 191 return ((pollfd.revents & (POLLRDHUP | POLLHUP)) == 0) ? IOResult::kOk : IOResult::kEOF; in ReadUpToMax() 197 IOResult FdForwardTransport::ReadFully(void* data, size_t ndata) { in ReadFully() 208 return IOResult::kInterrupt; in ReadFully() [all …]
|