Home
last modified time | relevance | path

Searched refs:srcLen (Results 1 – 10 of 10) sorted by relevance

/base/telephony/sms_mms/utils/
Dtext_coder.h57 …int EscapeTurkishLockingToUcs2(const uint8_t *src, int srcLen, const MsgLangInfo &langInfo, uint16…
58 …int EscapePortuLockingToUcs2(const uint8_t *src, int srcLen, const MsgLangInfo &langInfo, uint16_t…
59 …int EscapeGsm7bitToUcs2(const uint8_t *src, int srcLen, const MsgLangInfo &langInfo, uint16_t &res…
Dtext_coder.cpp808 int TextCoder::EscapeTurkishLockingToUcs2(const uint8_t *src, int srcLen, const MsgLangInfo &langIn… in EscapeTurkishLockingToUcs2() argument
811 if (src == nullptr || srcLen <= 0) { in EscapeTurkishLockingToUcs2()
828 if (index >= srcLen) { in EscapeTurkishLockingToUcs2()
839 int TextCoder::EscapePortuLockingToUcs2(const uint8_t *src, int srcLen, const MsgLangInfo &langInfo… in EscapePortuLockingToUcs2() argument
842 if (src == nullptr || srcLen <= 0) { in EscapePortuLockingToUcs2()
858 if (index >= srcLen) { in EscapePortuLockingToUcs2()
869 int TextCoder::EscapeGsm7bitToUcs2(const uint8_t *src, int srcLen, const MsgLangInfo &langInfo, uin… in EscapeGsm7bitToUcs2() argument
872 if (src == nullptr || srcLen <= 0) { in EscapeGsm7bitToUcs2()
877 if (index >= srcLen) { in EscapeGsm7bitToUcs2()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_service.c279 static int32_t DeepCopyPath(const uint8_t *srcData, uint32_t srcLen, struct CmMutableBlob *dest) in DeepCopyPath() argument
281 uint8_t *data = (uint8_t *)CMMalloc(srcLen); in DeepCopyPath()
286 (void)memcpy_s(data, srcLen, srcData, srcLen); in DeepCopyPath()
289 dest->size = srcLen; in DeepCopyPath()
/base/global/resource_management/frameworks/resmgr/include/utils/
Dutils.h58 static RState EncodeBase64(std::unique_ptr<uint8_t[]> &data, int srcLen,
/base/update/updater/services/diffpatch/patch/
Dimage_patch.cpp41 size_t srcLen = static_cast<size_t>(ReadLE<int64_t>(param.patch + offset)); in ApplyImagePatch() local
45 if (srcStart + srcLen > param.oldSize) { in ApplyImagePatch()
47 srcStart, srcLen, param.oldSize, patchOffset); in ApplyImagePatch()
52 BlockBuffer oldInfo = {param.oldBuff + srcStart, srcLen}; in ApplyImagePatch()
/base/global/resource_management/frameworks/resmgr/src/utils/
Dutils.cpp98 RState Utils::EncodeBase64(std::unique_ptr<uint8_t[]> &data, int srcLen, in EncodeBase64() argument
109 for (; i < srcLen - 3; i += 3) { in EncodeBase64()
119 if (srcLen % LEN_THREE == 1) { in EncodeBase64()
/base/security/certificate_framework/frameworks/adapter/v2.0/src/
Dcf_adapter_extension_openssl.c108 …t CopyIndexArray(uint32_t *destArray, uint32_t *destLen, const uint32_t *srcArray, uint32_t srcLen) in CopyIndexArray() argument
110 …if (memcpy_s(destArray, ((*destLen) * sizeof(uint32_t)), srcArray, (srcLen * sizeof(uint32_t))) !=… in CopyIndexArray()
114 *destLen = srcLen; in CopyIndexArray()
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/ca/
Dhks_teec.c88 TEEC_UUID *uuid, const char *taName, uint32_t srcLen) in TeecUuidInit() argument
92 if (memcpy_s(uuid, sizeof(TEEC_UUID), taName, srcLen) != EOK) { in TeecUuidInit()
/base/update/updater/test/unittest/test_data/diffpatch/
DPatchGztest_new.gz
DPatchGztest_old.gz1[==========] Running 25 tests from 7 test ...