Home
last modified time | relevance | path

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

12345678910>>...20

/third_party/node/test/parallel/
Dtest-repl-persistent-history.js70 const prompt = '> '; constant
83 expected: [prompt, replDisabled, prompt]
88 expected: [prompt, replDisabled, prompt]
93 expected: [prompt, `${prompt}'you look fabulous today'`, prompt]
99 prompt,
100 '2', '1', '21\n', prompt, prompt,
101 "'", '4', '2', "'", "'42'\n", prompt, prompt,
109 prompt,
110 `${prompt}'42'`,
111 `${prompt}21`,
[all …]
Dtest-repl-programmatic-history.js68 const prompt = '> '; constant
81 expected: [prompt, replDisabled, prompt]
86 expected: [prompt, replDisabled, prompt]
91 expected: [prompt, `${prompt}'you look fabulous today'`, prompt]
97 prompt,
100 '2', '1', '21\n', prompt, prompt,
101 "'", '4', '2', "'", "'42'\n", prompt, prompt,
109 prompt,
110 `${prompt}'42'`,
111 `${prompt}21`,
[all …]
Dtest-repl-history-navigation.js64 const prompt = '> '; constant
85 expected: [prompt,
86 `${prompt}Array(100).fill(1).map((e, i) => i ** 2)`,
92 `${prompt}{key : {key2 :[] }}`,
94 `${prompt}555 + 909`,
96 `${prompt}let ab = 45`,
97 prompt,
98 `${prompt}let ab = 45`,
99 `${prompt}555 + 909`,
101 `${prompt}{key : {key2 :[] }}`,
[all …]
Dtest-repl-reverse-search.js59 const prompt = '> '; constant
114 prompt, '\x1B[3G',
180 prompt,
214 prompt, '\x1B[3G',
226 prompt, '\x1B[3G',
232 prompt, '\x1B[3G',
242 prompt, '\x1B[3G',
253 `${prompt}ab = "aaaa"`, '\x1B[14G',
255 `${prompt}repl.repl.historyIndex`, '\x1B[25G', '\n// 8',
264 prompt, '\x1B[3G',
[all …]
Dtest-readline-interface.js432 const [rli, fi] = getInterface({ terminal: true, prompt: '' }); property
443 const [rli, fi] = getInterface({ terminal: true, prompt: '' }); property
464 const [rli, fi] = getInterface({ terminal: true, prompt: '' }); property
484 const [rli, fi] = getInterface({ terminal: true, prompt: '' }); property
503 const [rli, fi] = getInterface({ terminal: true, prompt: '' }); property
522 const [rli, fi] = getInterface({ terminal: true, prompt: '' }); property
541 let [rli, fi] = getInterface({ terminal: true, prompt: '' }); property
552 [rli, fi] = getInterface({ terminal: true, prompt: '' }); property
569 let [rli, fi] = getInterface({ terminal: true, prompt: '' }); property
581 [rli, fi] = getInterface({ terminal: true, prompt: '' }); property
[all …]
/third_party/python/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 …]
/third_party/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 …]
/third_party/node/deps/npm/node_modules/promzard/
Dpromzard.js72 this.ctx.prompt = this.makePrompt()
120 return prompt.bind(this)
121 function prompt () { function
132 p = a.prompt || p
175 var prompt = this.prompts[n]
176 if (isNaN(n) || !prompt)
180 if (undefined === prompt[0])
181 prompt[0] = k
184 if (undefined === prompt[1])
185 prompt[1] = this.ctx[k]
[all …]
DREADME.md30 "greeting": prompt("Who shall you greet?", "world", function (who) {
53 the `prompt` function is injected into the context object, so watch out.
67 ### prompt(...)
69 In the promzard input module, you can call the `prompt` function.
73 1. `string` The first string encountered is the prompt. The second is
77 3. `object` The `prompt` member is the prompt, the `default` member is
94 In the async function, you can also call prompt() and return the result
95 of the prompt in the callback.
102 // if there's an error, no prompt, just error
103 // otherwise prompt and use the actual file size as the default
[all …]
/third_party/openssl/crypto/evp/
Devp_key.c20 void EVP_set_pw_prompt(const char *prompt) in EVP_set_pw_prompt() argument
22 if (prompt == NULL) in EVP_set_pw_prompt()
25 strncpy(prompt_string, prompt, 79); in EVP_set_pw_prompt()
43 int EVP_read_pw_string(char *buf, int len, const char *prompt, int verify) in EVP_read_pw_string() argument
45 return EVP_read_pw_string_min(buf, 0, len, prompt, verify); in EVP_read_pw_string()
48 int EVP_read_pw_string_min(char *buf, int min, int len, const char *prompt, in EVP_read_pw_string_min() argument
55 if ((prompt == NULL) && (prompt_string[0] != '\0')) in EVP_read_pw_string_min()
56 prompt = prompt_string; in EVP_read_pw_string_min()
60 if (UI_add_input_string(ui, prompt, 0, buf, min, in EVP_read_pw_string_min()
63 && UI_add_verify_string(ui, prompt, 0, buff, min, in EVP_read_pw_string_min()
/third_party/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()
/third_party/node/deps/npm/node_modules/promzard/example/npm-init/
Dinit-input.js5 "name" : prompt('name',
8 "version" : prompt('version', typeof version !== "undefined"
35 return prompt('description', value);
53 return prompt('entry point', f || 'index.js')
135 s.prepublish = prompt('build command',
145 s.test = prompt('test command', 'tap test/*.js', tx)
147 s.test = prompt('test command', 'expresso test', tx)
149 s.test = prompt('test command', 'mocha', tx)
151 s.test = prompt('test command', tx)
174 return prompt('git repository', u)
[all …]
/third_party/openssl/crypto/ui/
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() argument
171 s = general_allocate_prompt(ui, prompt, prompt_freeable, in general_allocate_boolean()
198 int UI_add_input_string(UI *ui, const char *prompt, int flags, in UI_add_input_string() argument
201 return general_allocate_string(ui, prompt, 0, in UI_add_input_string()
207 int UI_dup_input_string(UI *ui, const char *prompt, int flags, in UI_dup_input_string() argument
[all …]
/third_party/node/deps/npm/node_modules/read/lib/
Dread.js20 var prompt = (opts.prompt || '').trim() + ' '
28 prompt += '(<default hidden>) '
32 prompt += '(' + def + ') '
37 var m = new Mute({ replace: opts.replace, prompt: prompt }) property
50 rl.setPrompt(prompt)
51 rl.prompt()
/third_party/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 …]
/third_party/node/deps/npm/node_modules/init-package-json/
Ddefault-input.js64 exports.name = yes ? name : prompt('package name', niceName(name), function (data) {
79 prompt('version', version, function (version) {
87 exports.description = yes ? '' : prompt('description')
109 return cb(null, yes ? index : prompt('entry point', index))
182 s.test = command ? prompt(ps, command, tx) : prompt(ps, tx)
192 return cb(null, yes ? '' : prompt('git repository'))
205 return cb(null, yes ? u : prompt('git repository', u))
211 exports.keywords = yes ? '' : prompt('keywords', function (s) {
230 : yes ? '' : prompt('author')
237 exports.license = yes ? license : prompt('license', license, function (data) {
/third_party/FreeBSD/sbin/fsck_msdosfs/
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()
/third_party/glib/gio/tests/
Dgtlsconsoleinteraction.c48 getpass (const gchar *prompt) in G_DEFINE_TYPE()
53 g_printf ("%s", prompt); in G_DEFINE_TYPE()
81 gchar *prompt; in g_tls_console_interaction_ask_password() local
83 prompt = g_strdup_printf ("Password \"%s\"': ", g_tls_password_get_description (password)); in g_tls_console_interaction_ask_password()
84 value = getpass (prompt); in g_tls_console_interaction_ask_password()
85 g_free (prompt); in g_tls_console_interaction_ask_password()
/third_party/python/Parser/
Dmyreadline.c241 PyOS_StdioReadline(FILE *sys_stdin, FILE *sys_stdout, const char *prompt) in PyOS_StdioReadline() argument
257 if (prompt) { in PyOS_StdioReadline()
261 wlen = MultiByteToWideChar(CP_UTF8, 0, prompt, -1, in PyOS_StdioReadline()
271 wlen = MultiByteToWideChar(CP_UTF8, 0, prompt, -1, in PyOS_StdioReadline()
282 fprintf(stderr, "%s", prompt); in PyOS_StdioReadline()
293 if (prompt) { in PyOS_StdioReadline()
294 fprintf(stderr, "%s", prompt); in PyOS_StdioReadline()
354 PyOS_Readline(FILE *sys_stdin, FILE *sys_stdout, const char *prompt) in PyOS_Readline() argument
389 rv = PyOS_StdioReadline (sys_stdin, sys_stdout, prompt); in PyOS_Readline()
392 prompt); in PyOS_Readline()
/third_party/python/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
179 if self.prompt is not None:
353 text = text.replace('__VENV_PROMPT__', context.prompt)
418 symlinks=False, with_pip=False, prompt=None, upgrade_deps=False): argument
422 prompt=prompt, upgrade_deps=upgrade_deps)
[all …]
/third_party/openssl/include/openssl/
Dui.h89 int UI_add_input_string(UI *ui, const char *prompt, int flags,
91 int UI_dup_input_string(UI *ui, const char *prompt, int flags,
93 int UI_add_verify_string(UI *ui, const char *prompt, int flags,
96 int UI_dup_verify_string(UI *ui, const char *prompt, int flags,
99 int UI_add_input_boolean(UI *ui, const char *prompt, const char *action_desc,
102 int UI_dup_input_boolean(UI *ui, const char *prompt, const char *action_desc,
358 int UI_UTIL_read_pw_string(char *buf, int length, const char *prompt,
360 int UI_UTIL_read_pw(char *buf, char *buff, int size, const char *prompt,
/third_party/e2fsprogs/lib/ss/
Dinvocation.c70 new_table->prompt = malloc((unsigned)strlen(subsystem_name)+4); in ss_create_invocation()
71 if (!new_table->prompt) in ss_create_invocation()
74 strcpy(new_table->prompt, subsystem_name); in ss_create_invocation()
75 strcat(new_table->prompt, ": "); in ss_create_invocation()
105 free(new_table->prompt); in ss_create_invocation()
122 free(t->prompt); in ss_delete_invocation()
/third_party/node/deps/npm/node_modules/promzard/test/
Dfn.input5 "b": prompt('To be or not to be?', '!2b', function (s) {
9 "x": prompt(function (x) { return x * 100 }),
16 return cb(null, prompt('a prompt at any other time would smell as sweet'))
/third_party/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