Home
last modified time | relevance | path

Searched refs:completer (Results 1 – 25 of 26) sorted by relevance

12

/external/python/cpython3/Lib/test/
Dtest_rlcompleter.py15 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/
Dtest_rlcompleter.py14 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/
Drx-subject.hpp97 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/
Dinterface_endpoint_client.js114 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/
DLazyEnv.java67 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/
Dreadline.c84 PyObject *completer; /* Specify a word completer in Python */ member
104 Py_CLEAR(state->completer); in readline_clear()
117 Py_VISIT(state->completer); in readline_traverse()
645 return set_hook("completer", &readlinestate_global->completer, args); in set_completer()
659 if (readlinestate_global->completer == NULL) { in get_completer()
662 Py_INCREF(readlinestate_global->completer); in get_completer()
663 return readlinestate_global->completer; in get_completer()
992 if (readlinestate_global->completer != NULL) { in on_completion()
997 r = PyObject_CallFunction(readlinestate_global->completer, "Ni", t, state); in on_completion()
/external/python/cpython2/Doc/library/
Dreadline.rst201 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.
Drlcompleter.rst17 and its :meth:`complete` method is set as the :mod:`readline` completer.
/external/llvm-project/lldb/source/Commands/
DCommandCompletions.cpp306 SourceFileCompleter completer(interpreter, request); in SourceFiles() local
311 completer.DoCompletion(&null_searcher); in SourceFiles()
313 completer.DoCompletion(searcher); in SourceFiles()
515 ModuleCompleter completer(interpreter, request); in Modules() local
520 completer.DoCompletion(&null_searcher); in Modules()
522 completer.DoCompletion(searcher); in Modules()
547 SymbolCompleter completer(interpreter, request); in Symbols() local
552 completer.DoCompletion(&null_searcher); in Symbols()
554 completer.DoCompletion(searcher); in Symbols()
/external/python/cpython2/Modules/
Dreadline.c300 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/
Dreadline.rst224 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.
Drlcompleter.rst18 and its :meth:`complete` method is set as the :mod:`readline` completer.
/external/e2fsprogs/lib/ss/
Dss_internal.h72 char *(*completer)(const char *, int));
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DClangASTImporter.h130 MapCompleter &completer) { in InstallMapCompleter() argument
141 context_md->m_map_completer = &completer; in InstallMapCompleter()
/external/python/cpython2/Lib/
Dpydoc.py1997 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/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
DPdbAstBuilder.cpp684 UdtRecordCompleter completer(best_ti, ct, tag, *this, m_index); in CompleteTagDecl() local
686 llvm::codeview::visitMemberRecordStream(field_list_cvt.data(), completer); in CompleteTagDecl()
687 completer.complete(); in CompleteTagDecl()
/external/python/cpython3/Misc/NEWS.d/
D3.9.0b4.rst187 The ``write_history()`` atexit function of the readline completer now
D3.5.1rc1.rst247 In the Readline completer, only call getattr() once per attribute.
D3.6.0a1.rst2381 In the Readline completer, avoid listing duplicate global names, and search
2484 In the Readline completer, only call getattr() once per attribute. Also
D3.5.2rc1.rst1519 In the Readline completer, avoid listing duplicate global names, and search
/external/python/cpython3/Lib/
Dpydoc.py2212 def run(self, callback, key=None, completer=None, onerror=None): argument
2267 if completer:
2268 completer()
/external/python/cpython2/Misc/NEWS.d/
D2.7.12rc1.rst806 In the Readline completer, avoid listing duplicate global names, and search
D2.7.11rc1.rst171 In the Readline completer, only call getattr() once per attribute.
/external/llvm-project/lldb/docs/status/
Dprojects.rst202 busy-work to have to supply the completer AND the type. If this worked, then it
/external/python/cpython2/Misc/
DHISTORY11560 - 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.

12