Lines Matching refs:nbytes
158 size_t nbytes = 0; in ReadFullyWithoutChecks() local
159 while (nbytes < ndata) { in ReadFullyWithoutChecks()
160 int res = TEMP_FAILURE_RETRY(read(read_fd_, bdata + nbytes, ndata - nbytes)); in ReadFullyWithoutChecks()
167 nbytes += res; in ReadFullyWithoutChecks()
199 size_t nbytes = 0; in ReadFully() local
200 while (nbytes < ndata) { in ReadFully()
212 IOResult res = ReadUpToMax(reinterpret_cast<uint8_t*>(data) + nbytes, in ReadFully()
213 ndata - nbytes, in ReadFully()
218 nbytes += read_len; in ReadFully()
263 size_t nbytes = 0; in WriteFullyWithoutChecks() local
264 while (nbytes < ndata) { in WriteFullyWithoutChecks()
265 int res = TEMP_FAILURE_RETRY(write(write_fd_, bdata + nbytes, ndata - nbytes)); in WriteFullyWithoutChecks()
272 nbytes += res; in WriteFullyWithoutChecks()