Lines Matching refs:processedBytes
546 size_t processedBytes = 0; in write() local
547 while (processedBytes < mPacketSize) { in write()
549 processedBytes == 0 && divisionMode == FIRST_PACKET_ONLY_HEADER ? in write()
550 MTP_CONTAINER_HEADER_SIZE : mPacketSize - processedBytes; in write()
551 request->buffer = mBuffer + processedBytes; in write()
558 processedBytes += result; in write()
561 return processedBytes == mPacketSize ? processedBytes : -1; in write()
578 size_t processedBytes = 0; in write() local
585 while (processedBytes < containerLength) { in write()
589 const bool headerSent = processedBytes != 0; in write()
599 headerSent ? processedBytes - MTP_CONTAINER_HEADER_SIZE : 0; in write()
631 processedBytes += bulkTransferSize; in write()
634 return readError ? -1 : processedBytes; in write()