| /OK3568_Linux_fs/u-boot/scripts/kconfig/ |
| H A D | menu.c | 15 struct menu rootmenu; 16 static struct menu **last_entry_ptr; 21 void menu_warn(struct menu *menu, const char *fmt, ...) in menu_warn() argument 25 fprintf(stderr, "%s:%d:warning: ", menu->file->name, menu->lineno); in menu_warn() 49 struct menu *menu; in menu_add_entry() local 51 menu = xmalloc(sizeof(*menu)); in menu_add_entry() 52 memset(menu, 0, sizeof(*menu)); in menu_add_entry() 53 menu->sym = sym; in menu_add_entry() 54 menu->parent = current_menu; in menu_add_entry() 55 menu->file = current_file; in menu_add_entry() [all …]
|
| H A D | nconf.c | 259 static struct menu *current_menu; 279 static void conf(struct menu *menu); 280 static void conf_choice(struct menu *menu); 281 static void conf_string(struct menu *menu); 284 static void show_help(struct menu *menu); 289 typedef void (*function_key_handler_t)(int *key, struct menu *menu); 290 static void handle_f1(int *key, struct menu *current_item); 291 static void handle_f2(int *key, struct menu *current_item); 292 static void handle_f3(int *key, struct menu *current_item); 293 static void handle_f4(int *key, struct menu *current_item); [all …]
|
| H A D | mconf.c | 277 static struct menu *current_menu; 284 static void conf(struct menu *menu, struct menu *active_menu); 285 static void conf_choice(struct menu *menu); 286 static void conf_string(struct menu *menu); 294 static void show_help(struct menu *menu); 360 struct menu **targets; 435 struct menu *targets[JUMP_NB]; in search_conf() 466 static void build_conf(struct menu *menu) in build_conf() argument 470 struct menu *child; in build_conf() 480 visible = menu_is_visible(menu); in build_conf() [all …]
|
| H A D | lkc_proto.h | 15 extern struct menu rootmenu; 17 bool menu_is_empty(struct menu *menu); 18 bool menu_is_visible(struct menu *menu); 19 bool menu_has_prompt(struct menu *menu); 20 const char * menu_get_prompt(struct menu *menu); 21 struct menu * menu_get_root_menu(struct menu *menu); 22 struct menu * menu_get_parent_menu(struct menu *menu); 23 bool menu_has_help(struct menu *menu); 24 const char * menu_get_help(struct menu *menu); 26 void menu_get_ext_help(struct menu *menu, struct gstr *help);
|
| H A D | qconf.cc | 128 sym = menu->sym; in updateMenu() 129 prop = menu->prompt; in updateMenu() 130 prompt = _(menu_get_prompt(menu)); in updateMenu() 138 if (sym && list->rootEntry == menu) in updateMenu() 229 if (!menu) in testUpdateMenu() 232 sym_calc_value(menu->sym); in testUpdateMenu() 233 if (menu->flags & MENU_CHANGED) { in testUpdateMenu() 235 menu->flags &= ~MENU_CHANGED; in testUpdateMenu() 236 for (i = (ConfigItem*)menu->data; i; i = i->nextItem) in testUpdateMenu() 248 if (menu) { in init() [all …]
|
| H A D | conf.c | 21 static void conf(struct menu *menu); 22 static void check_conf(struct menu *menu); 46 static struct menu *rootEntry; 48 static void print_help(struct menu *menu) in print_help() argument 52 menu_get_ext_help(menu, &help); in print_help() 134 static int conf_string(struct menu *menu) in conf_string() argument 136 struct symbol *sym = menu->sym; in conf_string() 140 printf("%*s%s ", indent - 1, "", _(menu->prompt->text)); in conf_string() 153 print_help(menu); in conf_string() 167 static int conf_sym(struct menu *menu) in conf_sym() argument [all …]
|
| H A D | gconf.c | 62 static struct menu *current; // current node for SINGLE view 63 static struct menu *browsed; // browsed node for SPLIT view 73 static void display_tree(struct menu *menu); 75 static void update_tree(struct menu *src, GtkTreeIter * dst); 76 static void set_node(GtkTreeIter * node, struct menu *menu, gchar ** row); 77 static gchar **fill_row(struct menu *menu); 367 static void text_insert_help(struct menu *menu) in text_insert_help() argument 371 const char *prompt = _(menu_get_prompt(menu)); in text_insert_help() 374 menu_get_ext_help(menu, &help); in text_insert_help() 786 struct menu *menu; in renderer_edited() local [all …]
|
| /OK3568_Linux_fs/kernel/scripts/kconfig/ |
| H A D | menu.c | 15 struct menu rootmenu; 16 static struct menu **last_entry_ptr; 21 void menu_warn(struct menu *menu, const char *fmt, ...) in menu_warn() argument 25 fprintf(stderr, "%s:%d:warning: ", menu->file->name, menu->lineno); in menu_warn() 49 struct menu *menu; in menu_add_entry() local 51 menu = xmalloc(sizeof(*menu)); in menu_add_entry() 52 memset(menu, 0, sizeof(*menu)); in menu_add_entry() 53 menu->sym = sym; in menu_add_entry() 54 menu->parent = current_menu; in menu_add_entry() 55 menu->file = current_file; in menu_add_entry() [all …]
|
| H A D | mconf.c | 277 static struct menu *current_menu; 284 static void conf(struct menu *menu, struct menu *active_menu); 285 static void conf_choice(struct menu *menu); 286 static void conf_string(struct menu *menu); 294 static void show_help(struct menu *menu); 360 struct menu **targets; 435 struct menu *targets[JUMP_NB]; in search_conf() 466 static void build_conf(struct menu *menu) in build_conf() argument 470 struct menu *child; in build_conf() 480 visible = menu_is_visible(menu); in build_conf() [all …]
|
| H A D | nconf.c | 259 static struct menu *current_menu; 279 static void conf(struct menu *menu); 280 static void conf_choice(struct menu *menu); 281 static void conf_string(struct menu *menu); 284 static void show_help(struct menu *menu); 289 typedef void (*function_key_handler_t)(int *key, struct menu *menu); 290 static void handle_f1(int *key, struct menu *current_item); 291 static void handle_f2(int *key, struct menu *current_item); 292 static void handle_f3(int *key, struct menu *current_item); 293 static void handle_f4(int *key, struct menu *current_item); [all …]
|
| H A D | qconf.cc | 104 sym = menu->sym; in updateMenu() 105 prop = menu->prompt; in updateMenu() 106 prompt = menu_get_prompt(menu); in updateMenu() 114 if (sym && list->rootEntry == menu) in updateMenu() 185 if (!menu) in testUpdateMenu() 188 sym_calc_value(menu->sym); in testUpdateMenu() 189 if (menu->flags & MENU_CHANGED) { in testUpdateMenu() 191 menu->flags &= ~MENU_CHANGED; in testUpdateMenu() 192 for (i = (ConfigItem*)menu->data; i; i = i->nextItem) in testUpdateMenu() 204 if (menu) { in init() [all …]
|
| H A D | conf.c | 20 static void conf(struct menu *menu); 21 static void check_conf(struct menu *menu); 47 static struct menu *rootEntry; 49 static void print_help(struct menu *menu) in print_help() argument 53 menu_get_ext_help(menu, &help); in print_help() 132 static int conf_string(struct menu *menu) in conf_string() argument 134 struct symbol *sym = menu->sym; in conf_string() 138 printf("%*s%s ", indent - 1, "", menu->prompt->text); in conf_string() 151 print_help(menu); in conf_string() 165 static int conf_sym(struct menu *menu) in conf_sym() argument [all …]
|
| H A D | lkc.h | 97 void menu_warn(struct menu *menu, const char *fmt, ...); 98 struct menu *menu_add_menu(void); 109 void menu_finalize(struct menu *parent); 112 extern struct menu rootmenu; 114 bool menu_is_empty(struct menu *menu); 115 bool menu_is_visible(struct menu *menu); 116 bool menu_has_prompt(struct menu *menu); 117 const char *menu_get_prompt(struct menu *menu); 118 struct menu *menu_get_root_menu(struct menu *menu); 119 struct menu *menu_get_parent_menu(struct menu *menu); [all …]
|
| H A D | qconf.h | 48 ConfigItem* findConfigItem(struct menu *); 66 void setRootMenu(struct menu *menu); 77 void menuChanged(struct menu *menu); 78 void menuSelected(struct menu *menu); 79 void itemSelected(struct menu *menu); 81 void gotFocus(struct menu *); 94 bool menuSkip(struct menu *); 96 void updateMenuList(ConfigItem *parent, struct menu*); 97 void updateMenuList(struct menu *menu); 104 struct menu *rootEntry; [all …]
|
| /OK3568_Linux_fs/buildroot/support/kconfig/ |
| H A D | menu.c | 15 struct menu rootmenu; 16 static struct menu **last_entry_ptr; 21 void menu_warn(struct menu *menu, const char *fmt, ...) in menu_warn() argument 25 fprintf(stderr, "%s:%d:warning: ", menu->file->name, menu->lineno); in menu_warn() 49 struct menu *menu; in menu_add_entry() local 51 menu = xmalloc(sizeof(*menu)); in menu_add_entry() 52 memset(menu, 0, sizeof(*menu)); in menu_add_entry() 53 menu->sym = sym; in menu_add_entry() 54 menu->parent = current_menu; in menu_add_entry() 55 menu->file = current_file; in menu_add_entry() [all …]
|
| H A D | nconf.c | 259 static struct menu *current_menu; 279 static void conf(struct menu *menu); 280 static void conf_choice(struct menu *menu); 281 static void conf_string(struct menu *menu); 284 static void show_help(struct menu *menu); 289 typedef void (*function_key_handler_t)(int *key, struct menu *menu); 290 static void handle_f1(int *key, struct menu *current_item); 291 static void handle_f2(int *key, struct menu *current_item); 292 static void handle_f3(int *key, struct menu *current_item); 293 static void handle_f4(int *key, struct menu *current_item); [all …]
|
| H A D | mconf.c | 277 static struct menu *current_menu; 284 static void conf(struct menu *menu, struct menu *active_menu); 285 static void conf_choice(struct menu *menu); 286 static void conf_string(struct menu *menu); 294 static void show_help(struct menu *menu); 360 struct menu **targets; 435 struct menu *targets[JUMP_NB]; in search_conf() 466 static void build_conf(struct menu *menu) in build_conf() argument 470 struct menu *child; in build_conf() 480 visible = menu_is_visible(menu); in build_conf() [all …]
|
| H A D | lkc_proto.h | 16 extern struct menu rootmenu; 18 bool menu_is_empty(struct menu *menu); 19 bool menu_is_visible(struct menu *menu); 20 bool menu_has_prompt(struct menu *menu); 21 const char * menu_get_prompt(struct menu *menu); 22 struct menu * menu_get_root_menu(struct menu *menu); 23 struct menu * menu_get_parent_menu(struct menu *menu); 24 bool menu_has_help(struct menu *menu); 25 const char * menu_get_help(struct menu *menu); 27 void menu_get_ext_help(struct menu *menu, struct gstr *help);
|
| H A D | qconf.cc | 128 sym = menu->sym; in updateMenu() 129 prop = menu->prompt; in updateMenu() 130 prompt = _(menu_get_prompt(menu)); in updateMenu() 138 if (sym && list->rootEntry == menu) in updateMenu() 229 if (!menu) in testUpdateMenu() 232 sym_calc_value(menu->sym); in testUpdateMenu() 233 if (menu->flags & MENU_CHANGED) { in testUpdateMenu() 235 menu->flags &= ~MENU_CHANGED; in testUpdateMenu() 236 for (i = (ConfigItem*)menu->data; i; i = i->nextItem) in testUpdateMenu() 248 if (menu) { in init() [all …]
|
| H A D | conf.c | 21 static void conf(struct menu *menu); 22 static void check_conf(struct menu *menu); 45 static struct menu *rootEntry; 47 static void print_help(struct menu *menu) in print_help() argument 51 menu_get_ext_help(menu, &help); in print_help() 130 static int conf_string(struct menu *menu) in conf_string() argument 132 struct symbol *sym = menu->sym; in conf_string() 136 printf("%*s%s ", indent - 1, "", _(menu->prompt->text)); in conf_string() 149 print_help(menu); in conf_string() 163 static int conf_sym(struct menu *menu) in conf_sym() argument [all …]
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | bootmenu.c | 30 struct bootmenu_data *menu; /* this bootmenu */ member 62 int reverse = (entry->menu->active == entry->num); in bootmenu_print_entry() 81 static void bootmenu_autoboot_loop(struct bootmenu_data *menu, in bootmenu_autoboot_loop() argument 86 if (menu->delay > 0) { in bootmenu_autoboot_loop() 87 printf(ANSI_CURSOR_POSITION, menu->count + 5, 1); in bootmenu_autoboot_loop() 88 printf(" Hit any key to stop autoboot: %2d ", menu->delay); in bootmenu_autoboot_loop() 91 while (menu->delay > 0) { in bootmenu_autoboot_loop() 99 menu->delay = -1; in bootmenu_autoboot_loop() 118 if (menu->delay < 0) in bootmenu_autoboot_loop() 121 --menu->delay; in bootmenu_autoboot_loop() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-graphics/menu-cache/files/ |
| H A D | 0001-Support-gcc10-compilation.patch | 6 gcc10 now defaults to -fno-common, and with gcc10 menu-cache compilation fails like 8 /bin/ld: menu-merge.o:menu-cache-gen/menu-tags.h:167: multiple definition of `DirDirs'; main.o:menu… 9 /bin/ld: menu-merge.o:menu-cache-gen/menu-tags.h:164: multiple definition of `AppDirs'; main.o:menu… 10 /bin/ld: menu-merge.o:menu-cache-gen/menu-tags.h:52: multiple definition of `menuTag_Layout'; main.… 15 Upstream-Status: Submitted [https://github.com/lxde/menu-cache/pull/19] 18 menu-cache-gen/menu-tags.h | 55 ++++++++++++-------------------------- 21 diff --git a/menu-cache-gen/menu-tags.h b/menu-cache-gen/menu-tags.h 23 --- a/menu-cache-gen/menu-tags.h 24 +++ b/menu-cache-gen/menu-tags.h 27 #include <menu-cache.h> [all …]
|
| /OK3568_Linux_fs/buildroot/package/menu-cache/ |
| H A D | 0001-Support-gcc10-compilation.patch | 6 gcc10 now defaults to -fno-common, and with gcc10 menu-cache compilation fails like 8 /bin/ld: menu-merge.o:menu-cache-gen/menu-tags.h:167: multiple definition of `DirDirs'; main.o:menu… 9 /bin/ld: menu-merge.o:menu-cache-gen/menu-tags.h:164: multiple definition of `AppDirs'; main.o:menu… 10 /bin/ld: menu-merge.o:menu-cache-gen/menu-tags.h:52: multiple definition of `menuTag_Layout'; main.… 16 https://github.com/lxde/menu-cache/pull/19/commits/1ce739649b4d66339a03fc0ec9ee7a2f7c141780] 19 menu-cache-gen/menu-tags.h | 55 ++++++++++++-------------------------- 22 diff --git a/menu-cache-gen/menu-tags.h b/menu-cache-gen/menu-tags.h 24 --- a/menu-cache-gen/menu-tags.h 25 +++ b/menu-cache-gen/menu-tags.h 28 #include <menu-cache.h> [all …]
|
| /OK3568_Linux_fs/u-boot/doc/ |
| H A D | README.menu | 11 To use the menu code, enable CONFIG_MENU, and include "menu.h" where 15 the menu, and an opaque pointer to data controlled by the consumer. 17 If you want to show a menu, instead starting the shell, define 19 function, which handle your menu. This function returns the remaining 24 #include "menu.h" 27 * Consumers of the menu interfaces will use a struct menu * as the 28 * handle for a menu. struct menu is only fully defined in menu.c, 29 * preventing consumers of the menu interfaces from accessing its 32 struct menu; 35 * NOTE: See comments in common/menu.c for more detailed documentation on [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xwin/ |
| H A D | winprefsyacc.y | 55 static MENUPARSED menu; variable 62 static void SetRootMenu (char *menu); 63 static void SetDefaultSysMenu (char *menu, int pos); 148 | menu 186 menu: MENU STRING LB { OpenMenu($2); free($2); } newline_or_nada menulist RB {CloseMenu();} 302 if (menu.menuItem) free(menu.menuItem); in OpenMenu() 303 menu.menuItem = NULL; in OpenMenu() 304 strncpy(menu.menuName, menuname, MENU_MAX); in OpenMenu() 305 menu.menuName[MENU_MAX] = 0; in OpenMenu() 306 menu.menuItems = 0; in OpenMenu() [all …]
|