Searched defs:Index1 (Results 1 - 25 of 27) sorted by relevance

12

/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Disk/PartitionDxe/
H A DMbr.c46 INTN Index1; local
57 for (Index1 = 0; Index1 < MAX_MBR_PARTITIONS; Index1++) {
58 if (Mbr->Partition[Index1].OSIndicator == 0x00 || UNPACK_UINT32 (Mbr->Partition[Index1].SizeInLBA) == 0) {
63 StartingLBA = UNPACK_UINT32 (Mbr->Partition[Index1].StartingLBA);
64 EndingLBA = StartingLBA + UNPACK_UINT32 (Mbr->Partition[Index1].SizeInLBA) - 1;
80 for (Index2 = Index1 + 1; Index2 < MAX_MBR_PARTITIONS; Index2++) {
88 // This region overlaps with the Index1't
[all...]
H A DGpt.c662 UINTN Index1; local
666 for (Index1 = 0; Index1 < PartHeader->NumberOfPartitionEntries; Index1++) {
667 Entry = (EFI_PARTITION_ENTRY *) ((UINT8 *) PartEntry + Index1 * PartHeader->SizeOfPartitionEntry);
680 PEntryStatus[Index1].OutOfRange = TRUE;
688 PEntryStatus[Index1].OsSpecific = TRUE;
691 for (Index2 = Index1 + 1; Index2 < PartHeader->NumberOfPartitionEntries; Index2++) {
699 // This region overlaps with the Index1'th region
701 PEntryStatus[Index1]
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/PartitionDxe/
H A DMbr.c72 INTN Index1; local
83 for (Index1 = 0; Index1 < MAX_MBR_PARTITIONS; Index1++) {
84 if (Mbr->Partition[Index1].OSIndicator == 0x00 || UNPACK_UINT32 (Mbr->Partition[Index1].SizeInLBA) == 0) {
89 StartingLBA = UNPACK_UINT32 (Mbr->Partition[Index1].StartingLBA);
90 EndingLBA = StartingLBA + UNPACK_UINT32 (Mbr->Partition[Index1].SizeInLBA) - 1;
106 for (Index2 = Index1 + 1; Index2 < MAX_MBR_PARTITIONS; Index2++) {
114 // This region overlaps with the Index1't
[all...]
H A DGpt.c689 UINTN Index1; local
693 for (Index1 = 0; Index1 < PartHeader->NumberOfPartitionEntries; Index1++) {
694 Entry = (EFI_PARTITION_ENTRY *) ((UINT8 *) PartEntry + Index1 * PartHeader->SizeOfPartitionEntry);
707 PEntryStatus[Index1].OutOfRange = TRUE;
715 PEntryStatus[Index1].OsSpecific = TRUE;
718 for (Index2 = Index1 + 1; Index2 < PartHeader->NumberOfPartitionEntries; Index2++) {
726 // This region overlaps with the Index1'th region
728 PEntryStatus[Index1]
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Library/GenericBdsLib/
H A DPerformance.c38 UINTN Index1; local
59 Index1 = 0;
61 GaugeString[Index1] = PdbFileName[Index];
62 Index1++;
63 if (Index1 == PERF_TOKEN_LENGTH - 1) {
68 GaugeString[Index1] = 0;
H A DBdsMisc.c1413 UINTN Index1; local
1489 for (Index1 = 0; CurrentMemoryTypeInformation[Index1].Type != EfiMaxMemoryType; Index1++) {
1490 if (PreviousMemoryTypeInformation[Index].Type == CurrentMemoryTypeInformation[Index1].Type) {
1494 if (CurrentMemoryTypeInformation[Index1].Type == EfiMaxMemoryType) {
1503 Current = CurrentMemoryTypeInformation[Index1].NumberOfPages;
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Pei/Ppi/
H A DPpi.c610 INTN Index1; local
619 for (Index1 = NotifyStartIndex; Index1 > NotifyStopIndex; Index1--) {
620 NotifyDescriptor = PrivateData->PpiData.PpiListPtrs[Index1].Notify;
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/IScsiDxe/
H A DMd5.c185 UINT32 Index1; local
200 for (Index1 = 0; Index1 < 4; Index1++) {
201 IndexD = Md5_Data[Index1][0];
203 SA += (*Md5_F[Index1]) (SB, SC, SD) + Data[IndexD] + Md5_T[IndexT];
204 SA = ROTATE_LEFT (SA, Md5_S[Index1][Index2 & 3]);
207 IndexD += Md5_Data[Index1][1];
214 for (Index1 = 0; Index1 <
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/
H A DConsoleOption.c345 UINTN Index1; local
353 for (Index1 = 0; Index1 < NoHandles-1; Index1++) {
354 if (!RetrieveUartUid (Handles[Index1], &AcpiUid1)) {
357 TempHandle = Handles[Index1];
358 Position = Index1;
361 for (Index2 = Index1+1; Index2 < NoHandles; Index2++) {
371 Handles[Position] = Handles[Index1];
372 Handles[Index1]
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/
H A DFwPadFile.c1016 UINTN Index1; local
1059 for (Index1 = 0; Index1 < NumOfFiles; Index1++) {
1061 ActualFileSize[Index1] = FileData[Index1].BufferSize + HeaderSize;
1062 if (ActualFileSize[Index1] > 0x00FFFFFF) {
1064 ActualFileSize[Index1] = FileData[Index1].BufferSize + HeaderSize;
1066 BufferSize[Index1]
[all...]
H A DFwVolWrite.c1350 UINTN Index1; local
1399 for (Index1 = 0; Index1 < NumberOfFiles; Index1++) {
1401 if ((FileData[Index1].BufferSize + sizeof (EFI_FFS_FILE_HEADER) > 0x00FFFFFF) && !FvDevice->IsFfs3Fv) {
1409 if (FileData[Index1].BufferSize == 0) {
1415 FileData[Index1].NameGuid,
1429 if (FileData[Index1].Type == EFI_FV_FILETYPE_FFS_PAD) {
1447 for (Index1 = 0; Index1 < NumberOfFile
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Pei/Image/
H A DImage.c554 INT32 Index1; local
581 for (Index1 = 0; AsciiString[Index + 1 + Index1] != '.'; Index1 ++) {
582 AsciiBuffer [Index1] = AsciiString[Index + 1 + Index1];
584 AsciiBuffer [Index1] = '\0';
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Common/
H A DBasePeCoff.c1232 UINT32 Index, Index1; local
1243 Index1 = 0;
1269 for (Index1 = 0; Index1 < Index; Index1 ++) {
1270 if ((DirectoryEntry->VirtualAddress >= SectionHeader[Index1].VirtualAddress) &&
1271 (DirectoryEntry->VirtualAddress < (SectionHeader[Index1].VirtualAddress + SectionHeader[Index1].Misc.VirtualSize))) {
1274 SectionHeader [Index1].VirtualAddress +
1275 SectionHeader [Index1]
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Pei/Dispatcher/
H A DDispatcher.c625 UINT32 Index1; local
665 for (Index1 = 0; Index1 <= SaveCurrentFvCount; Index1++) {
666 for (Index2 = 0; (Index2 < FixedPcdGet32 (PcdPeiCoreMaxPeimPerFv)) && (Private->Fv[Index1].FvFileHandles[Index2] != NULL); Index2++) {
667 if (Private->Fv[Index1].PeimState[Index2] == PEIM_STATE_REGISITER_FOR_SHADOW) {
668 PeimFileHandle = Private->Fv[Index1].FvFileHandles[Index2];
680 Private->Fv[Index1].PeimState[Index2]++;
682 Private->CurrentPeimFvCount = Index1;
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/Dhcp6Dxe/
H A DDhcp6Utility.c435 UINTN Index1; local
443 for (Index1 = 0; Index1 < AddressCount; Index1++) {
450 &Addresses[Index1],
489 UINTN Index1; local
527 for (Index1 = 0; Index1 < AddressCount; Index1++) {
534 &Addresses[Index1],
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Pci/IdeBusPei/
H A DAtapiPeim.c340 UINT8 Index1; local
386 for (Index1 = 0; Index1 < IdeEnabledNumber; Index1 ++) {
387 CommandBlockBaseAddr = IdeRegsBaseAddr[Index1].CommandBlockBaseAddr;
388 AtapiBlkIoDev->IdeIoPortReg[Index1].Data = CommandBlockBaseAddr;
389 AtapiBlkIoDev->IdeIoPortReg[Index1].Reg1.Feature = (UINT16) (CommandBlockBaseAddr + 0x1);
390 AtapiBlkIoDev->IdeIoPortReg[Index1].SectorCount = (UINT16) (CommandBlockBaseAddr + 0x2);
391 AtapiBlkIoDev->IdeIoPortReg[Index1].SectorNumber = (UINT16) (CommandBlockBaseAddr + 0x3);
392 AtapiBlkIoDev->IdeIoPortReg[Index1]
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/Ip6Dxe/
H A DIp6ConfigImpl.c897 UINTN Index1; local
924 for (Index1 = 0; Index1 < NewAddressCount; Index1++, NewAddress++) {
938 for (Index2 = Index1 + 1; Index2 < NewAddressCount; Index2++, TmpAddress++) {
1000 for (Index1 = 0; Index1 < NewAddressCount; Index1++, NewAddress++) {
1180 UINTN Index1; local
1203 for (Index1
1314 UINTN Index1; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/OvmfPkg/Csm/CsmSupportLib/
H A DLegacyPlatform.c850 UINTN Index1; local
874 for (Index1 = 0; Index1 < MAX_IRQ_PRIORITY_ENTRIES; Index1++) {
875 if ((IrqPriorityTable[Index1].Used == MatchData) &&
876 (IrqPriorityTable[Index1].Irq != 0)) {
877 PirqData = IrqPriorityTable[Index1].Irq;
878 IrqPriorityTable[Index1].Used = 0xff;
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/
H A DBiosVideo.c2719 UINTN Index1; local
3040 for (Index1 = 0; Index1 < Width; Index1++) {
3041 BiosVideoPrivate->LineBuffer[Index1] = VgaConvertColor (&BltBuffer[(SourceY + Index) * (Delta >> 2) + SourceX + Index1]);
3055 for (Index1 = Bit, Address1 = (UINT8 *) AddressFix; Index1 < Width; Index1 += 8, Address1++) {
3074 &BiosVideoPrivate->LineBuffer[Index1]
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/
H A DLegacyBootSupport.c230 UINTN Index1; local
288 for (Index1 = 0; Index1 <= NumberPriorityEntries; Index1++) {
291 if (LegacyInterrupts[Index] == IrqPriorityTable[Index1].Irq) {
292 IrqPriorityTable[Index1].Used = LEGACY_USED;
H A DLegacyPci.c463 UINTN Index1; local
518 for (Index1 = 0; Index1 < RoutingTableEntries; Index1++){
523 if ((RoutingTable[Index1].Slot != 0) && (Bridges[BridgeIndex].PrimaryBus == RoutingTable[Index1].Bus)
524 && ((Bridges[BridgeIndex].PciDevice << 3) == RoutingTable[Index1].Device)) {
540 for (Index1 = 0; Index1 < SlotBridgeIndex; Index1
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/HiiDatabaseDxe/
H A DFont.c1587 UINTN Index1; local
1956 for (Index1 = RowInfo[RowIndex].EndIndex; Index1 >= RowInfo[RowIndex].StartIndex; Index1--) {
1957 if (Index1 == RowInfo[RowIndex].EndIndex) {
1958 LineWidth -= (Cell[Index1].Width + Cell[Index1].OffsetX);
1960 LineWidth -= Cell[Index1].AdvanceX;
1962 if (IsLineBreak (StringPtr[Index1]) > 0) {
1964 if (Index1 > RowInf
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/PlatformDriOverrideDxe/
H A DPlatDriOverrideDxe.c896 UINTN Index1; local
1027 for (Index1=0; Index1 < SelectedDriverImageNum; Index1++) {
1028 if (TempNO[Index1] < TempNO[MinNO]) {
1029 MinNO = Index1;
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenFv/
H A DGenFvInternalLib.c954 UINTN Index1; local
957 Index1 = 0;
1040 for (Index1 = 0; Index1 < Index; Index1 ++) {
1041 if (CompareGuid ((EFI_GUID *) FileBuffer, &mFileGuidArray [Index1]) == 0) {
1042 Error (NULL, 0, 2000, "Invalid parameter", "the %dth file and %uth file have the same file GUID.", (unsigned) Index1 + 1, (unsigned) Index + 1);
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenFw/
H A DGenFw.c1076 UINT32 Index1; local
2453 for (Index1 = 0; Index1 < Optional64->DataDirectory[EFI_IMAGE_DIRECTORY_ENTRY_EXCEPTION].Size / sizeof (RUNTIME_FUNCTION); Index1++, RuntimeFunction++) {

Completed in 753 milliseconds

12