/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellLevel1CommandsLib/ |
H A D | Shift.c | 32 UINTN LoopVar; local 50 for (LoopVar = 0 ; LoopVar < CurrentScriptFile->Argc ; LoopVar++) { 51 if (LoopVar == 0) { 52 SHELL_FREE_NON_NULL(CurrentScriptFile->Argv[LoopVar]); 54 if (LoopVar < CurrentScriptFile->Argc -1) { 55 CurrentScriptFile->Argv[LoopVar] = CurrentScriptFile->Argv[LoopVar+1]; 57 CurrentScriptFile->Argv[LoopVar] [all...] |
H A D | For.c | 275 UINTN LoopVar; local 348 for (LoopVar = 0x3 ; LoopVar < gEfiShellParametersProtocol->Argc ; LoopVar++) { 355 if (StrStr(gEfiShellParametersProtocol->Argv[LoopVar], L"*") != NULL 356 ||StrStr(gEfiShellParametersProtocol->Argv[LoopVar], L"?") != NULL 357 ||StrStr(gEfiShellParametersProtocol->Argv[LoopVar], L"[") != NULL 358 ||StrStr(gEfiShellParametersProtocol->Argv[LoopVar], L"]") != NULL) { 360 Status = ShellOpenFileMetaArg ((CHAR16*)gEfiShellParametersProtocol->Argv[LoopVar], EFI_FILE_MODE_READ, &FileList); 362 ArgSet = StrnCatGrow(&ArgSet, &ArgSize, gEfiShellParametersProtocol->Argv[LoopVar], [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellDebug1CommandsLib/ |
H A D | Mode.c | 40 INT32 LoopVar; local 87 for (LoopVar = 0, Done = FALSE; LoopVar < gST->ConOut->Mode->MaxMode && ShellStatus == SHELL_SUCCESS ; LoopVar++) { 88 Status = gST->ConOut->QueryMode(gST->ConOut, LoopVar, &Col, &Row); 93 Status = gST->ConOut->SetMode(gST->ConOut, LoopVar); 115 for (LoopVar = 0, Done = FALSE; LoopVar < gST->ConOut->Mode->MaxMode && ShellStatus == SHELL_SUCCESS ; LoopVar++) { 116 Status = gST->ConOut->QueryMode(gST->ConOut, LoopVar, [all...] |
H A D | SetSize.c | 36 UINTN LoopVar; local 78 for (LoopVar = 2 ; LoopVar < ShellCommandLineGetCount(Package) && ShellStatus == SHELL_SUCCESS ; LoopVar++) { 79 Status = ShellOpenFileByName(ShellCommandLineGetRawValue(Package, LoopVar), &FileHandle, EFI_FILE_MODE_READ|EFI_FILE_MODE_WRITE, 0); 81 Status = ShellOpenFileByName(ShellCommandLineGetRawValue(Package, LoopVar), &FileHandle, EFI_FILE_MODE_READ|EFI_FILE_MODE_WRITE|EFI_FILE_MODE_CREATE, 0); 83 if (EFI_ERROR(Status) && LoopVar == 2) { 87 ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_FILE_OPEN_FAIL), gShellDebug1HiiHandle, ShellCommandLineGetRawValue(Package, LoopVar), Status); 96 ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_SET_SIZE_FAIL), gShellDebug1HiiHandle, ShellCommandLineGetRawValue(Package, LoopVar), Status); 99 ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_SET_SIZE_DONE), gShellDebug1HiiHandle, ShellCommandLineGetRawValue(Package, LoopVar)); [all...] |
H A D | Comp.c | 34 UINTN LoopVar; local 131 for (LoopVar = 0 ; LoopVar < Size1 && ErrorCount <= 10 ; LoopVar++) { 145 if (LoopVar + 1 < Size1) { 146 LoopVar++; 153 if (LoopVar + 1 < Size1) { 154 LoopVar++; 161 if (LoopVar + 1 < Size1) { 162 LoopVar [all...] |
H A D | SetVar.c | 50 UINTN LoopVar; local 113 for (LoopVar = 0 ; LoopVar < Size ; LoopVar++) { 114 ShellPrintEx(-1, -1, L"%02x ", ((UINT8*)Buffer)[LoopVar]); 160 for (LoopVar = 0 ; LoopVar < (StrLen(Data) / 2) ; LoopVar++) { 161 ((UINT8*)Buffer)[LoopVar] = (UINT8)(HexCharToUintn(Data[LoopVar* [all...] |
H A D | Bcfg.c | 602 UINTN LoopVar; local 612 for (LoopVar = 0 ; LoopVar < OrderCount ; LoopVar++) { 615 UnicodeSPrint(VariableName, sizeof(VariableName), L"%s%04x", Op, CurrentOrder[LoopVar]); 652 LoopVar,
|
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellDriver1CommandsLib/ |
H A D | DevTree.c | 51 UINTN LoopVar; local 137 for (LoopVar = 0 ; LoopVar < ChildCount && ShellStatus == SHELL_SUCCESS; LoopVar++){ 138 ShellStatus = DoDevTreeForHandle(ChildHandleBuffer[LoopVar], Lang, UseDevPaths, IndentCharCount+2, HiiString); 168 UINTN LoopVar; local 224 for (LoopVar = 1 ; ; LoopVar++){ 225 TheHandle = ConvertHandleIndexToHandle(LoopVar);
|
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellLevel3CommandsLib/ |
H A D | Type.c | 42 UINTN LoopVar; local 74 for (LoopVar = 0 ; LoopVar < ReadSize ; LoopVar++) { 76 AsciiChar = ((CHAR8*)Buffer)[LoopVar];
|
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellLevel2CommandsLib/ |
H A D | TimeDate.c | 634 UINTN LoopVar; local 677 for ( LoopVar = 0 678 ; LoopVar < sizeof(TimeZoneList) / sizeof(TimeZoneList[0]) 679 ; LoopVar++ 681 if (TheTime.TimeZone == TimeZoneList[LoopVar].TimeZone) { 716 UINT8 LoopVar; local 780 for ( LoopVar = 0 781 ; LoopVar < sizeof(TimeZoneList) / sizeof(TimeZoneList[0]) 782 ; LoopVar++ 784 ShellPrintHiiEx (-1, -1, NULL, TimeZoneList[LoopVar] [all...] |
H A D | Map.c | 552 UINTN LoopVar; local 618 for ( LoopVar = 0, Found = FALSE 619 ; LoopVar < (BufferSize / sizeof(EFI_HANDLE)) && HandleBuffer != NULL 620 ; LoopVar ++ 629 HandleBuffer[LoopVar]); 661 for ( LoopVar = 0 662 ; LoopVar < BufferSize / sizeof(EFI_HANDLE) 663 ; LoopVar ++ 669 HandleBuffer[LoopVar], 684 HandleBuffer[LoopVar]); 777 UINTN LoopVar; local [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Application/Shell/ |
H A D | Shell.c | 680 UINTN LoopVar; local 699 for (LoopVar = 0 ; LoopVar < gEfiShellParametersProtocol->Argc ; LoopVar++) { 700 if (StrCmp(gEfiShellParametersProtocol->Argv[LoopVar], ShellInfoObject.ShellInitSettings.FileName)==0) { 701 LoopVar++; 705 for ( ; LoopVar < gEfiShellParametersProtocol->Argc ; LoopVar++) { 717 gEfiShellParametersProtocol->Argv[LoopVar], 1631 UINTN LoopVar; local [all...] |
H A D | ShellProtocol.c | 655 UINTN LoopVar; local 692 for (LoopVar = 0; LoopVar < HandleCount ; LoopVar++){ 697 HandleList[LoopVar], 705 HandleList[LoopVar], 749 for (LoopVar = 0 ; LoopVar < ParentControllerCount ; LoopVar++) { 750 PARSE_HANDLE_DATABASE_UEFI_DRIVERS(ParentControllerBuffer[LoopVar], [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellInstall1CommandsLib/ |
H A D | Bcfg.c | 602 UINTN LoopVar; local 612 for (LoopVar = 0 ; LoopVar < OrderCount ; LoopVar++) { 615 UnicodeSPrint(VariableName, sizeof(VariableName), L"%s%04x", Op, CurrentOrder[LoopVar]); 652 LoopVar,
|
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellCommandLib/ |
H A D | UefiShellCommandLib.c | 778 UINT8 LoopVar; local 784 for (LoopVar = 0 ; LoopVar < Script->Argc ; LoopVar++) { 785 SHELL_FREE_NON_NULL(Script->Argv[LoopVar]);
|