33 return (VOID *)malloc (AllocationSize);
62 ZeroMem (Buffer, AllocationSize);
93 IN VOID *OldBuffer OPTIONAL
99 if (NewBuffer ==
NULL) {
103 if (OldBuffer !=
NULL) {
105 CopyMem (NewBuffer, OldBuffer, OldSize);
141 if (Memory !=
NULL) {
142 Memory =
CopyMem (Memory, Buffer, AllocationSize);
168 free ((
void *)Buffer);
VOID *EFIAPI CopyMem(OUT VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length)
VOID *EFIAPI ZeroMem(OUT VOID *Buffer, IN UINTN Length)
VOID *EFIAPI ReallocatePool(IN UINTN OldSize, IN UINTN NewSize, IN VOID *OldBuffer OPTIONAL)
VOID *EFIAPI AllocateZeroPool(IN UINTN AllocationSize)
VOID EFIAPI FreePool(IN VOID *Buffer)
VOID *EFIAPI AllocateCopyPool(IN UINTN AllocationSize, IN CONST VOID *Buffer)
VOID *EFIAPI AllocatePool(IN UINTN AllocationSize)