Lines Matching refs:Index
182 @param MenuNumber The index of Menu Entry.
194 UINTN Index;
200 for (Index = 0; Index < MenuNumber; Index++) {
249 UINTN Index;
299 for (Index = 0; Index < BootOrderListSize / sizeof (UINT16); Index++) {
303 if (((BootOption[Index].Attributes & LOAD_OPTION_HIDDEN) != 0) || ((BootOption[Index].Attributes & LOAD_OPTION_ACTIVE) == 0)) {
307 UnicodeSPrint (BootString, sizeof (BootString), L"Boot%04x", BootOrderList[Index]);
325 BootNextFlag = (BOOLEAN) (*BootNext == BootOrderList[Index]);
338 NewMenuEntry->OptionNumber = BootOrderList[Index];
466 UINTN Index;
497 for (Index = 0; Index < NoDevicePathHandles; Index++) {
498 CurHandle = DevicePathHandle[Index];
561 UINTN Index;
570 Index = 0;
577 for (Index = 0; Index < OrderListSize / sizeof (UINT16); Index++) {
578 if (OptionNumber == OrderList[Index]) {
584 if (Index < OrderListSize / sizeof (UINT16)) {
650 UINTN Index;
679 for (Index = 0; Index < DriverOrderListSize / sizeof (UINT16); Index++) {
684 DriverOrderList[Index]
710 NewMenuEntry->OptionNumber = DriverOrderList[Index];
784 DriverOptionMenu.MenuNumber = Index;
801 UINT16 Index;
813 for (Index = 0, OptionOrderIndex = 0; ((Index < BootOptionMenu.MenuNumber) &&
815 Index++) {
816 NewMenuEntry = BOpt_GetMenuEntry (&BootOptionMenu, Index);
846 UINT16 Index;
859 for (Index = 0, OptionOrderIndex = 0; ((Index < DriverOptionMenu.MenuNumber) &&
861 Index++) {
862 NewMenuEntry = BOpt_GetMenuEntry (&DriverOptionMenu, Index);