Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfdoc/
Dcsection.cpp34 place.nWordIndex, 0, pdfium::CollectionSize<int32_t>(m_WordArray)); in AddWord()
35 m_WordArray.insert(m_WordArray.begin() + nWordIndex, in AddWord()
191 if (!pdfium::IndexInBounds(m_WordArray, nMid)) in SearchWordPlace()
193 CPVT_WordInfo* pWord = m_WordArray[nMid].get(); in SearchWordPlace()
202 if (pdfium::IndexInBounds(m_WordArray, nMid)) { in SearchWordPlace()
203 CPVT_WordInfo* pWord = m_WordArray[nMid].get(); in SearchWordPlace()
212 if (pdfium::IndexInBounds(m_WordArray, i)) in ClearLeftWords()
213 m_WordArray.erase(m_WordArray.begin() + i); in ClearLeftWords()
218 int32_t sz = pdfium::CollectionSize<int32_t>(m_WordArray); in ClearRightWords()
220 if (pdfium::IndexInBounds(m_WordArray, i)) in ClearRightWords()
[all …]
Dctypeset.cpp202 pdfium::CollectionSize<int32_t>(m_pSection->m_WordArray)) / in CharArray()
209 pdfium::CollectionSize<int32_t>(m_pSection->m_WordArray); in CharArray()
215 sz = pdfium::CollectionSize<int32_t>(m_pSection->m_WordArray); in CharArray()
221 if (pdfium::IndexInBounds(m_pSection->m_WordArray, w + 1)) { in CharArray()
222 CPVT_WordInfo* pNextWord = m_pSection->m_WordArray[w + 1].get(); in CharArray()
226 CPVT_WordInfo* pWord = m_pSection->m_WordArray[w].get(); in CharArray()
238 if (w != pdfium::CollectionSize<int32_t>(m_pSection->m_WordArray) - 1) { in CharArray()
252 pdfium::CollectionSize<int32_t>(m_pSection->m_WordArray) - 1; in CharArray()
281 if (m_pSection->m_WordArray.empty()) { in SplitLines()
325 pdfium::CollectionSize<int32_t>(m_pSection->m_WordArray); in SplitLines()
[all …]
Dcpdf_variabletext.cpp142 !pdfium::IndexInBounds(pSection->m_WordArray, m_CurPos.nWordIndex)) { in GetWord()
146 CPVT_WordInfo* pWord = pSection->m_WordArray[m_CurPos.nWordIndex].get(); in GetWord()
242 w < pdfium::CollectionSize<int32_t>(pSection->m_WordArray); ++w) { in InsertSection()
244 pNewSection->AddWord(NewPlace, *pSection->m_WordArray[w]); in InsertSection()
338 nIndex += pdfium::CollectionSize<int32_t>(pSection->m_WordArray); in WordPlaceToWordIndex()
355 nIndex += pdfium::CollectionSize<int32_t>(pSection->m_WordArray); in WordIndexToWordPlace()
535 pdfium::CollectionSize<int32_t>(pSection->m_WordArray) + kReturnLength; in GetTotalWords()
666 if (!pdfium::IndexInBounds(pSection->m_WordArray, wordplace.nWordIndex + 1)) in ClearSectionRightWords()
669 pSection->m_WordArray.erase( in ClearSectionRightWords()
670 pSection->m_WordArray.begin() + wordplace.nWordIndex + 1, in ClearSectionRightWords()
[all …]
Dcsection.h51 std::vector<std::unique_ptr<CPVT_WordInfo>> m_WordArray; variable