/external/turbine/java/com/google/turbine/binder/env/ |
LazyEnv.java | 48 private final ImmutableMap<S, Completer<S, T, V>> completers; 56 public LazyEnv(ImmutableMap<S, Completer<S, T, V>> completers, Env<S, ? extends T> base) { 67 Completer<S, T, V> completer = completers.get(sym); local 68 if (completer != null) { 72 v = completer.complete(rec, sym); 81 public interface Completer<S extends Symbol, T, V extends T> { 86 /** Indicates that a completer tried to complete itself, possibly transitively. */
|
/external/python/cpython2/Lib/test/ |
test_rlcompleter.py | 7 """ Trivial class used in testing rlcompleter.Completer. """ 13 self.stdcompleter = rlcompleter.Completer() 14 self.completer = rlcompleter.Completer(dict(spam=int, 28 self.assertFalse(self.completer.use_main_ns) 29 self.assertFalse(rlcompleter.Completer(A()).use_main_ns) 30 self.assertRaises(TypeError, rlcompleter.Completer, B((1,))) 41 self.assertEqual(self.completer.global_matches('CompleteM'), 43 self.assertEqual(self.completer.global_matches('eg'), 46 self.assertEqual(self.completer.global_matches('CompleteM') [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_rlcompleter.py | 7 """ Trivial class used in testing rlcompleter.Completer. """
13 self.stdcompleter = rlcompleter.Completer()
14 self.completer = rlcompleter.Completer(dict(spam=int,
28 self.assertFalse(self.completer.use_main_ns)
29 self.assertFalse(rlcompleter.Completer(A()).use_main_ns)
30 self.assertRaises(TypeError, rlcompleter.Completer, B((1,)))
41 self.assertEqual(self.completer.global_matches('CompleteM'),
43 self.assertEqual(self.completer.global_matches('eg'),
46 self.assertEqual(self.completer.global_matches('CompleteM'), [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_rlcompleter.py | 7 """ Trivial class used in testing rlcompleter.Completer. """ 13 self.stdcompleter = rlcompleter.Completer() 14 self.completer = rlcompleter.Completer(dict(spam=int, 28 self.assertFalse(self.completer.use_main_ns) 29 self.assertFalse(rlcompleter.Completer(A()).use_main_ns) 30 self.assertRaises(TypeError, rlcompleter.Completer, B((1,))) 41 self.assertEqual(self.completer.global_matches('CompleteM'), 43 self.assertEqual(self.completer.global_matches('eg'), 46 self.assertEqual(self.completer.global_matches('CompleteM') [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_rlcompleter.py | 7 """ Trivial class used in testing rlcompleter.Completer. """ 13 self.stdcompleter = rlcompleter.Completer() 14 self.completer = rlcompleter.Completer(dict(spam=int, 28 self.assertFalse(self.completer.use_main_ns) 29 self.assertFalse(rlcompleter.Completer(A()).use_main_ns) 30 self.assertRaises(TypeError, rlcompleter.Completer, B((1,))) 41 self.assertEqual(self.completer.global_matches('CompleteM'), 43 self.assertEqual(self.completer.global_matches('eg'), 46 self.assertEqual(self.completer.global_matches('CompleteM') [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_rlcompleter.py | 7 """ Trivial class used in testing rlcompleter.Completer. """ 13 self.stdcompleter = rlcompleter.Completer() 14 self.completer = rlcompleter.Completer(dict(spam=int, 28 self.assertFalse(self.completer.use_main_ns) 29 self.assertFalse(rlcompleter.Completer(A()).use_main_ns) 30 self.assertRaises(TypeError, rlcompleter.Completer, B((1,))) 41 self.assertEqual(self.completer.global_matches('CompleteM'), 43 self.assertEqual(self.completer.global_matches('eg'), 46 self.assertEqual(self.completer.global_matches('CompleteM') [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_rlcompleter.py | 7 """ Trivial class used in testing rlcompleter.Completer. """ 13 self.stdcompleter = rlcompleter.Completer() 14 self.completer = rlcompleter.Completer(dict(spam=int, 28 self.assertFalse(self.completer.use_main_ns) 29 self.assertFalse(rlcompleter.Completer(A()).use_main_ns) 30 self.assertRaises(TypeError, rlcompleter.Completer, B((1,))) 41 self.assertEqual(self.completer.global_matches('CompleteM'), 43 self.assertEqual(self.completer.global_matches('eg'), 46 self.assertEqual(self.completer.global_matches('CompleteM') [all...] |
/external/python/cpython3/Lib/test/ |
test_rlcompleter.py | 7 """ Trivial class used in testing rlcompleter.Completer. """ 14 self.stdcompleter = rlcompleter.Completer() 15 self.completer = rlcompleter.Completer(dict(spam=int, 29 self.assertFalse(self.completer.use_main_ns) 30 self.assertFalse(rlcompleter.Completer(A()).use_main_ns) 31 self.assertRaises(TypeError, rlcompleter.Completer, B((1,))) 42 self.assertEqual(self.completer.global_matches('CompleteM'), 44 self.assertEqual(self.completer.global_matches('eg'), 47 self.assertEqual(self.completer.global_matches('CompleteM') [all...] |
/external/llvm/include/llvm/LineEditor/ |
LineEditor.h | 81 /// Set the completer for this LineEditor. A completer is a function object 86 Completer.reset(new CompleterModel<T>(Comp)); 89 /// Set the completer for this LineEditor to the given list completer. 90 /// A list completer is a function object which takes arguments of type 94 Completer.reset(new ListCompleterModel<T>(Comp)); 97 /// Use the current completer to produce a CompletionAction for the given 98 /// completion request. If the current completer is a list completer, thi [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/LineEditor/ |
LineEditor.h | 81 /// Set the completer for this LineEditor. A completer is a function object 86 Completer.reset(new CompleterModel<T>(Comp)); 89 /// Set the completer for this LineEditor to the given list completer. 90 /// A list completer is a function object which takes arguments of type 94 Completer.reset(new ListCompleterModel<T>(Comp)); 97 /// Use the current completer to produce a CompletionAction for the given 98 /// completion request. If the current completer is a list completer, thi [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/LineEditor/ |
LineEditor.h | 81 /// Set the completer for this LineEditor. A completer is a function object 86 Completer.reset(new CompleterModel<T>(Comp)); 89 /// Set the completer for this LineEditor to the given list completer. 90 /// A list completer is a function object which takes arguments of type 94 Completer.reset(new ListCompleterModel<T>(Comp)); 97 /// Use the current completer to produce a CompletionAction for the given 98 /// completion request. If the current completer is a list completer, thi [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/LineEditor/ |
LineEditor.h | 81 /// Set the completer for this LineEditor. A completer is a function object 86 Completer.reset(new CompleterModel<T>(Comp)); 89 /// Set the completer for this LineEditor to the given list completer. 90 /// A list completer is a function object which takes arguments of type 94 Completer.reset(new ListCompleterModel<T>(Comp)); 97 /// Use the current completer to produce a CompletionAction for the given 98 /// completion request. If the current completer is a list completer, thi [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/LineEditor/ |
LineEditor.h | 81 /// Set the completer for this LineEditor. A completer is a function object 86 Completer.reset(new CompleterModel<T>(Comp)); 89 /// Set the completer for this LineEditor to the given list completer. 90 /// A list completer is a function object which takes arguments of type 94 Completer.reset(new ListCompleterModel<T>(Comp)); 97 /// Use the current completer to produce a CompletionAction for the given 98 /// completion request. If the current completer is a list completer, thi [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/LineEditor/ |
LineEditor.h | 81 /// Set the completer for this LineEditor. A completer is a function object 86 Completer.reset(new CompleterModel<T>(Comp)); 89 /// Set the completer for this LineEditor to the given list completer. 90 /// A list completer is a function object which takes arguments of type 94 Completer.reset(new ListCompleterModel<T>(Comp)); 97 /// Use the current completer to produce a CompletionAction for the given 98 /// completion request. If the current completer is a list completer, thi [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/LineEditor/ |
LineEditor.h | 81 /// Set the completer for this LineEditor. A completer is a function object 86 Completer.reset(new CompleterModel<T>(Comp)); 89 /// Set the completer for this LineEditor to the given list completer. 90 /// A list completer is a function object which takes arguments of type 94 Completer.reset(new ListCompleterModel<T>(Comp)); 97 /// Use the current completer to produce a CompletionAction for the given 98 /// completion request. If the current completer is a list completer, thi [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/LineEditor/ |
LineEditor.h | 81 /// Set the completer for this LineEditor. A completer is a function object 86 Completer.reset(new CompleterModel<T>(Comp)); 89 /// Set the completer for this LineEditor to the given list completer. 90 /// A list completer is a function object which takes arguments of type 94 Completer.reset(new ListCompleterModel<T>(Comp)); 97 /// Use the current completer to produce a CompletionAction for the given 98 /// completion request. If the current completer is a list completer, thi [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/LineEditor/ |
LineEditor.h | 81 /// Set the completer for this LineEditor. A completer is a function object 86 Completer.reset(new CompleterModel<T>(Comp)); 89 /// Set the completer for this LineEditor to the given list completer. 90 /// A list completer is a function object which takes arguments of type 94 Completer.reset(new ListCompleterModel<T>(Comp)); 97 /// Use the current completer to produce a CompletionAction for the given 98 /// completion request. If the current completer is a list completer, thi [all...] |
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/LineEditor/ |
LineEditor.h | 81 /// Set the completer for this LineEditor. A completer is a function object 86 Completer.reset(new CompleterModel<T>(Comp)); 89 /// Set the completer for this LineEditor to the given list completer. 90 /// A list completer is a function object which takes arguments of type 94 Completer.reset(new ListCompleterModel<T>(Comp)); 97 /// Use the current completer to produce a CompletionAction for the given 98 /// completion request. If the current completer is a list completer, thi [all...] |
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/LineEditor/ |
LineEditor.h | 81 /// Set the completer for this LineEditor. A completer is a function object 86 Completer.reset(new CompleterModel<T>(Comp)); 89 /// Set the completer for this LineEditor to the given list completer. 90 /// A list completer is a function object which takes arguments of type 94 Completer.reset(new ListCompleterModel<T>(Comp)); 97 /// Use the current completer to produce a CompletionAction for the given 98 /// completion request. If the current completer is a list completer, thi [all...] |
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/LineEditor/ |
LineEditor.h | 81 /// Set the completer for this LineEditor. A completer is a function object 86 Completer.reset(new CompleterModel<T>(Comp)); 89 /// Set the completer for this LineEditor to the given list completer. 90 /// A list completer is a function object which takes arguments of type 94 Completer.reset(new ListCompleterModel<T>(Comp)); 97 /// Use the current completer to produce a CompletionAction for the given 98 /// completion request. If the current completer is a list completer, thi [all...] |
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/LineEditor/ |
LineEditor.h | 81 /// Set the completer for this LineEditor. A completer is a function object 86 Completer.reset(new CompleterModel<T>(Comp)); 89 /// Set the completer for this LineEditor to the given list completer. 90 /// A list completer is a function object which takes arguments of type 94 Completer.reset(new ListCompleterModel<T>(Comp)); 97 /// Use the current completer to produce a CompletionAction for the given 98 /// completion request. If the current completer is a list completer, thi [all...] |
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/LineEditor/ |
LineEditor.h | 81 /// Set the completer for this LineEditor. A completer is a function object 86 Completer.reset(new CompleterModel<T>(Comp)); 89 /// Set the completer for this LineEditor to the given list completer. 90 /// A list completer is a function object which takes arguments of type 94 Completer.reset(new ListCompleterModel<T>(Comp)); 97 /// Use the current completer to produce a CompletionAction for the given 98 /// completion request. If the current completer is a list completer, thi [all...] |
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/LineEditor/ |
LineEditor.h | 81 /// Set the completer for this LineEditor. A completer is a function object 86 Completer.reset(new CompleterModel<T>(Comp)); 89 /// Set the completer for this LineEditor to the given list completer. 90 /// A list completer is a function object which takes arguments of type 94 Completer.reset(new ListCompleterModel<T>(Comp)); 97 /// Use the current completer to produce a CompletionAction for the given 98 /// completion request. If the current completer is a list completer, thi [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
rlcompleter.py | 3 This requires the latest extension to the readline module. The completer
18 - Exceptions raised by the completer function are *ignored* (and
32 raw_input(), and thus these also benefit/suffer from the completer
34 specifying its own completer function and using raw_input() for all
45 __all__ = ["Completer"]
47 class Completer:
49 """Create a new completer for the command line.
51 Completer([namespace]) -> completer instance.
57 Completer instances should be used as the completion mechanism of [all...] |
/external/python/cpython2/Lib/ |
rlcompleter.py | 3 The completer completes keywords, built-ins and globals in a selectable 16 - Exceptions raised by the completer function are *ignored* (and generally cause 28 raw_input(), and thus these also benefit/suffer from the completer 30 specifying its own completer function and using raw_input() for all 41 __all__ = ["Completer"] 43 class Completer: 45 """Create a new completer for the command line. 47 Completer([namespace]) -> completer instance. 53 Completer instances should be used as the completion mechanism o [all...] |