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.c101 && CurrentScriptFile->CurrentCommand!=NULL in ShellCommandRunEndFor()
102 ? CurrentScriptFile->CurrentCommand->Line:0); in ShellCommandRunEndFor()
339 …if ((CurrentScriptFile->CurrentCommand != NULL) && (CurrentScriptFile->CurrentCommand->Data == NUL… in ShellCommandRunFor()
354 CurrentScriptFile->CurrentCommand->Line); in ShellCommandRunFor()
433 CurrentScriptFile->CurrentCommand->Data = Info; in ShellCommandRunFor()
475 CurrentScriptFile->CurrentCommand->Line); in ShellCommandRunFor()
497 CurrentScriptFile->CurrentCommand->Line); in ShellCommandRunFor()
513 CurrentScriptFile->CurrentCommand->Line); in ShellCommandRunFor()
533 CurrentScriptFile->CurrentCommand->Line); in ShellCommandRunFor()
560 CurrentScriptFile->CurrentCommand->Line); in ShellCommandRunFor()
[all …]
DUefiShellLevel1CommandsLib.c192 …ScriptFile->CurrentCommand = (SCRIPT_COMMAND_LIST *)(*Function)(&ScriptFile->CommandList, &Command… in TestNodeForMove()
194 ScriptFile->CurrentCommand = (SCRIPT_COMMAND_LIST *)CommandNode; in TestNodeForMove()
210 …ScriptFile->CurrentCommand = (SCRIPT_COMMAND_LIST *)(*Function)(&ScriptFile->CommandList, &Command… in TestNodeForMove()
212 ScriptFile->CurrentCommand = (SCRIPT_COMMAND_LIST *)CommandNode; in TestNodeForMove()
275 …PT_COMMAND_LIST *)(*Function)(&ScriptFile->CommandList, &ScriptFile->CurrentCommand->Link), Found … in MoveToTag()
293 ; CommandNode != ScriptFile->CurrentCommand && !Found in MoveToTag()
DIf.c723 …PT_COMMAND_LIST *)GetNextNode(&ScriptFile->CommandList, &ScriptFile->CurrentCommand->Link), Found … in MoveToTagSpecial()
774 …ScriptFile->CurrentCommand = (SCRIPT_COMMAND_LIST *)GetNextNode(&ScriptFile->CommandList, &Command… in MoveToTagSpecial()
857 && CurrentScriptFile->CurrentCommand!=NULL in ShellCommandRunIf()
858 ? CurrentScriptFile->CurrentCommand->Line:0); in ShellCommandRunIf()
942 && CurrentScriptFile->CurrentCommand!=NULL in ShellCommandRunIf()
943 ? CurrentScriptFile->CurrentCommand->Line:0); in ShellCommandRunIf()
1019 && CurrentScriptFile->CurrentCommand!=NULL in ShellCommandRunElse()
1020 ? CurrentScriptFile->CurrentCommand->Line:0); in ShellCommandRunElse()
1033 && CurrentScriptFile->CurrentCommand!=NULL in ShellCommandRunElse()
1034 ? CurrentScriptFile->CurrentCommand->Line:0); in ShellCommandRunElse()
[all …]
DGoto.c94 && CurrentScriptFile->CurrentCommand!=NULL in ShellCommandRunGoto()
95 ? CurrentScriptFile->CurrentCommand->Line:0); in ShellCommandRunGoto()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel3CommandsLib/
DHelp.c301 CONST CHAR16 *CurrentCommand; in ShellCommandRunHelp() local
403 for (CurrentCommand = SortedCommandList in ShellCommandRunHelp()
404 …; CurrentCommand != NULL && *CurrentCommand != CHAR_NULL && CurrentCommand < SortedCommandList + S… in ShellCommandRunHelp()
405 ; CurrentCommand += StrLen(CurrentCommand) + 1 in ShellCommandRunHelp()
414 …if ((gUnicodeCollation->MetaiMatch(gUnicodeCollation, (CHAR16*)CurrentCommand, CommandToGetHelpOn)… in ShellCommandRunHelp()
415 …= NULL && (gUnicodeCollation->MetaiMatch(gUnicodeCollation, (CHAR16*)CurrentCommand, (CHAR16*)(gEf… in ShellCommandRunHelp()
419 Status = ShellPrintHelp(CurrentCommand, SectionToGetHelpOn, PrintCommandText); in ShellCommandRunHelp()
424 … Status = PrintDynamicCommandHelp (CurrentCommand, SectionToGetHelpOn, PrintCommandText); in ShellCommandRunHelp()
427 … ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_HELP_INV), gShellLevel3HiiHandle, CurrentCommand); in ShellCommandRunHelp()
429 … ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_HELP_NF), gShellLevel3HiiHandle, CurrentCommand); in ShellCommandRunHelp()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellCommandLib/
DUefiShellCommandLib.c1020 Script->CurrentCommand = NULL; in DeleteScriptFileStruct()
1022 Script->CurrentCommand = (SCRIPT_COMMAND_LIST *)GetFirstNode(&Script->CommandList); in DeleteScriptFileStruct()
1023 if (Script->CurrentCommand != NULL) { in DeleteScriptFileStruct()
1024 RemoveEntryList(&Script->CurrentCommand->Link); in DeleteScriptFileStruct()
1025 if (Script->CurrentCommand->Cl != NULL) { in DeleteScriptFileStruct()
1026 SHELL_FREE_NON_NULL(Script->CurrentCommand->Cl); in DeleteScriptFileStruct()
1028 if (Script->CurrentCommand->Data != NULL) { in DeleteScriptFileStruct()
1029 SHELL_FREE_NON_NULL(Script->CurrentCommand->Data); in DeleteScriptFileStruct()
1031 SHELL_FREE_NON_NULL(Script->CurrentCommand); in DeleteScriptFileStruct()
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/
DShell.c2755 NewScriptFile->CurrentCommand = AllocateZeroPool(sizeof(SCRIPT_COMMAND_LIST)); in RunScriptFileHandle()
2756 if (NewScriptFile->CurrentCommand == NULL) { in RunScriptFileHandle()
2762 NewScriptFile->CurrentCommand->Cl = CommandLine; in RunScriptFileHandle()
2763 NewScriptFile->CurrentCommand->Data = NULL; in RunScriptFileHandle()
2764 NewScriptFile->CurrentCommand->Line = LineCount; in RunScriptFileHandle()
2766 InsertTailList(&NewScriptFile->CommandList, &NewScriptFile->CurrentCommand->Link); in RunScriptFileHandle()
2789 …for ( NewScriptFile->CurrentCommand = (SCRIPT_COMMAND_LIST *)GetFirstNode(&NewScriptFile->CommandL… in RunScriptFileHandle()
2790 ; !IsNull(&NewScriptFile->CommandList, &NewScriptFile->CurrentCommand->Link) in RunScriptFileHandle()
2796 NewScriptFile->CurrentCommand->Cl, in RunScriptFileHandle()
2883 LastCommand = NewScriptFile->CurrentCommand; in RunScriptFileHandle()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Include/Library/
DShellCommandLib.h401 …SCRIPT_COMMAND_LIST *CurrentCommand; ///< The command currently being operated. If !=NULL must… member