Home
last modified time | relevance | path

Searched refs:iLen (Results 1 – 25 of 27) sorted by relevance

12

/external/snakeyaml/src/main/java/org/yaml/snakeyaml/external/biz/base64Coder/
DBase64Coder.java102 public static String encodeLines(byte[] in, int iOff, int iLen, int lineLen, in encodeLines() argument
107 int lines = (iLen + blockLen - 1) / blockLen; in encodeLines()
108 int bufLen = ((iLen + 2) / 3) * 4 + lines * lineSeparator.length(); in encodeLines()
111 while (ip < iLen) { in encodeLines()
112 int l = Math.min(iLen - ip, blockLen); in encodeLines()
142 public static char[] encode(byte[] in, int iLen) { in encode() argument
143 return encode(in, 0, iLen); in encode()
159 public static char[] encode(byte[] in, int iOff, int iLen) { in encode() argument
160 int oDataLen = (iLen * 4 + 2) / 3; // output length without padding in encode()
161 int oLen = ((iLen + 2) / 3) * 4; // output length including padding in encode()
[all …]
/external/pdfium/xfa/fgas/crt/
Dfgas_stream.cpp304 int32_t iLen = FXSYS_ftell(file); in FileLength() local
306 return iLen; in FileLength()
488 int32_t iLen = std::min((m_iLength - iPosition) / 2, iMaxLength); in ReadString() local
489 if (iLen <= 0) { in ReadString()
492 iLen = FXSYS_fread(pStr, 2, iLen, m_hFile); in ReadString()
494 while (*pStr != L'\0' && iCount < iLen) { in ReadString()
846 int32_t iLen = std::min(m_iLength - m_iPosition, iBufferSize); in ReadData() local
847 if (iLen <= 0) { in ReadData()
850 FXSYS_memcpy(pBuffer, m_pData + m_iPosition, iLen); in ReadData()
851 m_iPosition += iLen; in ReadData()
[all …]
/external/pdfium/xfa/fxbarcode/oned/
DBC_OnedUPCAWriter.cpp135 int32_t iLen = str.GetLength(); in ShowChars() local
136 FXTEXT_CHARPOS* pCharPos = FX_Alloc(FXTEXT_CHARPOS, iLen); in ShowChars()
137 FXSYS_memset(pCharPos, 0, sizeof(FXTEXT_CHARPOS) * iLen); in ShowChars()
145 iLen = tempStr.GetLength(); in ShowChars()
195 ge.DrawNormalText(iLen, pCharPos + 1, m_pFont, in ShowChars()
206 device->DrawNormalText(iLen, pCharPos + 1, m_pFont, in ShowChars()
211 iLen = tempStr.GetLength(); in ShowChars()
216 ge.DrawNormalText(iLen, pCharPos + 6, m_pFont, in ShowChars()
229 device->DrawNormalText(iLen, pCharPos + 6, m_pFont, in ShowChars()
234 iLen = tempStr.GetLength(); in ShowChars()
[all …]
DBC_OnedEAN13Writer.cpp184 int32_t iLen = str.GetLength(); in ShowChars() local
185 FXTEXT_CHARPOS* pCharPos = FX_Alloc(FXTEXT_CHARPOS, iLen); in ShowChars()
186 FXSYS_memset(pCharPos, 0, sizeof(FXTEXT_CHARPOS) * iLen); in ShowChars()
224 iLen = tempStr.GetLength(); in ShowChars()
236 ge.DrawNormalText(iLen, pCharPos + 1, m_pFont, in ShowChars()
247 device->DrawNormalText(iLen, pCharPos + 1, m_pFont, in ShowChars()
252 iLen = tempStr.GetLength(); in ShowChars()
258 ge.DrawNormalText(iLen, pCharPos + 7, m_pFont, in ShowChars()
271 device->DrawNormalText(iLen, pCharPos + 7, m_pFont, in ShowChars()
276 iLen = tempStr.GetLength(); in ShowChars()
[all …]
DBC_OnedEAN8Writer.cpp186 int32_t iLen = tempStr.GetLength(); in ShowChars() local
226 ge.DrawNormalText(iLen, pCharPos, m_pFont, static_cast<FX_FLOAT>(iFontSize), in ShowChars()
234 device->DrawNormalText(iLen, pCharPos, m_pFont, in ShowChars()
239 iLen = tempStr.GetLength(); in ShowChars()
246 ge.DrawNormalText(iLen, pCharPos + 4, m_pFont, in ShowChars()
259 device->DrawNormalText(iLen, pCharPos + 4, m_pFont, in ShowChars()
DBC_OneDimWriter.cpp267 int32_t iLen = str.GetLength(); in ShowChars() local
268 FXTEXT_CHARPOS* pCharPos = FX_Alloc(FXTEXT_CHARPOS, iLen); in ShowChars()
269 FXSYS_memset(pCharPos, 0, sizeof(FXTEXT_CHARPOS) * iLen); in ShowChars()
/external/pdfium/xfa/fde/xml/
Dcfx_saxreader.cpp276 int32_t iLen = csEntity.GetLength(); in ParseChar() local
277 if (iLen > 0) { in ParseChar()
282 if (iLen > 1 && csEntity[1] == 'x') { in ParseChar()
283 for (int32_t i = 2; i < iLen; i++) { in ParseChar()
296 for (int32_t i = 1; i < iLen; i++) { in ParseChar()
594 int32_t iLen = m_SkipStack.GetSize(); in SkipNode() local
599 iLen--; in SkipNode()
600 ASSERT(iLen > -1); in SkipNode()
601 m_SkipStack.RemoveAt(iLen, 1); in SkipNode()
602 m_SkipChar = iLen ? m_SkipStack[iLen - 1] : 0; in SkipNode()
[all …]
Dfde_xml_imp.cpp1835 int32_t iLen = csEntity.GetLength(); in ParseTextChar() local
1836 if (iLen > 0) { in ParseTextChar()
1840 if (iLen > 1 && csEntity[1] == L'x') { in ParseTextChar()
1841 for (int32_t i = 2; i < iLen; i++) { in ParseTextChar()
1854 for (int32_t i = 1; i < iLen; i++) { in ParseTextChar()
/external/pdfium/xfa/fde/css/
Dcfde_cssvaluelistparser.cpp10 int32_t iLen, in CFDE_CSSValueListParser() argument
12 : m_Separator(separator), m_pCur(psz), m_pEnd(psz + iLen) { in CFDE_CSSValueListParser()
13 ASSERT(psz && iLen > 0); in CFDE_CSSValueListParser()
Dcfde_cssselector.cpp37 int32_t iLen, in CFDE_CSSSelector() argument
40 m_dwHash(FX_HashCode_GetW(CFX_WideStringC(psz, iLen), bIgnoreCase)) {} in CFDE_CSSSelector()
Dcfde_cssvaluelistparser.h16 int32_t iLen,
Dcfde_cssselector.h23 int32_t iLen,
/external/pdfium/core/fxge/ge/
Dcfx_fontmapper.cpp226 CFX_ByteString ParseStyle(const FX_CHAR* pStyle, int iLen, int iIndex) { in ParseStyle() argument
228 if (!iLen || iLen <= iIndex) in ParseStyle()
230 while (iIndex < iLen) { in ParseStyle()
240 int32_t iLen = bsStyle.GetLength(); in GetStyleType() local
241 if (!iLen) in GetStyleType()
247 if (!pStyle || pStyle->len > iLen) in GetStyleType()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_nodehelper.cpp309 int32_t iLen = wsCondition.GetLength(); in CreateNode_ForCondition() local
312 if (iLen == 0) { in CreateNode_ForCondition()
318 for (; i < iLen; ++i) { in CreateNode_ForCondition()
337 wsIndex = wsCondition.Mid(i, iLen - 1 - i); in CreateNode_ForCondition()
Dcxfa_resolveprocessor.cpp615 int32_t iLen = wsCondition.GetLength(); in ConditionArray() local
619 for (; i < iLen; ++i) { in ConditionArray()
655 if (iFoundCount == 1 && !iLen) { in ConditionArray()
659 wsIndex = wsCondition.Mid(i, iLen - 1 - i); in ConditionArray()
727 int32_t iLen = wsCondition.GetLength(); in FilterCondition() local
728 if (!iLen) { in FilterCondition()
759 if (iLen > 1 && (wsCondition[1] == '[' || wsCondition[1] == '(')) { in FilterCondition()
Dcxfa_dataexporter.cpp23 int32_t iLen = str.GetLength(); in ExportEncodeAttribute() local
24 for (int32_t i = 0; i < iLen; i++) { in ExportEncodeAttribute()
50 int32_t iLen = str.GetLength(); in ExportEncodeContent() local
51 for (int32_t i = 0; i < iLen; i++) { in ExportEncodeContent()
/external/mesa3d/src/mesa/swrast/
Ds_aalinetemp.h111 GLint iLen, i; in NAME() local
193 iLen = (GLint) line.len; in NAME()
196 for (i = 0; i < iLen; i++) { in NAME()
/external/pdfium/xfa/fwl/theme/
Dcfwl_widgettp.cpp44 int32_t iLen = pParams->m_wsText.GetLength(); in DrawText() local
45 if (iLen <= 0) in DrawText()
56 m_pTextOut->DrawLogicText(pParams->m_wsText.c_str(), iLen, pParams->m_rtPart); in DrawText()
/external/libvncserver/webclients/java-applet/ssl/
Dtightvnc-1.3dev7_javasrc-vncviewer-ssl.patch2170 + * @param iLen number of bytes to process in <code>in</code>.
2173 + public static char[] encode (byte[] in, int iLen) {
2174 + int oDataLen = (iLen*4+2)/3; // output length without padding
2175 + int oLen = ((iLen+2)/3)*4; // output length including padding
2179 + while (ip < iLen) {
2181 + int i1 = ip < iLen ? in[ip++] & 0xff : 0;
2182 + int i2 = ip < iLen ? in[ip++] & 0xff : 0;
2219 + int iLen = in.length;
2220 + if (iLen%4 != 0) throw new IllegalArgumentException ("Length of Base64 encoded input string is…
2221 + while (iLen > 0 && in[iLen-1] == '=') iLen--;
[all …]
Dultravnc-102-JavaViewer-ssl-etc.patch4742 + * @param iLen number of bytes to process in <code>in</code>.
4745 + public static char[] encode (byte[] in, int iLen) {
4746 + int oDataLen = (iLen*4+2)/3; // output length without padding
4747 + int oLen = ((iLen+2)/3)*4; // output length including padding
4751 + while (ip < iLen) {
4753 + int i1 = ip < iLen ? in[ip++] & 0xff : 0;
4754 + int i2 = ip < iLen ? in[ip++] & 0xff : 0;
4791 + int iLen = in.length;
4792 + if (iLen%4 != 0) throw new IllegalArgumentException ("Length of Base64 encoded input string is…
4793 + while (iLen > 0 && in[iLen-1] == '=') iLen--;
[all …]
/external/pdfium/core/fxcrt/
Dfx_xml_parser.cpp292 int32_t i = 0, iLen = str.GetLength(); in SkipLiterals() local
300 if (i == iLen) in SkipLiterals()
304 if (i == iLen) in SkipLiterals()
/external/pdfium/xfa/fxfa/app/
Dcxfa_textlayout.cpp932 int32_t iLen = wsText.GetLength(); in ProcessText() local
933 if (iLen == 0) in ProcessText()
936 FX_WCHAR* psz = wsText.GetBuffer(iLen); in ProcessText()
939 for (int32_t i = 0; i < iLen; i++) { in ProcessText()
949 wsText.ReleaseBuffer(iLen); in ProcessText()
Dxfa_ffwidget.cpp922 static uint8_t* XFA_RemoveBase64Whitespace(const uint8_t* pStr, int32_t iLen) { in XFA_RemoveBase64Whitespace() argument
925 if (iLen == 0) { in XFA_RemoveBase64Whitespace()
926 iLen = FXSYS_strlen((FX_CHAR*)pStr); in XFA_RemoveBase64Whitespace()
928 pCP = FX_Alloc(uint8_t, iLen + 1); in XFA_RemoveBase64Whitespace()
929 for (; i < iLen; i++) { in XFA_RemoveBase64Whitespace()
948 int32_t iLen = FXSYS_strlen((FX_CHAR*)pBuffer); in XFA_Base64Decode() local
951 for (; i + 3 < iLen; i += 4) { in XFA_Base64Decode()
/external/pdfium/xfa/fxfa/fm2js/
Dxfa_fm2jscontext.cpp3439 int32_t iLen = wsHTMLString.GetLength(); in DecodeHTML() local
3444 while (i < iLen) { in DecodeHTML()
3466 while (ch != ';' && i < iLen) { in DecodeHTML()
3486 while (ch != ';' && i < iLen) { in DecodeHTML()
3515 int32_t iLen = wsXMLString.GetLength(); in DecodeXML() local
3521 while (i < iLen) { in DecodeXML()
3563 while (ch != ';' && i < iLen) { in DecodeXML()
3730 int32_t iLen = strTmp.GetLength(); in EncodeURL() local
3731 if (iLen < 2) in EncodeURL()
3735 if (iLen % 2 != 0) { in EncodeURL()
[all …]
/external/pdfium/xfa/fgas/localization/
Dfgas_locale.cpp67 int32_t iLen, in FX_ParseTimeZone() argument
71 if (iLen < 0) { in FX_ParseTimeZone()
76 while (iStart < iLen && iStart < iEnd) { in FX_ParseTimeZone()
79 if (iStart < iLen && pStr[iStart] == ':') { in FX_ParseTimeZone()
83 while (iStart < iLen && iStart < iEnd) { in FX_ParseTimeZone()
356 int32_t iLen = wsOutput.GetLength(); in FX_GetLiteralTextReverse() local
358 for (; i < iLen && i < 5; i++) { in FX_GetLiteralTextReverse()

12