Home
last modified time | relevance | path

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

/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/fxbarcode/oned/
DBC_OnedUPCAWriter.cpp116 int32_t iLen = str.GetLength(); in ShowChars() local
117 std::vector<FXTEXT_CHARPOS> charpos(iLen); in ShowChars()
122 iLen = tempStr.GetLength(); in ShowChars()
164 device->DrawNormalText(iLen, &charpos[1], m_pFont.Get(), in ShowChars()
169 iLen = tempStr.GetLength(); in ShowChars()
178 device->DrawNormalText(iLen, &charpos[6], m_pFont.Get(), in ShowChars()
183 iLen = tempStr.GetLength(); in ShowChars()
194 device->DrawNormalText(iLen, charpos.data(), m_pFont.Get(), in ShowChars()
199 iLen = tempStr.GetLength(); in ShowChars()
209 device->DrawNormalText(iLen, &charpos[11], m_pFont.Get(), in ShowChars()
DBC_OnedEAN13Writer.cpp148 int32_t iLen = str.GetLength(); in ShowChars() local
149 std::vector<FXTEXT_CHARPOS> charpos(iLen); in ShowChars()
177 iLen = tempStr.GetLength(); in ShowChars()
188 device->DrawNormalText(iLen, &charpos[1], m_pFont.Get(), in ShowChars()
193 iLen = tempStr.GetLength(); in ShowChars()
203 device->DrawNormalText(iLen, &charpos[7], m_pFont.Get(), in ShowChars()
208 iLen = tempStr.GetLength(); in ShowChars()
219 device->DrawNormalText(iLen, charpos.data(), m_pFont.Get(), in ShowChars()
DBC_OnedEAN8Writer.cpp151 size_t iLen = tempStr.GetLength(); in ShowChars() local
180 device->DrawNormalText(iLen, charpos.data(), m_pFont.Get(), in ShowChars()
185 iLen = tempStr.GetLength(); in ShowChars()
195 device->DrawNormalText(iLen, &charpos[4], m_pFont.Get(), in ShowChars()
DBC_OneDimWriter.cpp214 int32_t iLen = str.GetLength(); in ShowChars() local
215 std::vector<FXTEXT_CHARPOS> charpos(iLen); in ShowChars()
/external/pdfium/core/fxcrt/css/
Dcfx_cssvaluelistparser.cpp12 int32_t iLen, in CFX_CSSValueListParser() argument
14 : m_Separator(separator), m_pCur(psz), m_pEnd(psz + iLen) { in CFX_CSSValueListParser()
15 ASSERT(psz && iLen > 0); in CFX_CSSValueListParser()
Dcfx_cssselector.cpp31 int32_t iLen, in CFX_CSSSelector() argument
34 m_dwHash(FX_HashCode_GetW(WideStringView(psz, iLen), bIgnoreCase)) {} in CFX_CSSSelector()
Dcfx_cssvaluelistparser.h15 CFX_CSSValueListParser(const wchar_t* psz, int32_t iLen, wchar_t separator);
Dcfx_cssselector.h22 int32_t iLen,
/external/pdfium/core/fxcrt/
Dcfx_seekablestreamproxy.cpp238 size_t iLen = ReadData(reinterpret_cast<uint8_t*>(pStr), iBytes); in ReadString() local
239 iMaxLength = iLen / 2; in ReadString()
254 size_t iLen = ReadData(buf.data(), iBytes); in ReadString() local
260 reinterpret_cast<const char*>(buf.data()), iLen, pStr, iMaxLength); in ReadString()
261 Seek(From::Current, iSrc - iLen); in ReadString()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_nodehelper.cpp278 int32_t iLen = wsCondition.GetLength(); in CreateNode_ForCondition() local
281 if (iLen == 0) { in CreateNode_ForCondition()
289 for (; i < iLen; ++i) { in CreateNode_ForCondition()
303 wsIndex = wsCondition.Mid(i, iLen - 1 - i); in CreateNode_ForCondition()
Dxfa_utils.cpp53 int32_t iLen = str.GetLength(); in ExportEncodeAttribute() local
54 for (int32_t i = 0; i < iLen; i++) { in ExportEncodeAttribute()
85 int32_t iLen = str.GetLength(); in ExportEncodeContent() local
86 for (int32_t i = 0; i < iLen; i++) { in ExportEncodeContent()
/external/pdfium/fxjs/
Dcfxjse_resolveprocessor.cpp572 int32_t iLen = wsCondition.GetLength(); in ConditionArray() local
576 for (; i < iLen; ++i) { in ConditionArray()
605 if (iFoundCount == 1 && !iLen) in ConditionArray()
608 int32_t iIndex = wsCondition.Mid(i, iLen - 1 - i).GetInteger(); in ConditionArray()
670 int32_t iLen = wsCondition.GetLength(); in FilterCondition() local
671 if (!iLen) { in FilterCondition()
698 if (iLen > 1 && (wsCondition[1] == '[' || wsCondition[1] == '(')) in FilterCondition()
Dcfxjse_formcalc_context.cpp3297 size_t iLen = wsHTMLString.GetLength(); in DecodeHTML() local
3302 while (i < iLen) { in DecodeHTML()
3323 while (ch != ';' && i < iLen) { in DecodeHTML()
3342 while (ch != ';' && i < iLen) { in DecodeHTML()
3368 int32_t iLen = wsXMLString.GetLength(); in DecodeXML() local
3374 while (i < iLen) { in DecodeXML()
3414 while (ch != ';' && i < iLen) { in DecodeXML()
3574 int32_t iLen = strTmp.GetLength(); in EncodeURL() local
3575 if (iLen < 2) in EncodeURL()
3579 if (iLen % 2 != 0) { in EncodeURL()
[all …]
/external/pdfium/core/fxcrt/xml/
Dcfx_xmlsyntaxparser.cpp630 int32_t iLen = csEntity.GetLength(); in ParseTextChar() local
631 if (iLen > 0) { in ParseTextChar()
635 if (iLen > 1 && csEntity[1] == L'x') { in ParseTextChar()
636 for (int32_t i = 2; i < iLen; i++) { in ParseTextChar()
648 for (int32_t i = 1; i < iLen; i++) { in ParseTextChar()
Dcfx_saxreader.cpp298 int32_t iLen = csEntity.GetLength(); in ParseChar() local
299 if (iLen == 0) in ParseChar()
306 if (iLen > 1 && csEntity[1] == 'x') { in ParseChar()
307 for (int32_t i = 2; i < iLen; i++) { in ParseChar()
319 for (int32_t i = 1; i < iLen; i++) { in ParseChar()
Dcxml_parser.cpp158 int32_t i = 0, iLen = str.GetLength(); in SkipLiterals() local
166 if (i == iLen) in SkipLiterals()
170 if (i == iLen) in SkipLiterals()
/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 WideStringView(pParams->m_wsText.c_str(), iLen), in DrawText()
/external/pdfium/core/fxge/
Dcfx_fontmapper.cpp206 ByteString ParseStyle(const char* pStyle, int iLen, int iIndex) { in ParseStyle() argument
208 if (!iLen || iLen <= iIndex) in ParseStyle()
210 while (iIndex < iLen) { in ParseStyle()
/external/pdfium/xfa/fxfa/
Dcxfa_textlayout.cpp917 int32_t iLen = wsText.GetLength(); in ProcessText() local
918 if (iLen == 0) in ProcessText()
921 wchar_t* psz = wsText.GetBuffer(iLen); in ProcessText()
924 for (int32_t i = 0; i < iLen; i++) { in ProcessText()
934 wsText.ReleaseBuffer(iLen); in ProcessText()
Dcxfa_widgetacc.cpp78 uint8_t* XFA_RemoveBase64Whitespace(const uint8_t* pStr, int32_t iLen) { in XFA_RemoveBase64Whitespace() argument
81 if (iLen == 0) { in XFA_RemoveBase64Whitespace()
82 iLen = strlen((char*)pStr); in XFA_RemoveBase64Whitespace()
84 pCP = FX_Alloc(uint8_t, iLen + 1); in XFA_RemoveBase64Whitespace()
85 for (; i < iLen; i++) { in XFA_RemoveBase64Whitespace()
105 int32_t iLen = strlen((char*)pBuffer); in XFA_Base64Decode() local
108 for (; i + 3 < iLen; i += 4) { in XFA_Base64Decode()
/external/pdfium/xfa/fgas/crt/
Dcfgas_formatstring.cpp70 int32_t ParseTimeZone(const wchar_t* pStr, int32_t iLen, FX_TIMEZONE* tz) { in ParseTimeZone() argument
73 if (iLen < 0) in ParseTimeZone()
78 while (iStart < iLen && iStart < iEnd) in ParseTimeZone()
81 if (iStart < iLen && pStr[iStart] == ':') in ParseTimeZone()
85 while (iStart < iLen && iStart < iEnd) in ParseTimeZone()
159 int32_t iLen = wsOutput.GetLength(); in GetLiteralTextReverse() local
161 for (; i < iLen && i < 5; i++) { in GetLiteralTextReverse()
/external/libxml2/
Dcatalog.c3243 int i, iLen; in xmlLoadCatalogs() local
3258 iLen = strlen((const char*)path); in xmlLoadCatalogs()
3259 for(i = 0; i < iLen; i++) { in xmlLoadCatalogs()