ShellPkg: Fix spelling mistake for occurred

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2361

Cc: Ray Ni <ray.ni@intel.com>
Cc: Zhichao Gao <zhichao.gao@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Guomin Jiang <guomin.jiang@intel.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
This commit is contained in:
Michael D Kinney
2020-07-31 17:52:32 -07:00
committed by mergify[bot]
parent 53b40c9c6d
commit a048af3c90
23 changed files with 93 additions and 93 deletions

View File

@@ -72,7 +72,7 @@ BOOLEAN HBufferImageMouseNeedRefresh;
Initialization function for HBufferImage
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HBufferImageInit (
@@ -730,7 +730,7 @@ HBufferImageRestorePosition (
Refresh function for HBufferImage.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A Load error occured.
@retval EFI_LOAD_ERROR A Load error occurred.
**/
EFI_STATUS
@@ -1314,7 +1314,7 @@ HBufferImageDoBackspace (
@param[in] Char The input char.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
**/
EFI_STATUS
@@ -2376,7 +2376,7 @@ HBufferImageAdjustMousePosition (
INS
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
@retval EFI_OUT_OF_RESOURCES A Memory allocation failed.
**/
EFI_STATUS

View File

@@ -16,7 +16,7 @@
Initialization function for HBufferImage
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HBufferImageInit (
@@ -37,7 +37,7 @@ HBufferImageCleanup (
Refresh function for HBufferImage.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A Load error occured.
@retval EFI_LOAD_ERROR A Load error occurred.
**/
EFI_STATUS
@@ -57,7 +57,7 @@ HBufferImageRefresh (
INS
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
@retval EFI_OUT_OF_RESOURCES A Memory allocation failed.
**/
EFI_STATUS

View File

@@ -27,7 +27,7 @@ HEFI_EDITOR_CLIPBOARD HClipBoardConst = {
Initialization function for HDiskImage.
@param[in] EFI_SUCCESS The operation was successful.
@param[in] EFI_LOAD_ERROR A load error occured.
@param[in] EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HClipBoardInit (
@@ -46,7 +46,7 @@ HClipBoardInit (
Initialization function for HDiskImage.
@param[in] EFI_SUCCESS The operation was successful.
@param[in] EFI_LOAD_ERROR A load error occured.
@param[in] EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HClipBoardCleanup (

View File

@@ -16,7 +16,7 @@
Initialization function for HDiskImage
@param[in] EFI_SUCCESS The operation was successful.
@param[in] EFI_LOAD_ERROR A load error occured.
@param[in] EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HClipBoardInit (
@@ -27,7 +27,7 @@ HClipBoardInit (
Initialization function for HDiskImage.
@param[in] EFI_SUCCESS The operation was successful.
@param[in] EFI_LOAD_ERROR A load error occured.
@param[in] EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HClipBoardCleanup (

View File

@@ -35,7 +35,7 @@ HEFI_EDITOR_DISK_IMAGE HDiskImageConst = {
Initialization function for HDiskImage.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HDiskImageInit (
@@ -147,7 +147,7 @@ HDiskImageSetDiskNameOffsetSize (
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
@retval EFI_INVALID_PARAMETER A parameter was invalid.
**/
EFI_STATUS
@@ -319,7 +319,7 @@ HDiskImageRead (
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
@retval EFI_INVALID_PARAMETER A parameter was invalid.
**/
EFI_STATUS

View File

@@ -16,7 +16,7 @@
Initialization function for HDiskImage.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HDiskImageInit (
@@ -55,7 +55,7 @@ HDiskImageBackup (
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
@retval EFI_INVALID_PARAMETER A parameter was invalid.
**/
EFI_STATUS
@@ -76,7 +76,7 @@ HDiskImageRead (
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
@retval EFI_INVALID_PARAMETER A parameter was invalid.
**/
EFI_STATUS

View File

@@ -131,7 +131,7 @@ HFileImageSetFileName (
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HFileImageRead (
@@ -244,7 +244,7 @@ HFileImageRead (
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HFileImageSave (

View File

@@ -52,7 +52,7 @@ HFileImageBackup (
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HFileImageRead (
@@ -67,7 +67,7 @@ HFileImageRead (
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HFileImageSave (

View File

@@ -243,8 +243,8 @@ HMainCommandGoToOffset (
save to another file name.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation occured.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_OUT_OF_RESOURCES A memory allocation occurred.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HMainCommandSaveBuffer (
@@ -540,8 +540,8 @@ HMainCommandSaveBuffer (
Load a disk buffer editor.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation occured.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_OUT_OF_RESOURCES A memory allocation occurred.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HMainCommandSelectStart (
@@ -578,8 +578,8 @@ HMainCommandSelectStart (
Load a disk buffer editor.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation occured.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_OUT_OF_RESOURCES A memory allocation occurred.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HMainCommandSelectEnd (
@@ -616,8 +616,8 @@ HMainCommandSelectEnd (
Cut current line to clipboard.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation occured.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_OUT_OF_RESOURCES A memory allocation occurred.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HMainCommandCut (
@@ -688,8 +688,8 @@ HMainCommandCut (
Paste line to file buffer.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation occured.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_OUT_OF_RESOURCES A memory allocation occurred.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HMainCommandPaste (
@@ -748,8 +748,8 @@ HMainCommandPaste (
Exit editor.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation occured.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_OUT_OF_RESOURCES A memory allocation occurred.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HMainCommandExit (
@@ -841,8 +841,8 @@ HMainCommandExit (
Load a file from disk to editor.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation occured.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_OUT_OF_RESOURCES A memory allocation occurred.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HMainCommandOpenFile (
@@ -1074,8 +1074,8 @@ HMainCommandOpenFile (
Load a disk buffer editor.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation occured.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_OUT_OF_RESOURCES A memory allocation occurred.
@retval EFI_LOAD_ERROR A load error occurred.
@retval EFI_NOT_FOUND The disk was not found.
**/
EFI_STATUS
@@ -1319,8 +1319,8 @@ HMainCommandOpenDisk (
Load memory content to editor
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation occured.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_OUT_OF_RESOURCES A memory allocation occurred.
@retval EFI_LOAD_ERROR A load error occurred.
@retval EFI_NOT_FOUND The disk was not found.
**/
EFI_STATUS
@@ -1623,7 +1623,7 @@ CONST EDITOR_MENU_ITEM HexEditorMenuItems[] = {
Init function for MainEditor
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HMainEditorInit (
@@ -1780,7 +1780,7 @@ HMainEditorInit (
Cleanup function for MainEditor.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HMainEditorCleanup (
@@ -1932,8 +1932,8 @@ HMainEditorRefresh (
@param[out] BeforeLeftButtonDown helps with selections.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation occured.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_OUT_OF_RESOURCES A memory allocation occurred.
@retval EFI_LOAD_ERROR A load error occurred.
@retval EFI_NOT_FOUND The disk was not found.
**/
EFI_STATUS
@@ -2091,8 +2091,8 @@ HMainEditorHandleMouseInput (
Handle user key input. will route it to other components handle function.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation occured.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_OUT_OF_RESOURCES A memory allocation occurred.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HMainEditorKeyInput (

View File

@@ -18,7 +18,7 @@
Init function for MainEditor
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HMainEditorInit (
@@ -29,7 +29,7 @@ HMainEditorInit (
Cleanup function for MainEditor.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HMainEditorCleanup (
@@ -50,8 +50,8 @@ HMainEditorRefresh (
Handle user key input. will route it to other components handle function.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation occured.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_OUT_OF_RESOURCES A memory allocation occurred.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HMainEditorKeyInput (

View File

@@ -34,7 +34,7 @@ HEFI_EDITOR_MEM_IMAGE HMemImageConst = {
Initialization function for HDiskImage.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HMemImageInit (
@@ -106,7 +106,7 @@ HMemImageSetMemOffsetSize (
@param[in] Size The size.
@param[in] Recover if is for recover, no information print.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
**/
@@ -217,7 +217,7 @@ HMemImageRead (
@param[in] Offset The offset.
@param[in] Size The size.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
**/

View File

@@ -16,7 +16,7 @@
Initialization function for HDiskImage.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
**/
EFI_STATUS
HMemImageInit (
@@ -56,7 +56,7 @@ HMemImageSetMemOffsetSize (
@param[in] Size The size.
@param[in] Recover if is for recover, no information print.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
**/
@@ -73,7 +73,7 @@ HMemImageRead (
@param[in] Offset The offset.
@param[in] Size The size.
@retval EFI_LOAD_ERROR A load error occured.
@retval EFI_LOAD_ERROR A load error occurred.
@retval EFI_SUCCESS The operation was successful.
@retval EFI_OUT_OF_RESOURCES A memory allocation failed.
**/

View File

@@ -33,7 +33,7 @@ HLineFree (
@param[in] Count The line number to advance.
@retval NULL An error occured.
@retval NULL An error occurred.
@return A pointer to the line after advance.
**/
HEFI_EDITOR_LINE *
@@ -68,7 +68,7 @@ HLineAdvance (
@param[in] Count The line number to retreat.
@retval NULL An error occured.
@retval NULL An error occurred.
@return A pointer to the line after retreat.
**/
HEFI_EDITOR_LINE *
@@ -105,7 +105,7 @@ HLineRetreat (
>0 : advance
<0: retreat
@retval NULL An error occured.
@retval NULL An error occurred.
@return A pointer to the line after move.
**/
HEFI_EDITOR_LINE *
@@ -138,7 +138,7 @@ HMoveLine (
>0 : advance
<0: retreat
@retval NULL An error occured.
@retval NULL An error occurred.
@return A pointer to the line after move.
**/
HEFI_EDITOR_LINE *

View File

@@ -18,7 +18,7 @@
>0 : advance
<0: retreat
@retval NULL An error occured.
@retval NULL An error occurred.
@return A pointer to the line after move.
**/
HEFI_EDITOR_LINE *
@@ -33,7 +33,7 @@ HMoveLine (
>0 : advance
<0: retreat
@retval NULL An error occured.
@retval NULL An error occurred.
@return A pointer to the line after move.
**/
HEFI_EDITOR_LINE *