Home
last modified time | relevance | path

Searched refs:m_WordArray (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/core/fpdfdoc/
Dcsection.cpp30 for (int32_t i = 0, sz = m_WordArray.GetSize(); i < sz; i++) { in ResetWordArray()
31 delete m_WordArray.GetAt(i); in ResetWordArray()
33 m_WordArray.RemoveAll(); in ResetWordArray()
48 std::max(std::min(place.nWordIndex, m_WordArray.GetSize()), 0); in AddWord()
49 if (nWordIndex == m_WordArray.GetSize()) { in AddWord()
50 m_WordArray.Add(pWord); in AddWord()
52 m_WordArray.InsertAt(nWordIndex, pWord); in AddWord()
227 if (CPVT_WordInfo* pWord = m_WordArray.GetAt(nMid)) { in SearchWordPlace()
242 if (CPVT_WordInfo* pWord = m_WordArray.GetAt(nMid)) { in SearchWordPlace()
252 delete m_WordArray.GetAt(i); in ClearLeftWords()
[all …]
Dctypeset.cpp203 nStart = (m_pVT->m_nCharArray - m_pSection->m_WordArray.GetSize()) / 2; in CharArray()
208 nStart = m_pVT->m_nCharArray - m_pSection->m_WordArray.GetSize(); in CharArray()
213 for (int32_t w = 0, sz = m_pSection->m_WordArray.GetSize(); w < sz; w++) { in CharArray()
218 if (CPVT_WordInfo* pNextWord = m_pSection->m_WordArray.GetAt(w + 1)) { in CharArray()
222 if (CPVT_WordInfo* pWord = m_pSection->m_WordArray.GetAt(w)) { in CharArray()
234 if (w != m_pSection->m_WordArray.GetSize() - 1) { in CharArray()
248 pLine->m_LineInfo.nEndWordIndex = m_pSection->m_WordArray.GetSize() - 1; in CharArray()
292 int32_t nTotalWords = m_pSection->m_WordArray.GetSize(); in SplitLines()
297 CPVT_WordInfo* pWord = m_pSection->m_WordArray.GetAt(i); in SplitLines()
300 pOldWord = m_pSection->m_WordArray.GetAt(i - 1); in SplitLines()
[all …]
Dcpdf_variabletext.cpp170 pSection->m_WordArray.GetAt(m_CurPos.nWordIndex)) { in GetWord()
194 pSection->m_WordArray.GetAt(m_CurPos.nWordIndex)) { in SetWord()
327 sz = pSection->m_WordArray.GetSize(); in InsertSection()
329 if (CPVT_WordInfo* pWord = pSection->m_WordArray.GetAt(w)) { in InsertSection()
468 nIndex += pSection->m_WordArray.GetSize(); in WordPlaceToWordIndex()
484 nIndex += pSection->m_WordArray.GetSize(); in WordIndexToWordPlace()
665 nTotal += (pSection->m_WordArray.GetSize() + kReturnLength); in GetTotalWords()
721 if (CPVT_WordInfo* pWord = pSection->m_WordArray.GetAt(place.nWordIndex)) { in GetWordInfo()
732 if (CPVT_WordInfo* pWord = pSection->m_WordArray.GetAt(place.nWordIndex)) { in SetWordInfo()
862 for (int32_t w = pSection->m_WordArray.GetSize() - 1; in ClearSectionRightWords()
[all …]
Dcsection.h51 CPVT_ArrayTemplate<CPVT_WordInfo*> m_WordArray; variable