MdePkg: Apply uncrustify changes

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

Apply uncrustify changes to .c/.h files in the MdePkg package

Cc: Andrew Fish <afish@apple.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
Michael Kubacki
2021-12-05 14:54:05 -08:00
committed by mergify[bot]
parent 1436aea4d5
commit 2f88bd3a12
975 changed files with 55681 additions and 57790 deletions

View File

@@ -8,6 +8,7 @@
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef __INT_SAFE_LIB_H__
#define __INT_SAFE_LIB_H__
@@ -40,14 +41,14 @@
#define SafeIntnToChar16 SafeIntnToUint16
#define SafeUintnToChar16 SafeUintnToUint16
#define SafeChar16ToInt8 SafeUint16ToInt8
#define SafeChar16ToUint8 SafeUint16ToUint8
#define SafeChar16ToChar8 SafeUint16ToChar8
#define SafeChar16ToInt16 SafeUint16ToInt16
#define SafeChar16ToInt8 SafeUint16ToInt8
#define SafeChar16ToUint8 SafeUint16ToUint8
#define SafeChar16ToChar8 SafeUint16ToChar8
#define SafeChar16ToInt16 SafeUint16ToInt16
#define SafeChar16Mult SafeUint16Mult
#define SafeChar16Sub SafeUint16Sub
#define SafeChar16Add SafeUint16Add
#define SafeChar16Mult SafeUint16Mult
#define SafeChar16Sub SafeUint16Sub
#define SafeChar16Add SafeUint16Add
//
// Conversion functions
@@ -357,8 +358,8 @@ SafeInt16ToChar8 (
RETURN_STATUS
EFIAPI
SafeInt16ToUint8 (
IN INT16 Operand,
OUT UINT8 *Result
IN INT16 Operand,
OUT UINT8 *Result
);
/**
@@ -546,8 +547,8 @@ SafeUint16ToChar8 (
RETURN_STATUS
EFIAPI
SafeUint16ToUint8 (
IN UINT16 Operand,
OUT UINT8 *Result
IN UINT16 Operand,
OUT UINT8 *Result
);
/**
@@ -654,8 +655,8 @@ SafeInt32ToChar8 (
RETURN_STATUS
EFIAPI
SafeInt32ToUint8 (
IN INT32 Operand,
OUT UINT8 *Result
IN INT32 Operand,
OUT UINT8 *Result
);
/**
@@ -712,7 +713,6 @@ SafeInt32ToUint16 (
OUT UINT16 *Result
);
/**
INT32 -> UINT32 conversion
@@ -871,8 +871,8 @@ SafeUint32ToChar8 (
RETURN_STATUS
EFIAPI
SafeUint32ToUint8 (
IN UINT32 Operand,
OUT UINT8 *Result
IN UINT32 Operand,
OUT UINT8 *Result
);
/**
@@ -1060,8 +1060,8 @@ SafeIntnToChar8 (
RETURN_STATUS
EFIAPI
SafeIntnToUint8 (
IN INTN Operand,
OUT UINT8 *Result
IN INTN Operand,
OUT UINT8 *Result
);
/**
@@ -1303,8 +1303,8 @@ SafeUintnToChar8 (
RETURN_STATUS
EFIAPI
SafeUintnToUint8 (
IN UINTN Operand,
OUT UINT8 *Result
IN UINTN Operand,
OUT UINT8 *Result
);
/**