/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/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/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/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) {
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/ |
LegacyBootMaintUi.c | 261 UINTN Index2;
389 for (Index2 = 0; Index2 < OptionMenu->MenuNumber; Index2++) {
390 Tmp = (UINT16) (DevOrder->Data[Index2] & 0xFF);
920 UINTN Index2;
991 for (Index2 = Index; Index2 < Number - 1; Index2++) {
992 CurrentVal[Index2] = CurrentVal[Index2 + 1]; [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
TianoCompress.c | 674 NODE Index2;
732 Index2 = MAXMATCH;
735 Index2 = mLevel[NodeR];
745 while (mMatchLen < Index2) {
1222 UINT32 Index2;
1270 for (Index2 = 0; Index2 < 3; Index2++) {
1391 UINT32 Index2;
1396 for (Index2 = 0; Index2 < UINT8_BIT; Index2++) { [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/ |
TianoCompress.c | 687 NODE Index2;
745 Index2 = MAXMATCH;
748 Index2 = mLevel[NodeR];
758 while (mMatchLen < Index2) {
1235 UINT32 Index2;
1283 for (Index2 = 0; Index2 < 3; Index2++) {
1404 UINT32 Index2;
1409 for (Index2 = 0; Index2 < UINT8_BIT; Index2++) { [all...] |
/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/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/ |
BootMaint.c | 704 UINT16 Index2;
827 Index2 = (UINT16) (QuestionId - TERMINAL_OPTION_OFFSET);
828 Private->CurrentTerminal = Index2;
834 Index2 = (UINT16) (QuestionId - HANDLE_OPTION_OFFSET);
836 NewMenuEntry = BOpt_GetMenuEntry (&DriverMenu, Index2);
[all...] |
ConsoleOption.c | 350 UINTN Index2;
365 for (Index2 = Index1+1; Index2 < NoHandles; Index2++) {
366 if (!RetrieveUartUid (Handles[Index2], &AcpiUid2)) {
371 TempHandle = Handles[Index2];
372 Position = Index2;
413 UINTN Index2;
576 for (Index2 = 0; Index2 < 4; Index2++) { [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;
|
/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/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/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...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/TianoCompress/ |
TianoCompress.c | 499 NODE Index2;
557 Index2 = MAXMATCH;
560 Index2 = mLevel[NodeR];
570 while (mMatchLen < Index2) {
1047 UINT32 Index2;
1096 for (Index2 = 0; Index2 < 3; Index2++) {
1217 UINT32 Index2;
1222 for (Index2 = 0; Index2 < UINT8_BIT; 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/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/MdeModulePkg/Core/Pei/Dispatcher/ |
Dispatcher.c | 44 UINTN Index2;
129 Index2 = 0;
130 for (Index = 0; Index2 < Private->AprioriCount; Index++) {
131 while (Index2 < Private->AprioriCount) {
132 Guid = ScanGuid (FileGuid, PeimCount * sizeof (EFI_GUID), &Apriori[Index2++]);
158 for (Index2 = 0; Index2 < PeimCount; Index2++) {
159 if (Private->CurrentFvFileHandles[Index2] != NULL) {
160 TempFileHandles[Index] = Private->CurrentFvFileHandles[Index2];
[all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootMaintenanceManagerUiLib/ |
ConsoleOption.c | 347 UINTN Index2;
362 for (Index2 = Index1+1; Index2 < NoHandles; Index2++) {
363 if (!RetrieveUartUid (Handles[Index2], &AcpiUid2)) {
368 TempHandle = Handles[Index2];
369 Position = Index2;
410 UINTN Index2;
570 for (Index2 = 0; Index2 < (ARRAY_SIZE (TerminalTypeGuid)); Index2++) { [all...] |
/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...] |