34 for ( ; Length != 0; Length--) {
35 ((UINT16 *)Buffer)[Length - 1] = Value;
59 for ( ; Length != 0; Length--) {
60 ((UINT32 *)Buffer)[Length - 1] = Value;
84 for ( ; Length != 0; Length--) {
85 ((UINT64 *)Buffer)[Length - 1] = Value;
126 IN CONST VOID *DestinationBuffer,
131 while ((--Length != 0) &&
132 (*(INT8 *)DestinationBuffer == *(INT8 *)SourceBuffer))
134 DestinationBuffer = (INT8 *)DestinationBuffer + 1;
135 SourceBuffer = (INT8 *)SourceBuffer + 1;
138 return (
INTN)*(UINT8 *)DestinationBuffer - (
INTN)*(UINT8 *)SourceBuffer;
160 CONST UINT8 *Pointer;
162 Pointer = (
CONST UINT8 *)Buffer;
164 if (*(Pointer++) == Value) {
167 }
while (--Length != 0);
191 CONST UINT16 *Pointer;
193 Pointer = (
CONST UINT16 *)Buffer;
195 if (*(Pointer++) == Value) {
198 }
while (--Length != 0);
222 CONST UINT32 *Pointer;
224 Pointer = (
CONST UINT32 *)Buffer;
226 if (*(Pointer++) == Value) {
229 }
while (--Length != 0);
253 CONST UINT64 *Pointer;
255 Pointer = (
CONST UINT64 *)Buffer;
257 if (*(Pointer++) == Value) {
260 }
while (--Length != 0);
282 CONST UINT8 *BufferData;
286 for (Index = 0; Index < Length; Index++) {
287 if (BufferData[Index] != 0) {
VOID *EFIAPI InternalMemSetMem32(OUT VOID *Buffer, IN UINTN Length, IN UINT32 Value)
VOID *EFIAPI InternalMemSetMem64(OUT VOID *Buffer, IN UINTN Length, IN UINT64 Value)
CONST VOID *EFIAPI InternalMemScanMem32(IN CONST VOID *Buffer, IN UINTN Length, IN UINT32 Value)
CONST VOID *EFIAPI InternalMemScanMem64(IN CONST VOID *Buffer, IN UINTN Length, IN UINT64 Value)
CONST VOID *EFIAPI InternalMemScanMem8(IN CONST VOID *Buffer, IN UINTN Length, IN UINT8 Value)
BOOLEAN EFIAPI InternalMemIsZeroBuffer(IN CONST VOID *Buffer, IN UINTN Length)
INTN EFIAPI InternalMemCompareMem(IN CONST VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length)
CONST VOID *EFIAPI InternalMemScanMem16(IN CONST VOID *Buffer, IN UINTN Length, IN UINT16 Value)
VOID *EFIAPI InternalMemZeroMem(OUT VOID *Buffer, IN UINTN Length)
VOID *EFIAPI InternalMemSetMem16(OUT VOID *Buffer, IN UINTN Length, IN UINT16 Value)
VOID *EFIAPI InternalMemSetMem(OUT VOID *Buffer, IN UINTN Length, IN UINT8 Value)