Searched refs:iSrcLen (Results 1 – 3 of 3) sorted by relevance
57 int32_t Base64EncodeA(const uint8_t* pSrc, int32_t iSrcLen, char* pDst) { in Base64EncodeA() argument59 if (iSrcLen < 1) { in Base64EncodeA()63 int32_t iDstLen = iSrcLen / 3 * 4; in Base64EncodeA()64 if ((iSrcLen % 3) != 0) { in Base64EncodeA()72 while (iSrcLen > 0) { in Base64EncodeA()73 if (iSrcLen > 2) { in Base64EncodeA()77 iSrcLen -= 3; in Base64EncodeA()81 if (iSrcLen > 1) { in Base64EncodeA()84 iBytes = iSrcLen; in Base64EncodeA()85 iSrcLen = 0; in Base64EncodeA()
100 int32_t Base64DecodeW(const wchar_t* pSrc, int32_t iSrcLen, uint8_t* pDst) { in Base64DecodeW() argument102 if (iSrcLen < 1) { in Base64DecodeW()105 while (iSrcLen > 0 && pSrc[iSrcLen - 1] == '=') { in Base64DecodeW()106 iSrcLen--; in Base64DecodeW()108 if (iSrcLen < 1) { in Base64DecodeW()112 int32_t iDstLen = iSrcLen / 4 * 3; in Base64DecodeW()113 iSrcLen %= 4; in Base64DecodeW()114 if (iSrcLen == 1) { in Base64DecodeW()116 } else if (iSrcLen == 2) { in Base64DecodeW()118 } else if (iSrcLen == 3) { in Base64DecodeW()[all …]
42 FX_FILESIZE iSrcLen) { in GetUTF8EncodeLength() argument46 while (iSrcLen-- > 0) { in GetUTF8EncodeLength()