Home
last modified time | relevance | path

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

12345678

/third_party/node/test/parallel/
H A Dtest-repl-persistent-history.js32 // Close the repl. Note that it must have a clean prompt to do so.
70 const prompt = '> ';
83 expected: [prompt, replDisabled, prompt]
88 expected: [prompt, replDisabled, prompt]
93 expected: [prompt, `${prompt}'you look fabulous today'`, prompt]
99 prompt,
[all...]
H A Dtest-repl-programmatic-history.js30 // Close the repl. Note that it must have a clean prompt to do so.
68 const prompt = '> ';
81 expected: [prompt, replDisabled, prompt]
86 expected: [prompt, replDisabled, prompt]
91 expected: [prompt, `${prompt}'you look fabulous today'`, prompt]
97 prompt,
[all...]
H A Dtest-repl-history-navigation.js30 // Close the repl. Note that it must have a clean prompt to do so.
65 const prompt = '> ';
87 expected: [prompt,
88 `${prompt}Array(100).fill(1).map((e, i) => i ** 2)`,
94 `${prompt}{key : {key2 :[] }}`,
96 `${prompt}let autocompleteMe = 123`,
97 `${prompt}555 + 909`,
99 `${prompt}let ab = 45`,
100 prompt,
101 `${prompt}le
[all...]
H A Dtest-repl-reverse-search.js28 // Close the repl. Note that it must have a clean prompt to do so.
59 const prompt = '> ';
114 prompt, '\x1B[3G',
180 prompt,
214 prompt, '\x1B[3G',
224 prompt, '\x1B[3G',
230 prompt, '\x1B[3G',
240 prompt, '\x1B[3G',
250 `${prompt}ab = "aaaa"`, '\x1B[14G',
252 `${prompt}rep
[all...]
H A Dtest-readline-interface.js423 const [rli, fi] = getInterface({ terminal: true, prompt: '' });
434 const [rli, fi] = getInterface({ terminal: true, prompt: '' });
455 const [rli, fi] = getInterface({ terminal: true, prompt: '' });
475 const [rli, fi] = getInterface({ terminal: true, prompt: '' });
494 const [rli, fi] = getInterface({ terminal: true, prompt: '' });
513 const [rli, fi] = getInterface({ terminal: true, prompt: '' });
532 let [rli, fi] = getInterface({ terminal: true, prompt: '' });
543 [rli, fi] = getInterface({ terminal: true, prompt: '' });
560 let [rli, fi] = getInterface({ terminal: true, prompt: '' });
572 [rli, fi] = getInterface({ terminal: true, prompt
[all...]
H A Dtest-readline-promises-interface.js400 const [rli, fi] = getInterface({ terminal: true, prompt: '' });
411 const [rli, fi] = getInterface({ terminal: true, prompt: '' });
432 const [rli, fi] = getInterface({ terminal: true, prompt: '' });
452 const [rli, fi] = getInterface({ terminal: true, prompt: '' });
471 const [rli, fi] = getInterface({ terminal: true, prompt: '' });
490 const [rli, fi] = getInterface({ terminal: true, prompt: '' });
509 let [rli, fi] = getInterface({ terminal: true, prompt: '' });
520 [rli, fi] = getInterface({ terminal: true, prompt: '' });
537 let [rli, fi] = getInterface({ terminal: true, prompt: '' });
549 [rli, fi] = getInterface({ terminal: true, prompt
[all...]
/third_party/python/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...]
/third_party/toybox/kconfig/
H A Dmenu.c122 struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *dep) 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()
137 prop_warn(prop, "prompt redefined"); 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, struc argument
[all...]
H A 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 in conf()
718 const char *prompt = menu_get_prompt(menu); conf_choice() local
769 const char *prompt = menu_get_prompt(menu); conf_string() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/evp/
H A Devp_key.c24 void EVP_set_pw_prompt(const char *prompt) in EVP_set_pw_prompt() argument
26 if (prompt == NULL) in EVP_set_pw_prompt()
29 strncpy(prompt_string, prompt, 79); in EVP_set_pw_prompt()
47 int EVP_read_pw_string(char *buf, int len, const char *prompt, int verify) in EVP_read_pw_string() argument
49 return EVP_read_pw_string_min(buf, 0, len, prompt, verify); in EVP_read_pw_string()
52 int EVP_read_pw_string_min(char *buf, int min, int len, const char *prompt, in EVP_read_pw_string_min() argument
59 if ((prompt == NULL) && (prompt_string[0] != '\0')) in EVP_read_pw_string_min()
60 prompt = prompt_string; in EVP_read_pw_string_min()
64 if (UI_add_input_string(ui, prompt, 0, buf, min, in EVP_read_pw_string_min()
67 && UI_add_verify_string(ui, prompt, in EVP_read_pw_string_min()
[all...]
/third_party/openssl/crypto/evp/
H A Devp_key.c24 void EVP_set_pw_prompt(const char *prompt) in EVP_set_pw_prompt() argument
26 if (prompt == NULL) in EVP_set_pw_prompt()
29 strncpy(prompt_string, prompt, 79); in EVP_set_pw_prompt()
47 int EVP_read_pw_string(char *buf, int len, const char *prompt, int verify) in EVP_read_pw_string() argument
49 return EVP_read_pw_string_min(buf, 0, len, prompt, verify); in EVP_read_pw_string()
52 int EVP_read_pw_string_min(char *buf, int min, int len, const char *prompt, in EVP_read_pw_string_min() argument
59 if ((prompt == NULL) && (prompt_string[0] != '\0')) in EVP_read_pw_string_min()
60 prompt = prompt_string; in EVP_read_pw_string_min()
64 if (UI_add_input_string(ui, prompt, 0, buf, min, in EVP_read_pw_string_min()
67 && UI_add_verify_string(ui, prompt, in EVP_read_pw_string_min()
[all...]
/third_party/gptfdisk/
H A Dgpttext.cc111 // Ask the user for a partition number; and prompt for verification
150 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
193 prompt << "Enter new starting location (2 to " << maxValue << "; default is 2; 1 to abort): "; in MoveMainTable()
194 newStart = GetNumber(1, maxValue, 2, prompt in MoveMainTable()
207 ostringstream prompt; MoveSecondTable() local
291 ostringstream prompt; DeletePartition() local
390 ostringstream prompt; SwapPartitions() local
580 GetSectorNum(uint64_t low, uint64_t high, uint64_t def, const string & prompt) GetSectorNum() argument
586 cout << prompt; GetSectorNum() local
848 ostringstream prompt; ExpertsMenu() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/ui/
H A Dui_lib.c97 static UI_STRING *general_allocate_prompt(UI *ui, const char *prompt, in general_allocate_prompt() argument
104 if (prompt == NULL) { in general_allocate_prompt()
110 ret->out_string = prompt; in general_allocate_prompt()
119 static int general_allocate_string(UI *ui, const char *prompt, in general_allocate_string() argument
126 UI_STRING *s = general_allocate_prompt(ui, prompt, prompt_freeable, in general_allocate_string()
147 const char *prompt, in general_allocate_boolean()
170 s = general_allocate_prompt(ui, prompt, prompt_freeable, in general_allocate_boolean()
195 * direct reference to the prompt.
197 int UI_add_input_string(UI *ui, const char *prompt, int flags, in UI_add_input_string() argument
200 return general_allocate_string(ui, prompt, in UI_add_input_string()
146 general_allocate_boolean(UI *ui, const char *prompt, const char *action_desc, const char *ok_chars, const char *cancel_chars, int prompt_freeable, enum UI_string_types type, int input_flags, char *result_buf) general_allocate_boolean() argument
206 UI_dup_input_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize) UI_dup_input_string() argument
224 UI_add_verify_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize, const char *test_buf) UI_add_verify_string() argument
233 UI_dup_verify_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize, const char *test_buf) UI_dup_verify_string() argument
252 UI_add_input_boolean(UI *ui, const char *prompt, const char *action_desc, const char *ok_chars, const char *cancel_chars, int flags, char *result_buf) UI_add_input_boolean() argument
261 UI_dup_input_boolean(UI *ui, const char *prompt, const char *action_desc, const char *ok_chars, const char *cancel_chars, int flags, char *result_buf) UI_dup_input_boolean() argument
359 char *prompt = NULL; UI_construct_prompt() local
[all...]
H A Dui_util.c19 int UI_UTIL_read_pw_string(char *buf, int length, const char *prompt, in UI_UTIL_read_pw_string() argument
27 prompt, verify); in UI_UTIL_read_pw_string()
32 int UI_UTIL_read_pw(char *buf, char *buff, int size, const char *prompt, in UI_UTIL_read_pw() argument
43 ok = UI_add_input_string(ui, prompt, 0, buf, 0, size - 1); in UI_UTIL_read_pw()
45 ok = UI_add_verify_string(ui, prompt, 0, buff, 0, size - 1, buf); in UI_UTIL_read_pw()
/third_party/openssl/crypto/ui/
H A Dui_lib.c97 static UI_STRING *general_allocate_prompt(UI *ui, const char *prompt, in general_allocate_prompt() argument
104 if (prompt == NULL) { in general_allocate_prompt()
110 ret->out_string = prompt; in general_allocate_prompt()
119 static int general_allocate_string(UI *ui, const char *prompt, in general_allocate_string() argument
126 UI_STRING *s = general_allocate_prompt(ui, prompt, prompt_freeable, in general_allocate_string()
147 const char *prompt, in general_allocate_boolean()
170 s = general_allocate_prompt(ui, prompt, prompt_freeable, in general_allocate_boolean()
195 * direct reference to the prompt.
197 int UI_add_input_string(UI *ui, const char *prompt, int flags, in UI_add_input_string() argument
200 return general_allocate_string(ui, prompt, in UI_add_input_string()
146 general_allocate_boolean(UI *ui, const char *prompt, const char *action_desc, const char *ok_chars, const char *cancel_chars, int prompt_freeable, enum UI_string_types type, int input_flags, char *result_buf) general_allocate_boolean() argument
206 UI_dup_input_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize) UI_dup_input_string() argument
224 UI_add_verify_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize, const char *test_buf) UI_add_verify_string() argument
233 UI_dup_verify_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize, const char *test_buf) UI_dup_verify_string() argument
252 UI_add_input_boolean(UI *ui, const char *prompt, const char *action_desc, const char *ok_chars, const char *cancel_chars, int flags, char *result_buf) UI_add_input_boolean() argument
261 UI_dup_input_boolean(UI *ui, const char *prompt, const char *action_desc, const char *ok_chars, const char *cancel_chars, int flags, char *result_buf) UI_dup_input_boolean() argument
359 char *prompt = NULL; UI_construct_prompt() local
[all...]
H A Dui_util.c19 int UI_UTIL_read_pw_string(char *buf, int length, const char *prompt, in UI_UTIL_read_pw_string() argument
27 prompt, verify); in UI_UTIL_read_pw_string()
32 int UI_UTIL_read_pw(char *buf, char *buff, int size, const char *prompt, in UI_UTIL_read_pw() argument
43 ok = UI_add_input_string(ui, prompt, 0, buf, 0, size - 1); in UI_UTIL_read_pw()
45 ok = UI_add_verify_string(ui, prompt, 0, buff, 0, size - 1, buf); in UI_UTIL_read_pw()
/third_party/curl/src/
H A Dtool_getpass.c62 char *getpass_r(const char *prompt, char *buffer, size_t buflen) in getpass_r() argument
85 prompt, strlen(prompt)); in getpass_r()
99 char *getpass_r(const char *prompt, char *buffer, size_t buflen) in getpass_r() argument
102 fputs(prompt, tool_stderr); in getpass_r()
175 char *getpass_r(const char *prompt, /* prompt to display */ in getpass_r() argument
187 fputs(prompt, tool_stderr); in getpass_r()
/third_party/python/Lib/venv/
H A D__init__.py42 :param prompt: Alternative terminal prefix for the environment.
47 symlinks=False, upgrade=False, with_pip=False, prompt=None,
54 self.orig_prompt = prompt
55 if prompt == '.': # see bpo-38901
56 prompt = os.path.basename(os.getcwd())
57 self.prompt = prompt
127 prompt = self.prompt if self.prompt i
[all...]
/third_party/FreeBSD/sbin/fsck_msdosfs/
H A Dmain.c133 char prompt[256]; in ask() local
146 vsnprintf(prompt, sizeof(prompt), fmt, ap); in ask()
149 printf("%s? %s\n", prompt, def ? "yes" : "no"); in ask()
153 printf("%s? [yn] ", prompt); in ask()
/third_party/openssl/ohos_lite/include/openssl/
H A Dui.h47 The following functions are used to add strings to be printed and prompt
48 strings to prompt for data. The names are UI_{add,dup}_<function>_string
52 add add a text or prompt string. The pointers given to these
54 dup make a copy of the text or prompt string, then add the copy
59 input use the string as data prompt.
60 verify use the string as verification prompt. This
68 and are typically used when one wants to prompt for a yes/no response.
70 All of the functions in this group take a UI and a prompt string.
89 int UI_add_input_string(UI *ui, const char *prompt, int flags,
91 int UI_dup_input_string(UI *ui, const char *prompt, in
[all...]
/third_party/python/Parser/
H A Dmyreadline.c242 PyOS_StdioReadline(FILE *sys_stdin, FILE *sys_stdout, const char *prompt) in PyOS_StdioReadline() argument
258 if (prompt) { in PyOS_StdioReadline()
262 wlen = MultiByteToWideChar(CP_UTF8, 0, prompt, -1, in PyOS_StdioReadline()
272 wlen = MultiByteToWideChar(CP_UTF8, 0, prompt, -1, in PyOS_StdioReadline()
283 fprintf(stderr, "%s", prompt); in PyOS_StdioReadline()
294 if (prompt) { in PyOS_StdioReadline()
295 fprintf(stderr, "%s", prompt); in PyOS_StdioReadline()
355 PyOS_Readline(FILE *sys_stdin, FILE *sys_stdout, const char *prompt) in PyOS_Readline() argument
390 rv = PyOS_StdioReadline (sys_stdin, sys_stdout, prompt); in PyOS_Readline()
393 prompt); in PyOS_Readline()
[all...]
/third_party/node/deps/npm/node_modules/init-package-json/lib/
H A Ddefault-input.js1 /* globals config, dirname, package, basename, yes, prompt */
80 exports.name = yes ? name : prompt('package name', name, (data) => {
90 exports.version = yes ? version : prompt('version', version, (v) => {
98 exports.description = yes ? '' : prompt('description')
118 return yes ? index : prompt('entry point', index)
194 scripts.test = yes ? command || notest : prompt(...promptArgs)
224 return yes ? url || '' : prompt('git repository', url || undefined)
229 exports.keywords = yes ? '' : prompt('keywords', (data) => {
251 : yes ? '' : prompt('author')
255 exports.license = yes ? license : prompt('licens
[all...]
/third_party/node/deps/openssl/openssl/apps/lib/
H A Dapps_ui.c172 char *prompt; in password_callback() local
179 prompt = UI_construct_prompt(ui, "pass phrase", prompt_info); in password_callback()
180 if (prompt == NULL) { in password_callback()
192 ok = UI_add_input_string(ui, prompt, ui_flags, buf, in password_callback()
197 ok = UI_add_verify_string(ui, prompt, ui_flags, buff, in password_callback()
221 OPENSSL_free(prompt); in password_callback()
/third_party/openssl/apps/lib/
H A Dapps_ui.c172 char *prompt; in password_callback() local
179 prompt = UI_construct_prompt(ui, "pass phrase", prompt_info); in password_callback()
180 if (prompt == NULL) { in password_callback()
192 ok = UI_add_input_string(ui, prompt, ui_flags, buf, in password_callback()
197 ok = UI_add_verify_string(ui, prompt, ui_flags, buff, in password_callback()
221 OPENSSL_free(prompt); in password_callback()
/third_party/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,

Completed in 233 milliseconds

12345678