Lines Matching refs:nRight
129 int32_t nRight = m_LineArray.GetSize() - 1; in UpdateWordPlace() local
130 int32_t nMid = (nLeft + nRight) / 2; in UpdateWordPlace()
131 while (nLeft <= nRight) { in UpdateWordPlace()
134 nRight = nMid - 1; in UpdateWordPlace()
135 nMid = (nLeft + nRight) / 2; in UpdateWordPlace()
138 nMid = (nLeft + nRight) / 2; in UpdateWordPlace()
155 int32_t nRight = m_LineArray.GetSize() - 1; in SearchWordPlace() local
159 while (nLeft <= nRight) { in SearchWordPlace()
171 nRight = nMid - 1; in SearchWordPlace()
172 nMid = (nLeft + nRight) / 2; in SearchWordPlace()
176 nMid = (nLeft + nRight) / 2; in SearchWordPlace()
217 int32_t nRight = range.EndPos.nWordIndex + 1; in SearchWordPlace() local
218 int32_t nMid = (nLeft + nRight) / 2; in SearchWordPlace()
219 while (nLeft < nRight) { in SearchWordPlace()
223 if (nMid == nRight) { in SearchWordPlace()
231 nMid = (nLeft + nRight) / 2; in SearchWordPlace()
234 nRight = nMid; in SearchWordPlace()
235 nMid = (nLeft + nRight) / 2; in SearchWordPlace()