Lines Matching refs:src
33 MtpStringBuffer::MtpStringBuffer(const char* src) in MtpStringBuffer() argument
37 set(src); in MtpStringBuffer()
40 MtpStringBuffer::MtpStringBuffer(const uint16_t* src) in MtpStringBuffer() argument
44 set(src); in MtpStringBuffer()
47 MtpStringBuffer::MtpStringBuffer(const MtpStringBuffer& src) in MtpStringBuffer() argument
48 : mCharCount(src.mCharCount), in MtpStringBuffer()
49 mByteCount(src.mByteCount) in MtpStringBuffer()
51 memcpy(mBuffer, src.mBuffer, mByteCount); in MtpStringBuffer()
58 void MtpStringBuffer::set(const char* src) { in set() argument
64 while ((ch = *src++) != 0 && count < MTP_STRING_MAX_CHARACTER_NUMBER) { in set()
70 char ch1 = *src++; in set()
80 char ch1 = *src++; in set()
85 char ch2 = *src++; in set()
103 void MtpStringBuffer::set(const uint16_t* src) { in set() argument
108 while ((ch = *src++) != 0 && count < MTP_STRING_MAX_CHARACTER_NUMBER) { in set()
156 const uint8_t* src = mBuffer; in writeToPacket() local
162 uint16_t ch1 = *src++; in writeToPacket()
168 uint16_t ch2 = *src++; in writeToPacket()
172 uint16_t ch2 = *src++; in writeToPacket()
173 uint16_t ch3 = *src++; in writeToPacket()