Searched refs:srcLength (Results 1 – 4 of 4) sorted by relevance
/base/telephony/sms_mms/utils/ |
D | text_coder.h | 34 …int Utf8ToGsm7bit(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength, MSG_LANGUAGE_ID… 35 int Utf8ToUcs2(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength); 36 …int CdmaUtf8ToAuto(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength, DataCodingSche… 37 …int GsmUtf8ToAuto(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength, DataCodingSchem… 38 …int Gsm7bitToUtf8(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength, const MsgLangIn… 39 int Ucs2ToUtf8(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength); 40 int EuckrToUtf8(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength); 41 int ShiftjisToUtf8(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength) const; 46 …int Ucs2ToGsm7bit(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength, MSG_LANGUAGE_ID… 47 …int Ucs2ToGsm7bitAuto(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength, bool &unkno… [all …]
|
D | text_coder.cpp | 241 int TextCoder::Utf8ToGsm7bit(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength, MSG_L… in Utf8ToGsm7bit() argument 243 if (srcLength == -1 && src) { in Utf8ToGsm7bit() 245 srcLength = strlen(reinterpret_cast<const gchar *>(src)); in Utf8ToGsm7bit() 247 if (srcLength <= 0 || src == nullptr || dest == nullptr || maxLength <= 0) { in Utf8ToGsm7bit() 252 int maxUcs2Length = srcLength; in Utf8ToGsm7bit() 268 TELEPHONY_LOGI("srcLength = %{public}d", srcLength); in Utf8ToGsm7bit() 269 … Utf8ToUcs2(reinterpret_cast<uint8_t *>(pUcs2Text), maxUcs2Length * sizeof(WCHAR), src, srcLength); in Utf8ToGsm7bit() 273 int TextCoder::Utf8ToUcs2(uint8_t *dest, int maxLength, const uint8_t *src, int srcLength) in Utf8ToUcs2() argument 275 if (srcLength == -1 && src) { in Utf8ToUcs2() 277 srcLength = strlen(reinterpret_cast<gchar *>(const_cast<uint8_t *>(src))); in Utf8ToUcs2() [all …]
|
/base/update/updater/services/diffpatch/patch/ |
D | image_patch.cpp | 96 … header.srcStart, header.srcLength, header.patchOffset, header.expandedLen, header.targetSize); in StartReadHeader() 97 if (header.srcStart + header.srcLength > param.oldSize) { in StartReadHeader() 115 BlockBuffer oldData = { param.oldBuff + header.srcStart, header.srcLength }; in ApplyImagePatch() 218 header.srcLength = static_cast<size_t>(ReadLE<uint64_t>(param.patch + offset)); in ReadHeader() 271 header.srcLength = static_cast<size_t>(ReadLE<uint64_t>(param.patch + offset)); in ReadHeader()
|
/base/update/updater/services/diffpatch/ |
D | diffpatch.h | 135 size_t srcLength = 0; member
|