/device/linaro/bootloader/edk2/MdeModulePkg/Universal/EsrtDxe/ |
EsrtDxe.c | 234 UINTN Index1;
323 for (Index1 = 0; Index1 < NumberOfHandles; Index1++){
325 HandleBuffer[Index1],
327 (VOID **)&FmpBuf[Index1]
335 Status = FmpBuf[Index1]->GetImageInfo (
336 FmpBuf[Index1],
347 FmpImageInfoBuf[Index1] = AllocateZeroPool(ImageInfoSize);
348 if (FmpImageInfoBuf[Index1] == NULL) { [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/RandomNumberGenerator/RngDxe/ |
AesCore.c | 138 UINTN Index1;
161 for (Index1 = Index2 = 0; Index1 < Nk; Index1++, Index2 += 4) {
162 LOAD32H (Ek[Index1], Key + Index2);
179 for (Index1 = 1; Index1 < Nk && (Index1 + Index2) < Nw; Index1++) {
180 Ek [Index1 + Index2] = Ek [Index1 + Index2 - Nk] ^ Ek[Index1 + Index2 - 1]; [all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/ |
FwPadFile.c | 1016 UINTN Index1;
[all...] |
FwVolWrite.c | [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/ |
Md5.c | 185 UINT32 Index1;
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 < 4; Index1++) { [all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/ |
Performance.c | 38 UINTN Index1;
59 Index1 = 0;
61 GaugeString[Index1] = PdbFileName[Index];
62 Index1++;
63 if (Index1 == PERF_TOKEN_LENGTH) {
68 GaugeString[Index1] = 0;
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/ |
Dimm.c | 211 UINTN Index1;
247 for (Index1 = 0; Index1 < Index; Index1++) {
249 Command = Offset + Index1;
258 &Buffer[Index1]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/PartitionDxe/ |
Mbr.c | 47 INTN Index1;
58 for (Index1 = 0; Index1 < MAX_MBR_PARTITIONS; Index1++) {
59 if (Mbr->Partition[Index1].OSIndicator == 0x00 || UNPACK_UINT32 (Mbr->Partition[Index1].SizeInLBA) == 0) {
64 StartingLBA = UNPACK_UINT32 (Mbr->Partition[Index1].StartingLBA);
65 EndingLBA = StartingLBA + UNPACK_UINT32 (Mbr->Partition[Index1].SizeInLBA) - 1;
84 for (Index2 = Index1 + 1; Index2 < MAX_MBR_PARTITIONS; Index2++) {
92 // This region overlaps with the Index1'th region [all...] |
Gpt.c | 704 UINTN Index1;
708 for (Index1 = 0; Index1 < PartHeader->NumberOfPartitionEntries; Index1++) {
709 Entry = (EFI_PARTITION_ENTRY *) ((UINT8 *) PartEntry + Index1 * PartHeader->SizeOfPartitionEntry);
722 PEntryStatus[Index1].OutOfRange = TRUE;
730 PEntryStatus[Index1].OsSpecific = TRUE;
733 for (Index2 = Index1 + 1; Index2 < PartHeader->NumberOfPartitionEntries; Index2++) {
741 // This region overlaps with the Index1'th region
743 PEntryStatus[Index1].Overlap = TRUE; [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/ |
BmMisc.c | 142 UINTN Index1;
218 for (Index1 = 0; CurrentMemoryTypeInformation[Index1].Type != EfiMaxMemoryType; Index1++) {
219 if (PreviousMemoryTypeInformation[Index].Type == CurrentMemoryTypeInformation[Index1].Type) {
223 if (CurrentMemoryTypeInformation[Index1].Type == EfiMaxMemoryType) {
232 Current = CurrentMemoryTypeInformation[Index1].NumberOfPages;
|
BmPerformance.c | 40 UINTN Index1;
61 Index1 = 0;
63 GaugeString[Index1] = PdbFileName[Index];
64 Index1++;
65 if (Index1 == StringSize - 1) {
70 GaugeString[Index1] = 0;
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
BasePeCoff.c | [all...] |
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Override/IntelFrameworkModulePkg/Library/GenericBdsLib/ |
Performance.c | 38 UINTN Index1;
59 Index1 = 0;
61 GaugeString[Index1] = PdbFileName[Index];
62 Index1++;
63 if (Index1 == PERF_TOKEN_LENGTH - 1) {
68 GaugeString[Index1] = 0;
|
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuMpPei/ |
CpuMpPei.c | 60 UINTN Index1;
70 for (Index1 = 0; Index1 < ApCount; Index1++) {
71 Index3 = Index1;
75 ApicId = PeiCpuMpData->CpuData[Index1].ApicId;
76 for (Index2 = Index1 + 1; Index2 <= ApCount; Index2++) {
82 if (Index3 != Index1) {
86 &PeiCpuMpData->CpuData[Index1],
89 CopyMem (&PeiCpuMpData->CpuData[Index1], &CpuData, sizeof (PEI_CPU_DATA)); [all...] |
/device/linaro/bootloader/edk2/Nt32Pkg/Sec/ |
SecMain.c | 177 UINTN Index1;
283 for (Index1 = 0; (FileNamePtr[Index1] != '!') && (FileNamePtr[Index1] != 0); Index1++)
285 if (FileNamePtr[Index1] == 0) {
288 FileNamePtr[Index1] = '\0';
289 FileNamePtr = FileNamePtr + Index1 + 1;
343 for (Index1 = 0; MemorySizeStr[Index1] != '!' && MemorySizeStr[Index1] != 0; Index1++) [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/ |
Font.c | [all...] |
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/ |
Host.c | 108 UINTN Index1;
235 for (Index1 = 0; (FirmwareVolumesStr[Index2] != '!') && (FirmwareVolumesStr[Index2] != 0); Index2++) {
236 FileName[Index1++] = FirmwareVolumesStr[Index2];
241 FileName[Index1] = '\0';
301 Index1 = 0;
308 while (MemorySizeStr[Index1] >= '0' && MemorySizeStr[Index1] <= '9') {
309 val = val * 10 + MemorySizeStr[Index1] - '0';
310 Index1++;
313 if (MemorySizeStr[Index1] == 0) { [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/ |
Ip6ConfigImpl.c | 906 UINTN Index1;
933 for (Index1 = 0; Index1 < NewAddressCount; Index1++, NewAddress++) {
947 for (Index2 = Index1 + 1; Index2 < NewAddressCount; Index2++, TmpAddress++) {
[all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/DxeCapsuleLib/ |
DxeCapsuleLib.c | 162 UINTN Index1;
264 for(Index1 = 0; Index1 < NumberOfHandles; Index1++) {
266 HandleBuffer[Index1],
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/ |
Ip4Config2Impl.c | 709 UINTN Index1;
750 for (Index1 = NewIndex + 1; Index1 < NewDnsCount; Index1++) {
751 if (EFI_IP4_EQUAL (NewDns + NewIndex, NewDns + Index1)) {
[all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/IdeBusPei/ |
AtapiPeim.c | 527 UINT8 Index1;
574 for (Index1 = 0; Index1 < IdeEnabledNumber; Index1 ++) {
575 CommandBlockBaseAddr = IdeRegsBaseAddr[Index1].CommandBlockBaseAddr;
576 AtapiBlkIoDev->IdeIoPortReg[Index1].Data = CommandBlockBaseAddr;
577 AtapiBlkIoDev->IdeIoPortReg[Index1].Reg1.Feature = (UINT16) (CommandBlockBaseAddr + 0x1);
578 AtapiBlkIoDev->IdeIoPortReg[Index1].SectorCount = (UINT16) (CommandBlockBaseAddr + 0x2);
579 AtapiBlkIoDev->IdeIoPortReg[Index1].SectorNumber = (UINT16) (CommandBlockBaseAddr + 0x3);
580 AtapiBlkIoDev->IdeIoPortReg[Index1].CylinderLsb = (UINT16) (CommandBlockBaseAddr + 0x4); [all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/ |
LegacyPci.c | 463 UINTN Index1;
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...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Ppi/ |
Ppi.c | 608 INTN Index1;
617 for (Index1 = NotifyStartIndex; Index1 > NotifyStopIndex; Index1--) {
618 NotifyDescriptor = PrivateData->PpiData.PpiListPtrs[Index1].Notify;
|
/device/linaro/bootloader/edk2/NetworkPkg/Dhcp6Dxe/ |
Dhcp6Utility.c | 437 UINTN Index1;
445 for (Index1 = 0; Index1 < AddressCount; Index1++) {
452 &Addresses[Index1],
491 UINTN Index1;
529 for (Index1 = 0; Index1 < AddressCount; Index1++) {
536 &Addresses[Index1],
[all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/ |
ConsoleOption.c | 349 UINTN Index1;
357 for (Index1 = 0; Index1 < NoHandles-1; Index1++) {
358 if (!RetrieveUartUid (Handles[Index1], &AcpiUid1)) {
361 TempHandle = Handles[Index1];
362 Position = Index1;
365 for (Index2 = Index1+1; Index2 < NoHandles; Index2++) {
375 Handles[Position] = Handles[Index1];
376 Handles[Index1] = TempHandle; [all...] |