Lines Matching defs:write
167 int MtpFfsHandle::write(const void* data, size_t len) {
259 if (::write(mControl, buf.data(), length) != length) {
260 PLOG(ERROR) << "Mtp error ctrlreq write data";
364 if (::write(mBulkOut, nullptr, 0) != -1 || errno != EBADMSG)
467 // Get the return status of the last write request.
483 // Get the result of the read request, and queue a write to disk.
536 // Enqueue a new write request
608 // Wait for usb write. Cancel unwritten portion if there's an error.
637 // Queue up a write to usb.
650 if (write(mIobuf[0].bufs.data(), 0) != 0) {
670 int ret = ::write(mIntr, me.data, length);