Home
last modified time | relevance | path

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

/external/pdfium/core/fpdftext/
Dcpdf_textpagefind.cpp220 Optional<size_t> nResultPos = 0; in FindNext() local
230 nResultPos = nStartPos + 1; in FindNext()
239 nResultPos = m_strText.Find(csWord.AsStringView(), nStartPos); in FindNext()
240 if (!nResultPos.has_value()) in FindNext()
243 size_t endIndex = nResultPos.value() + csWord.GetLength() - 1; in FindNext()
245 m_resStart = nResultPos.value(); in FindNext()
252 if (nStartPos == nResultPos.value() && in FindNext()
257 for (size_t d = PreResEndPos; d < nResultPos.value(); d++) { in FindNext()
266 if (nResultPos.value() > 0) { in FindNext()
267 wchar_t strInsert = m_strText[nResultPos.value() - 1]; in FindNext()
[all …]