Home
last modified time | relevance | path

Searched refs:nCount (Results 1 – 25 of 78) sorted by relevance

1234

/external/pdfium/xfa/src/fee/src/fee/
Dfde_txtedtblock.cpp23 int32_t nCount = wsBlock.GetLength(); in CFDE_TxtEdtBlock() local
27 while (i < nCount) { in CFDE_TxtEdtBlock()
32 if (i < nCount) { in CFDE_TxtEdtBlock()
69 int32_t nCount = m_FieldArr.GetSize(); in ~CFDE_TxtEdtBlock() local
70 for (int32_t i = 0; i < nCount; i++) { in ~CFDE_TxtEdtBlock()
77 int32_t nCount = m_FieldArr.GetSize(); in GetDisplayText() local
78 for (int32_t i = 0; i < nCount; i++) { in GetDisplayText()
87 int32_t nCount = m_FieldArr.GetSize(); in GetLength() local
88 for (int32_t i = 0; i < nCount; i++) { in GetLength()
95 int32_t nCount = m_FieldArr.GetSize(); in GetBlockText() local
[all …]
Dfde_txtedtpage.cpp47 FX_WCHAR* pBuffer = wsText.GetBuffer(pPiece->nCount); in GetString()
48 for (int32_t i = 0; i < pPiece->nCount; i++) { in GetString()
51 wsText.ReleaseBuffer(pPiece->nCount); in GetString()
52 return pPiece->nCount; in GetString()
71 int32_t nLength = pPiece->nCount; in GetDisplayPos()
106 int32_t nLength = pPiece->nCount; in GetCharRects_Impl()
189 int32_t nCount = m_PieceMassArr.GetSize(); in GetCharRect() local
190 for (int32_t i = 0; i < nCount; i++) { in GetCharRect()
193 nIndex < (pPiece->nStart + pPiece->nCount)) { in GetCharRect()
213 int32_t nCount = m_PieceMassArr.GetSize(); in GetCharIndex() local
[all …]
Dfde_txtedtengine.cpp165 int32_t nCount) { in GetText() argument
167 if (nCount == -1) { in GetText()
168 nCount = nTextBufLength - nStart; in GetText()
173 m_pTxtBuf->GetRange(wsText, nStart, nCount); in GetText()
204 int32_t nRealEnd = GetRealIndex(nStart + nCount - 1); in GetText()
211 m_pTxtBuf->GetRange(wsText, nStart, nCount); in GetText()
574 int32_t nCount = m_SelRangePtrArr.GetSize(); in Insert() local
575 for (int32_t i = 0; i < nCount; i++) { in Insert()
577 nTotalLength -= lpSelRange->nCount; in Insert()
671 int32_t nCount = 1; in Delete() local
[all …]
Dfde_txtedtparag.cpp58 int32_t nCount = pTxtBreak->CountBreakPieces(); in LoadParag() local
60 for (int32_t j = 0; j < nCount; j++) { in LoadParag()
105 int32_t nCount = 0; in CalcLines() local
122 nCount++; in CalcLines()
134 m_nLineCount = nCount; in CalcLines()
138 int32_t& nCount) const { in GetLineRange()
147 nCount = *pLineBaseArr; in GetLineRange()
Dfde_txtedtbuf.cpp208 int32_t nCount = m_Chunks.GetSize(); in GetCharByIndex() local
210 for (i = 0; i < nCount; i++) { in GetCharByIndex()
226 int32_t nCount = m_Chunks.GetSize(); in GetRange() local
238 if (nChunkIndex >= nCount) { in GetRange()
330 int32_t nCount = m_Chunks.GetSize(); in Clear() local
332 while (i < nCount) { in Clear()
337 while (i < nCount) { in Clear()
351 int32_t nCount = m_Chunks.GetSize(); in Optimize() local
352 if (nCount == 0) { in Optimize()
356 for (; i < nCount; i++) { in Optimize()
[all …]
Dfde_txtedtengine.h50 int32_t nCount; member
77 int32_t nCount = -1);
94 virtual int32_t DeleteRange(int32_t nStart, int32_t nCount = -1);
113 void RemoveSelRange(int32_t nStart, int32_t nCount = -1);
115 virtual void AddSelRange(int32_t nStart, int32_t nCount = -1);
164 void Inner_DeleteRange(int32_t nStart, int32_t nCount = -1);
166 int32_t nCount,
/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_script_nodehelper.cpp75 int32_t nCount = 0; in XFA_NodeAcc_TraverseAnySiblings() local
85 nCount++; in XFA_NodeAcc_TraverseAnySiblings()
90 nCount++; in XFA_NodeAcc_TraverseAnySiblings()
93 if (nCount > 0) { in XFA_NodeAcc_TraverseAnySiblings()
94 return nCount; in XFA_NodeAcc_TraverseAnySiblings()
96 nCount += XFA_NodeAcc_TraverseAnySiblings(child, dNameHash, pSiblings, in XFA_NodeAcc_TraverseAnySiblings()
109 nCount++; in XFA_NodeAcc_TraverseAnySiblings()
116 nCount++; in XFA_NodeAcc_TraverseAnySiblings()
119 if (nCount > 0) { in XFA_NodeAcc_TraverseAnySiblings()
120 return nCount; in XFA_NodeAcc_TraverseAnySiblings()
[all …]
/external/pdfium/core/src/fxcrt/
Dfx_basic_bstring.cpp360 FX_STRSIZE CFX_ByteString::Delete(FX_STRSIZE nIndex, FX_STRSIZE nCount) { in Delete() argument
368 if (nCount > 0 && nIndex < nOldLength) { in Delete()
369 FX_STRSIZE mLength = nIndex + nCount; in Delete()
378 m_pData->m_nDataLength = nOldLength - nCount; in Delete()
428 CFX_ByteString CFX_ByteString::Mid(FX_STRSIZE nFirst, FX_STRSIZE nCount) const { in Mid()
432 if (nCount < 0) { in Mid()
433 nCount = 0; in Mid()
435 if (nFirst + nCount > m_pData->m_nDataLength) { in Mid()
436 nCount = m_pData->m_nDataLength - nFirst; in Mid()
439 nCount = 0; in Mid()
[all …]
Dfx_basic_wstring.cpp405 CFX_WideString CFX_WideString::Left(FX_STRSIZE nCount) const { in Left()
409 if (nCount < 0) { in Left()
410 nCount = 0; in Left()
412 if (nCount >= m_pData->m_nDataLength) { in Left()
416 AllocCopy(dest, nCount, 0); in Left()
422 CFX_WideString CFX_WideString::Mid(FX_STRSIZE nFirst, FX_STRSIZE nCount) const { in Mid()
429 if (nCount < 0) { in Mid()
430 nCount = 0; in Mid()
432 if (nFirst + nCount > m_pData->m_nDataLength) { in Mid()
433 nCount = m_pData->m_nDataLength - nFirst; in Mid()
[all …]
Dfx_basic_array.cpp83 uint8_t* CFX_BasicArray::InsertSpaceAt(int nIndex, int nCount) { in InsertSpaceAt() argument
84 if (nIndex < 0 || nCount <= 0) { in InsertSpaceAt()
88 if (!SetSize(nIndex + nCount)) { in InsertSpaceAt()
93 if (!SetSize(m_nSize + nCount)) { in InsertSpaceAt()
96 FXSYS_memmove(m_pData + (nIndex + nCount) * m_nUnitSize, in InsertSpaceAt()
99 FXSYS_memset(m_pData + nIndex * m_nUnitSize, 0, nCount * m_nUnitSize); in InsertSpaceAt()
103 FX_BOOL CFX_BasicArray::RemoveAt(int nIndex, int nCount) { in RemoveAt() argument
104 if (nIndex < 0 || nCount <= 0 || m_nSize < nIndex + nCount) { in RemoveAt()
107 int nMoveCount = m_nSize - (nIndex + nCount); in RemoveAt()
110 m_pData + (nIndex + nCount) * m_nUnitSize, in RemoveAt()
[all …]
/external/pdfium/core/include/fxcrt/
Dfx_basic.h299 uint8_t* InsertSpaceAt(int nIndex, int nCount);
301 FX_BOOL RemoveAt(int nIndex, int nCount);
391 TYPE* InsertSpaceAt(int nIndex, int nCount) { in InsertSpaceAt() argument
392 return (TYPE*)CFX_BasicArray::InsertSpaceAt(nIndex, nCount); in InsertSpaceAt()
409 FX_BOOL InsertAt(int nIndex, TYPE newElement, int nCount = 1) {
410 if (!InsertSpaceAt(nIndex, nCount)) {
413 while (nCount--) {
419 FX_BOOL RemoveAt(int nIndex, int nCount = 1) {
420 return CFX_BasicArray::RemoveAt(nIndex, nCount);
467 int32_t nCount = -1) {
[all …]
/external/pdfium/core/src/fpdftext/
Dunicodenormalization.cpp50 FX_STRSIZE nCount = 0; in FX_WideString_GetNormalization() local
54 nCount += FX_Unicode_GetNormalization(wch, pDst + nCount); in FX_WideString_GetNormalization()
56 nCount += FX_Unicode_GetNormalization(wch, pDst); in FX_WideString_GetNormalization()
59 return nCount; in FX_WideString_GetNormalization()
Dfpdf_text_int.cpp156 int nCount = m_charList.GetSize(); in ParseTextPage() local
157 if (nCount) { in ParseTextPage()
160 for (int i = 0; i < nCount; i++) { in ParseTextPage()
233 int nCount, in GetRectArray() argument
238 if (start < 0 || nCount == 0) { in GetRectArray()
249 if (nCount + start > m_charList.GetSize() || nCount == -1) { in GetRectArray()
250 nCount = m_charList.GetSize() - start; in GetRectArray()
252 while (nCount--) { in GetRectArray()
372 int nCount = m_charList.GetSize(); in GetTextByRect() local
377 while (pos < nCount) { in GetTextByRect()
[all …]
/external/pdfium/xfa/src/fwl/src/lightwidget/
Dedit.cpp42 int32_t nCount) const { in GetText()
45 return static_cast<IFWL_Edit*>(m_pIface)->GetText(wsText, nStart, nCount); in GetText()
62 FWL_ERR CFWL_Edit::AddSelRange(int32_t nStart, int32_t nCount) { in AddSelRange() argument
65 static_cast<IFWL_Edit*>(m_pIface)->AddSelRange(nStart, nCount); in AddSelRange()
68 if (nCount == -1) { in AddSelRange()
71 pos = nStart + nCount; in AddSelRange()
122 FWL_ERR CFWL_Edit::DeleteRange(int32_t nStart, int32_t nCount) { in DeleteRange() argument
125 return static_cast<IFWL_Edit*>(m_pIface)->DeleteRange(nStart, nCount); in DeleteRange()
Dlistbox.cpp134 int32_t nCount = m_ListBoxDP.m_arrItem.GetSize(); in GetItem() local
135 if (nIndex > nCount - 1 && nIndex < 0) { in GetItem()
174 int32_t nCount = m_ListBoxDP.CountItems(NULL); in GetItemAtPoint() local
175 for (int32_t i = 0; i < nCount; i++) { in GetItemAtPoint()
199 int32_t nCount = m_arrItem.GetSize(); in ~CFWL_ListBoxDP() local
200 for (int32_t i = 0; i < nCount; i++) { in ~CFWL_ListBoxDP()
Dcombobox.cpp84 int32_t nCount) const { in GetEditText()
88 ->GetEditText(wsText, nStart, nCount); in GetEditText()
90 FWL_ERR CFWL_ComboBox::SetEditSelRange(int32_t nStart, int32_t nCount) { in SetEditSelRange() argument
93 return static_cast<IFWL_ComboBox*>(m_pIface)->SetEditSelRange(nStart, nCount); in SetEditSelRange()
238 int32_t nCount = m_arrItem.GetSize(); in ~CFWL_ComboBoxDP() local
239 for (int32_t i = 0; i < nCount; i++) { in ~CFWL_ComboBoxDP()
/external/pdfium/fpdfsdk/src/
Dfpdfeditimg.cpp24 int nCount, in FPDFImageObj_LoadJpegFile() argument
33 for (int index = 0; index < nCount; index++) { in FPDFImageObj_LoadJpegFile()
65 int nCount, in FPDFImageObj_SetBitmap() argument
74 for (int index = 0; index < nCount; index++) { in FPDFImageObj_SetBitmap()
Dfpdf_ext.cpp123 FX_DWORD nCount = pElement->CountChildren(); in CheckSharedForm() local
124 for (i = 0; i < (int)nCount; i++) { in CheckSharedForm()
162 int nCount = pArray->GetCount(); in CheckUnSupportError() local
163 for (int i = 0; i < nCount; i++) { in CheckUnSupportError()
Dfpdfppo.cpp310 int nCount) { in ParserPageRangeString() argument
330 if (lPageNum <= 0 || lPageNum > nCount) in ParserPageRangeString()
345 nEndPageNum > nCount) { in ParserPageRangeString()
371 int nCount = pSrcDoc->GetPageCount(); in FPDF_ImportPages() local
373 if (!ParserPageRangeString(pagerange, &pageArray, nCount)) in FPDF_ImportPages()
376 for (int i = 1; i <= nCount; ++i) { in FPDF_ImportPages()
/external/pdfium/xfa/src/fwl/src/basewidget/
Dfwl_editimp.cpp49 int32_t nCount) const { in GetText()
50 return static_cast<CFWL_EditImp*>(GetImpl())->GetText(wsText, nStart, nCount); in GetText()
61 FWL_ERR IFWL_Edit::AddSelRange(int32_t nStart, int32_t nCount) { in AddSelRange() argument
62 return static_cast<CFWL_EditImp*>(GetImpl())->AddSelRange(nStart, nCount); in AddSelRange()
93 FWL_ERR IFWL_Edit::DeleteRange(int32_t nStart, int32_t nCount) { in DeleteRange() argument
94 return static_cast<CFWL_EditImp*>(GetImpl())->DeleteRange(nStart, nCount); in DeleteRange()
333 int32_t nCount, in AddSpellCheckObj() argument
346 pPage->CalcRangeRectArray(nStart, nCount, rectArray); in AddSpellCheckObj()
356 int32_t CFWL_EditImp::GetWordAtPoint(CFX_PointF pointf, int32_t& nCount) { in GetWordAtPoint() argument
531 int32_t nCount) const { in GetText()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_cache.cpp33 size_t nCount = m_ImageCache.size(); in CacheOptimization() local
34 CACHEINFO* pCACHEINFO = FX_Alloc(CACHEINFO, nCount); in CacheOptimization()
40 FXSYS_qsort(pCACHEINFO, nCount, sizeof(CACHEINFO), compare); in CacheOptimization()
46 for (i = 0; i < nCount; i++) in CacheOptimization()
48 m_nTimeCount = nCount; in CacheOptimization()
52 while (i + 15 < nCount) in CacheOptimization()
55 while (i < nCount && m_nCacheSize > (FX_DWORD)dwLimitCacheSize) in CacheOptimization()
/external/lz4/programs/
Dbench.c167 int nCount; in BMK_GetMilliStart() local
169 nCount = (int) (tb.millitm + (tb.time & 0xfffff) * 1000); in BMK_GetMilliStart()
170 return nCount; in BMK_GetMilliStart()
180 int nCount; in BMK_GetMilliStart() local
182 nCount = (int) (tv.tv_usec/1000 + (tv.tv_sec & 0xfffff) * 1000); in BMK_GetMilliStart()
183 return nCount; in BMK_GetMilliStart()
/external/pdfium/xfa/include/fwl/lightwidget/
Dedit.h20 int32_t nCount = -1) const;
24 FWL_ERR AddSelRange(int32_t nStart, int32_t nCount = -1);
34 FWL_ERR DeleteRange(int32_t nStart, int32_t nCount = -1);
/external/pdfium/xfa/src/fxgraphics/src/
Dfx_path_generator.cpp23 int nCount = pPathData->GetPointCount(); in AddPathData() local
25 AddPathData(pPoints, nCount); in AddPathData()
28 void CFX_PathGenerator::AddPathData(FX_PATHPOINT* pPoints, int nCount) { in AddPathData() argument
29 if (pPoints && nCount > 0) { in AddPathData()
31 m_pPathData->AddPointCount(nCount); in AddPathData()
34 sizeof(FX_PATHPOINT) * nCount); in AddPathData()
/external/pdfium/xfa/src/fee/include/
Difde_txtedtpage.h23 int32_t nCount,
25 virtual int32_t SelectWord(const CFX_PointF& fPoint, int32_t& nCount) = 0;

1234