Home
last modified time | relevance | path

Searched refs:_binary_search (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Lib/idlelib/
Dautocomplete_w.py75 def _binary_search(self, s): member in AutoCompleteWindow
93 first = self._binary_search(s)
131 if self._binary_search(lts) == cursel:
155 self.listbox.select_set(self._binary_search(self.start))
173 i = self._binary_search(completed)
209 self.listbox.select_set(self._binary_search(self.start))
339 self.listbox.select_set(self._binary_search(self.start))
415 self.listbox.select_set(self._binary_search(self.start))
/external/python/cpython2/Lib/idlelib/
DAutoCompleteWindow.py69 def _binary_search(self, s): member in AutoCompleteWindow
86 first = self._binary_search(s)
122 if self._binary_search(lts) == cursel:
146 self.listbox.select_set(self._binary_search(self.start))
162 i = self._binary_search(completed)
198 self.listbox.select_set(self._binary_search(self.start))
289 self.listbox.select_set(self._binary_search(self.start))
/external/libcap/libcap/
Dcap_test.c19 _binary_search(ans, cf, 0, __CAP_MAXBITS, 0); in test_cap_bits()
Dcap_alloc.c20 _binary_search(_cap_max_bits, cap_get_bound, 0, __CAP_MAXBITS, __CAP_BITS); in _initialize_libcap()
Dlibcap.h220 #define _binary_search(val, fn, low, high, fallback) do { \ macro