Searched refs:CurrentParameter (Results 1 – 2 of 2) sorted by relevance
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel1CommandsLib/ |
D | If.c | 829 UINTN CurrentParameter; in ShellCommandRunIf() local 874 CurrentParameter = 1; in ShellCommandRunIf() 890 CurrentParameter++; in ShellCommandRunIf() 907 CurrentParameter++; in ShellCommandRunIf() 913 ; CurrentParameter < gEfiShellParametersProtocol->Argc && ShellStatus == SHELL_SUCCESS in ShellCommandRunIf() 914 ; CurrentParameter++) { in ShellCommandRunIf() 917 gEfiShellParametersProtocol->Argv[CurrentParameter], in ShellCommandRunIf() 922 if (CurrentParameter+1 != gEfiShellParametersProtocol->Argc) { in ShellCommandRunIf() 928 …X_AFTER_BAD), gShellLevel1HiiHandle, L"if", gEfiShellParametersProtocol->Argv[CurrentParameter]); in ShellCommandRunIf() 937 if (!BuildNextStatement(CurrentParameter, &EndParameter, &Ending)) { in ShellCommandRunIf() [all …]
|
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/ |
D | Shell.c | 2121 CHAR16 *CurrentParameter; in DoHelpUpdate() local 2129 CurrentParameter = AllocateZeroPool(StrSize(*CmdLine)); in DoHelpUpdate() 2130 if (CurrentParameter == NULL) { in DoHelpUpdate() 2136 if (!EFI_ERROR(GetNextParameter(&Walker, &CurrentParameter, StrSize(*CmdLine), TRUE))) { in DoHelpUpdate() 2137 if (StrStr(CurrentParameter, L"-?") == CurrentParameter) { in DoHelpUpdate() 2138 CurrentParameter[0] = L' '; in DoHelpUpdate() 2139 CurrentParameter[1] = L' '; in DoHelpUpdate() 2159 SHELL_FREE_NON_NULL(CurrentParameter); in DoHelpUpdate()
|