/external/clang/bindings/python/tests/cindex/ |
test_code_completion.py | 7 completions = [str(c) for c in cr.results] 10 assert c in completions
|
/external/python/cpython2/Lib/idlelib/ |
AutoCompleteWindow.py | 33 # The list of completions 34 self.completions = None 35 # A list with more completions, or None 70 """Find the first index in self.completions where completions[i] is 73 i = 0; j = len(self.completions) 76 if self.completions[m] >= s: 80 return min(i, len(self.completions)-1) 83 """Assuming that s is the prefix of a string in self.completions, 87 if self.completions[first][:len(s)] != s [all...] |
/external/python/cpython3/Lib/idlelib/ |
autocomplete_w.py | 35 # The list of completions 36 self.completions = None 37 # A list with more completions, or None 72 """Find the first index in self.completions where completions[i] is 75 i = 0; j = len(self.completions) 78 if self.completions[m] >= s: 82 return min(i, len(self.completions)-1) 85 """Assuming that s is the prefix of a string in self.completions, 89 if self.completions[first][:len(s)] != s [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/idlelib/ |
AutoCompleteWindow.py | 33 # The list of completions 34 self.completions = None 35 # A list with more completions, or None 70 """Find the first index in self.completions where completions[i] is 73 i = 0; j = len(self.completions) 76 if self.completions[m] >= s: 80 return min(i, len(self.completions)-1) 83 """Assuming that s is the prefix of a string in self.completions, 87 if self.completions[first][:len(s)] != s [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/idlelib/ |
AutoCompleteWindow.py | 33 # The list of completions 34 self.completions = None 35 # A list with more completions, or None 70 """Find the first index in self.completions where completions[i] is 73 i = 0; j = len(self.completions) 76 if self.completions[m] >= s: 80 return min(i, len(self.completions)-1) 83 """Assuming that s is the prefix of a string in self.completions, 87 if self.completions[first][:len(s)] != s [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
AutoCompleteWindow.py | 33 # The list of completions 34 self.completions = None 35 # A list with more completions, or None 70 """Find the first index in self.completions where completions[i] is 73 i = 0; j = len(self.completions) 76 if self.completions[m] >= s: 80 return min(i, len(self.completions)-1) 83 """Assuming that s is the prefix of a string in self.completions, 87 if self.completions[first][:len(s)] != s [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
AutoCompleteWindow.py | 33 # The list of completions 34 self.completions = None 35 # A list with more completions, or None 70 """Find the first index in self.completions where completions[i] is 73 i = 0; j = len(self.completions) 76 if self.completions[m] >= s: 80 return min(i, len(self.completions)-1) 83 """Assuming that s is the prefix of a string in self.completions, 87 if self.completions[first][:len(s)] != s [all...] |
/external/gflags/src/ |
gflags_completions.cc | 34 // This module implements bash-style completions. It achieves this 132 vector<string> *completions); 149 vector<string> *completions); 262 vector<string> completions; local 267 &completions); 270 completions.push_back("~"); 272 DVLOG(1) << "Finalized with " << completions.size() 273 << " chosen completions"; 275 for (vector<string>::const_iterator it = completions.begin(); 276 it != completions.end() [all...] |
/external/selinux/policycoreutils/setsebool/ |
Makefile | 7 BASHCOMPLETIONDIR ?= $(DESTDIR)/usr/share/bash-completion/completions
|
/frameworks/base/core/java/android/view/inputmethod/ |
InputMethodSession.java | 86 * input method about the completions it has available. This can be used 90 * @param completions Array of text completions that are available, starting with 91 * the best. If this array is null, any existing completions will be 94 public void displayCompletions(CompletionInfo[] completions);
|
/frameworks/base/core/java/com/android/internal/view/ |
IInputMethodSession.aidl | 44 void displayCompletions(in CompletionInfo[] completions);
|
/build/soong/zip/ |
rate_limit.go | 24 completions chan int64 39 completions: make(chan int64), 65 r.completions <- size 88 case amountCompleted := <-r.completions:
|
/tools/test/connectivity/acts/tests/google/bt/pts/ |
cmd_input.py | 413 completions = list( 416 completions = [ 420 return completions 425 completions = list(gatt_server_responses.keys())[:] 427 completions = [ 430 return completions 436 completions = list(gatt_server_responses.keys())[:] 438 completions = [ 441 return completions 447 completions = list(gatt_server_responses.keys())[: [all...] |
/external/iproute2/ |
Makefile | 17 BASH_COMPDIR?=$(DATADIR)/bash-completion/completions
|
/external/selinux/python/semanage/ |
Makefile | 10 BASHCOMPLETIONDIR ?= $(DESTDIR)/usr/share/bash-completion/completions
|
/external/selinux/python/sepolicy/ |
Makefile | 10 BASHCOMPLETIONDIR ?= $(DESTDIR)/usr/share/bash-completion/completions
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
SoftKeyboard.java | 294 * This tells us about completions that the editor has determined based 296 * to show the completions ourself, since the editor can not be seen 299 @Override public void onDisplayCompletions(CompletionInfo[] completions) { 301 mCompletions = completions; 302 if (completions == null) { 308 for (int i = 0; i < completions.length; i++) { 309 CompletionInfo ci = completions[i]; 570 public void setSuggestions(List<String> suggestions, boolean completions, 578 mCandidateView.setSuggestions(suggestions, completions, typedWordValid);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
SearchActivityView.java | 336 * is All or Web, use the web search suggestions as completions. 344 CompletionInfo[] completions = webSuggestionsToCompletions(suggestions); 345 if (DBG) Log.d(TAG, "displayCompletions(" + Arrays.toString(completions) + ")"); 346 imm.displayCompletions(mQueryTextView, completions); 353 ArrayList<CompletionInfo> completions = new ArrayList<CompletionInfo>(count); local 357 completions.add(new CompletionInfo(i, i, text1)); 359 return completions.toArray(new CompletionInfo[completions.size()]);
|
/external/linux-kselftest/tools/testing/selftests/net/ |
msg_zerocopy.c | 21 * the kernel queues completions on the error queue for all zerocopy 91 static long packets, bytes, completions, expected_completions; variable 363 completions += range; 373 /* Wait for all remaining completions on the errqueue */ 378 while (completions < expected_completions && 384 if (completions < expected_completions) 386 completions, expected_completions); 467 packets, bytes >> 20, completions,
|
/frameworks/base/core/java/android/inputmethodservice/ |
IInputMethodSessionWrapper.java | 158 public void displayCompletions(CompletionInfo[] completions) { 160 DO_DISPLAY_COMPLETIONS, completions));
|
InputMethodService.java | 203 * {@link #onDisplayCompletions(CompletionInfo[])} to show completions 620 public void displayCompletions(CompletionInfo[] completions) { 624 mCurCompletions = completions; 625 onDisplayCompletions(completions); 1032 CompletionInfo[] completions = mCurCompletions; local [all...] |
/frameworks/base/core/java/android/widget/ |
AutoCompleteTextView.java | 698 * list of completions is dismissed. 699 * @param dismissListener Listener to invoke when completions are dismissed 1238 CompletionInfo[] completions = new CompletionInfo[count]; local [all...] |
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
SearchBar.java | 446 * @param completions list of completions shown in the IME, can be null or empty to clear them 448 public void displayCompletions(List<String> completions) { 450 if (null != completions) { 451 for (String completion : completions) { 462 * @param completions list of completions shown in the IME, can be null or empty to clear them 464 public void displayCompletions(CompletionInfo[] completions) { 465 mInputMethodManager.displayCompletions(mSearchTextEditor, completions);
|
/frameworks/support/leanback/src/main/java/androidx/leanback/app/ |
SearchFragment.java | 561 * Displays the completions shown by the IME. An application may provide 562 * a list of query completions that the system will show in the IME. 564 * @param completions A list of completions to show in the IME. Setting to 567 public void displayCompletions(List<String> completions) { 568 mSearchBar.displayCompletions(completions); 572 * Displays the completions shown by the IME. An application may provide 573 * a list of query completions that the system will show in the IME. 575 * @param completions A list of completions to show in the IME. Setting t [all...] |
SearchSupportFragment.java | 556 * Displays the completions shown by the IME. An application may provide 557 * a list of query completions that the system will show in the IME. 559 * @param completions A list of completions to show in the IME. Setting to 562 public void displayCompletions(List<String> completions) { 563 mSearchBar.displayCompletions(completions); 567 * Displays the completions shown by the IME. An application may provide 568 * a list of query completions that the system will show in the IME. 570 * @param completions A list of completions to show in the IME. Setting t [all...] |