/external/python/cpython3/Lib/test/ |
D | test_rlcompleter.py | 15 self.completer = rlcompleter.Completer(dict(spam=int, 29 self.assertFalse(self.completer.use_main_ns) 42 self.assertEqual(self.completer.global_matches('CompleteM'), 44 self.assertEqual(self.completer.global_matches('eg'), 47 self.assertEqual(self.completer.global_matches('CompleteM'), 63 self.assertEqual(self.completer.attr_matches('CompleteMe.sp'), 65 self.assertEqual(self.completer.attr_matches('Completeme.egg'), []) 66 self.assertEqual(self.completer.attr_matches('CompleteMe.'), 68 self.assertEqual(self.completer.attr_matches('CompleteMe._'), 70 matches = self.completer.attr_matches('CompleteMe.__') [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_rlcompleter.py | 14 self.completer = rlcompleter.Completer(dict(spam=int, 28 self.assertFalse(self.completer.use_main_ns) 41 self.assertEqual(self.completer.global_matches('CompleteM'), 43 self.assertEqual(self.completer.global_matches('eg'), 46 self.assertEqual(self.completer.global_matches('CompleteM'), 57 self.assertEqual(self.completer.attr_matches('CompleteMe.sp'), 59 self.assertEqual(self.completer.attr_matches('Completeme.egg'), []) 62 self.assertEqual(self.completer.attr_matches('CompleteMe.me.me.sp'), 64 self.assertEqual(self.completer.attr_matches('egg.s'), 77 completer = rlcompleter.Completer(dict(f=f)) [all …]
|
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/subjects/ |
D | rx-subject.hpp | 97 mutable std::shared_ptr<completer_type> completer; member 114 b->completer.reset(); in multicast_observer() 129 return b->completer && !b->completer->observers.empty(); in has_observers() 144 b->completer = std::make_shared<completer_type>(b->state, b->completer); in add() 147 b->completer = std::make_shared<completer_type>(b->state, b->completer, o); in add() 182 b->current_completer = b->completer; in on_next() 200 auto c = std::move(b->completer); in on_error() 218 auto c = std::move(b->completer); in on_completed()
|
/external/libchrome/mojo/public/js/lib/ |
D | interface_endpoint_client.js | 114 var completer = {}; 115 this.completers_.set(requestID, completer); 117 completer.resolve = resolve; 118 completer.reject = reject; 173 var completer = this.completers_.get(requestID); 174 if (completer) { 176 completer.resolve(message);
|
/external/turbine/java/com/google/turbine/binder/env/ |
D | LazyEnv.java | 67 Completer<S, T, V> completer = completers.get(sym); in get() local 68 if (completer != null) { in get() 72 v = completer.complete(rec, sym); in get()
|
/external/python/cpython3/Modules/ |
D | readline.c | 84 PyObject *completer; /* Specify a word completer in Python */ member 99 Py_CLEAR(state->completer); in readline_clear() 112 Py_VISIT(state->completer); in readline_traverse() 640 return set_hook("completer", &readlinestate_global->completer, args); in set_completer() 654 if (readlinestate_global->completer == NULL) { in get_completer() 657 Py_INCREF(readlinestate_global->completer); in get_completer() 658 return readlinestate_global->completer; in get_completer() 987 if (readlinestate_global->completer != NULL) { in on_completion() 992 r = PyObject_CallFunction(readlinestate_global->completer, "Ni", t, state); in on_completion()
|
/external/python/cpython2/Doc/library/ |
D | readline.rst | 201 with a custom completer, a different set of word delimiters should be set. 206 Set or remove the completer function. If *function* is specified, it will be 207 used as the new completer function; if omitted or ``None``, any completer 208 function already installed is removed. The completer function is called as 213 The installed completer function is invoked by the *entry_func* callback 222 Get the completer function, or ``None`` if no completer function has been set.
|
D | rlcompleter.rst | 17 and its :meth:`complete` method is set as the :mod:`readline` completer.
|
/external/python/cpython2/Modules/ |
D | readline.c | 300 static PyObject *completer = NULL; variable 504 return set_hook("completer", &completer, args); in set_completer() 518 if (completer == NULL) { in get_completer() 521 Py_INCREF(completer); in get_completer() 522 return completer; in get_completer() 849 if (completer != NULL) { in on_completion() 855 r = PyObject_CallFunction(completer, "si", text, state); in on_completion()
|
/external/python/cpython3/Doc/library/ |
D | readline.rst | 224 with a custom completer, a different set of word delimiters should be set. 229 Set or remove the completer function. If *function* is specified, it will be 230 used as the new completer function; if omitted or ``None``, any completer 231 function already installed is removed. The completer function is called as 236 The installed completer function is invoked by the *entry_func* callback 245 Get the completer function, or ``None`` if no completer function has been set.
|
D | rlcompleter.rst | 18 and its :meth:`complete` method is set as the :mod:`readline` completer.
|
/external/e2fsprogs/lib/ss/ |
D | ss_internal.h | 72 char *(*completer)(const char *, int));
|
/external/python/cpython2/Lib/ |
D | pydoc.py | 1997 def run(self, callback, key=None, completer=None, onerror=None): argument 2035 if completer: 2036 completer() 2052 def serve(port, callback=None, completer=None): argument 2139 if completer: completer()
|
/external/python/cpython3/Lib/ |
D | pydoc.py | 2120 def run(self, callback, key=None, completer=None, onerror=None): argument 2175 if completer: 2176 completer()
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.11rc1.rst | 171 In the Readline completer, only call getattr() once per attribute.
|
D | 2.7.12rc1.rst | 806 In the Readline completer, avoid listing duplicate global names, and search
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.1rc1.rst | 247 In the Readline completer, only call getattr() once per attribute.
|
D | 3.6.0a1.rst | 2381 In the Readline completer, avoid listing duplicate global names, and search 2484 In the Readline completer, only call getattr() once per attribute. Also
|
D | 3.5.2rc1.rst | 1519 In the Readline completer, avoid listing duplicate global names, and search
|
/external/python/cpython2/Misc/ |
D | HISTORY | 11560 - In rlcompleter.py, in completer(), return None instead of raising an 13043 internal readline routines that make it possible to write a completer 13044 in Python. An example completer, rlcompleter.py, is provided.
|
/external/python/cpython3/Misc/ |
D | HISTORY | 273 - Issue #25663: In the Readline completer, avoid listing duplicate global 296 - Issue #25590: In the Readline completer, only call getattr() once per 28939 - In rlcompleter.py, in completer(), return None instead of raising an 30422 internal readline routines that make it possible to write a completer 30423 in Python. An example completer, rlcompleter.py, is provided.
|