Lines Matching refs:Index
176 UINTN Index;
281 for (Done = FALSE, Index = 0, PeiCoreFile = NULL; !Done; Index++) {
299 &gFdInfo[Index].Address,
300 &gFdInfo[Index].Size
321 Status = SecFfsFindPeiCore ((EFI_FIRMWARE_VOLUME_HEADER *) (UINTN) gFdInfo[Index].Address, &PeiCoreFile);
334 for (Index = 0, Done = FALSE; !Done; Index++) {
338 gSystemMemory[Index].Size = _wtoi (MemorySizeStr) * 0x100000;
695 IN UINTN Index,
702 This service is called from Index == 0 until it returns EFI_UNSUPPORTED.
710 Index - Which memory region to use
716 EFI_UNSUPPORTED - If Index is not supported
720 if (Index >= gSystemMemoryCount) {
727 gSystemMemory[Index].Memory = (EFI_PHYSICAL_ADDRESS) (UINTN) VirtualAlloc (NULL, (SIZE_T) (gSystemMemory[Index].Size), MEM_COMMIT, PAGE_EXECUTE_READWRITE);
728 if (gSystemMemory[Index].Memory == 0) {
732 *MemoryBase = gSystemMemory[Index].Memory;
733 *MemorySize = gSystemMemory[Index].Size;
838 IN UINTN Index,
849 Index - Which FD, starts at zero.
855 EFI_UNSUPPORTED - Index does nto map to an FD in the system
859 if (Index >= gFdInfoCount) {
863 *FdBase = gFdInfo[Index].Address;
864 *FdSize = gFdInfo[Index].Size;
931 UINTN Index;
937 for (Index = 0; Ascii[Index] != '\0'; Index++)
939 Unicode = malloc ((Index + 1) * sizeof (CHAR16));
944 for (Index = 0; Ascii[Index] != '\0'; Index++) {
945 Unicode[Index] = (CHAR16) Ascii[Index];
948 Unicode[Index] = '\0';
951 *StrLen = Index;
997 UINTN Index;
1027 DllFileName = AsciiToUnicode (ImageContext->PdbPointer, &Index);
1032 if (Index < 5 || DllFileName[Index - 4] != '.') {
1045 DllFileName[Index - 3] = 'D';
1046 DllFileName[Index - 2] = 'L';
1047 DllFileName[Index - 1] = 'L';