Home
last modified time | relevance | path

Searched refs:iSize (Results 1 – 25 of 41) sorted by relevance

12

/external/pdfium/xfa/src/fgas/include/
Dfx_utl.h143 int32_t iSize = src.GetSize();
144 FXSYS_assert(iStart > -1 && iStart < iSize);
146 iCount = iSize;
148 if (iStart + iCount > iSize) {
149 iCount = iSize - iStart;
154 iSize = CFX_BaseArray::GetSize();
155 CFX_BaseArray::AddSpaceTo(iSize + iCount - 1);
156 uint8_t** pStart = CFX_BaseArray::GetAt(iSize);
158 iSize = iStart + iCount;
159 for (int32_t i = iStart; i < iSize; i++) {
[all …]
/external/pdfium/core/src/fxge/android/
Dfpf_skiafontmgr.h33 int32_t iSize = FXSYS_strlen(pFamily); in SetFamily() local
34 m_pFamily = FX_Alloc(FX_CHAR, iSize + 1); in SetFamily()
35 FXSYS_memcpy(m_pFamily, pFamily, iSize * sizeof(FX_CHAR)); in SetFamily()
36 m_pFamily[iSize] = 0; in SetFamily()
55 int32_t iSize = FXSYS_strlen(pPath); in SetPath() local
56 m_pPath = FX_Alloc(FX_CHAR, iSize + 1); in SetPath()
57 FXSYS_memcpy(m_pPath, pPath, iSize * sizeof(FX_CHAR)); in SetPath()
58 m_pPath[iSize] = 0; in SetPath()
/external/pdfium/fpdfsdk/src/javascript/
Dutil.cpp124 int iSize = params.size(); in printf() local
125 if (iSize < 1) in printf()
155 if (iIndex >= iSize) { in printf()
187 int iSize = params.size(); in printd() local
188 if (iSize < 2) in printd()
241 if (iSize > 2) { in printd()
399 int iSize = params.size(); in printx() local
400 if (iSize < 2) in printx()
420 int iSize = cSource.size(); in printx() local
421 for (int iIndex = 0; iIndex < (int)cFormat.size() && itSource < iSize; in printx()
[all …]
Dcolor.cpp166 int iSize = params.size(); in JS_IMPLEMENT_COLORPROP() local
167 if (iSize < 2) in JS_IMPLEMENT_COLORPROP()
Dapp.cpp283 int iSize = params.size(); in alert() local
284 if (iSize < 1) in alert()
295 if (iSize == 1) { in alert()
357 for (int i = 1; i < iSize; i++) { in alert()
DField.cpp2944 int iSize = params.size(); in buttonGetCaption() local
2945 if (iSize >= 1) in buttonGetCaption()
2977 int iSize = params.size(); in buttonGetIcon() local
2978 if (iSize >= 1) in buttonGetIcon()
3048 int iSize = params.size(); in checkThisBox() local
3049 if (iSize < 1) in checkThisBox()
3055 if (iSize >= 2) in checkThisBox()
3091 int iSize = params.size(); in defaultIsChecked() local
3092 if (iSize < 1) in defaultIsChecked()
3167 int iSize = params.size(); in getItemAt() local
[all …]
/external/lz4/programs/
Dframetest.c247 size_t iSize = 1; in basicTests() local
249 errorCode = LZ4F_decompress(dCtx, op, &oSize, ip, &iSize, NULL); in basicTests()
252 ip += iSize; in basicTests()
299 size_t iSize = (FUZ_rand(&randState) & ((1<<nbBits)-1)) + 1; in basicTests() local
301 if (iSize > (size_t)(iend-ip)) iSize = iend-ip; in basicTests()
303 errorCode = LZ4F_decompress(dCtx, op, &oSize, ip, &iSize, NULL); in basicTests()
306 ip += iSize; in basicTests()
457 size_t iSize = (FUZ_rand(&randState) & ((1<<nbBitsSeg)-1)) + 1; in fuzzerTests() local
458 size_t oSize = LZ4F_compressBound(iSize, prefsPtr); in fuzzerTests()
460 if (iSize > (size_t)(iend-ip)) iSize = iend-ip; in fuzzerTests()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_points.c194 GLint iSize = (GLint) (size + 0.5F); in sprite_point() local
199 iSize = MAX2(1, iSize); in sprite_point()
200 iRadius = iSize / 2; in sprite_point()
202 if (iSize & 1) { in sprite_point()
213 xmax = xmin + iSize - 1; in sprite_point()
215 ymax = ymin + iSize - 1; in sprite_point()
410 GLint iSize = (GLint) (size + 0.5F); in large_point() local
414 iSize = MAX2(1, iSize); in large_point()
415 iRadius = iSize / 2; in large_point()
417 if (iSize & 1) { in large_point()
[all …]
/external/pdfium/core/src/fxcrt/
Dfx_arabic.cpp389 int32_t iSize = classes.GetSize(); in FX_BidiResolveExplicit() local
391 for (; i < iSize && iCount > 0; i++, iCount--) { in FX_BidiResolveExplicit()
440 iSize = i; in FX_BidiResolveExplicit()
546 int32_t iSize = classes.GetSize(); in FX_BidiResolveWeak() local
547 if (iSize < 1) { in FX_BidiResolveWeak()
550 iSize--; in FX_BidiResolveWeak()
554 for (; i <= iSize; i++) { in FX_BidiResolveWeak()
559 if (i == iSize && iLevelCur != iBaseLevel) { in FX_BidiResolveWeak()
562 } else if (i < iSize) { in FX_BidiResolveWeak()
648 int32_t iSize = classes.GetSize(); in FX_BidiResolveNeutrals() local
[all …]
Dfx_basic_wstring.cpp26 pdfium::base::CheckedNumeric<int> iSize = nLen; in Create() local
27 iSize *= sizeof(FX_WCHAR); in Create()
28 iSize += overhead; in Create()
34 iSize += 7; in Create()
35 int totalSize = iSize.ValueOrDie() & ~7; in Create()
395 pdfium::base::CheckedNumeric<FX_STRSIZE> iSize = in AllocCopy() local
397 iSize *= nCopyLen; in AllocCopy()
402 iSize.ValueOrDie()); in AllocCopy()
/external/xmlrpcpp/src/
DXmlRpcUtil.cpp197 std::string::size_type iSize = encoded.size(); in xmlDecode() local
198 decoded.reserve(iSize); in xmlDecode()
201 while (iAmp != iSize) { in xmlDecode()
202 if (encoded[iAmp] == AMP && iAmp+1 < iSize) { in xmlDecode()
234 std::string::size_type iSize = raw.size(); in xmlEncode() local
236 while (iRep != iSize) { in xmlEncode()
/external/pdfium/xfa/src/fdp/src/tto/
Dfde_textout.cpp411 void CFDE_TextOut::ExpandBuffer(int32_t iSize, int32_t iType) { in ExpandBuffer() argument
415 m_pCharWidths = FX_Alloc(int32_t, iSize); in ExpandBuffer()
416 m_iChars = iSize; in ExpandBuffer()
417 } else if (m_iChars < iSize) { in ExpandBuffer()
418 m_pCharWidths = FX_Realloc(int32_t, m_pCharWidths, iSize); in ExpandBuffer()
419 m_iChars = iSize; in ExpandBuffer()
421 FXSYS_memset(m_pCharWidths, 0, iSize * sizeof(int32_t)); in ExpandBuffer()
425 m_pEllCharWidths = FX_Alloc(int32_t, iSize); in ExpandBuffer()
426 m_iEllChars = iSize; in ExpandBuffer()
427 } else if (m_iEllChars < iSize) { in ExpandBuffer()
[all …]
/external/parameter-framework/upstream/xmlserializer/
DXmlStreamDocSink.cpp44 int iSize; in doProcess() local
45 xmlDocDumpFormatMemoryEnc(xmlDocSource.getDoc(), &dumpedDoc, &iSize, "UTF-8", 1); in doProcess()
/external/pdfium/xfa/src/fxjse/src/
Druntime.cpp105 int32_t iSize = m_RuntimeList.GetSize(); in RemoveAllRuntimes() local
107 for (int32_t iIdx = 0; iIdx < iSize; iIdx++) { in RemoveAllRuntimes()
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_parser.cpp3008 int iSize = m_arrayAcroforms.GetSize(); in ~CPDF_DataAvail() local
3009 for (int i = 0; i < iSize; ++i) { in ~CPDF_DataAvail()
3106 int32_t iSize = new_obj_array.GetSize(); in IsObjectsAvail() local
3107 for (i = 0; i < iSize; ++i) { in IsObjectsAvail()
3155 int32_t iSize = m_arrayAcroforms.GetSize(); in CheckAcroFormSubObject() local
3156 for (int32_t i = 0; i < iSize; ++i) { in CheckAcroFormSubObject()
3414 int32_t iSize = pArray->GetCount(); in CheckPage() local
3415 for (int32_t j = 0; j < iSize; ++j) { in CheckPage()
3557 int32_t iSize = dwEnd > 1024 ? dwEnd - 1024 : 0; in CheckFirstPage() local
3558 if (!m_pFileAvail->IsDataAvail(iStartPos, iSize)) { in CheckFirstPage()
[all …]
/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_script_resolveprocessor.cpp513 int32_t iSize = stack.GetSize() - 1; in XFA_ResolveNodes_PopStack() local
514 if (iSize > -1) { in XFA_ResolveNodes_PopStack()
515 nType = stack[iSize]; in XFA_ResolveNodes_PopStack()
516 stack.RemoveAt(iSize, 1); in XFA_ResolveNodes_PopStack()
726 int32_t iSize = array.GetSize(); in XFA_ResolveNode_FilterCondition() local
727 if (iSize) { in XFA_ResolveNode_FilterCondition()
728 CXFA_Node* curNode = array[iSize - 1]; in XFA_ResolveNode_FilterCondition()
Dxfa_script_nodehelper.cpp247 int32_t iSize = XFA_NodeAcc_TraverseSiblings(parent, dwHashName, &siblings, in XFA_GetIndex() local
249 for (int32_t i = 0; i < iSize; ++i) { in XFA_GetIndex()
Dxfa_object_imp.cpp1221 int32_t iSize = this->GetNodeList(properts, XFA_NODEFILTER_OneOfProperty); in Script_NodeClass_OneOfChild() local
1222 if (iSize > 0) { in Script_NodeClass_OneOfChild()
1848 int32_t iSize = border.CountEdges(); in Script_Som_BorderColor() local
1857 for (int32_t i = 0; i < iSize; ++i) { in Script_Som_BorderColor()
1878 int32_t iSize = border.CountEdges(); in Script_Som_BorderWidth() local
1884 for (int32_t i = 0; i < iSize; ++i) { in Script_Som_BorderWidth()
4253 int32_t iSize = 0; in SetScriptContent() local
4270 iSize = wsSaveTextArray.GetSize(); in SetScriptContent()
4272 if (iSize == 0) { in SetScriptContent()
4281 if (iDatas < iSize) { in SetScriptContent()
[all …]
/external/pdfium/xfa/src/fxfa/src/fm2js/
Dxfa_expression.cpp590 int32_t iSize = m_pAccessors->GetSize(); in ToJavaScript() local
593 while (index < iSize) { in ToJavaScript()
596 if (index + 1 < iSize) { in ToJavaScript()
645 int32_t iSize = m_pAccessors->GetSize(); in ToImpliedReturnJS() local
648 while (index < iSize) { in ToImpliedReturnJS()
651 if (index + 1 < iSize) { in ToImpliedReturnJS()
Dxfa_fmparse.cpp614 int32_t iSize = pArray->GetSize(); in ParsePostExpression() local
615 for (int32_t i = 0; i < iSize; ++i) { in ParsePostExpression()
673 int32_t iSize = pArray->GetSize(); in ParsePostExpression() local
674 for (int32_t i = 0; i < iSize; ++i) { in ParsePostExpression()
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_create.cpp344 int32_t iSize = pXRef->m_IndexArray.GetSize() / 2; in IsXRefNeedEnd() local
346 for (int32_t i = 0; i < iSize; ++i) in IsXRefNeedEnd()
672 int32_t iSize = m_ObjStream.m_ObjNumArray.GetSize(); in EndObjectStream() local
685 if (index >= iSize || in EndObjectStream()
695 if (iSize > 0 && bEOF) { in EndObjectStream()
710 if (j >= iSize || m != m_ObjStream.m_ObjNumArray.ElementAt(j)) { in EndObjectStream()
717 if (iSize > 0 && bEOF) { in EndObjectStream()
897 int32_t iSize = m_IndexArray.GetSize(); in AddObjectNumberToIndexArray() local
898 if (iSize == 0) { in AddObjectNumberToIndexArray()
902 FXSYS_assert(iSize > 1); in AddObjectNumberToIndexArray()
[all …]
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_ffimageedit.cpp108 int32_t iSize = wsPathArray.GetSize(); in OnLButtonDown() local
109 if (iSize < 1) { in OnLButtonDown()
/external/pdfium/xfa/include/fwl/adapter/
Dfwl_adapterclipboardmgr.h23 virtual FWL_ERR SetData(FX_DWORD dwFormat, uint8_t* pBuf, int32_t iSize) = 0;
/external/pdfium/xfa/src/fgas/src/crt/
Dfx_utils.cpp418 int32_t iSize = m_pData->m_iBlockCount; in GetTopElement() local
419 if (iSize < 1) { in GetTopElement()
422 return m_pData->GetAt(iSize - 1); in GetTopElement()
/external/pdfium/core/src/fpdfapi/fpdf_font/
Dfpdf_font_cid.cpp984 int iSize = GetCharSizeImpl(charcode, pRanges, m_nCodeRanges); in AppendChar() local
985 if (iSize == 0) { in AppendChar()
986 iSize = 1; in AppendChar()
988 if (iSize > 1) { in AppendChar()
989 FXSYS_memset(str, 0, sizeof(uint8_t) * iSize); in AppendChar()
991 str[iSize - 1] = (uint8_t)charcode; in AppendChar()
992 return iSize; in AppendChar()

12