Home
last modified time | relevance | path

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

123456789

/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/lldb/test/benchmarks/expression/
DTestRepeatedExprs.py41 prompt = self.child_prompt
51 child.expect_exact(prompt)
53 child.expect_exact(prompt)
55 child.expect_exact(prompt)
64 child.expect_exact(prompt)
66 child.expect_exact(prompt)
68 child.expect_exact(prompt)
86 prompt = self.child_prompt
96 child.expect_exact(prompt)
98 child.expect_exact(prompt)
[all …]
DTestExpressionCmd.py36 prompt = self.child_prompt
49 child.expect_exact(prompt)
51 child.expect_exact(prompt)
53 child.expect_exact(prompt)
59 child.expect_exact(prompt)
61 child.expect_exact(prompt)
/external/lldb/test/benchmarks/disassembly/
DTestDisassembly.py71 prompt = self.child_prompt
81 child.expect_exact(prompt)
83 child.expect_exact(prompt)
85 child.expect_exact(prompt)
93 child.expect_exact(prompt)
95 child.expect_exact(prompt)
111 prompt = self.child_prompt
121 child.expect_exact(prompt)
123 child.expect_exact(prompt)
125 child.expect_exact(prompt)
[all …]
DTestXcode41Vs42GDBDisassembly.py52 prompt = self.child_prompt
62 child.expect_exact(prompt)
64 child.expect_exact(prompt)
66 child.expect_exact(prompt)
74 child.expect_exact(prompt)
76 child.expect_exact(prompt)
/external/lldb/source/Interpreter/
Dembedded_interpreter.py7 def __init__(self, prompt, dict): argument
9 self.prompt = prompt
53 def my_raw_input (self, prompt): argument
55 stream.write (prompt)
74 prompt = sys.ps2
76 prompt = sys.ps1
77 line = self.my_raw_input(prompt)
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowSpinner.java11 private CharSequence prompt; field in ShadowSpinner
14 public void setPrompt(CharSequence prompt) { in setPrompt() argument
15 this.prompt = prompt; in setPrompt()
20 return prompt; in getPrompt()
/external/lldb/test/benchmarks/turnaround/
DTestCompileRunToBreakpointTurnaround.py37 prompt = self.child_prompt
47 child.expect_exact(prompt)
49 child.expect_exact(prompt)
51 child.expect_exact(prompt)
77 prompt = self.child_prompt
87 child.expect_exact(prompt)
89 child.expect_exact(prompt)
91 child.expect_exact(prompt)
/external/lldb/test/functionalities/stop-hook/
DTestStopHookMechanism.py41 prompt = "(lldb) "
53 child.expect_exact(prompt)
55 child.expect_exact(prompt)
57 child.expect_exact(prompt)
63 child.expect_exact(prompt)
67 child.expect_exact(prompt)
69 child.expect_exact(prompt)
/external/lldb/test/functionalities/stop-hook/multiple_threads/
DTestStopHookMultipleThreads.py46 prompt = "(lldb) "
56 child.expect_exact(prompt)
58 child.expect_exact(prompt)
60 child.expect_exact(prompt)
64 child.expect_exact(prompt)
66 child.expect_exact(prompt)
/external/openssh/
Dreadpass.c119 read_passphrase(const char *prompt, int flags) in read_passphrase() argument
152 if ((ret = ssh_askpass(askpass, prompt)) == NULL) in read_passphrase()
158 if (readpassphrase(prompt, buf, sizeof buf, rppflags) == NULL) { in read_passphrase()
173 char *p, prompt[1024]; in ask_permission() local
177 vsnprintf(prompt, sizeof(prompt), fmt, args); in ask_permission()
180 p = read_passphrase(prompt, RP_USE_ASKPASS|RP_ALLOW_EOF); in ask_permission()
Dsshconnect1.c404 char prompt[1024]; in try_challenge_response_authentication() local
427 snprintf(prompt, sizeof prompt, "%s%s", challenge, in try_challenge_response_authentication()
435 response = read_passphrase(prompt, 0); in try_challenge_response_authentication()
461 try_password_authentication(char *prompt) in try_password_authentication() argument
472 password = read_passphrase(prompt, 0); in try_password_authentication()
756 char prompt[80]; in ssh_userauth1() local
758 snprintf(prompt, sizeof(prompt), "%.30s@%.128s's password: ", in ssh_userauth1()
760 if (try_password_authentication(prompt)) in ssh_userauth1()
/external/fsck_msdos/
Dmain.c136 char prompt[256]; in ask() local
148 vsnprintf(prompt, sizeof(prompt), fmt, ap); in ask()
150 printf("%s? %s\n", prompt, rdonly ? "no" : "yes"); in ask()
154 printf("%s? [yn] ", prompt); in ask()
/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()
251 ostringstream prompt; in DeletePartition() local
254 prompt << "Partition number (" << low + 1 << "-" << high + 1 << "): "; in DeletePartition()
255 partNum = GetNumber(low + 1, high + 1, low, prompt.str()); in DeletePartition()
334 ostringstream prompt; in SwapPartitions() local
[all …]
/external/libmtp/examples/
Dsendtr.c64 static char *prompt (const char *prompt, char *buffer, size_t bufsz, int required) in prompt() argument
69 fprintf(stdout, "%s> ", prompt); in prompt()
202 ptitle = prompt("Title", title, 80, 0); in sendtrack_function()
208 palbum = prompt("Album", album, 80, 0); in sendtrack_function()
214 palbumartist = prompt("Album artist", albumartist, 80, 0); in sendtrack_function()
217 partist = prompt("Artist", artist, 80, 0); in sendtrack_function()
223 pcomposer = prompt("Writer or Composer", composer, 80, 0); in sendtrack_function()
229 pgenre = prompt("Genre", genre, 80, 0); in sendtrack_function()
236 if ( (pnum = prompt("Track number", num, 80, 0)) == NULL ) in sendtrack_function()
247 if ( (pnum = prompt("Year", num, 80, 0)) == NULL ) in sendtrack_function()
[all …]
/external/lldb/test/benchmarks/stepping/
DTestSteppingSpeed.py41 prompt = self.child_prompt
51 child.expect_exact(prompt)
53 child.expect_exact(prompt)
55 child.expect_exact(prompt)
63 child.expect_exact(prompt)
DTestRunHooksThenSteppings.py29 prompt = self.child_prompt
32 self.child.expect_exact(prompt)
43 self.runHooks(child=child, child_prompt=prompt)
51 child.expect_exact(prompt)
/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,
/external/lldb/test/benchmarks/frame_variable/
DTestFrameVariableResponse.py38 prompt = self.child_prompt
53 child.expect_exact(prompt)
57 child.expect_exact(prompt)
62 child.expect_exact(prompt)
/external/lldb/test/benchmarks/startup/
DTestStartupDelays.py45 prompt = self.child_prompt
62 child.expect_exact(prompt)
67 child.expect_exact(prompt)
72 child.expect_exact(prompt)
/external/lldb/test/functionalities/embedded_interpreter/
DTestConvenienceVariables.py36 prompt = "(lldb) "
48 child.expect_exact(prompt)
50 child.expect_exact(prompt)
52 child.expect_exact(prompt)
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/
Dtest_rendering.c53 …v, unsigned int *output_width, unsigned int *output_height, double *acceptable_error, int *prompt);
55 …gv, unsigned int *output_width, unsigned int *output_height, double *acceptable_error, int *prompt) in ParseArgs() argument
63 *prompt = 1; in ParseArgs()
83 *prompt = 0; in ParseArgs()
135 int prompt; in main() local
152 ParseArgs(argc, argv, &output_width, &output_height, &acceptable_error, &prompt); in main()
278 if (prompt) in main()
/external/e2fsprogs/lib/ss/
Dinvocation.c60 new_table->prompt = malloc((unsigned)strlen(subsystem_name)+4); in ss_create_invocation()
61 strcpy(new_table->prompt, subsystem_name); in ss_create_invocation()
62 strcat(new_table->prompt, ": "); in ss_create_invocation()
95 free(t->prompt); in ss_delete_invocation()
/external/openssh/openbsd-compat/
Dreadpassphrase.c62 readpassphrase(const char *prompt, char *buf, size_t bufsiz, int flags) in readpassphrase() argument
135 (void)write(output, prompt, strlen(prompt)); in readpassphrase()
200 getpass(const char *prompt)
204 return(readpassphrase(prompt, buf, sizeof(buf), RPP_ECHO_OFF));

123456789