Lines Matching defs:NewSize

663   Allocates and zeros the number bytes specified by NewSize from memory of the type

665 NewSize bytes are copied from OldBuffer to the newly allocated buffer, and
667 If NewSize is 0, then a valid buffer of 0 size is returned. If there is not
670 If the allocation of the new buffer is successful and the smaller of NewSize and OldSize
675 @param NewSize The size, in bytes, of the buffer to reallocate.
686 IN UINTN NewSize,
692 NewBuffer = InternalAllocateZeroPool (PoolType, NewSize);
694 CopyMem (NewBuffer, OldBuffer, MIN (OldSize, NewSize));
703 Allocates and zeros the number bytes specified by NewSize from memory of type
705 NewSize bytes are copied from OldBuffer to the newly allocated buffer, and
707 If NewSize is 0, then a valid buffer of 0 size is returned. If there is not
710 If the allocation of the new buffer is successful and the smaller of NewSize and OldSize
714 @param NewSize The size, in bytes, of the buffer to reallocate.
725 IN UINTN NewSize,
729 return InternalReallocatePool (EfiBootServicesData, OldSize, NewSize, OldBuffer);
735 Allocates and zeros the number bytes specified by NewSize from memory of type
737 NewSize bytes are copied from OldBuffer to the newly allocated buffer, and
739 If NewSize is 0, then a valid buffer of 0 size is returned. If there is not
742 If the allocation of the new buffer is successful and the smaller of NewSize and OldSize
746 @param NewSize The size, in bytes, of the buffer to reallocate.
757 IN UINTN NewSize,
761 return InternalReallocatePool (EfiRuntimeServicesData, OldSize, NewSize, OldBuffer);
767 Allocates and zeros the number bytes specified by NewSize from memory of type
769 NewSize bytes are copied from OldBuffer to the newly allocated buffer, and
771 If NewSize is 0, then a valid buffer of 0 size is returned. If there is not
774 If the allocation of the new buffer is successful and the smaller of NewSize and OldSize
778 @param NewSize The size, in bytes, of the buffer to reallocate.
789 IN UINTN NewSize,
793 return InternalReallocatePool (EfiReservedMemoryType, OldSize, NewSize, OldBuffer);