/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]) {
|
Decompress.c | 695 UINT16 Index2;
717 Index2 = Sd->mCTable[Sd->mBitBuf >> (BITBUFSIZ - 12)];
719 if (Index2 >= NC) {
724 Index2 = Sd->mRight[Index2];
726 Index2 = Sd->mLeft[Index2];
730 } while (Index2 >= NC);
735 FillBuf (Sd, Sd->mCLen[Index2]);
737 return Index2;
[all...] |
/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/MdeModulePkg/Library/PeiPerformanceLib/ |
PeiPerformanceLib.c | 117 UINT32 Index2;
131 Index2 = 0;
134 Index2 = NumberOfEntries - 1 - Index;
135 if (LogEntryArray[Index2].EndTimeStamp == 0 &&
136 (LogEntryArray[Index2].Handle == (EFI_PHYSICAL_ADDRESS) (UINTN) Handle) &&
137 AsciiStrnCmp (LogEntryArray[Index2].Token, Token, PEI_PERFORMANCE_STRING_LENGTH) == 0 &&
138 AsciiStrnCmp (LogEntryArray[Index2].Module, Module, PEI_PERFORMANCE_STRING_LENGTH) == 0 &&
139 (PeiPerformanceIdArray[Index2] == Identifier)) {
140 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) {
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/ |
LegacyBootMaintUi.c | 234 UINTN Index2;
360 for (Index2 = 0; Index2 < OptionMenu->MenuNumber; Index2++) {
361 Tmp = (UINT16) (DevOrder->Data[Index2] & 0xFF);
888 UINTN Index2;
966 for (Index2 = Index; Index2 < Number - 1; Index2++) {
967 CurrentVal[Index2] = CurrentVal[Index2 + 1]; [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
TianoCompress.c | 667 NODE Index2;
725 Index2 = MAXMATCH;
728 Index2 = mLevel[NodeR];
738 while (mMatchLen < Index2) {
1215 UINT32 Index2;
1263 for (Index2 = 0; Index2 < 3; Index2++) {
1384 UINT32 Index2;
1389 for (Index2 = 0; Index2 < UINT8_BIT; Index2++) { [all...] |
Decompress.c | 544 UINT16 Index2;
566 Index2 = Sd->mCTable[Sd->mBitBuf >> (BITBUFSIZ - 12)];
568 if (Index2 >= NC) {
573 Index2 = Sd->mRight[Index2];
575 Index2 = Sd->mLeft[Index2];
579 } while (Index2 >= NC);
584 FillBuf (Sd, Sd->mCLen[Index2]);
586 return 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...] |
/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 | 490 NODE Index2;
548 Index2 = MAXMATCH;
551 Index2 = mLevel[NodeR];
561 while (mMatchLen < Index2) {
1038 UINT32 Index2;
1087 for (Index2 = 0; Index2 < 3; Index2++) {
1208 UINT32 Index2;
1213 for (Index2 = 0; Index2 < UINT8_BIT; Index2++) { [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeCorePerformanceLib/ |
DxeCorePerformanceLib.c | 91 UINT32 Index2;
105 Index2 = 0;
108 Index2 = NumberOfEntries - 1 - Index;
109 if (GaugeEntryExArray[Index2].EndTimeStamp == 0 &&
110 (GaugeEntryExArray[Index2].Handle == (EFI_PHYSICAL_ADDRESS) (UINTN) Handle) &&
111 AsciiStrnCmp (GaugeEntryExArray[Index2].Token, Token, DXE_PERFORMANCE_STRING_LENGTH) == 0 &&
112 AsciiStrnCmp (GaugeEntryExArray[Index2].Module, Module, DXE_PERFORMANCE_STRING_LENGTH) == 0 &&
113 (GaugeEntryExArray[Index2].Identifier == Identifier)) {
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/Core/Pei/Dispatcher/ |
Dispatcher.c | 43 UINTN Index2;
128 Index2 = 0;
129 for (Index = 0; Index2 < Private->AprioriCount; Index++) {
130 while (Index2 < Private->AprioriCount) {
131 Guid = ScanGuid (FileGuid, PeimCount * sizeof (EFI_GUID), &Apriori[Index2++]);
157 for (Index2 = 0; Index2 < PeimCount; Index2++) {
158 if (Private->CurrentFvFileHandles[Index2] != NULL) {
159 TempFileHandles[Index] = Private->CurrentFvFileHandles[Index2];
[all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootMaintenanceManagerLib/ |
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 < (sizeof (TerminalTypeGuid) / sizeof (TerminalTypeGuid[0])); Index2++) { [all...] |
/device/linaro/bootloader/edk2/DuetPkg/EfiLdr/ |
TianoDecompress.c | 543 UINT16 Index2;
565 Index2 = Sd->mCTable[Sd->mBitBuf >> (BITBUFSIZ - 12)];
567 if (Index2 >= NC) {
572 Index2 = Sd->mRight[Index2];
574 Index2 = Sd->mLeft[Index2];
578 } while (Index2 >= NC);
583 FillBuf (Sd, Sd->mCLen[Index2]);
585 return Index2;
[all...] |