Lines Matching defs:NewSize

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

728 NewSize bytes are copied from OldBuffer to the newly allocated buffer, and
730 If NewSize is 0, then a valid buffer of 0 size is returned. If there is not
733 If the allocation of the new buffer is successful and the smaller of NewSize and OldSize
738 @param NewSize The size, in bytes, of the buffer to reallocate.
749 IN UINTN NewSize,
755 NewBuffer = InternalAllocateZeroPool (PoolType, NewSize);
757 CopyMem (NewBuffer, OldBuffer, MIN (OldSize, NewSize));
766 Allocates and zeros the number bytes specified by NewSize from memory of type
768 NewSize bytes are copied from OldBuffer to the newly allocated buffer, and
770 If NewSize is 0, then a valid buffer of 0 size is returned. If there is not
773 If the allocation of the new buffer is successful and the smaller of NewSize and OldSize
777 @param NewSize The size, in bytes, of the buffer to reallocate.
788 IN UINTN NewSize,
792 return InternalReallocatePool (EfiRuntimeServicesData, OldSize, NewSize, OldBuffer);
798 Allocates and zeros the number bytes specified by NewSize from memory of type
800 NewSize bytes are copied from OldBuffer to the newly allocated buffer, and
802 If NewSize is 0, then a valid buffer of 0 size is returned. If there is not
805 If the allocation of the new buffer is successful and the smaller of NewSize and OldSize
809 @param NewSize The size, in bytes, of the buffer to reallocate.
820 IN UINTN NewSize,
824 return InternalReallocatePool (EfiRuntimeServicesData, OldSize, NewSize, OldBuffer);
830 Allocates and zeros the number bytes specified by NewSize from memory of type
832 NewSize bytes are copied from OldBuffer to the newly allocated buffer, and
834 If NewSize is 0, then a valid buffer of 0 size is returned. If there is not
837 If the allocation of the new buffer is successful and the smaller of NewSize and OldSize
841 @param NewSize The size, in bytes, of the buffer to reallocate.
852 IN UINTN NewSize,