Lines Matching refs:pdfium
36 int32_t nWordIndex = pdfium::clamp( in AddWord()
37 place.nWordIndex, 0, pdfium::CollectionSize<int32_t>(m_WordArray)); in AddWord()
39 pdfium::MakeUnique<CPVT_WordInfo>(wordinfo)); in AddWord()
44 m_LineArray.push_back(pdfium::MakeUnique<CLine>(lineinfo)); in AddLine()
74 if (place.nLineIndex >= pdfium::CollectionSize<int32_t>(m_LineArray)) in GetPrevWordPlace()
84 if (!pdfium::IndexInBounds(m_LineArray, place.nLineIndex - 1)) in GetPrevWordPlace()
94 if (place.nLineIndex >= pdfium::CollectionSize<int32_t>(m_LineArray)) in GetNextWordPlace()
101 if (!pdfium::IndexInBounds(m_LineArray, place.nLineIndex + 1)) in GetNextWordPlace()
109 int32_t nRight = pdfium::CollectionSize<int32_t>(m_LineArray) - 1; in UpdateWordPlace()
132 int32_t nRight = pdfium::CollectionSize<int32_t>(m_LineArray) - 1; in SearchWordPlace()
133 int32_t nMid = pdfium::CollectionSize<int32_t>(m_LineArray) / 2; in SearchWordPlace()
170 if (!pdfium::IndexInBounds(m_LineArray, lineplace.nLineIndex)) in SearchWordPlace()
197 if (!pdfium::IndexInBounds(m_WordArray, nMid)) in SearchWordPlace()
208 if (pdfium::IndexInBounds(m_WordArray, nMid)) { in SearchWordPlace()
218 if (pdfium::IndexInBounds(m_WordArray, i)) in ClearLeftWords()
224 int32_t sz = pdfium::CollectionSize<int32_t>(m_WordArray); in ClearRightWords()
226 if (pdfium::IndexInBounds(m_WordArray, i)) in ClearRightWords()
233 if (pdfium::IndexInBounds(m_WordArray, i)) in ClearMidWords()
256 if (pdfium::IndexInBounds(m_WordArray, place.nWordIndex)) in ClearWord()