Lines Matching refs:value
103 void MtpPacket::putUInt16(int offset, uint16_t value) {
104 mBuffer[offset++] = (uint8_t)(value & 0xFF);
105 mBuffer[offset++] = (uint8_t)((value >> 8) & 0xFF);
108 void MtpPacket::putUInt32(int offset, uint32_t value) {
109 mBuffer[offset++] = (uint8_t)(value & 0xFF);
110 mBuffer[offset++] = (uint8_t)((value >> 8) & 0xFF);
111 mBuffer[offset++] = (uint8_t)((value >> 16) & 0xFF);
112 mBuffer[offset++] = (uint8_t)((value >> 24) & 0xFF);
143 void MtpPacket::setParameter(int index, uint32_t value) {
151 putUInt32(offset, value);