Searched refs:prompt (Results 1 - 25 of 198) sorted by relevance

12345678

/external/e2fsprogs/lib/ss/
H A Dprompt.c2 * prompt.c: Routines for retrieving and setting a prompt.
25 ss_info(sci_idx)->prompt = new_prompt;
30 return(ss_info(sci_idx)->prompt);
H A Dinvocation.c62 new_table->prompt = malloc((unsigned)strlen(subsystem_name)+4);
63 strcpy(new_table->prompt, subsystem_name);
64 strcat(new_table->prompt, ": ");
97 free(t->prompt);
/external/autotest/site_utils/tester_feedback/
H A Dsequenced_request.py25 def __init__(self, blurb, input_handler, prompt=None):
34 # Initialize the input prompt string.
35 if prompt is None:
36 prompt = ''
38 if prompt:
39 prompt += ' '
40 prompt += prompt_supp
41 self.prompt = self._format_text(prompt)
42 if self.prompt
[all...]
/external/curl/src/
H A Dtool_getpass.h33 char *getpass_r(const char *prompt, char *buffer, size_t buflen);
H A Dtool_getpass.c64 char *getpass_r(const char *prompt, char *buffer, size_t buflen) argument
87 prompt, strlen(prompt));
105 char *getpass_r(const char *prompt, char *buffer, size_t buflen) argument
108 fputs(prompt, stderr);
138 char *getpass_r(const char *prompt, char *buffer, size_t buflen) argument
140 return getpassword(prompt, buffer, buflen);
143 char *getpass_r(const char *prompt, char *buffer, size_t buflen) argument
147 printf("%s", prompt);
222 char *getpass_r(const char *prompt, /* promp argument
[all...]
/external/syslinux/gpxe/src/include/readline/
H A Dreadline.h12 extern char * __malloc readline ( const char *prompt );
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowSpinner.java11 private CharSequence prompt; field in class:ShadowSpinner
14 public void setPrompt(CharSequence prompt) { argument
15 this.prompt = prompt;
20 return prompt;
/external/python/cpython3/Lib/venv/scripts/posix/
H A Dactivate.csh6 alias deactivate 'test $?_OLD_VIRTUAL_PATH != 0 && setenv PATH "$_OLD_VIRTUAL_PATH" && unset _OLD_VIRTUAL_PATH; rehash; test $?_OLD_VIRTUAL_PROMPT != 0 && set prompt="$_OLD_VIRTUAL_PROMPT" && unset _OLD_VIRTUAL_PROMPT; unsetenv VIRTUAL_ENV; test "\!:*" != "nondestructive" && unalias deactivate'
17 set _OLD_VIRTUAL_PROMPT="$prompt"
31 set prompt = "[$env_name] $prompt"
/external/python/cpython2/Demo/tkinter/guido/
H A Dwish.py12 if cmd: prompt = ''
13 else: prompt = '% '
15 line = raw_input(prompt)
/external/python/cpython2/Lib/
H A Dgetpass.py3 getpass(prompt[, stream]) - Prompt for a password, with echo turned off.
26 def unix_getpass(prompt='Password: ', stream=None):
30 prompt: Written on stream to ask for the input. Default: 'Password: '
31 stream: A writable file object to display the prompt. Defaults to
55 passwd = fallback_getpass(prompt, stream)
71 passwd = _raw_input(prompt, stream, input=input)
83 passwd = fallback_getpass(prompt, stream)
89 def win_getpass(prompt='Password: ', stream=None):
92 return fallback_getpass(prompt, stream)
94 for c in prompt
[all...]
/external/python/cpython3/Lib/
H A Dgetpass.py3 getpass(prompt[, stream]) - Prompt for a password, with echo turned off.
29 def unix_getpass(prompt='Password: ', stream=None):
33 prompt: Written on stream to ask for the input. Default: 'Password: '
34 stream: A writable file object to display the prompt. Defaults to
62 passwd = fallback_getpass(prompt, stream)
77 passwd = _raw_input(prompt, stream, input=input)
91 passwd = fallback_getpass(prompt, stream)
97 def win_getpass(prompt='Password: ', stream=None):
100 return fallback_getpass(prompt, stream)
102 for c in prompt
[all...]
/external/jline/src/src/main/java/jline/
H A DUnsupportedTerminal.java59 public void beforeReadLine(final ConsoleReader reader, final String prompt, argument
62 final String fullPrompt = "\r" + prompt
66 + "\r" + prompt;
90 public void afterReadLine(final ConsoleReader reader, final String prompt, argument
/external/python/cpython2/Parser/
H A Dmyreadline.c19 extern char* vms__StdioReadline(FILE *sys_stdin, FILE *sys_stdout, char *prompt);
108 PyOS_StdioReadline(FILE *sys_stdin, FILE *sys_stdout, char *prompt) argument
117 if (prompt)
118 fprintf(stderr, "%s", prompt);
120 if (prompt) {
122 fprintf(stderr, "\x0cr%s\x0c", prompt);
124 fprintf(stderr, "%s", prompt);
168 PyOS_Readline(FILE *sys_stdin, FILE *sys_stdout, char *prompt) argument
205 rv = PyOS_StdioReadline (sys_stdin, sys_stdout, prompt);
208 prompt);
[all...]
/external/fsck_msdos/
H A Dmain.c136 char prompt[256]; local
148 vsnprintf(prompt, sizeof(prompt), fmt, ap);
150 printf("%s? %s\n", prompt, rdonly ? "no" : "yes");
154 printf("%s? [yn] ", prompt);
/external/python/cpython2/Mac/Modules/
H A DColorPickermodule.c34 "GetColor(prompt, (r, g, b)) -> (r, g, b), ok"
43 Str255 prompt; local
45 if (!PyArg_ParseTuple(args, "O&O&", PyMac_GetStr255, prompt, QdRGB_Convert, &inColor))
48 ok = GetColor(where, prompt, &inColor, &outColor);
/external/libmtp/examples/
H A Dformat.c27 static int prompt() function
67 if (prompt() == 0) {
H A Dreset.c27 static int prompt() function
66 if (prompt() == 0) {
/external/toybox/kconfig/
H A Dmenu.c122 struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *dep) argument
130 if (prompt) {
131 if (isspace(*prompt)) {
133 while (isspace(*prompt))
134 prompt++;
136 if (current_entry->prompt)
137 prop_warn(prop, "prompt redefined");
138 current_entry->prompt = prop;
140 prop->text = prompt;
145 struct property *menu_add_prompt(enum prop_type type, char *prompt, struc argument
[all...]
/external/syslinux/gpxe/src/hci/
H A Dreadline.c80 * @v prompt Prompt string
86 char * readline ( const char *prompt ) {
92 if ( prompt )
93 printf ( "%s", prompt );
/external/python/cpython2/Lib/lib-tk/
H A DtkSimpleDialog.py174 def __init__(self, title, prompt,
183 self.prompt = prompt
197 w = Label(master, text=self.prompt, justify=LEFT)
251 def askinteger(title, prompt, **kw):
257 prompt -- the label text
262 d = _QueryInteger(title, prompt, **kw)
270 def askfloat(title, prompt, **kw):
276 prompt -- the label text
281 d = _QueryFloat(title, prompt, **k
[all...]
/external/python/cpython3/Parser/
H A Dmyreadline.c199 PyOS_StdioReadline(FILE *sys_stdin, FILE *sys_stdout, const char *prompt) argument
215 if (prompt) {
219 wlen = MultiByteToWideChar(CP_UTF8, 0, prompt, -1,
223 wlen = MultiByteToWideChar(CP_UTF8, 0, prompt, -1,
234 fprintf(stderr, "%s", prompt);
250 if (prompt)
251 fprintf(stderr, "%s", prompt);
306 PyOS_Readline(FILE *sys_stdin, FILE *sys_stdout, const char *prompt) argument
340 rv = PyOS_StdioReadline (sys_stdin, sys_stdout, prompt);
343 prompt);
[all...]
/external/toybox/kconfig/lxdialog/
H A Ddialog.h195 void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x);
203 int dialog_yesno(const char *title, const char *prompt, int height, int width);
204 int dialog_msgbox(const char *title, const char *prompt, int height,
207 int dialog_menu(const char *title, const char *prompt,
209 int dialog_checklist(const char *title, const char *prompt, int height,
212 int dialog_inputbox(const char *title, const char *prompt, int height,
/external/autotest/server/site_tests/platform_USBHIDWake/
H A Dplatform_USBHIDWake.py55 def prompt(self, banner=">>>>>>>>>>> Achtung! <<<<<<<<<<<"): member in class:platform_USBHIDWake
56 """prompt the user with the supplied banner,
59 @param banner: A [possibly multi-line] banner prompt to display
99 self.prompt(banner=press_button_banner)
101 self.prompt(banner=bored_now)
/external/e2fsprogs/e2fsck/
H A DproblemP.h15 char prompt; member in struct:e2fsck_problem
/external/toybox/toys/pending/
H A Dmore.c45 static int prompt(FILE *cin, const char* fmt, ...) function
50 printf("\33[7m"); // Reverse video before printing the prompt.
118 input_key = prompt(cin, "--More--(%d%% of %lld bytes)",
122 input_key = prompt(cin, "--More--");
143 input_key = prompt(cin, "--More--(Next file: %s)", *toys.optargs);

Completed in 859 milliseconds

12345678