Searched refs:ndata (Results 1 – 2 of 2) sorted by relevance
/art/dt_fd_forward/ |
D | dt_fd_forward.h | 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 | 158 IOResult FdForwardTransport::ReadFullyWithoutChecks(void* data, size_t ndata) { in ReadFullyWithoutChecks() argument 161 while (nbytes < ndata) { in ReadFullyWithoutChecks() 162 int res = TEMP_FAILURE_RETRY(read(read_fd_, bdata + nbytes, ndata - nbytes)); in ReadFullyWithoutChecks() 175 IOResult FdForwardTransport::ReadUpToMax(void* data, size_t ndata, /*out*/size_t* read_amount) { in ReadUpToMax() argument 183 size_t to_read = std::min(static_cast<size_t>(avail), ndata); in ReadUpToMax() 199 IOResult FdForwardTransport::ReadFully(void* data, size_t ndata) { in ReadFully() argument 202 while (nbytes < ndata) { in ReadFully() 215 ndata - nbytes, in ReadFully() 262 IOResult FdForwardTransport::WriteFullyWithoutChecks(const void* data, size_t ndata) { in WriteFullyWithoutChecks() argument 266 while (nbytes < ndata) { in WriteFullyWithoutChecks() [all …]
|