/device/linaro/bootloader/edk2/ArmPkg/Library/DebugPeCoffExtraActionLib/ |
DebugPeCoffExtraActionLib.c | 44 UINTN Index2;
51 for (Index = 9, Index2 = 0; (Index < (Size + 9)) && (Ptr[Index] != '\0'); Index++, Index2++) {
52 Temp[Index2] = Ptr[Index];
53 if (Temp[Index2] == '/') {
54 Temp[Index2] = '\\' ;
57 if (Index2 == 1) {
58 Temp[Index2 - 1] = Ptr[Index];
59 Temp[Index2] = ':';
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiPerformanceLib/ |
PerformanceLib.c | 92 UINTN Index2;
202 for (Index2 = 0; Index2 < PEI_PERF_MAX_DESC_STRING; Index2++) {
203 if (PerfHobData->Log[Index].DescriptionString[Index2] == 0) {
207 if (PerfHobData->Log[Index].DescriptionString[Index2] !=
208 Token[Index2]) {
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/ |
Perf.c | 82 UINTN Index2;
195 for (Index2 = 0; Index2 < PEI_PERF_MAX_DESC_STRING; Index2++) {
196 if (PerfHobData->Log[Index].DescriptionString[Index2] == 0) {
200 if (PerfHobData->Log[Index].DescriptionString[Index2] !=
201 Token[Index2]) {
|
/device/linaro/bootloader/edk2/SecurityPkg/Application/RngTest/ |
RngTest.c | 50 UINTN Index2;
200 for (Index2 = 0; Index2 < RandSize; Index2++) {
201 Print (L"%02x", Rand[Index2]);
221 for (Index2 = 0; Index2 < RandSize; Index2++) {
222 Print (L"%02x", Rand[Index2]);
|
/device/linaro/bootloader/edk2/SecurityPkg/RandomNumberGenerator/RngDxe/ |
RdRand.c | 85 UINT32 Index2;
109 for (Index2 = 0; Index2 < 16; Index2++) {
110 Xored[Index2] = RandByte[Index2] ^ Ffv[Index2];
|
AesCore.c | 139 UINTN Index2;
161 for (Index1 = Index2 = 0; Index1 < Nk; Index1++, Index2 += 4) {
162 LOAD32H (Ek[Index1], Key + Index2);
168 for (Index2 = Nk, Index3 = 0; Index2 < Nw; Index2 += Nk, Index3++) {
169 Temp = Ek[Index2 - 1];
170 Ek[Index2] = Ek[Index2 - Nk] ^ (AES_FT2((Temp >> 16) & 0xFF) & 0xFF000000) ^ [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Library/PeiPerformanceLib/ |
PeiPerformanceLib.c | 122 UINT32 Index2;
136 Index2 = 0;
139 Index2 = NumberOfEntries - 1 - Index;
140 if (LogEntryArray[Index2].EndTimeStamp == 0 &&
141 (LogEntryArray[Index2].Handle == (EFI_PHYSICAL_ADDRESS) (UINTN) Handle) &&
142 AsciiStrnCmp (LogEntryArray[Index2].Token, Token, PEI_PERFORMANCE_STRING_LENGTH) == 0 &&
143 AsciiStrnCmp (LogEntryArray[Index2].Module, Module, PEI_PERFORMANCE_STRING_LENGTH) == 0) {
144 Index = Index2;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/PartitionDxe/ |
Mbr.c | 48 INTN Index2;
84 for (Index2 = Index1 + 1; Index2 < MAX_MBR_PARTITIONS; Index2++) {
85 if (Mbr->Partition[Index2].OSIndicator == 0x00 || UNPACK_UINT32 (Mbr->Partition[Index2].SizeInLBA) == 0) {
89 NewEndingLBA = UNPACK_UINT32 (Mbr->Partition[Index2].StartingLBA) + UNPACK_UINT32 (Mbr->Partition[Index2].SizeInLBA) - 1;
90 if (NewEndingLBA >= StartingLBA && UNPACK_UINT32 (Mbr->Partition[Index2].StartingLBA) <= EndingLBA) {
|
Gpt.c | 705 UINTN Index2;
733 for (Index2 = Index1 + 1; Index2 < PartHeader->NumberOfPartitionEntries; Index2++) {
734 Entry = (EFI_PARTITION_ENTRY *) ((UINT8 *) PartEntry + Index2 * PartHeader->SizeOfPartitionEntry);
744 PEntryStatus[Index2].Overlap = TRUE;
|
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/ |
PageTbl.c | 181 UINTN Index2;
215 for (Index2 = 0; Index2 < SIZE_4KB/sizeof(UINT64); Index2++) {
216 if ((L2PageTable[Index2] & IA32_PG_PS) != 0) {
220 L1PageTable = (UINT64 *)(UINTN)(L2PageTable[Index2] & PAGING_4K_ADDRESS_MASK_64);
|
/device/linaro/bootloader/edk2/FatPkg/FatPei/ |
Part.c | 329 INTN Index2;
362 for (Index2 = Index1 + 1; Index2 < MAX_MBR_PARTITIONS; Index2++) {
363 if (Mbr->Partition[Index2].OSIndicator == 0x00 || UNPACK_INT32 (Mbr->Partition[Index2].SizeInLBA) == 0) {
367 NewEndingLBA = UNPACK_UINT32 (Mbr->Partition[Index2].StartingLBA) + UNPACK_UINT32 (Mbr->Partition[Index2].SizeInLBA) - 1;
368 if (NewEndingLBA >= StartingLBA && UNPACK_UINT32 (Mbr->Partition[Index2].StartingLBA) <= EndingLBA) {
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Ppi/ |
Ppi.c | 609 INTN Index2;
622 for (Index2 = InstallStartIndex; Index2 < InstallStopIndex; Index2++) {
623 SearchGuid = PrivateData->PpiData.PpiListPtrs[Index2].Ppi->Guid;
640 (PrivateData->PpiData.PpiListPtrs[Index2].Ppi)->Ppi
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/ |
UnicodeCollationEng.c | 104 UINTN Index2;
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;
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/ |
BaseUefiDecompressLib.c | 536 UINT16 Index2;
575 Index2 = Sd->mCTable[Sd->mBitBuf >> (BITBUFSIZ - 12)];
577 if (Index2 >= NC) {
582 Index2 = Sd->mRight[Index2];
584 Index2 = Sd->mLeft[Index2];
588 } while (Index2 >= NC);
593 FillBuf (Sd, Sd->mCLen[Index2]);
595 return Index2;
[all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/DxeCapsuleLib/ |
DxeCapsuleLib.c | 162 UINTN Index2;
319 for (Index2 = 0; Index2 < FmpImageInfoCount; Index2++) {
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeCorePerformanceLib/ |
DxeCorePerformanceLib.c | 92 UINT32 Index2;
106 Index2 = 0;
109 Index2 = NumberOfEntries - 1 - Index;
110 if (GaugeEntryExArray[Index2].EndTimeStamp == 0 &&
111 (GaugeEntryExArray[Index2].Handle == (EFI_PHYSICAL_ADDRESS) (UINTN) Handle) &&
112 AsciiStrnCmp (GaugeEntryExArray[Index2].Token, Token, DXE_PERFORMANCE_STRING_LENGTH) == 0 &&
113 AsciiStrnCmp (GaugeEntryExArray[Index2].Module, Module, DXE_PERFORMANCE_STRING_LENGTH) == 0) {
114 Index = Index2;
[all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/EsrtDxe/ |
EsrtDxe.c | 235 UINTN Index2;
384 for (Index2 = 0; Index2 < NumberOfHandles; Index2++){
385 TempFmpImageInfo = FmpImageInfoBuf[Index2];
386 for (Index3 = 0; Index3 < FmpImageInfoCountBuf[Index2]; Index3++){
395 SetEsrtEntryFromFmpInfo(&EsrtRepositoryNew[Index1], TempFmpImageInfo, FmpImageInfoDescriptorVerBuf[Index2]);
404 SetEsrtEntryFromFmpInfo(&EsrtRepositoryNew[EntryNumNew], TempFmpImageInfo, FmpImageInfoDescriptorVerBuf[Index2]);
415 TempFmpImageInfo = (EFI_FIRMWARE_IMAGE_DESCRIPTOR *)((UINT8 *)TempFmpImageInfo + DescriptorSizeBuf[Index2]);
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/ |
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;
202 for (Index2 = 16; Index2 > 0; Index2--) {
204 SA = ROTATE_LEFT (SA, Md5_S[Index1][Index2 & 3]);
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/MnpDxe/ |
MnpVlan.c | 254 UINTN Index2;
264 for (Index2 = Index + 1; Index2 < NumberOfVlan; Index2++) {
265 if (Buffer[Index].Bits.Vid == Buffer[Index2].Bits.Vid) {
272 for (Index2 = Index +1; Index2 < NumberOfVlan; Index++, Index2++) {
273 CopyMem (Buffer + Index, Buffer + Index2, sizeof (VLAN_TCI));
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseUefiDecompressLib/ |
BaseUefiDecompressLib.c | 500 UINT16 Index2;
539 Index2 = Sd->mCTable[Sd->mBitBuf >> (BITBUFSIZ - 12)];
541 if (Index2 >= NC) {
546 Index2 = Sd->mRight[Index2];
548 Index2 = Sd->mLeft[Index2];
552 } while (Index2 >= NC);
557 FillBuf (Sd, Sd->mCLen[Index2]);
559 return Index2;
[all...] |
/external/eigen/unsupported/test/ |
cxx11_tensor_morphing.cpp | 327 typedef Eigen::DSizes<Eigen::DenseIndex, 2> Index2; 335 Index2 strides(-2,-1); 336 Index2 indicesStart(5,7); 337 Index2 indicesStop(0,4); 348 Index2 strides(1,1); 349 Index2 indicesStart(5,4); 350 Index2 indicesStop(5,5); 356 Index2 strides(1,-1); 357 Index2 indicesStart(-3,20); // should become 0,10 358 Index2 indicesStop(20,-11); // should become 11, - [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/ |
Main.c | 397 UINTN Index2;
430 for (Index2 = 0; Index2 < Index; Index2++) {
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/ |
BaseUefiTianoCustomDecompressLib.c | 495 UINT16 Index2;
534 Index2 = Sd->mCTable[Sd->mBitBuf >> (BITBUFSIZ - 12)];
536 if (Index2 >= NC) {
541 Index2 = Sd->mRight[Index2];
543 Index2 = Sd->mLeft[Index2];
547 } while (Index2 >= NC);
552 FillBuf (Sd, Sd->mCLen[Index2]);
554 return Index2;
[all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/ |
FwPadFile.c | 1017 UINTN Index2;
[all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/ |
PciHostBridge.c | 683 PCI_RESOURCE_TYPE Index2;
771 for (Index2 = TypeIo; Index2 < TypeBus; Index2++) {
772 if (ResNodeHandled[Index2]) {
775 if (MaxAlignment <= RootBridge->ResAllocNode[Index2].Alignment) {
776 MaxAlignment = RootBridge->ResAllocNode[Index2].Alignment;
777 Index = Index2;
[all...] |