Searched refs:remainLen (Results 1 – 3 of 3) sorted by relevance
/base/update/updater/services/diffpatch/bzip2/ |
D | lz4_adapter.cpp | 136 size_t remainLen = srcData.length - hasCopyLen; in WriteData() local 138 while (remainLen >= inData_.size()) { in WriteData() 139 size_t length = (blockSize <= remainLen) ? blockSize : remainLen; in WriteData() 140 BlockBuffer blockBuffer = {srcData.buffer + srcData.length - remainLen, length}; in WriteData() 146 remainLen -= length; in WriteData() 148 if (remainLen > 0) { in WriteData() 149 …= memcpy_s(inData_.data(), inData_.size(), srcData.buffer + srcData.length - remainLen, remainLen); in WriteData() 154 currDataSize_ = remainLen; in WriteData()
|
/base/update/updater/services/package/pkg_verify/ |
D | openssl_util.cpp | 198 size_t remainLen = dataLen; in CalcSha256Digest() local 203 while (remainLen >= blockLen) { in CalcSha256Digest() 211 remainLen -= readLen; in CalcSha256Digest() 213 if (remainLen > 0) { in CalcSha256Digest() 214 ret = srcData->Read(buffer, offset, remainLen, readLen); in CalcSha256Digest()
|
/base/telephony/sms_mms/utils/ |
D | msg_text_convert.cpp | 542 int remainLen = 0; in ConvertUCS2ToGSM7bit() local 562 remainLen = maxLength - outTextLen; in ConvertUCS2ToGSM7bit() 563 … outTextLen += FindUCS2toGSM7Ext(&pDestText[outTextLen], remainLen, inText, *abnormalChar); in ConvertUCS2ToGSM7bit() 568 remainLen = maxLength - outTextLen; in ConvertUCS2ToGSM7bit() 569 … outTextLen += FindUCS2toTurkish(&pDestText[outTextLen], remainLen, inText, *abnormalChar); in ConvertUCS2ToGSM7bit() 574 remainLen = maxLength - outTextLen; in ConvertUCS2ToGSM7bit() 575 … outTextLen += FindUCS2toSpanish(&pDestText[outTextLen], remainLen, inText, *abnormalChar); in ConvertUCS2ToGSM7bit() 580 remainLen = maxLength - outTextLen; in ConvertUCS2ToGSM7bit() 581 … outTextLen += FindUCS2toPortu(&pDestText[outTextLen], remainLen, inText, *abnormalChar); in ConvertUCS2ToGSM7bit()
|