Home | History | Annotate | Download | only in BootManagerMenuApp

Lines Matching refs:Index

95   UINTN        Index;

104 Index = 0;
112 (String[Index] != NARROW_CHAR) && (String[Index] != WIDE_CHAR) && (String[Index] != 0);
113 Index++, LineWidth = LineWidth + IncrementValue
120 if (String[Index] == 0) {
127 if (String[Index] == NARROW_CHAR) {
131 Index++;
137 Index++;
140 } while (String[Index] != 0);
163 UINTN Index;
176 for (Index = 0; Index < TITLE_TOKEN_COUNT; Index++) {
177 StrWidth = GetLineWidth (BootMenuData->TitleToken[Index]);
181 for (Index = 0; Index < BootMenuData->ItemCount; Index++) {
182 StrWidth = GetLineWidth (BootMenuData->PtrTokens[Index]);
186 for (Index = 0; Index < HELP_TOKEN_COUNT; Index++) {
187 StrWidth = GetLineWidth (BootMenuData->HelpToken[Index]);
306 UINTN Index;
320 for (StrIndex = 0, Index = 0; Index < BootOptionCount; Index++) {
321 if (IgnoreBootOption (&BootOption[Index])) {
325 ASSERT (BootOption[Index].Description != NULL);
329 BootOption[Index].Description,
371 UINTN Index;
410 for (Index = 0; Index < TopShadeNum; Index++, PrintRow++) {
422 for (Index = 0; Index < LowShadeNum; Index++, PrintRow++) {
428 for (Index = TopShadeNum; Index < ItemCountPerScreen - LowShadeNum; Index++, PrintRow++) {
440 for (Index = 0; Index < BootMenuData->MenuScreen.Width - 3; Index++) {
441 String[Index] = 0x20;
443 for (Index = 0; Index < ItemCountPerScreen; Index++) {
444 PrintStringAt (PrintCol, PrintRow + Index, String);
450 for (Index = 0; Index < ItemCountPerScreen; Index++, PrintRow++) {
451 String = HiiGetString (gStringPackHandle, BootMenuData->PtrTokens[Index + FirstItem], NULL);
501 UINTN Index;
528 for (Index = 1; Index < Width - 1; Index++) {
529 PrintCharAt (StartCol + Index, PrintRow, BOXDRAW_HORIZONTAL);
538 for (Index = 0; Index < Width - 2; Index++) {
539 String[Index] = 0x20;
542 for (Index = 0; Index < TITLE_TOKEN_COUNT; Index++) {
551 for (Index = 1; Index < Width - 1; Index++) {
552 PrintCharAt (StartCol + Index, PrintRow, BOXDRAW_HORIZONTAL);
559 for (Index = 0; Index < ItemCountPerScreen; Index++) {
568 for (Index = 1; Index < Width - 1; Index++) {
569 PrintCharAt (StartCol + Index, PrintRow, BOXDRAW_HORIZONTAL);
576 for (Index = 0; Index < HELP_TOKEN_COUNT; Index++) {
586 for (Index = 1; Index < Width - 1; Index++) {
587 PrintCharAt (StartCol + Index, PrintRow, BOXDRAW_HORIZONTAL);
596 for (Index = 0; Index < TITLE_TOKEN_COUNT; Index++, PrintRow++) {
597 String = HiiGetString (gStringPackHandle, BootMenuData->TitleToken[Index], NULL);
598 LineWidth = GetLineWidth (BootMenuData->TitleToken[Index]);
609 for (Index = 0; Index < ItemCountPerScreen; Index++, PrintRow++) {
610 String = HiiGetString (gStringPackHandle, BootMenuData->PtrTokens[Index], NULL);
619 for (Index = 0; Index < HELP_TOKEN_COUNT; Index++, PrintRow++) {
620 String = HiiGetString (gStringPackHandle, BootMenuData->HelpToken[Index], NULL);
621 LineWidth = GetLineWidth (BootMenuData->HelpToken[Index]);
663 UINTN Index;
667 for (ItemNum = 0, Index = 0; Index < BootOptionCount; Index++) {
668 if (IgnoreBootOption (&BootOptions[Index])) {
673 EfiBootManagerBoot (&BootOptions[Index]);
709 UINTN Index;
801 for (Index = 0; Index < MaxTextMode; Index++) {
802 Status = SimpleTextOut->QueryMode (SimpleTextOut, Index, &CurrentColumn, &CurrentRow);
808 Status = SimpleTextOut->SetMode (SimpleTextOut, Index);
822 if (Index == MaxTextMode) {
879 for (Index = 0; Index < HandleCount; Index++) {
880 gBS->DisconnectController (HandleBuffer[Index], NULL, NULL);
882 for (Index = 0; Index < HandleCount; Index++) {
883 gBS->ConnectController (HandleBuffer[Index], NULL, NULL, TRUE);
914 UINTN Index;
1023 gBS->WaitForEvent (1, &gST->ConIn->WaitForKey, &Index);