Searched refs:nMid (Results 1 – 2 of 2) sorted by relevance
167 FX_INT32 nMid = (nLeft + nRight) / 2; in UpdateWordPlace() local169 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() local197 if (CLine * pLine = m_LineArray.GetAt(nMid)) { in SearchWordPlace()207 nRight = nMid - 1; in SearchWordPlace()[all …]
372 int nMid = cbMidRange.Find('-'); in ParserPageRangeString() local373 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()