Home
last modified time | relevance | path

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

/external/pdfium/core/src/fpdfdoc/
Ddoc_vt.cpp167 FX_INT32 nMid = (nLeft + nRight) / 2; in UpdateWordPlace() local
169 if (CLine * pLine = m_LineArray.GetAt(nMid)) { in UpdateWordPlace()
171 nRight = nMid - 1; in UpdateWordPlace()
172 nMid = (nLeft + nRight) / 2; in UpdateWordPlace()
174 nLeft = nMid + 1; in UpdateWordPlace()
175 nMid = (nLeft + nRight) / 2; in UpdateWordPlace()
177 place.nLineIndex = nMid; in UpdateWordPlace()
193 FX_INT32 nMid = m_LineArray.GetSize() / 2; in SearchWordPlace() local
197 if (CLine * pLine = m_LineArray.GetAt(nMid)) { in SearchWordPlace()
207 nRight = nMid - 1; in SearchWordPlace()
[all …]
/external/pdfium/fpdfsdk/src/
Dfpdfppo.cpp372 int nMid = cbMidRange.Find('-'); in ParserPageRangeString() local
373 if(nMid == -1) in ParserPageRangeString()
382 int nStartPageNum = atol(cbMidRange.Mid(0,nMid)); in ParserPageRangeString()
389 nMid = nMid+1; in ParserPageRangeString()
390 int nEnd = cbMidRange.GetLength()-nMid; in ParserPageRangeString()
395 int nEndPageNum = atol(cbMidRange.Mid(nMid,nEnd)); in ParserPageRangeString()