Home
last modified time | relevance | path

Searched refs:prompt (Results 1 – 25 of 489) sorted by relevance

12345678910>>...20

/external/autotest/site_utils/tester_feedback/
Dsequenced_request.py25 def __init__(self, blurb, input_handler, prompt=None): argument
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:
43 self.prompt += ' '
52 print(self.blurb, end=('\n' if self.prompt else ' '))
[all …]
/external/python/cpython3/Lib/
Dgetpass.py29 def unix_getpass(prompt='Password: ', stream=None): argument
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): argument
100 return fallback_getpass(prompt, stream)
102 for c in prompt:
120 def fallback_getpass(prompt='Password: ', stream=None): argument
126 return _raw_input(prompt, stream)
129 def _raw_input(prompt="", stream=None, input=None): argument
[all …]
/external/python/cpython2/Lib/
Dgetpass.py26 def unix_getpass(prompt='Password: ', stream=None): argument
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): argument
92 return fallback_getpass(prompt, stream)
94 for c in prompt:
112 def fallback_getpass(prompt='Password: ', stream=None): argument
118 return _raw_input(prompt, stream)
121 def _raw_input(prompt="", stream=None, input=None): argument
[all …]
/external/toybox/kconfig/
Dmenu.c122 struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *d… in menu_add_prop() argument
130 if (prompt) { in menu_add_prop()
131 if (isspace(*prompt)) { in menu_add_prop()
133 while (isspace(*prompt)) in menu_add_prop()
134 prompt++; in menu_add_prop()
136 if (current_entry->prompt) in menu_add_prop()
138 current_entry->prompt = prop; in menu_add_prop()
140 prop->text = prompt; in menu_add_prop()
145 struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep) in menu_add_prompt() argument
147 return menu_add_prop(type, prompt, NULL, dep); in menu_add_prompt()
[all …]
Dmconf.c438 prop = menu->prompt; in build_conf()
441 const char *prompt = menu_get_prompt(menu); in build_conf() local
448 indent + 1, ' ', prompt); in build_conf()
450 item_make(" %*c%s --->", indent + 1, ' ', prompt); in build_conf()
458 if (prompt) { in build_conf()
460 item_make("---%*c%s", indent + 1, ' ', prompt); in build_conf()
570 if (menu->prompt->type == P_MENU) { in build_conf()
586 const char *prompt = menu_get_prompt(menu); in conf() local
607 res = dialog_menu(prompt ? prompt : _("Main Menu"), in conf()
636 else if (submenu->prompt->type == P_MENU) in conf()
[all …]
/external/llvm-project/lldb/test/API/benchmarks/expression/
DTestRepeatedExprs.py50 prompt = self.child_prompt
62 child.expect_exact(prompt)
66 child.expect_exact(prompt)
68 child.expect_exact(prompt)
77 child.expect_exact(prompt)
79 child.expect_exact(prompt)
81 child.expect_exact(prompt)
100 prompt = self.child_prompt
110 child.expect_exact(prompt)
112 child.expect_exact(prompt)
[all …]
DTestExpressionCmd.py45 prompt = self.child_prompt
60 child.expect_exact(prompt)
64 child.expect_exact(prompt)
66 child.expect_exact(prompt)
72 child.expect_exact(prompt)
74 child.expect_exact(prompt)
/external/openssh/
Dreadpass.c123 read_passphrase(const char *prompt, int flags) in read_passphrase() argument
166 if ((ret = ssh_askpass(askpass, prompt, askpass_hint)) == NULL) in read_passphrase()
172 if (readpassphrase(prompt, buf, sizeof buf, rppflags) == NULL) { in read_passphrase()
187 char *p, prompt[1024]; in ask_permission() local
191 vsnprintf(prompt, sizeof(prompt), fmt, args); in ask_permission()
194 p = read_passphrase(prompt, in ask_permission()
219 char *prompt = NULL; in notify_start() local
227 xvasprintf(&prompt, fmt, args); in notify_start()
234 (void)write(STDERR_FILENO, prompt, strlen(prompt)); in notify_start()
236 free(prompt); in notify_start()
[all …]
/external/python/cpython2/Parser/
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) in PyOS_StdioReadline() argument
117 if (prompt) in PyOS_StdioReadline()
118 fprintf(stderr, "%s", prompt); in PyOS_StdioReadline()
120 if (prompt) { in PyOS_StdioReadline()
122 fprintf(stderr, "\x0cr%s\x0c", prompt); in PyOS_StdioReadline()
124 fprintf(stderr, "%s", prompt); in PyOS_StdioReadline()
168 PyOS_Readline(FILE *sys_stdin, FILE *sys_stdout, char *prompt) in PyOS_Readline() argument
205 rv = PyOS_StdioReadline (sys_stdin, sys_stdout, prompt); in PyOS_Readline()
208 prompt); in PyOS_Readline()
/external/curl/src/
Dtool_getpass.c68 char *getpass_r(const char *prompt, char *buffer, size_t buflen) in getpass_r() argument
91 prompt, strlen(prompt)); in getpass_r()
105 char *getpass_r(const char *prompt, char *buffer, size_t buflen) in getpass_r() argument
108 fputs(prompt, stderr); in getpass_r()
136 char *getpass_r(const char *prompt, char *buffer, size_t buflen) in getpass_r() argument
138 return getpassword(prompt, buffer, buflen); in getpass_r()
141 char *getpass_r(const char *prompt, char *buffer, size_t buflen) in getpass_r() argument
145 printf("%s", prompt); in getpass_r()
220 char *getpass_r(const char *prompt, /* prompt to display */ in getpass_r() argument
232 fputs(prompt, stderr); in getpass_r()
/external/llvm-project/lldb/source/Core/
DIOHandler.cpp134 IOHandlerConfirm::IOHandlerConfirm(Debugger &debugger, llvm::StringRef prompt, in IOHandlerConfirm() argument
146 prompt_stream.PutCString(prompt); in IOHandlerConfirm()
226 llvm::StringRef prompt, llvm::StringRef continuation_prompt, in IOHandlerEditline() argument
235 prompt, continuation_prompt, multi_line, color_prompts, in IOHandlerEditline()
243 llvm::StringRef prompt, llvm::StringRef continuation_prompt, in IOHandlerEditline() argument
256 SetPrompt(prompt); in IOHandlerEditline()
283 SetPrompt(prompt); in IOHandlerEditline()
344 const char *prompt = nullptr; in GetLine() local
347 prompt = GetContinuationPrompt(); in GetLine()
349 if (prompt == nullptr) in GetLine()
[all …]
/external/llvm-project/lldb/test/API/benchmarks/turnaround/
DTestCompileRunToBreakpointTurnaround.py46 prompt = self.child_prompt
58 child.expect_exact(prompt)
60 child.expect_exact(prompt)
62 child.expect_exact(prompt)
91 prompt = self.child_prompt
101 child.expect_exact(prompt)
103 child.expect_exact(prompt)
105 child.expect_exact(prompt)
/external/libcups/cgi-bin/
Dhtml.c29 static const char *cgi_null_passwd(const char *prompt);
210 cgi_null_passwd(const char *prompt) /* I - Prompt string (unused) */ in cgi_null_passwd() argument
212 (void)prompt; in cgi_null_passwd()
215 prompt ? prompt : "(null)"); in cgi_null_passwd()
/external/gptfdisk/
Dgpttext.cc150 ostringstream prompt; in GetPartNum() local
153 prompt << "Partition number (" << low + 1 << "-" << high + 1 << "): "; in GetPartNum()
154 partNum = GetNumber(low + 1, high + 1, low, prompt.str()); in GetPartNum()
162 ostringstream prompt; in ResizePartitionTable() local
171 prompt << "Enter new size (" << curHigh << " up, default " << NUM_GPT_ENTRIES << "): "; in ResizePartitionTable()
172 newSize = GetNumber(4, 65535, 128, prompt.str()); in ResizePartitionTable()
187 ostringstream prompt; in MoveMainTable() local
191 prompt << "Enter new starting location (2 to " << maxValue << "; default is 2; 1 to abort): "; in MoveMainTable()
192 newStart = GetNumber(1, maxValue, 2, prompt.str()); in MoveMainTable()
269 ostringstream prompt; in DeletePartition() local
[all …]
/external/python/cpython2/Lib/lib-tk/
DtkSimpleDialog.py174 def __init__(self, title, prompt, argument
183 self.prompt = prompt
197 w = Label(master, text=self.prompt, justify=LEFT)
251 def askinteger(title, prompt, **kw): argument
262 d = _QueryInteger(title, prompt, **kw)
270 def askfloat(title, prompt, **kw): argument
281 d = _QueryFloat(title, prompt, **kw)
302 def askstring(title, prompt, **kw): argument
313 d = _QueryString(title, prompt, **kw)
/external/fsck_msdos/
Dmain.c135 char prompt[256]; in ask() local
148 vsnprintf(prompt, sizeof(prompt), fmt, ap); in ask()
151 printf("%s? %s\n", prompt, def ? "yes" : "no"); in ask()
155 printf("%s? [yn] ", prompt); in ask()
/external/bc/include/
Dread.h49 #define bc_read_line(vec, prompt) bc_read_line(vec) argument
50 #define bc_read_chars(vec, prompt) bc_read_chars(vec) argument
55 BcStatus bc_read_line(BcVec *vec, const char *prompt);
57 BcStatus bc_read_chars(BcVec *vec, const char *prompt);
Dhistory.h146 #define bc_history_line(h, vec, prompt) bc_history_line(h, vec) argument
147 #define bc_history_raw(h, prompt) bc_history_raw(h) argument
148 #define bc_history_edit(h, prompt) bc_history_edit(h) argument
194 const char *prompt; member
240 BcStatus bc_history_line(BcHistory *h, BcVec *vec, const char *prompt);
/external/python/cpython3/Parser/
Dmyreadline.c241 PyOS_StdioReadline(FILE *sys_stdin, FILE *sys_stdout, const char *prompt) in PyOS_StdioReadline() argument
259 if (prompt) { in PyOS_StdioReadline()
263 wlen = MultiByteToWideChar(CP_UTF8, 0, prompt, -1, in PyOS_StdioReadline()
273 wlen = MultiByteToWideChar(CP_UTF8, 0, prompt, -1, in PyOS_StdioReadline()
284 fprintf(stderr, "%s", prompt); in PyOS_StdioReadline()
295 if (prompt) { in PyOS_StdioReadline()
296 fprintf(stderr, "%s", prompt); in PyOS_StdioReadline()
356 PyOS_Readline(FILE *sys_stdin, FILE *sys_stdout, const char *prompt) in PyOS_Readline() argument
391 rv = PyOS_StdioReadline (sys_stdin, sys_stdout, prompt); in PyOS_Readline()
394 prompt); in PyOS_Readline()
/external/python/cpython3/Lib/venv/
D__init__.py47 symlinks=False, upgrade=False, with_pip=False, prompt=None, argument
54 if prompt == '.': # see bpo-38901
55 prompt = os.path.basename(os.getcwd())
56 self.prompt = prompt
114 prompt = self.prompt if self.prompt is not None else context.env_name
115 context.prompt = '(%s) ' % prompt
165 if self.prompt is not None:
338 text = text.replace('__VENV_PROMPT__', context.prompt)
407 symlinks=False, with_pip=False, prompt=None, upgrade_deps=False): argument
411 prompt=prompt, upgrade_deps=upgrade_deps)
[all …]
/external/llvm-project/lldb/test/API/benchmarks/stepping/
DTestSteppingSpeed.py43 prompt = self.child_prompt
55 child.expect_exact(prompt)
57 child.expect_exact(prompt)
59 child.expect_exact(prompt)
67 child.expect_exact(prompt)
/external/bc/src/
Dread.c108 BcStatus bc_read_chars(BcVec *vec, const char *prompt) { in bc_read_chars() argument
120 bc_file_puts(&vm.fout, bc_flush_none, prompt); in bc_read_chars()
153 bc_file_puts(&vm.fout, bc_flush_none, prompt); in bc_read_chars()
185 BcStatus bc_read_line(BcVec *vec, const char *prompt) { in bc_read_line() argument
191 s = bc_history_line(&vm.history, vec, prompt); in bc_read_line()
192 else s = bc_read_chars(vec, prompt); in bc_read_line()
194 s = bc_read_chars(vec, prompt); in bc_read_line()
/external/jline/src/src/main/java/jline/
DUnsupportedTerminal.java59 public void beforeReadLine(final ConsoleReader reader, final String prompt, in beforeReadLine() argument
62 final String fullPrompt = "\r" + prompt in beforeReadLine()
66 + "\r" + prompt; in beforeReadLine()
90 public void afterReadLine(final ConsoleReader reader, final String prompt, in afterReadLine() argument
/external/autotest/site_utils/deployment/
Dcmdvalidate.py294 def _read_with_prompt(input, prompt): argument
301 full_prompt = '%s> ' % prompt
350 prompt = 'build version (optional)'
352 build = _read_with_prompt(input, prompt)
422 prompt = 'More hosts? [y/N]'
423 y_n = _read_with_prompt(input, prompt).lower() or 'no'
446 prompt = '%s build %s? [Y/n]' % (
448 y_n = _read_with_prompt(input, prompt).lower() or 'yes'
/external/toybox/kconfig/lxdialog/
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,

12345678910>>...20