Home
last modified time | relevance | path

Searched refs:remainLen (Results 1 – 4 of 4) sorted by relevance

/base/update/updater/services/diffpatch/bzip2/
Dlz4_adapter.cpp137 size_t remainLen = srcData.length - hasCopyLen; in WriteData() local
139 while (remainLen >= inData_.size()) { in WriteData()
140 size_t length = (blockSize <= remainLen) ? blockSize : remainLen; in WriteData()
141 BlockBuffer data = {srcData.buffer + srcData.length - remainLen, length}; in WriteData()
147 remainLen -= length; in WriteData()
149 if (remainLen > 0) { in WriteData()
150 …= memcpy_s(inData_.data(), inData_.size(), srcData.buffer + srcData.length - remainLen, remainLen); in WriteData()
155 currDataSize_ = remainLen; in WriteData()
/base/update/updater/services/package/pkg_verify/
Dopenssl_util.cpp209 size_t remainLen = dataLen; in CalcSha256Digest() local
214 while (remainLen >= blockLen) { in CalcSha256Digest()
223 remainLen -= readLen; in CalcSha256Digest()
225 if (remainLen > 0) { in CalcSha256Digest()
226 ret = srcData->Read(buffer, offset, remainLen, readLen); in CalcSha256Digest()
/base/update/updater/services/flow_update/update_bin/
Dbin_flow_update.cpp60 uint32_t remainLen = len; in StartBinFlowUpdate() local
61 while (remainLen > 0) { in StartBinFlowUpdate()
63 if (!AddRemainData(data + len - remainLen, remainLen)) { in StartBinFlowUpdate()
/base/telephony/sms_mms/utils/
Dtext_coder.cpp518 int remainLen = 0; in Ucs2ToGsm7bit() local
531 remainLen = maxLength - outTextLen; in Ucs2ToGsm7bit()
532 outTextLen += FindGsm7bitExt(&dest[outTextLen], remainLen, inText); in Ucs2ToGsm7bit()
536 remainLen = maxLength - outTextLen; in Ucs2ToGsm7bit()
537 outTextLen += FindTurkish(&dest[outTextLen], remainLen, inText); in Ucs2ToGsm7bit()
541 remainLen = maxLength - outTextLen; in Ucs2ToGsm7bit()
542 outTextLen += FindSpanish(&dest[outTextLen], remainLen, inText); in Ucs2ToGsm7bit()
546 remainLen = maxLength - outTextLen; in Ucs2ToGsm7bit()
547 outTextLen += FindPortu(&dest[outTextLen], remainLen, inText); in Ucs2ToGsm7bit()