Lines Matching refs:count
60 int count = 0; in set() local
64 while ((ch = *src++) != 0 && count < MTP_STRING_MAX_CHARACTER_NUMBER) { in set()
95 count++; in set()
100 mCharCount = count; in set()
104 int count = 0; in set() local
108 while ((ch = *src++) != 0 && count < MTP_STRING_MAX_CHARACTER_NUMBER) { in set()
119 count++; in set()
122 mCharCount = count; in set()
127 uint8_t count; in readFromPacket() local
128 if (!packet->getUInt8(count)) in readFromPacket()
132 for (int i = 0; i < count; i++) { in readFromPacket()
149 mCharCount = count; in readFromPacket()
155 int count = mCharCount; in writeToPacket() local
157 packet->putUInt8(count > 0 ? count + 1 : 0); in writeToPacket()
160 for (int i = 0; i < count; i++) { in writeToPacket()
179 if (count > 0) in writeToPacket()