/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Disk/PartitionDxe/ |
H A D | Mbr.c | 47 INTN Index2; local 80 for (Index2 = Index1 + 1; Index2 < MAX_MBR_PARTITIONS; Index2++) { 81 if (Mbr->Partition[Index2].OSIndicator == 0x00 || UNPACK_UINT32 (Mbr->Partition[Index2].SizeInLBA) == 0) { 85 NewEndingLBA = UNPACK_UINT32 (Mbr->Partition[Index2].StartingLBA) + UNPACK_UINT32 (Mbr->Partition[Index2].SizeInLBA) - 1; 86 if (NewEndingLBA >= StartingLBA && UNPACK_UINT32 (Mbr->Partition[Index2].StartingLBA) <= EndingLBA) {
|
H A D | Gpt.c | 663 UINTN Index2; local 691 for (Index2 = Index1 + 1; Index2 < PartHeader->NumberOfPartitionEntries; Index2++) { 692 Entry = (EFI_PARTITION_ENTRY *) ((UINT8 *) PartEntry + Index2 * PartHeader->SizeOfPartitionEntry); 702 PEntryStatus[Index2].Overlap = TRUE;
|
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/ |
H A D | UnicodeCollationEng.c | 104 UINTN Index2; local 116 Index2 = Index - 0x20; 117 mEngUpperMap[Index] = (CHAR8) Index2; 118 mEngLowerMap[Index2] = (CHAR8) Index; 121 mEngInfoMap[Index2] |= CHAR_FAT_VALID; 126 Index2 = mOtherChars[Index]; 127 mEngInfoMap[Index2] |= CHAR_FAT_VALID;
|
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/PartitionDxe/ |
H A D | Mbr.c | 73 INTN Index2; local 106 for (Index2 = Index1 + 1; Index2 < MAX_MBR_PARTITIONS; Index2++) { 107 if (Mbr->Partition[Index2].OSIndicator == 0x00 || UNPACK_UINT32 (Mbr->Partition[Index2].SizeInLBA) == 0) { 111 NewEndingLBA = UNPACK_UINT32 (Mbr->Partition[Index2].StartingLBA) + UNPACK_UINT32 (Mbr->Partition[Index2].SizeInLBA) - 1; 112 if (NewEndingLBA >= StartingLBA && UNPACK_UINT32 (Mbr->Partition[Index2].StartingLBA) <= EndingLBA) {
|
H A D | Gpt.c | 690 UINTN Index2; local 718 for (Index2 = Index1 + 1; Index2 < PartHeader->NumberOfPartitionEntries; Index2++) { 719 Entry = (EFI_PARTITION_ENTRY *) ((UINT8 *) PartEntry + Index2 * PartHeader->SizeOfPartitionEntry); 729 PEntryStatus[Index2].Overlap = TRUE;
|
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Pei/Ppi/ |
H A D | Ppi.c | 611 INTN Index2; local 624 for (Index2 = InstallStartIndex; Index2 < InstallStopIndex; Index2++) { 625 SearchGuid = PrivateData->PpiData.PpiListPtrs[Index2].Ppi->Guid; 642 (PrivateData->PpiData.PpiListPtrs[Index2].Ppi)->Ppi
|
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/IScsiDxe/ |
H A D | Md5.c | 75 #define SA MedStates[Index2 & 3] 76 #define SB MedStates[(Index2 + 1) & 3] 77 #define SC MedStates[(Index2 + 2) & 3] 78 #define SD MedStates[(Index2 + 3) & 3] 186 UINT32 Index2; local 202 for (Index2 = 16; Index2 > 0; Index2--) { 204 SA = ROTATE_LEFT (SA, Md5_S[Index1][Index2 & 3]);
|
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/ |
H A D | BaseUefiTianoCustomDecompressLib.c | 494 UINT16 Index2; local 533 Index2 = Sd->mCTable[Sd->mBitBuf >> (BITBUFSIZ - 12)]; 535 if (Index2 >= NC) { 540 Index2 = Sd->mRight[Index2]; 542 Index2 = Sd->mLeft[Index2]; 546 } while (Index2 >= NC); 551 FillBuf (Sd, Sd->mCLen[Index2]); 553 return Index2; [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/ |
H A D | ConsoleOption.c | 346 UINTN Index2; local 361 for (Index2 = Index1+1; Index2 < NoHandles; Index2++) { 362 if (!RetrieveUartUid (Handles[Index2], &AcpiUid2)) { 367 TempHandle = Handles[Index2]; 368 Position = Index2; 409 UINTN Index2; local 572 for (Index2 = 0; Index2 < 777 UINTN Index2; local [all...] |
H A D | BootMaint.c | 284 UINT16 Index2; local 373 for (Index2 = Index; Index2 < Number - 1; Index2++) { 374 NewLegacyDev[Index2] = NewLegacyDev[Index2 + 1]; 377 NewLegacyDev[Index2] = 0xFF; 379 for (Index2 = 0; Index2 < Number; Index2 [all...] |
H A D | UpdatePage.c | 455 UINT16 Index2; local 487 for (Index2 = 0; ((Index2 < TerminalMenu.MenuNumber) && \ 488 (Index2 < (sizeof (CallbackData->BmmFakeNvData.ConsoleCheck) / sizeof (UINT8)))); Index2++) { 490 NewMenuEntry = BOpt_GetMenuEntry (&TerminalMenu, Index2);
|
H A D | Variable.c | 38 UINTN Index2; local 41 Index2 = 0; 43 NewMenuEntry = BOpt_GetMenuEntry (&BootOptionMenu, (Index - Index2)); 61 Index2++; 76 BootOptionMenu.MenuNumber -= Index2; 196 UINTN Index2; local 199 Index2 = 0; 201 NewMenuEntry = BOpt_GetMenuEntry (&DriverOptionMenu, (Index - Index2)); 219 Index2++; 226 DriverOptionMenu.MenuNumber -= Index2; 1090 UINTN Index2; local [all...] |
H A D | BBSsupport.c | 1197 UINTN Index2; local 1452 for (Index2 = 0; Index2 < *Idx; Index2++) { 1453 if ((NewDevPtr[Index2] & 0xFF) == (UINT16) Index) { 1458 if (Index2 == *Idx) { 1460 // Index2 == *Idx means we didn't find Index 1464 for (Index2 = 0; Index2 < *Idx; Index2 [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/ |
H A D | FwPadFile.c | 1017 UINTN Index2; local 1091 for (Index2 = 0; Index2 < HeaderSize; Index2++) { 1092 FfsBuffer[Index1][Index2] = (UINT8)~FfsBuffer[Index1][Index2];
|
H A D | FwVolWrite.c | 1351 UINTN Index2; local 1547 for (Index2 = 0; Index2 < HeaderSize; Index2++) { 1548 FileBuffer[Index2] = (UINT8)~FileBuffer[Index2]; 1551 for (Index2 = ActualSize; Index2 < BufferSize; Index2++) { 1552 FileBuffer[Index2] [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/SetupBrowserDxe/ |
H A D | ProcessOptions.c | 402 UINTN Index2; local 476 Index2 = 0; 477 while (!IsNull (&Question->OptionListHead, Link) && Index2 < Question->MaxContainers) { 479 SetArrayData (ValueArray, ValueType, Index2, Option->Value.Value.u64); 480 Index2++; 483 SetArrayData (ValueArray, ValueType, Index2, 0);
|
H A D | InputHandler.c | 45 UINTN Index2; local 203 for (Index = CurrentCursor - 1, Index2 = CurrentCursor; Index2 < Count; Index++, Index2++) { 204 TempString[Index] = StringPtr[Index2]; 919 UINTN Index2; local 1130 Index2 = Top + 1; 1131 for (Index = TopOptionIndex; (Index < PopUpMenuLines) && (Index2 < Bottom); Index++) { 1157 PrintStringAt (Start + 2, Index2, StringPtr); 1161 PrintStringAt (Start + 2, Index2, StringPt [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseUefiDecompressLib/ |
H A D | BaseUefiDecompressLib.c | 499 UINT16 Index2; local 538 Index2 = Sd->mCTable[Sd->mBitBuf >> (BITBUFSIZ - 12)]; 540 if (Index2 >= NC) { 545 Index2 = Sd->mRight[Index2]; 547 Index2 = Sd->mLeft[Index2]; 551 } while (Index2 >= NC); 556 FillBuf (Sd, Sd->mCLen[Index2]); 558 return Index2; [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/OptionRomPkg/UndiRuntimeDxe/ |
H A D | Init.c | 812 INT32 Index2; local 849 for (Index = 0, Index2 = 0; Index < 3; Index++) { 851 MACAddress.Addr[Index2++] = (UINT8) Val; 852 MACAddress.Addr[Index2++] = (UINT8) (Val >> 8); 855 SetMem (MACAddress.Addr + Index2, sizeof (EFI_MAC_ADDRESS) - Index2, 0); 856 //for (; Index2 < sizeof (EFI_MAC_ADDRESS); Index2++) { 857 // MACAddress.Addr[Index2] = 0;
|
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Usb/UsbKbDxe/ |
H A D | KeyBoard.c | 598 UINTN Index2; local 656 for (Index2 = (UINT8) Index + 1; Index2 < KeyboardLayout->DescriptorCount; Index2++) { 994 UINT8 Index2; local 1145 for (Index2 = 2; Index2 < 8; Index2++) { 1147 if (!USBKBD_VALID_KEYCODE (CurKeyCodeBuffer[Index2])) { 1151 if (OldKeyCodeBuffer[Index] == CurKeyCodeBuffer[Index2]) { [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Pei/Dispatcher/ |
H A D | Dispatcher.c | 48 UINTN Index2; local 131 Index2 = 0; 132 for (Index = 0; Index2 < Private->AprioriCount; Index++) { 133 while (Index2 < Private->AprioriCount) { 134 Guid = ScanGuid (FileGuid, PeimCount * sizeof (EFI_GUID), &Apriori[Index2++]); 160 for (Index2 = 0; Index2 < PeimCount; Index2++) { 161 if (Private->CurrentFvFileHandles[Index2] != NULL) { 162 TempFileHandles[Index] = Private->CurrentFvFileHandles[Index2]; 626 UINT32 Index2; local [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/Application/IfConfig6/ |
H A D | IfConfig6.c | 1104 UINT32 Index2; local 1351 for (Index2 = 0; Index2 < IfInfo->AddressInfoCount; Index2++) { 1352 if (EFI_IP6_EQUAL (&IfInfo->AddressInfo[Index2].Address, &CfgManAddr[Index].Address) && 1353 (IfInfo->AddressInfo[Index2].PrefixLength == CfgManAddr[Index].PrefixLength)) {
|
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/Dhcp6Dxe/ |
H A D | Dhcp6Utility.c | 436 UINTN Index2; local 447 for (Index2 = 0; Index2 < Ia->IaAddressCount; Index2++) { 451 &Ia->IaAddress[Index2], 490 UINTN Index2; local 531 for (Index2 = 0; Index2 < Ia->IaAddressCount; Index2++) { 535 &Ia->IaAddress[Index2], [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellDriver1CommandsLib/ |
H A D | DrvCfg.c | 1057 UINTN Index2; local 1071 Index2 = *CurrentHandle == NULL ? 0 : ConvertHandleToHandleIndex(*CurrentHandle); 1078 Index2
|
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/ |
H A D | BiosSnp16.c | 309 UINTN Index2; local 665 for (Index2 = 0; Index2 < 16; Index2++) { 666 DEBUG ((DEBUG_NET, "%02x ", SimpleNetworkDevice->SimpleNetworkMode.MCastFilter[Index].Addr[Index2])); 673 for (Index2 = 0; Index2 < 16; Index2++) { 674 DEBUG ((DEBUG_NET, "%02x ", SimpleNetworkDevice->SimpleNetworkMode.CurrentAddress.Addr[Index2])); 680 for (Index2 [all...] |