MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / IsCommand

Function IsCommand

ShellPkg/Application/Shell/Shell.c:812–822  ·  view source on GitHub ↗

Internal function to determine if 2 command names are really the same. @param[in] Command1 The pointer to the first command name. @param[in] Command2 The pointer to the second command name. @retval TRUE The 2 command names are the same. @retval FALSE The 2 command names are not the same. **/

Source from the content-addressed store, hash-verified

810 @retval FALSE The 2 command names are not the same.
811**/
812BOOLEAN
813IsCommand(
814 IN CONST CHAR16 *Command1,
815 IN CONST CHAR16 *Command2
816 )
817{
818 if (StringNoCaseCompare(&Command1, &Command2) == 0) {
819 return (TRUE);
820 }
821 return (FALSE);
822}
823
824/**
825 Internal function to determine if a command is a script only command.

Callers 1

IsScriptOnlyCommandFunction · 0.85

Calls 1

StringNoCaseCompareFunction · 0.50

Tested by

no test coverage detected