Searched refs:nMid (Results 1 – 2 of 2) sorted by relevance
304 int32_t nMid = (nLeft + nRight) / 2; in UpdateWordPlace() local306 Line* pLine = m_LineArray[nMid].get(); in UpdateWordPlace()308 nRight = nMid - 1; in UpdateWordPlace()309 nMid = (nLeft + nRight) / 2; in UpdateWordPlace()311 nLeft = nMid + 1; in UpdateWordPlace()312 nMid = (nLeft + nRight) / 2; in UpdateWordPlace()314 place.nLineIndex = nMid; in UpdateWordPlace()326 int32_t nMid = fxcrt::CollectionSize<int32_t>(m_LineArray) / 2; in SearchWordPlace() local328 Line* pLine = m_LineArray[nMid].get(); in SearchWordPlace()337 nRight = nMid - 1; in SearchWordPlace()[all …]
411 int32_t nMid = fxcrt::CollectionSize<int32_t>(m_SectionArray) / 2; in SearchWordPlace() local415 if (!fxcrt::IndexInBounds(m_SectionArray, nMid)) in SearchWordPlace()417 CPVT_Section* pSection = m_SectionArray[nMid].get(); in SearchWordPlace()423 nRight = nMid - 1; in SearchWordPlace()424 nMid = (nLeft + nRight) / 2; in SearchWordPlace()428 nLeft = nMid + 1; in SearchWordPlace()429 nMid = (nLeft + nRight) / 2; in SearchWordPlace()434 place.nSecIndex = nMid; in SearchWordPlace()780 int32_t nMid = nTotal / 2; in GetAutoFontSize() local782 if (IsBigger(kFontSizeSteps[nMid])) in GetAutoFontSize()[all …]