Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfdoc/
Dcsection.cpp22 m_WordArray.clear(); in ResetAll()
37 place.nWordIndex, 0, pdfium::CollectionSize<int32_t>(m_WordArray)); in AddWord()
38 m_WordArray.insert(m_WordArray.begin() + nWordIndex, in AddWord()
197 if (!pdfium::IndexInBounds(m_WordArray, nMid)) in SearchWordPlace()
199 CPVT_WordInfo* pWord = m_WordArray[nMid].get(); in SearchWordPlace()
208 if (pdfium::IndexInBounds(m_WordArray, nMid)) { in SearchWordPlace()
209 CPVT_WordInfo* pWord = m_WordArray[nMid].get(); in SearchWordPlace()
218 if (pdfium::IndexInBounds(m_WordArray, i)) in ClearLeftWords()
219 m_WordArray.erase(m_WordArray.begin() + i); in ClearLeftWords()
224 int32_t sz = pdfium::CollectionSize<int32_t>(m_WordArray); in ClearRightWords()
[all …]
Dctypeset.cpp204 pdfium::CollectionSize<int32_t>(m_pSection->m_WordArray)) / in CharArray()
211 pdfium::CollectionSize<int32_t>(m_pSection->m_WordArray); in CharArray()
217 sz = pdfium::CollectionSize<int32_t>(m_pSection->m_WordArray); in CharArray()
223 if (pdfium::IndexInBounds(m_pSection->m_WordArray, w + 1)) { in CharArray()
224 CPVT_WordInfo* pNextWord = m_pSection->m_WordArray[w + 1].get(); in CharArray()
228 CPVT_WordInfo* pWord = m_pSection->m_WordArray[w].get(); in CharArray()
240 if (w != pdfium::CollectionSize<int32_t>(m_pSection->m_WordArray) - 1) { in CharArray()
254 pdfium::CollectionSize<int32_t>(m_pSection->m_WordArray) - 1; in CharArray()
296 pdfium::CollectionSize<int32_t>(m_pSection->m_WordArray); in SplitLines()
301 CPVT_WordInfo* pWord = m_pSection->m_WordArray[i].get(); in SplitLines()
[all …]
Dcpdf_variabletext.cpp141 !pdfium::IndexInBounds(pSection->m_WordArray, m_CurPos.nWordIndex)) { in GetWord()
145 CPVT_WordInfo* pWord = pSection->m_WordArray[m_CurPos.nWordIndex].get(); in GetWord()
254 w < pdfium::CollectionSize<int32_t>(pSection->m_WordArray); ++w) { in InsertSection()
256 pNewSection->AddWord(NewPlace, *pSection->m_WordArray[w]); in InsertSection()
349 nIndex += pdfium::CollectionSize<int32_t>(pSection->m_WordArray); in WordPlaceToWordIndex()
366 nIndex += pdfium::CollectionSize<int32_t>(pSection->m_WordArray); in WordIndexToWordPlace()
546 pdfium::CollectionSize<int32_t>(pSection->m_WordArray) + kReturnLength; in GetTotalWords()
592 if (!pdfium::IndexInBounds(pSection->m_WordArray, place.nWordIndex)) in GetWordInfo()
595 wordinfo = *pSection->m_WordArray[place.nWordIndex]; in GetWordInfo()
605 if (!pdfium::IndexInBounds(pSection->m_WordArray, place.nWordIndex)) in SetWordInfo()
[all …]
Dcsection.h52 std::vector<std::unique_ptr<CPVT_WordInfo>> m_WordArray; variable