Searched refs:nMid (Results 1 – 3 of 3) sorted by relevance
107 int32_t nMid = (nLeft + nRight) / 2; in UpdateWordPlace() local109 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() local131 CLine* pLine = m_LineArray[nMid].get(); in SearchWordPlace()140 nRight = nMid - 1; in SearchWordPlace()[all …]
423 int32_t nMid = pdfium::CollectionSize<int32_t>(m_SectionArray) / 2; in SearchWordPlace() local427 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() local803 if (IsBigger(gFontSizeSteps[nMid])) in GetAutoFontSize()[all …]
229 size_t nMid = nDashPosition.value(); in ParsePageRangeString() local231 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()