Home
last modified time | relevance | path

Searched refs:iSrcLen (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/core/fxcrt/
Dcfx_checksumcontext.cpp57 int32_t Base64EncodeA(const uint8_t* pSrc, int32_t iSrcLen, char* pDst) { in Base64EncodeA() argument
59 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()
/external/pdfium/xfa/fxfa/
Dcxfa_ffdoc.cpp100 int32_t Base64DecodeW(const wchar_t* pSrc, int32_t iSrcLen, uint8_t* pDst) { in Base64DecodeW() argument
102 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 …]
/external/pdfium/core/fxcrt/xml/
Dcfx_xmlsyntaxparser.cpp42 FX_FILESIZE iSrcLen) { in GetUTF8EncodeLength() argument
46 while (iSrcLen-- > 0) { in GetUTF8EncodeLength()