audk/MdePkg/Library/PeiMemoryLib
Hao Wu 9088c61e2d MdePkg/MemoryLib: Refine InternalMemSetMem16|32|64 functions logic
This commit refines the logic for InternalMemSetMem16|32|64 functions. It
avoids using the decrement operator '--' for array index to prevent
possible mis-reports by static code checkers.

Please note that those modified functions are only consumed within
MemoryLib by APIs SetMem16|32|64, and those APIs will handle the case when
the input number of bytes to set is 0. Hence, the behavior of APIs
SetMem16|32|64 is not changed.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
2016-12-22 16:17:16 +08:00
..
CompareMemWrapper.c
CopyMemWrapper.c
IsZeroBufferWrapper.c MdePkg BaseMemoryLib: Add C implementation of API IsZeroBuffer() 2016-08-22 18:54:30 +08:00
MemLib.c
MemLibGeneric.c MdePkg/MemoryLib: Refine InternalMemSetMem16|32|64 functions logic 2016-12-22 16:17:16 +08:00
MemLibGuid.c MdePkg BaseMemoryLib: Add implementation of API IsZeroGuid() 2016-08-22 18:54:29 +08:00
MemLibInternals.h MdePkg BaseMemoryLib: Add C implementation of API IsZeroBuffer() 2016-08-22 18:54:30 +08:00
PeiMemoryLib.inf MdePkg BaseMemoryLib: Add C implementation of API IsZeroBuffer() 2016-08-22 18:54:30 +08:00
PeiMemoryLib.uni MdePkg: Convert all .uni files to utf-8 2015-12-15 04:53:50 +00:00
ScanMem8Wrapper.c
ScanMem16Wrapper.c
ScanMem32Wrapper.c
ScanMem64Wrapper.c
SetMem16Wrapper.c
SetMem32Wrapper.c
SetMem64Wrapper.c
SetMemWrapper.c
ZeroMemWrapper.c MdePkg/BaseMemoryLib*: check for zero length in ZeroMem () 2016-11-04 09:53:01 +00:00