Lines Matching refs:num
43 #define menu_cmd(cmd, num, flag, parsef) {cmd, num, flag},
466 grub_menu_get_line(const grub_menu_t *mp, int num)
471 if (num > mp->gm_line_num)
473 for (lp = mp->gm_start; lp != NULL && num != lp->gl_line_num;
480 grub_menu_get_cmdline(const grub_menu_t *mp, int num, char *cmdl, size_t size)
485 if ((ent = grub_menu_get_entry(mp, num)) == NULL)
516 grub_menu_get_entry(const grub_menu_t *mp, int num)
521 if (num == GRUB_ENTRY_DEFAULT) {
523 } else if (num >= mp->gm_entry_num) {
527 ent != NULL && num != ent->ge_entry_num;