Lines Matching refs:lo
9 internal_bisect_right(PyObject *list, PyObject *item, Py_ssize_t lo, Py_ssize_t hi) in internal_bisect_right() argument
14 if (lo < 0) { in internal_bisect_right()
23 while (lo < hi) { in internal_bisect_right()
27 mid = ((size_t)lo + hi) / 2; in internal_bisect_right()
38 lo = mid + 1; in internal_bisect_right()
40 return lo; in internal_bisect_right()
47 Py_ssize_t lo = 0; in bisect_right() local
53 keywords, &list, &item, &lo, &hi)) in bisect_right()
55 index = internal_bisect_right(list, item, lo, hi); in bisect_right()
78 Py_ssize_t lo = 0; in insort_right() local
84 keywords, &list, &item, &lo, &hi)) in insort_right()
86 index = internal_bisect_right(list, item, lo, hi); in insort_right()
115 internal_bisect_left(PyObject *list, PyObject *item, Py_ssize_t lo, Py_ssize_t hi) in internal_bisect_left() argument
120 if (lo < 0) { in internal_bisect_left()
129 while (lo < hi) { in internal_bisect_left()
133 mid = ((size_t)lo + hi) / 2; in internal_bisect_left()
142 lo = mid + 1; in internal_bisect_left()
146 return lo; in internal_bisect_left()
153 Py_ssize_t lo = 0; in bisect_left() local
159 keywords, &list, &item, &lo, &hi)) in bisect_left()
161 index = internal_bisect_left(list, item, lo, hi); in bisect_left()
183 Py_ssize_t lo = 0; in insort_left() local
189 keywords, &list, &item, &lo, &hi)) in insort_left()
191 index = internal_bisect_left(list, item, lo, hi); in insort_left()