Searched defs:Index2 (Results 1 - 25 of 39) sorted by relevance

12

/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Disk/PartitionDxe/
H A DMbr.c47 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 DGpt.c663 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 DUnicodeCollationEng.c104 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 DMbr.c73 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 DGpt.c690 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 DPpi.c611 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 DMd5.c75 #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 DBaseUefiTianoCustomDecompressLib.c494 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 DConsoleOption.c346 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 DBootMaint.c284 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 DUpdatePage.c455 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 DVariable.c38 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 DBBSsupport.c1197 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 DFwPadFile.c1017 UINTN Index2; local
1091 for (Index2 = 0; Index2 < HeaderSize; Index2++) {
1092 FfsBuffer[Index1][Index2] = (UINT8)~FfsBuffer[Index1][Index2];
H A DFwVolWrite.c1351 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 DProcessOptions.c402 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 DInputHandler.c45 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 DBaseUefiDecompressLib.c499 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 DInit.c812 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 DKeyBoard.c598 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 DDispatcher.c48 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 DIfConfig6.c1104 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 DDhcp6Utility.c436 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 DDrvCfg.c1057 UINTN Index2; local
1071 Index2 = *CurrentHandle == NULL ? 0 : ConvertHandleToHandleIndex(*CurrentHandle);
1078 Index2
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/
H A DBiosSnp16.c309 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...]

Completed in 76 milliseconds

12