Home
last modified time | relevance | path

Searched +refs:is +refs:completion +refs:line (Results 1 – 25 of 158) sorted by relevance

1234567

/external/python/cpython2/Doc/library/
Dreadline.rst11 completion and reading/writing of history files from the Python interpreter.
13 supports completion of Python identifiers at the interactive prompt. Settings
22 On MacOS X the :mod:`readline` module detects which library is being used
25 The configuration file for ``libedit`` is different from that
46 Execute the init line provided in the *string* argument. This calls
52 Execute a readline initialization file. The default filename is the last filename
59 The following functions operate on the line buffer:
64 Return the current contents of the line buffer (:c:data:`rl_line_buffer`
70 Insert text into the line buffer at the cursor position. This calls
78 line buffer. This calls :c:func:`rl_redisplay` in the underlying library.
[all …]
Dcmd.rst1 :mod:`cmd` --- Support for line-oriented command interpreters
5 :synopsis: Build line-oriented command interpreters.
12 The :class:`Cmd` class provides a simple framework for writing line-oriented
19 A :class:`Cmd` instance or subclass instance is a line-oriented interpreter
20 framework. There is no good reason to instantiate :class:`Cmd` itself; rather,
24 The optional argument *completekey* is the :mod:`readline` name of a completion
25 key; it defaults to :kbd:`Tab`. If *completekey* is not :const:`None` and
26 :mod:`readline` is available, command completion is done automatically.
53 the line as argument.
55 The optional argument is a banner or intro string to be issued before the first
[all …]
Dtokenize.rst25 The primary entry point is a :term:`generator`:
32 :ref:`bltin-file-objects`). Each call to the function should return one line
34 signals completion by raising :exc:`StopIteration`.
40 line on which the token was found. The line passed (the last tuple item) is
41 the *logical* line; continuation lines are included.
45 An older entry point is retained for backward compatibility:
56 line of input as a string. Alternately, *readline* may be a callable object that
57 signals completion by raising :exc:`StopIteration`.
62 The second parameter, *tokeneater*, must also be a callable object. It is
79 indicates the end of a logical line of Python code; NL tokens are generated when
[all …]
/external/python/cpython3/Doc/library/
Dreadline.rst13 completion and reading/writing of history files from the Python interpreter.
15 supports completion of Python identifiers at the interactive prompt. Settings
31 On macOS the :mod:`readline` module detects which library is being used
34 The configuration file for ``libedit`` is different from that
40 initialization file located in your home directory is named
42 turn ON *vi* keybindings and TAB completion::
56 Execute the init line provided in the *string* argument. This calls
62 Execute a readline initialization file. The default filename is the last filename
69 The following functions operate on the line buffer:
74 Return the current contents of the line buffer (:c:data:`rl_line_buffer`
[all …]
Dcmd.rst1 :mod:`cmd` --- Support for line-oriented command interpreters
5 :synopsis: Build line-oriented command interpreters.
13 The :class:`Cmd` class provides a simple framework for writing line-oriented
20 A :class:`Cmd` instance or subclass instance is a line-oriented interpreter
21 framework. There is no good reason to instantiate :class:`Cmd` itself; rather,
25 The optional argument *completekey* is the :mod:`readline` name of a completion
26 key; it defaults to :kbd:`Tab`. If *completekey* is not :const:`None` and
27 :mod:`readline` is available, command completion is done automatically.
51 the line as argument.
53 The optional argument is a banner or intro string to be issued before the first
[all …]
/external/python/cpython2/Doc/tutorial/
Dinteractive.rst8 line and history substitution, similar to facilities found in the Korn shell and
9 the GNU Bash shell. This is implemented using the `GNU Readline`_ library,
17 The command line history recall which operates within DOS boxes on NT and some
18 other DOS and Windows flavors is yet another beast.
26 If supported, input line editing is active whenever the interpreter prints a
27 primary or secondary prompt. The current line can be edited using the
29 :kbd:`C-A` (Control-A) moves the cursor to the beginning of the line, :kbd:`C-E`
32 character to its right. :kbd:`C-K` kills (erases) the rest of the line to the
44 saved in a history buffer, and when a new prompt is given you are positioned on
45 a new line at the bottom of this buffer. :kbd:`C-P` moves one line up (back) in
[all …]
/external/clang/test/Index/
Dcomplete-documentation-properties.m1 // Note: the run lines follow their respective tests, since line/column numbers
3 // This test is for when property accessors do not have their own code
4 // completion comments. Use those in their properties in this case.
9 \brief This is ReadonlyProperty
14 \brief This is GeneralProperty
19 \brief This is PropertyInPrimaryClass
31 \brief This is Record
38 \brief This is PropertyInClassExtension
56 // RUN: env CINDEXTEST_COMPLETION_BRIEF_COMMENTS=1 c-index-test -code-completion-at=%s:47:16 %s | F…
57 // CHECK-CC1: {TypedText ReadonlyGetter}{{.*}}(brief comment: This is ReadonlyProperty)
[all …]
Dcomplete-preprocessor.m1 // The line and column layout of this test is significant. Run lines
16 // RUN: c-index-test -code-completion-at=%s:4:2 %s | FileCheck -check-prefix=CHECK-CC1 %s
29 // CHECK-CC1-NEXT: NotImplemented:{TypedText line}{HorizontalSpace }{Placeholder number} (40)
30 // CHECK-CC1-NEXT: NotImplemented:{TypedText line}{HorizontalSpace }{Placeholder number}{Horizonta…
34 // RUN: c-index-test -code-completion-at=%s:5:2 %s | FileCheck -check-prefix=CHECK-CC2 %s
50 // CHECK-CC2-NEXT: NotImplemented:{TypedText line}{HorizontalSpace }{Placeholder number} (40)
51 // CHECK-CC2-NEXT: NotImplemented:{TypedText line}{HorizontalSpace }{Placeholder number}{Horizonta…
55 // RUN: c-index-test -code-completion-at=%s:9:8 %s | FileCheck -check-prefix=CHECK-CC3 %s
58 // RUN: c-index-test -code-completion-at=%s:11:12 %s | FileCheck -check-prefix=CHECK-CC3 %s
59 // RUN: c-index-test -code-completion-at=%s:11:13 %s | FileCheck -check-prefix=CHECK-CC3 %s
[all …]
Dcomplete-synthesized.m1 // Note: this test is line- and column-sensitive. Test commands are at
38 // RUN: c-index-test -code-completion-at=%s:24:1 -target x86_64-apple-macosx10.7 -fobjc-nonfragile-…
39 // RUN: c-index-test -code-completion-at=%s:30:2 -target x86_64-apple-macosx10.7 -fobjc-nonfragile-…
40 // RUN: c-index-test -code-completion-at=%s:34:2 -target x86_64-apple-macosx10.7 -fobjc-nonfragile-…
Dcomplete-lambdas.mm1 // This test is line- and column-sensitive. See below for run lines.
25 // RUN: c-index-test -code-completion-at=%s:14:6 -std=c++11 %s | FileCheck -check-prefix=CHECK-CC1 …
28 // RUN: c-index-test -code-completion-at=%s:15:6 -std=c++11 %s | FileCheck -check-prefix=CHECK-CC2 …
31 // RUN: c-index-test -code-completion-at=%s:16:4 -std=c++11 %s | FileCheck -check-prefix=CHECK-CC3 …
38 // RUN: c-index-test -code-completion-at=%s:16:21 -x objective-c++ -std=c++11 %s | FileCheck -check…
42 // RUN: c-index-test -code-completion-at=%s:18:10 -x objective-c++ -std=c++11 %s | FileCheck -check…
44 // RUN: c-index-test -code-completion-at=%s:19:8 -x objective-c++ -std=c++11 %s | FileCheck -check-…
48 // RUN: c-index-test -code-completion-at=%s:20:11 -x objective-c++ -std=c++11 %s | FileCheck -check…
Dcomplete-natural.m1 // Note: the run lines follow their respective tests, since line/column
10 #pragma mark this is the spot
11 // RUN: c-index-test -code-completion-at=%s:4:32 %s > %t
17 // RUN: c-index-test -code-completion-at=%s:5:18 %s > %t
20 // RUN: c-index-test -code-completion-at=%s:6:7 %s > %t
23 // RUN: c-index-test -code-completion-at=%s:7:7 %s > %t
26 // RUN: c-index-test -code-completion-at=%s:8:10 %s > %t
29 // RUN: c-index-test -code-completion-at=%s:9:9 %s > %t
32 // RUN: c-index-test -code-completion-at=%s:10:19 %s > %t
36 // Same tests as above, but with completion caching.
[all …]
Dcomplete-member-access.m1 /* Note: the RUN lines are near the end of the file, since line/column
45 // RUN: c-index-test -code-completion-at=%s:21:7 %s | FileCheck -check-prefix=CHECK-CC1 %s
51 // CHECK-CC1-NEXT: Container is complete
53 // RUN: c-index-test -code-completion-at=%s:22:8 %s | FileCheck -check-prefix=CHECK-CC2 %s
59 // CHECK-CC2-NEXT: Container is complete
61 // RUN: c-index-test -code-completion-at=%s:34:12 %s | FileCheck -check-prefix=CHECK-CC3 %s
69 // CHECK-CC3-NEXT: Container is complete
72 // RUN: c-index-test -code-completion-at=%s:42:20 %s | FileCheck -check-prefix=CHECK-CC4 %s
Dcomplete-blocks.m1 // The line and column layout of this test is significant. Run lines
53 // RUN: c-index-test -code-completion-at=%s:8:1 %s | FileCheck -check-prefix=CHECK-CC1 %s
56 // RUN: c-index-test -code-completion-at=%s:17:6 %s | FileCheck -check-prefix=CHECK-CC2 %s
59 // RUN: c-index-test -code-completion-at=%s:25:6 %s | FileCheck -check-prefix=CHECK-CC3 %s
61 // RUN: c-index-test -code-completion-at=%s:34:6 %s | FileCheck -check-prefix=CHECK-CC4 %s
64 // RUN: c-index-test -code-completion-at=%s:25:15 %s | FileCheck -check-prefix=CHECK-CC5 %s
70 // RUN: c-index-test -code-completion-at=%s:42:6 %s | FileCheck -check-prefix=CHECK-CC6 %s
73 // RUN: c-index-test -code-completion-at=%s:50:1 %s | FileCheck -check-prefix=CHECK-CC7 %s
75 // RUN: c-index-test -code-completion-at=%s:50:6 %s | FileCheck -check-prefix=CHECK-CC8 %s
Dcomplete-declarators.m1 // This test is line- and column-sensitive, so test commands are at the bottom.
28 // RUN: c-index-test -code-completion-at=%s:7:4 %s | FileCheck -check-prefix=CHECK-CC0 %s
39 // RUN: c-index-test -code-completion-at=%s:7:19 %s | FileCheck -check-prefix=CHECK-CC1 %s
42 // RUN: c-index-test -code-completion-at=%s:9:15 %s | FileCheck -check-prefix=CHECK-CC2 %s
43 // RUN: c-index-test -code-completion-at=%s:15:10 %s | FileCheck -check-prefix=CHECK-CC2 %s
44 // RUN: c-index-test -code-completion-at=%s:16:9 %s | FileCheck -check-prefix=CHECK-CC2 %s
49 // RUN: c-index-test -code-completion-at=%s:15:15 %s | FileCheck -check-prefix=CHECK-CC3 %s
55 // RUN: c-index-test -code-completion-at=%s:15:15 %s | FileCheck -check-prefix=CHECK-CC4 %s
60 // RUN: c-index-test -code-completion-at=%s:23:10 %s | FileCheck -check-prefix=CHECK-CC5 %s
87 // RUN: c-index-test -code-completion-at=%s:27:1 %s | FileCheck -check-prefix=CHECK-CC6 %s
Dcomplete-at-exprstmt.m1 /* The run lines are below, because this test is line- and
22 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:9:4 %s | FileCh…
29 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:9:19 %s | FileC…
33 // RUN: env CINDEXTEST_CODE_COMPLETE_PATTERNS=1 c-index-test -code-completion-at=%s:9:3 %s | FileCh…
48 // RUN: c-index-test -code-completion-at=%s:19:13 %s | FileCheck -check-prefix=CHECK-CC4 %s
52 // RUN: c-index-test -code-completion-at=%s:19:17 %s | FileCheck -check-prefix=CHECK-CC5 %s
/external/mksh/src/
Dsh_flags.opt7 * is granted to deal in this work without restriction, including un-
11 * This work is provided "AS IS" and WITHOUT WARRANTY of any kind, to
54 /* ./. Emacs command line editing mode */
62 /* ./. Emacs command line editing mode, gmacs variant */
86 /* -X mark dirs with / in file name completion */
114 /* -b asynchronous job completion notification */
118 /* -u using an unset variable is an error */
126 /* ./. errorlevel of a pipeline is the rightmost nonzero value */
162 /* ./. Vi command line editing mode */
166 /* ./. enable ESC as file name completion character (non-standard) */
[all …]
/external/iproute2/bash-completion/
Dtc1 # tc(8) completion -*- shell-script -*-
11 # Takes a list of words in argument; each one of them is added to COMPREPLY if
12 # it is not already present on the command line. Returns no value.
29 # Takes a list of words in argument; each one of them is added to COMPREPLY if
30 # it is not already present on the command line from the provided index. Returns
50 # is already present on the command line. Returns no value.
63 # is already present on the command line from the provided index. Returns no
89 # Returns 0 is completion should stop after running this function, 1 otherwise.
212 object-pinned|graft) # Pinned object is probably under /sys/fs/bpf/
275 # Returns 0 is completion should stop after running this function, 1 otherwise.
[all …]
/external/python/cpython3/Doc/tutorial/
Dinteractive.rst8 line and history substitution, similar to facilities found in the Korn shell and
9 the GNU Bash shell. This is implemented using the `GNU Readline`_ library,
19 Completion of variable and module names is
21 that the :kbd:`Tab` key invokes the completion function; it looks at
27 is part of the expression. The default configuration also saves your
38 This facility is an enormous step forward compared to earlier versions of the
41 token is required next). The completion mechanism might use the interpreter's
46 some time is IPython_, which features tab completion, object exploration and
48 into other applications. Another similar enhanced interactive environment is
/external/u-boot/doc/
DREADME.commands5 This is done by first including command.h, then using the U_BOOT_CMD() or the
16 repeatable: Either 0 or 1 to indicate if autorepeat is allowed.
18 command: Pointer to the command function. This is the function that is
19 called when the command is issued.
21 usage: Short description. This is a string.
23 help: Long description. This is a string. The long description is
24 only available if CONFIG_SYS_LONGHELP is defined.
26 comp: Pointer to the completion function. May be NULL.
27 This function is called if the user hits the TAB key while
29 completion is only available if CONFIG_AUTO_COMPLETE is defined.
[all …]
/external/gflags/src/
Dgflags_completions.h.in33 // Implement helpful bash-style command line flag completions
37 // program startup, but after command line flag code has been
40 // flag is empty, nothing happens here. If it contains a string,
43 // completion. Regardless of the outcome of this deduction, the
58 // ** Strategy taken for command line completions:
64 // description as can fit on a single terminal line width, as specified
71 // was implemented. Before pressing a <TAB> to get completion for the
87 // completion should be enabled for. Example addition to a .bashrc
104 // If you haven't specifically added a command to the list of completion
108 // Assuming that "binary" is a newly compiled binary, this should still
[all …]
/external/swiftshader/third_party/LLVM/utils/vim/
Dvimrc26 " Whitespace at the end of a line. This little dance suppresses
70 " Delete trailing whitespace and tabs at the end of each line
95 " Clang code-completion support. This is somewhat experimental!
110 let l:line = getline('.')
112 while l:start > 0 && l:line[l:start - 1] =~ '\i'
118 " Get the current line and column numbers.
119 let l:l = line('.')
122 " Build a clang commandline to do code completion on stdin.
124 \ " -cc1 -code-completion-at=-:" . l:l . ":" . l:c
130 " TODO: The extra space at the end is for working around clang's
[all …]
/external/llvm/utils/vim/
Dvimrc26 " Whitespace at the end of a line. This little dance suppresses
70 " Delete trailing whitespace and tabs at the end of each line
102 " Clang code-completion support. This is somewhat experimental!
117 let l:line = getline('.')
119 while l:start > 0 && l:line[l:start - 1] =~ '\i'
125 " Get the current line and column numbers.
126 let l:l = line('.')
129 " Build a clang commandline to do code completion on stdin.
131 \ " -cc1 -code-completion-at=-:" . l:l . ":" . l:c
137 " TODO: The extra space at the end is for working around clang's
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/vim/
Dvimrc26 " Whitespace at the end of a line. This little dance suppresses
70 " Delete trailing whitespace and tabs at the end of each line
102 " Clang code-completion support. This is somewhat experimental!
117 let l:line = getline('.')
119 while l:start > 0 && l:line[l:start - 1] =~ '\i'
125 " Get the current line and column numbers.
126 let l:l = line('.')
129 " Build a clang commandline to do code completion on stdin.
131 \ " -cc1 -code-completion-at=-:" . l:l . ":" . l:c
137 " TODO: The extra space at the end is for working around clang's
[all …]
/external/jline/src/src/main/resources/jline/
Dkeybindings-mac.properties1 # Keybinding mapping for JLine. The format is:
13 # CTRL-A: move to the beginning of the line
19 # CTRL-E: move the cursor to the end of the line
23 # 8 is the ASCII code for backspace and therefor
27 # TAB, CTRL-I: signal that console completion should be attempted
33 # CTRL-K: erase the current line
48 # CTRL-R: redraw the current line
61 # 127 is the ASCII code for delete
Dkeybindings.properties1 # Keybinding mapping for JLine. The format is:
4 # CTRL-A: move to the beginning of the line
13 # CTRL-E: move the cursor to the end of the line
23 # 8 is the ASCII code for backspace and therefor
27 # TAB, CTRL-I: signal that console completion should be attempted
33 # CTRL-K: erase the current line
48 # CTRL-R: redraw the current line
67 # 127 is the ASCII code for delete

1234567