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) {
169 }
while (--Length != 0);
193 CONST UINT16 *Pointer;
195 Pointer = (
CONST UINT16 *)Buffer;
197 if (*Pointer == Value) {
202 }
while (--Length != 0);
226 CONST UINT32 *Pointer;
228 Pointer = (
CONST UINT32 *)Buffer;
230 if (*Pointer == Value) {
235 }
while (--Length != 0);
259 CONST UINT64 *Pointer;
261 Pointer = (
CONST UINT64 *)Buffer;
263 if (*Pointer == Value) {
268 }
while (--Length != 0);
290 CONST UINT8 *BufferData;
294 for (Index = 0; Index < Length; Index++) {
295 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)