Lines Matching refs:menu_items
628 const struct menu_item menu_items[] = {
799 for (i = 0; i < nitems(menu_items); i++) {
801 strcasecmp(menu_items[i].mi_guid, gt->gt_guid) == 0)
802 return &menu_items[i];
828 return menu_items[item].mi_guid == NULL;
853 for (i = 0; i < nitems(menu_items); i++) {
855 && menu_items[i].mi_mbrid == mt->mt_type)
856 return &menu_items[i];
882 return menu_items[item].mi_mbrid == -1;
892 for (i = 0; i < nitems(menu_items); i++)
900 printf("%02X %-15s", menu_items[col0].mi_menuid,
901 menu_items[col0].mi_name);
906 printf("%02X %-15s", menu_items[col].mi_menuid,
907 menu_items[col].mi_name);
919 for (i = last + 1; i < nitems(menu_items); i++) {
1143 for (i = 0; i < nitems(menu_items); i++) {
1144 if (gpt_item(i) == 0 && menu_items[i].mi_menuid == menuid)
1145 return menu_items[i].mi_guid;