Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfdoc/
Dcsection.cpp107 int32_t nMid = (nLeft + nRight) / 2; in UpdateWordPlace() local
109 CLine* pLine = m_LineArray[nMid].get(); in UpdateWordPlace()
111 nRight = nMid - 1; in UpdateWordPlace()
112 nMid = (nLeft + nRight) / 2; in UpdateWordPlace()
114 nLeft = nMid + 1; in UpdateWordPlace()
115 nMid = (nLeft + nRight) / 2; in UpdateWordPlace()
117 place.nLineIndex = nMid; in UpdateWordPlace()
129 int32_t nMid = pdfium::CollectionSize<int32_t>(m_LineArray) / 2; in SearchWordPlace() local
131 CLine* pLine = m_LineArray[nMid].get(); in SearchWordPlace()
140 nRight = nMid - 1; in SearchWordPlace()
[all …]
Dcpdf_variabletext.cpp423 int32_t nMid = pdfium::CollectionSize<int32_t>(m_SectionArray) / 2; in SearchWordPlace() local
427 if (!pdfium::IndexInBounds(m_SectionArray, nMid)) in SearchWordPlace()
429 CSection* pSection = m_SectionArray[nMid].get(); in SearchWordPlace()
435 nRight = nMid - 1; in SearchWordPlace()
436 nMid = (nLeft + nRight) / 2; in SearchWordPlace()
440 nLeft = nMid + 1; in SearchWordPlace()
441 nMid = (nLeft + nRight) / 2; in SearchWordPlace()
446 place.nSecIndex = nMid; in SearchWordPlace()
801 int32_t nMid = nTotal / 2; in GetAutoFontSize() local
803 if (IsBigger(gFontSizeSteps[nMid])) in GetAutoFontSize()
[all …]
/external/pdfium/fpdfsdk/
Dfpdf_ppo.cpp229 size_t nMid = nDashPosition.value(); in ParsePageRangeString() local
231 atoi(cbMidRange.First(nMid).c_str())); in ParsePageRangeString()
235 ++nMid; in ParsePageRangeString()
236 size_t nEnd = cbMidRange.GetLength() - nMid; in ParsePageRangeString()
241 atoi(cbMidRange.Substr(nMid, nEnd).c_str())); in ParsePageRangeString()