Home | History | Annotate | Download | only in Shell

Lines Matching refs:Command

1168   names must be used whenever a shell command outputs GUID information.

1410 command line.
1413 containing the command line. If NULL then the command-
1422 command executed successfully. The status code
1423 returned by the command is pointed to by StatusCode.
1537 // If the command line was "foo", the binary might be called "foo.efi".
1547 // Command line was empty or null.
1621 containing the command line. If NULL then the command-
1628 @param[out] StartImageStatus Returned status from the command line.
1630 @retval EFI_SUCCESS The command executed successfully. The status code
1631 returned by the command is pointed to by StatusCode.
1718 Execute the command line.
1721 command (CommandLine) with the specified environment (Environment). Upon return,
1722 the status code returned by the specified command is placed in StatusCode.
1732 command line.
1734 containing the command line. If NULL then the command-
1742 @retval EFI_SUCCESS The command executed successfully. The status code
1743 returned by the command is pointed to by StatusCode.
3174 Return help information about a specific command.
3176 This function returns the help information for the specified command. The help text
3185 @param Command Points to the NULL-terminated UEFI Shell command name.
3196 @retval EFI_NOT_FOUND There is no help text available for Command.
3201 IN CONST CHAR16 *Command,
3213 ManFileName = ShellCommandGetManFileNameHandler(Command);
3216 return (ProcessManFile(ManFileName, Command, Sections, NULL, HelpText));
3218 if ((StrLen(Command)> 4)
3219 && (Command[StrLen(Command)-1] == L'i' || Command[StrLen(Command)-1] == L'I')
3220 && (Command[StrLen(Command)-2] == L'f' || Command[StrLen(Command)-2] == L'F')
3221 && (Command[StrLen(Command)-3] == L'e' || Command[StrLen(Command)-3] == L'E')
3222 && (Command[StrLen(Command)-4] == L'.')
3224 FixCommand = AllocateZeroPool(StrSize(Command) - 4 * sizeof (CHAR16));
3230 (StrSize(Command) - 4 * sizeof (CHAR16))/sizeof(CHAR16),
3231 Command,
3232 StrLen(Command)-4
3238 return (ProcessManFile(Command, Command, Sections, NULL, HelpText));
3371 This function returns the command associated with a alias or a list of all
3377 @param[out] Volatile upon return of a single command if TRUE indicates
3381 the NULL-terminated command for that alias.
3442 Changes a shell command alias.
3444 This function creates an alias for a shell command or if Alias is NULL it will delete an existing alias.
3448 @param[in] Command Points to the NULL-terminated shell command or existing alias.
3449 @param[in] Alias Points to the NULL-terminated alias for the shell command. If this is NULL, and
3450 Command refers to an alias, that alias will be deleted.
3459 IN CONST CHAR16 *Command,
3483 // remove an alias (but passed in COMMAND parameter)
3485 Status = (gRT->SetVariable((CHAR16*)Command, &gShellAliasGuid, 0, 0, NULL));
3492 gRT->SetVariable((CHAR16*)Command, &gShellAliasGuid, 0, 0, NULL);
3494 Status = (gRT->SetVariable((CHAR16*)Alias, &gShellAliasGuid, EFI_VARIABLE_BOOTSERVICE_ACCESS|(Volatile?0:EFI_VARIABLE_NON_VOLATILE), StrSize(Command), (VOID*)Command));
3504 Changes a shell command alias.
3506 This function creates an alias for a shell command or if Alias is NULL it will delete an existing alias.
3509 @param[in] Command Points to the NULL-terminated shell command or existing alias.
3510 @param[in] Alias Points to the NULL-terminated alias for the shell command. If this is NULL, and
3511 Command refers to an alias, that alias will be deleted.
3522 @retval EFI_INVALID_PARAMETER Command is null or the empty string.
3527 IN CONST CHAR16 *Command,
3533 if (ShellCommandIsOnAliasList(Alias==NULL?Command:Alias)) {
3538 } else if (Command == NULL || *Command == CHAR_NULL || StrLen(Command) == 0) {
3540 // Command is null or empty
3543 } else if (EfiShellGetAlias(Command, NULL) != NULL && !Replace) {
3549 return (InternalSetAlias(Command, Alias, Volatile));