Lines Matching refs:mPacketSize
76 if ((mPacketSize - mOffset < sizeof(value)) || (mOffset >= mBufferSize)) in getUInt8()
83 if ((mPacketSize - mOffset < sizeof(value)) || ((mOffset+1) >= mBufferSize)) in getUInt16()
92 if ((mPacketSize - mOffset < sizeof(value)) || ((mOffset+3) >= mBufferSize)) in getUInt32()
102 if ((mPacketSize - mOffset < sizeof(value)) || ((mOffset+7) >= mBufferSize)) in getUInt64()
253 if (mPacketSize < mOffset) in putInt8()
254 mPacketSize = mOffset; in putInt8()
260 if (mPacketSize < mOffset) in putUInt8()
261 mPacketSize = mOffset; in putUInt8()
268 if (mPacketSize < mOffset) in putInt16()
269 mPacketSize = mOffset; in putInt16()
276 if (mPacketSize < mOffset) in putUInt16()
277 mPacketSize = mOffset; in putUInt16()
286 if (mPacketSize < mOffset) in putInt32()
287 mPacketSize = mOffset; in putInt32()
296 if (mPacketSize < mOffset) in putUInt32()
297 mPacketSize = mOffset; in putUInt32()
310 if (mPacketSize < mOffset) in putInt64()
311 mPacketSize = mOffset; in putInt64()
324 if (mPacketSize < mOffset) in putUInt64()
325 mPacketSize = mOffset; in putUInt64()
453 mPacketSize = ret; in read()
459 MtpPacket::putUInt32(MTP_CONTAINER_LENGTH_OFFSET, mPacketSize); in write()
461 int ret = h->write(mBuffer, mPacketSize); in write()
500 mPacketSize = length; in read()
538 mPacketSize = length; in readDataHeader()
543 if (mPacketSize < MTP_CONTAINER_HEADER_SIZE || mPacketSize > MTP_BUFFER_SIZE) { in write()
548 MtpPacket::putUInt32(MTP_CONTAINER_LENGTH_OFFSET, mPacketSize); in write()
552 while (processedBytes < mPacketSize) { in write()
555 MTP_CONTAINER_HEADER_SIZE : mPacketSize - processedBytes; in write()
566 return processedBytes == mPacketSize ? processedBytes : -1; in write()
626 mPacketSize = bulkTransferSize; in write()
645 int length = mPacketSize - MTP_CONTAINER_HEADER_SIZE; in getData()