Lines Matching refs:dataLen
37 … const uint8_t *userData, uint16_t dataLen, uint8_t fillBits, uint8_t *packData, uint16_t packLen) in Pack7bitChar() argument
40 if (userData == nullptr || packData == nullptr || dataLen > MAX_GSM_7BIT_DATA_LEN) { in Pack7bitChar()
50 while (srcIdx < dataLen && dstIdx < packLen) { in Pack7bitChar()
56 if (srcIdx >= dataLen) { in Pack7bitChar()
76 …const uint8_t *tpdu, uint16_t dataLen, uint8_t fillBits, uint8_t *unpackData, uint16_t unpackDataL… in Unpack7bitChar() argument
81 …if (unpackData == nullptr || tpdu == nullptr || dataLen == 0 || unpackDataLen == 0 || dataLen > un… in Unpack7bitChar()
88 for (; srcIdx < dataLen && dstIdx < unpackDataLen; dstIdx++) { in Unpack7bitChar()
94 if (dstIdx >= dataLen) { in Unpack7bitChar()
99 if (shift > 0 && srcIdx < dataLen && dstIdx < unpackDataLen) { in Unpack7bitChar()
112 …const uint8_t *tpdu, uint16_t dataLen, uint8_t fillBits, uint8_t *unpackData, uint16_t unpackDataL… in Unpack7bitCharForCBPdu() argument
117 …if (unpackData == nullptr || tpdu == nullptr || dataLen == 0 || unpackDataLen == 0 || dataLen > un… in Unpack7bitCharForCBPdu()
124 for (; srcIdx < dataLen && dstIdx < unpackDataLen;) { in Unpack7bitCharForCBPdu()
131 if (shift > 0 && srcIdx < dataLen && dstIdx < unpackDataLen) { in Unpack7bitCharForCBPdu()