Searched refs:mPacketSize (Results 1 – 9 of 9) sorted by relevance
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()[all …]
40 putUInt32(MTP_CONTAINER_LENGTH_OFFSET, mPacketSize); in write()42 int ret = h->write(mBuffer, mPacketSize); in write()53 mPacketSize = ret; in read()55 mPacketSize = 0; in read()
35 mPacketSize(0) in MtpPacket()51 mPacketSize = MTP_CONTAINER_HEADER_SIZE; in reset()72 for (size_t i = 0; i < mPacketSize; i++) { in dump()88 int length = src.mPacketSize; in copyFrom()90 mPacketSize = length; in copyFrom()149 if (mPacketSize < offset + sizeof(uint32_t)) in setParameter()150 mPacketSize = offset + sizeof(uint32_t); in setParameter()
42 putUInt32(MTP_CONTAINER_LENGTH_OFFSET, mPacketSize); in write()46 event.length = mPacketSize; in write()56 mPacketSize = 0; in sendRequest()67 mPacketSize = req->actual_length; in readResponse()
52 mPacketSize = read_size; in read()66 putUInt32(MTP_CONTAINER_LENGTH_OFFSET, mPacketSize); in write()69 request->buffer_length = mPacketSize; in write()
39 size_t mPacketSize; variable
125 inline bool hasData() const { return mPacketSize > MTP_CONTAINER_HEADER_SIZE; } in hasData()
74 private int mPacketSize; // 4:2 Maximum Packet Size this endpoint is capable of field in UsbEndpointDescriptor97 return mPacketSize; in getPacketSize()119 return new UsbEndpoint(mEndpointAddress, mAttributes, mPacketSize, mInterval); in toAndroid()126 mPacketSize = stream.unpackUsbShort(); in parseRawDescriptors()
44 private byte mPacketSize; // 7:1 Maximum Packet Size for Zero Endpoint. field in UsbDeviceDescriptor79 return mPacketSize; in getPacketSize()173 mPacketSize = stream.getByte(); in parseRawDescriptors()