Home
last modified time | relevance | path

Searched refs:dstIdx (Results 1 – 3 of 3) sorted by relevance

/base/telephony/sms_mms/utils/
Dsms_common_utils.cpp37 uint16_t dstIdx = 0; in Pack7bitChar() local
40 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 …]
/base/telephony/sms_mms/services/sms/gsm/
Dgsm_sms_common_utils.cpp106 uint8_t unpackDataLen, uint8_t &dstIdx) in Unpack7bitChar() argument
117 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()
/base/telephony/sms_mms/services/sms/include/gsm/
Dgsm_sms_common_utils.h32 uint8_t unpackDataLen, uint8_t &dstIdx);