• Home
  • Raw
  • Download

Lines Matching refs:mPacketSize

76     if (mPacketSize - mOffset < sizeof(value))  in getUInt8()
83 if (mPacketSize - mOffset < sizeof(value)) in getUInt16()
92 if (mPacketSize - mOffset < sizeof(value)) in getUInt32()
102 if (mPacketSize - mOffset < sizeof(value)) 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()
448 mPacketSize = ret; in read()
454 MtpPacket::putUInt32(MTP_CONTAINER_LENGTH_OFFSET, mPacketSize); in write()
456 int ret = h->write(mBuffer, mPacketSize); in write()
495 mPacketSize = length; in read()
533 mPacketSize = length; in readDataHeader()
538 if (mPacketSize < MTP_CONTAINER_HEADER_SIZE || mPacketSize > MTP_BUFFER_SIZE) { in write()
543 MtpPacket::putUInt32(MTP_CONTAINER_LENGTH_OFFSET, mPacketSize); in write()
547 while (processedBytes < mPacketSize) { in write()
550 MTP_CONTAINER_HEADER_SIZE : mPacketSize - processedBytes; in write()
561 return processedBytes == mPacketSize ? processedBytes : -1; in write()
621 mPacketSize = bulkTransferSize; in write()
640 int length = mPacketSize - MTP_CONTAINER_HEADER_SIZE; in getData()