• Home
  • Raw
  • Download

Lines Matching refs:hi

19 internal_bisect_right(PyObject *list, PyObject *item, Py_ssize_t lo, Py_ssize_t hi,  in internal_bisect_right()  argument
30 if (hi == -1) { in internal_bisect_right()
31 hi = PySequence_Size(list); in internal_bisect_right()
32 if (hi < 0) in internal_bisect_right()
35 while (lo < hi) { in internal_bisect_right()
39 mid = ((size_t)lo + hi) / 2; in internal_bisect_right()
56 hi = mid; in internal_bisect_right()
85 Py_ssize_t lo, Py_ssize_t hi, PyObject *key) in _bisect_bisect_right_impl() argument
88 return internal_bisect_right(a, x, lo, hi, key); in _bisect_bisect_right_impl()
111 Py_ssize_t lo, Py_ssize_t hi, PyObject *key) in _bisect_insort_right_impl() argument
118 index = internal_bisect_right(a, x, lo, hi, key); in _bisect_insort_right_impl()
124 index = internal_bisect_right(a, key_x, lo, hi, key); in _bisect_insort_right_impl()
144 internal_bisect_left(PyObject *list, PyObject *item, Py_ssize_t lo, Py_ssize_t hi, in internal_bisect_left() argument
155 if (hi == -1) { in internal_bisect_left()
156 hi = PySequence_Size(list); in internal_bisect_left()
157 if (hi < 0) in internal_bisect_left()
160 while (lo < hi) { in internal_bisect_left()
164 mid = ((size_t)lo + hi) / 2; in internal_bisect_left()
183 hi = mid; in internal_bisect_left()
211 Py_ssize_t lo, Py_ssize_t hi, PyObject *key) in _bisect_bisect_left_impl() argument
214 return internal_bisect_left(a, x, lo, hi, key); in _bisect_bisect_left_impl()
238 Py_ssize_t lo, Py_ssize_t hi, PyObject *key) in _bisect_insort_left_impl() argument
245 index = internal_bisect_left(a, x, lo, hi, key); in _bisect_insort_left_impl()
251 index = internal_bisect_left(a, key_x, lo, hi, key); in _bisect_insort_left_impl()