Searched refs:dstIdx (Results 1 – 3 of 3) sorted by relevance
37 uint16_t dstIdx = 0; in Pack7bitChar() local40 return dstIdx; in Pack7bitChar()45 dstIdx = 1; in Pack7bitChar()48 while (srcIdx < dataLen && dstIdx < packLen) { in Pack7bitChar()50 packData[dstIdx] = userData[srcIdx]; in Pack7bitChar()53 dstIdx++; in Pack7bitChar()59 packData[dstIdx - 1] |= userData[srcIdx] << shift; in Pack7bitChar()60 packData[dstIdx] = userData[srcIdx] >> (SMS_BYTE_BIT - shift); in Pack7bitChar()62 dstIdx++; in Pack7bitChar()65 packData[dstIdx - 1] |= userData[srcIdx] << shift; in Pack7bitChar()[all …]
106 uint8_t unpackDataLen, uint8_t &dstIdx) in Unpack7bitChar() argument117 for (; dstIdx < dataLen; dstIdx++) { in Unpack7bitChar()124 unpackData[dstIdx] = oneByte & HEX_VALUE_7F; in Unpack7bitChar()126 dstIdx++; in Unpack7bitChar()127 if (dstIdx >= dataLen) { in Unpack7bitChar()143 unpackData[dstIdx] = (oneByte >> shift) + (nextByte << (SMS_BYTE_BIT - shift)); in Unpack7bitChar()144 unpackData[dstIdx] &= HEX_VALUE_7F; in Unpack7bitChar()
32 uint8_t unpackDataLen, uint8_t &dstIdx);