Home
last modified time | relevance | path

Searched refs:CurrentCommand (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel1CommandsLib/
DFor.c100 && CurrentScriptFile->CurrentCommand!=NULL in ShellCommandRunEndFor()
101 ? CurrentScriptFile->CurrentCommand->Line:0); in ShellCommandRunEndFor()
334 …if ((CurrentScriptFile->CurrentCommand != NULL) && (CurrentScriptFile->CurrentCommand->Data == NUL… in ShellCommandRunFor()
349 CurrentScriptFile->CurrentCommand->Line); in ShellCommandRunFor()
431 CurrentScriptFile->CurrentCommand->Data = Info; in ShellCommandRunFor()
476 CurrentScriptFile->CurrentCommand->Line); in ShellCommandRunFor()
498 CurrentScriptFile->CurrentCommand->Line); in ShellCommandRunFor()
514 CurrentScriptFile->CurrentCommand->Line); in ShellCommandRunFor()
534 CurrentScriptFile->CurrentCommand->Line); in ShellCommandRunFor()
561 CurrentScriptFile->CurrentCommand->Line); in ShellCommandRunFor()
[all …]
DUefiShellLevel1CommandsLib.c191 …ScriptFile->CurrentCommand = (SCRIPT_COMMAND_LIST *)(*Function)(&ScriptFile->CommandList, &Command… in TestNodeForMove()
193 ScriptFile->CurrentCommand = (SCRIPT_COMMAND_LIST *)CommandNode; in TestNodeForMove()
209 …ScriptFile->CurrentCommand = (SCRIPT_COMMAND_LIST *)(*Function)(&ScriptFile->CommandList, &Command… in TestNodeForMove()
211 ScriptFile->CurrentCommand = (SCRIPT_COMMAND_LIST *)CommandNode; in TestNodeForMove()
273 …PT_COMMAND_LIST *)(*Function)(&ScriptFile->CommandList, &ScriptFile->CurrentCommand->Link), Found … in MoveToTag()
291 ; CommandNode != ScriptFile->CurrentCommand && !Found in MoveToTag()
DGoto.c94 && CurrentScriptFile->CurrentCommand!=NULL in ShellCommandRunGoto()
95 ? CurrentScriptFile->CurrentCommand->Line:0); in ShellCommandRunGoto()
DIf.c730 …PT_COMMAND_LIST *)GetNextNode(&ScriptFile->CommandList, &ScriptFile->CurrentCommand->Link), Found … in MoveToTagSpecial()
781 …ScriptFile->CurrentCommand = (SCRIPT_COMMAND_LIST *)GetNextNode(&ScriptFile->CommandList, &Command… in MoveToTagSpecial()
863 && CurrentScriptFile->CurrentCommand!=NULL in ShellCommandRunIf()
864 ? CurrentScriptFile->CurrentCommand->Line:0); in ShellCommandRunIf()
948 && CurrentScriptFile->CurrentCommand!=NULL in ShellCommandRunIf()
949 ? CurrentScriptFile->CurrentCommand->Line:0); in ShellCommandRunIf()
1028 && CurrentScriptFile->CurrentCommand!=NULL in ShellCommandRunElse()
1029 ? CurrentScriptFile->CurrentCommand->Line:0); in ShellCommandRunElse()
1042 && CurrentScriptFile->CurrentCommand!=NULL in ShellCommandRunElse()
1043 ? CurrentScriptFile->CurrentCommand->Line:0); in ShellCommandRunElse()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel3CommandsLib/
DHelp.c297 CONST CHAR16 *CurrentCommand; in ShellCommandRunHelp() local
399 for (CurrentCommand = SortedCommandList in ShellCommandRunHelp()
400 …; CurrentCommand != NULL && *CurrentCommand != CHAR_NULL && CurrentCommand < SortedCommandList + S… in ShellCommandRunHelp()
401 ; CurrentCommand += StrLen(CurrentCommand) + 1 in ShellCommandRunHelp()
410 …if ((gUnicodeCollation->MetaiMatch(gUnicodeCollation, (CHAR16*)CurrentCommand, CommandToGetHelpOn)… in ShellCommandRunHelp()
411 …= NULL && (gUnicodeCollation->MetaiMatch(gUnicodeCollation, (CHAR16*)CurrentCommand, (CHAR16*)(gEf… in ShellCommandRunHelp()
415 Status = ShellPrintHelp(CurrentCommand, SectionToGetHelpOn, PrintCommandText); in ShellCommandRunHelp()
420 … Status = PrintDynamicCommandHelp (CurrentCommand, SectionToGetHelpOn, PrintCommandText); in ShellCommandRunHelp()
423 … ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_HELP_INV), gShellLevel3HiiHandle, CurrentCommand); in ShellCommandRunHelp()
425 … ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_HELP_NF), gShellLevel3HiiHandle, CurrentCommand); in ShellCommandRunHelp()
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/
DShell.c2523 if (ConstScriptFile == NULL || ConstScriptFile->CurrentCommand == NULL) { in SetupAndRunCommandOrFile()
2526 …_ERROR_SCRIPT), ShellInfoObject.HiiHandle, (VOID*)(Status), ConstScriptFile->CurrentCommand->Line); in SetupAndRunCommandOrFile()
2796 NewScriptFile->CurrentCommand = AllocateZeroPool(sizeof(SCRIPT_COMMAND_LIST)); in RunScriptFileHandle()
2797 if (NewScriptFile->CurrentCommand == NULL) { in RunScriptFileHandle()
2803 NewScriptFile->CurrentCommand->Cl = CommandLine; in RunScriptFileHandle()
2804 NewScriptFile->CurrentCommand->Data = NULL; in RunScriptFileHandle()
2805 NewScriptFile->CurrentCommand->Line = LineCount; in RunScriptFileHandle()
2807 InsertTailList(&NewScriptFile->CommandList, &NewScriptFile->CurrentCommand->Link); in RunScriptFileHandle()
2830 …for ( NewScriptFile->CurrentCommand = (SCRIPT_COMMAND_LIST *)GetFirstNode(&NewScriptFile->CommandL… in RunScriptFileHandle()
2831 ; !IsNull(&NewScriptFile->CommandList, &NewScriptFile->CurrentCommand->Link) in RunScriptFileHandle()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellCommandLib/
DUefiShellCommandLib.c1049 Script->CurrentCommand = NULL; in DeleteScriptFileStruct()
1051 Script->CurrentCommand = (SCRIPT_COMMAND_LIST *)GetFirstNode(&Script->CommandList); in DeleteScriptFileStruct()
1052 if (Script->CurrentCommand != NULL) { in DeleteScriptFileStruct()
1053 RemoveEntryList(&Script->CurrentCommand->Link); in DeleteScriptFileStruct()
1054 if (Script->CurrentCommand->Cl != NULL) { in DeleteScriptFileStruct()
1055 SHELL_FREE_NON_NULL(Script->CurrentCommand->Cl); in DeleteScriptFileStruct()
1057 if (Script->CurrentCommand->Data != NULL) { in DeleteScriptFileStruct()
1058 SHELL_FREE_NON_NULL(Script->CurrentCommand->Data); in DeleteScriptFileStruct()
1060 SHELL_FREE_NON_NULL(Script->CurrentCommand); in DeleteScriptFileStruct()
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/
DShellCommandLib.h401 …SCRIPT_COMMAND_LIST *CurrentCommand; ///< The command currently being operated. If !=NULL must… member