Lines Matching refs:key
29 char key[3]; /* key identifier of number */ member
85 enum bootmenu_key *key, int *esc) in bootmenu_autoboot_loop() argument
108 *key = KEY_NONE; in bootmenu_autoboot_loop()
111 *key = KEY_SELECT; in bootmenu_autoboot_loop()
114 *key = KEY_QUIT; in bootmenu_autoboot_loop()
117 *key = KEY_NONE; in bootmenu_autoboot_loop()
135 *key = KEY_SELECT; in bootmenu_autoboot_loop()
139 enum bootmenu_key *key, int *esc) in bootmenu_loop() argument
167 *key = KEY_NONE; in bootmenu_loop()
174 *key = KEY_NONE; in bootmenu_loop()
177 *key = KEY_QUIT; in bootmenu_loop()
186 *key = KEY_NONE; in bootmenu_loop()
194 *key = KEY_UP; in bootmenu_loop()
197 *key = KEY_DOWN; in bootmenu_loop()
200 *key = KEY_NONE; in bootmenu_loop()
207 *key = KEY_SELECT; in bootmenu_loop()
211 *key = KEY_QUIT; in bootmenu_loop()
218 enum bootmenu_key key = KEY_NONE; in bootmenu_choice_entry() local
225 bootmenu_autoboot_loop(menu, &key, &esc); in bootmenu_choice_entry()
228 bootmenu_loop(menu, &key, &esc); in bootmenu_choice_entry()
231 switch (key) { in bootmenu_choice_entry()
246 return iter->key; in bootmenu_choice_entry()
252 return iter->key; in bootmenu_choice_entry()
332 sprintf(entry->key, "%d", i); in bootmenu_create()
369 sprintf(entry->key, "%d", i); in bootmenu_create()
466 if (!menu_item_add(menu, iter->key, iter)) in bootmenu_show()