Searched defs:prompt (Results 1 - 14 of 14) sorted by relevance

/scripts/kconfig/lxdialog/
H A Dyesno.c42 int dialog_yesno(const char *title, const char *prompt, int height, int width) argument
74 print_autowrap(dialog, prompt, width - 2, 1, 3);
H A Dinputbox.c44 int dialog_inputbox(const char *title, const char *prompt, int height, int width, argument
84 print_autowrap(dialog, prompt, width - 2, 1, 3);
H A Dchecklist.c117 int dialog_checklist(const char *title, const char *prompt, int height, argument
163 print_autowrap(dialog, prompt, width - 2, 1, 3);
H A Dmenubox.c182 int dialog_menu(const char *title, const char *prompt, argument
225 print_autowrap(dialog, prompt, width - 2, 1, 3);
H A Dutil.c329 void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x) argument
335 strcpy(tempstr, prompt);
347 if (prompt_len <= width - x * 2) { /* If prompt is short */
/scripts/kconfig/
H A Dconf.c135 printf("%*s%s ", indent - 1, "", _(menu->prompt->text));
168 printf("%*s%s ", indent - 1, "", _(menu->prompt->text));
360 prop = menu->prompt;
362 const char *prompt; local
375 prompt = menu_get_prompt(menu);
376 if (prompt)
379 indent, '*', _(prompt),
H A Dzconf.y81 %type <string> prompt
166 if (current_entry->prompt)
167 current_entry->prompt->type = P_MENU;
169 zconfprint("warning: menuconfig statement without prompt");
192 config_option: T_PROMPT prompt if_expr T_EOL
195 printd(DEBUG_PARSE, "%s:%d:prompt\n", zconf_curname(), zconf_lineno());
237 | T_EQUAL prompt { $$ = $2; }
276 choice_option: T_PROMPT prompt if_expr T_EOL
279 printd(DEBUG_PARSE, "%s:%d:prompt\n", zconf_curname(), zconf_lineno());
344 mainmenu_stmt: T_MAINMENU prompt n
451 prompt: T_WORD label
[all...]
H A Dmconf.c294 "%s - %s", config_filename, rootmenu.prompt->text);
360 prop = menu->prompt;
363 const char *prompt = menu_get_prompt(menu); local
367 prompt = _(prompt);
371 indent + 1, ' ', prompt);
373 item_make(" %*c%s --->", indent + 1, ' ', prompt);
381 if (prompt) {
383 item_make(" %*c*** %s ***", indent + 1, ' ', _(prompt));
389 if (prompt) {
520 const char *prompt = menu_get_prompt(menu); local
646 const char *prompt = _(menu_get_prompt(menu)); local
705 const char *prompt = menu_get_prompt(menu); local
[all...]
H A Dmenu.c127 struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *dep) argument
135 if (prompt) {
136 if (isspace(*prompt)) {
138 while (isspace(*prompt))
139 prompt++;
141 if (current_entry->prompt && current_entry != &rootmenu)
142 prop_warn(prop, "prompt redefined");
157 current_entry->prompt = prop;
159 prop->text = prompt;
164 struct property *menu_add_prompt(enum prop_type type, char *prompt, struc argument
[all...]
H A Dnconf.gui.c358 const char *title, const char *prompt,
379 prompt_lines = get_line_no(prompt);
381 const char *line = get_line(prompt, i);
411 fill_window(prompt_win, prompt);
357 dialog_inputbox(WINDOW *main_window, const char *title, const char *prompt, const char *init, char **resultp, int *result_len) argument
H A Dexpr.h116 * prompt "foo prompt"
124 P_PROMPT, /* prompt "foo prompt" or "BAZ Value" */
126 P_MENU, /* prompt associated with a menuconfig option */
139 const char *text; /* the prompt value - P_PROMPT, P_MENU, P_COMMENT */
163 struct property *prompt; member in struct:menu
H A Dnconf.c639 "%s - %s", config_filename, rootmenu.prompt->text);
745 prop = menu->prompt;
748 const char *prompt = menu_get_prompt(menu); local
750 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN;
754 prompt = _(prompt);
759 indent + 1, ' ', prompt);
764 ' ', prompt);
770 if (prompt) {
947 show_menu(const char *prompt, const char *instructions, int selected_index, int *last_top_row) argument
1068 const char *prompt = menu_get_prompt(menu); local
1233 const char *prompt = _(menu_get_prompt(menu)); local
1350 const char *prompt = menu_get_prompt(menu); local
[all...]
H A Dgconf.c212 gtk_window_set_title(GTK_WINDOW(main_wnd), rootmenu.prompt->text);
395 const char *prompt = _(menu_get_prompt(menu)); local
406 gtk_text_buffer_insert_with_tags(buffer, &end, prompt, -1, tag1,
736 ptype = current->prompt ? current->prompt->type : P_UNKNOWN;
934 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN;
1087 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN;
1371 prop = child->prompt;
[all...]
H A Dqconf.cc119 QString prompt; local
126 prompt = "..";
131 prop = menu->prompt;
132 prompt = _(menu_get_prompt(menu));
218 prompt = QString("%1: %2").arg(prompt).arg(data);
220 prompt = QString("(%2) %1").arg(prompt).arg(data);
224 prompt += _(" (NEW)");
226 setText(promptColIdx, prompt);
[all...]

Completed in 93 milliseconds