Searched refs:srcIdx (Results 1 – 3 of 3) sorted by relevance
47 uint16_t srcIdx = 0; in Pack7bitChar() local48 while (srcIdx < dataLen && dstIdx < packLen) { in Pack7bitChar()50 packData[dstIdx] = userData[srcIdx]; in Pack7bitChar()52 srcIdx++; in Pack7bitChar()54 if (srcIdx >= dataLen) { in Pack7bitChar()59 packData[dstIdx - 1] |= userData[srcIdx] << shift; in Pack7bitChar()60 packData[dstIdx] = userData[srcIdx] >> (SMS_BYTE_BIT - shift); in Pack7bitChar()61 srcIdx++; in Pack7bitChar()65 packData[dstIdx - 1] |= userData[srcIdx] << shift; in Pack7bitChar()67 srcIdx++; in Pack7bitChar()[all …]
42 uint8_t srcIdx = 0; in Pack7bitChar() local43 while (srcIdx < dataLen) { in Pack7bitChar()45 if (!buffer.WriteByte(userData[srcIdx])) { in Pack7bitChar()50 srcIdx++; in Pack7bitChar()51 if (srcIdx >= dataLen) { in Pack7bitChar()56 if (!Pack7bitCharPartData(buffer, userData, srcIdx, shift)) { in Pack7bitChar()61 srcIdx++; in Pack7bitChar()68 oneByte |= (userData[srcIdx] << shift); in Pack7bitChar()73 srcIdx++; in Pack7bitChar()81 SmsWriteBuffer &buffer, const uint8_t *userData, uint8_t &srcIdx, uint8_t &shift) in Pack7bitCharPartData() argument[all …]
38 …bool Pack7bitCharPartData(SmsWriteBuffer &buffer, const uint8_t *userData, uint8_t &srcIdx, uint8_…