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:
committed by
mergify[bot]
parent
1436aea4d5
commit
2f88bd3a12
@@ -82,7 +82,6 @@ INTN
|
||||
IN CONST VOID *UserStruct
|
||||
);
|
||||
|
||||
|
||||
//
|
||||
// Some functions below are read-only, while others are read-write. If any
|
||||
// write operation is expected to run concurrently with any other operation on
|
||||
@@ -104,10 +103,9 @@ INTN
|
||||
VOID *
|
||||
EFIAPI
|
||||
OrderedCollectionUserStruct (
|
||||
IN CONST ORDERED_COLLECTION_ENTRY *Entry
|
||||
IN CONST ORDERED_COLLECTION_ENTRY *Entry
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Allocate and initialize the ORDERED_COLLECTION structure.
|
||||
|
||||
@@ -128,11 +126,10 @@ OrderedCollectionUserStruct (
|
||||
ORDERED_COLLECTION *
|
||||
EFIAPI
|
||||
OrderedCollectionInit (
|
||||
IN ORDERED_COLLECTION_USER_COMPARE UserStructCompare,
|
||||
IN ORDERED_COLLECTION_KEY_COMPARE KeyCompare
|
||||
IN ORDERED_COLLECTION_USER_COMPARE UserStructCompare,
|
||||
IN ORDERED_COLLECTION_KEY_COMPARE KeyCompare
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Check whether the collection is empty (has no entries).
|
||||
|
||||
@@ -147,10 +144,9 @@ OrderedCollectionInit (
|
||||
BOOLEAN
|
||||
EFIAPI
|
||||
OrderedCollectionIsEmpty (
|
||||
IN CONST ORDERED_COLLECTION *Collection
|
||||
IN CONST ORDERED_COLLECTION *Collection
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Uninitialize and release an empty ORDERED_COLLECTION structure.
|
||||
|
||||
@@ -164,10 +160,9 @@ OrderedCollectionIsEmpty (
|
||||
VOID
|
||||
EFIAPI
|
||||
OrderedCollectionUninit (
|
||||
IN ORDERED_COLLECTION *Collection
|
||||
IN ORDERED_COLLECTION *Collection
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Look up the collection entry that links the user structure that matches the
|
||||
specified standalone key.
|
||||
@@ -188,11 +183,10 @@ OrderedCollectionUninit (
|
||||
ORDERED_COLLECTION_ENTRY *
|
||||
EFIAPI
|
||||
OrderedCollectionFind (
|
||||
IN CONST ORDERED_COLLECTION *Collection,
|
||||
IN CONST VOID *StandaloneKey
|
||||
IN CONST ORDERED_COLLECTION *Collection,
|
||||
IN CONST VOID *StandaloneKey
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Find the collection entry of the minimum user structure stored in the
|
||||
collection.
|
||||
@@ -211,10 +205,9 @@ OrderedCollectionFind (
|
||||
ORDERED_COLLECTION_ENTRY *
|
||||
EFIAPI
|
||||
OrderedCollectionMin (
|
||||
IN CONST ORDERED_COLLECTION *Collection
|
||||
IN CONST ORDERED_COLLECTION *Collection
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Find the collection entry of the maximum user structure stored in the
|
||||
collection.
|
||||
@@ -234,10 +227,9 @@ OrderedCollectionMin (
|
||||
ORDERED_COLLECTION_ENTRY *
|
||||
EFIAPI
|
||||
OrderedCollectionMax (
|
||||
IN CONST ORDERED_COLLECTION *Collection
|
||||
IN CONST ORDERED_COLLECTION *Collection
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Get the collection entry of the least user structure that is greater than the
|
||||
one linked by Entry.
|
||||
@@ -255,10 +247,9 @@ OrderedCollectionMax (
|
||||
ORDERED_COLLECTION_ENTRY *
|
||||
EFIAPI
|
||||
OrderedCollectionNext (
|
||||
IN CONST ORDERED_COLLECTION_ENTRY *Entry
|
||||
IN CONST ORDERED_COLLECTION_ENTRY *Entry
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Get the collection entry of the greatest user structure that is less than the
|
||||
one linked by Entry.
|
||||
@@ -276,10 +267,9 @@ OrderedCollectionNext (
|
||||
ORDERED_COLLECTION_ENTRY *
|
||||
EFIAPI
|
||||
OrderedCollectionPrev (
|
||||
IN CONST ORDERED_COLLECTION_ENTRY *Entry
|
||||
IN CONST ORDERED_COLLECTION_ENTRY *Entry
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Insert (link) a user structure into the collection, allocating a new
|
||||
collection entry.
|
||||
@@ -344,12 +334,11 @@ OrderedCollectionPrev (
|
||||
RETURN_STATUS
|
||||
EFIAPI
|
||||
OrderedCollectionInsert (
|
||||
IN OUT ORDERED_COLLECTION *Collection,
|
||||
OUT ORDERED_COLLECTION_ENTRY **Entry OPTIONAL,
|
||||
IN VOID *UserStruct
|
||||
IN OUT ORDERED_COLLECTION *Collection,
|
||||
OUT ORDERED_COLLECTION_ENTRY **Entry OPTIONAL,
|
||||
IN VOID *UserStruct
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Delete an entry from the collection, unlinking the associated user structure.
|
||||
|
||||
@@ -411,9 +400,9 @@ OrderedCollectionInsert (
|
||||
VOID
|
||||
EFIAPI
|
||||
OrderedCollectionDelete (
|
||||
IN OUT ORDERED_COLLECTION *Collection,
|
||||
IN ORDERED_COLLECTION_ENTRY *Entry,
|
||||
OUT VOID **UserStruct OPTIONAL
|
||||
IN OUT ORDERED_COLLECTION *Collection,
|
||||
IN ORDERED_COLLECTION_ENTRY *Entry,
|
||||
OUT VOID **UserStruct OPTIONAL
|
||||
);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user