#include <errno.h>
Go to the source code of this file.
|
MagickExport MemoryInfo * | AcquireVirtualMemory (const size_t, const size_t) magick_alloc_sizes(1 |
|
MagickExport MemoryInfo * | RelinquishVirtualMemory (MemoryInfo *) |
|
MagickExport size_t | GetMaxMemoryRequest (void) |
|
MagickExport void * | AcquireAlignedMemory (const size_t, const size_t) magick_attribute((__malloc__)) magick_alloc_sizes(1 |
|
MagickExport void * | AcquireMagickMemory (const size_t) magick_attribute((__malloc__)) magick_alloc_size(1) |
|
MagickExport void * | AcquireCriticalMemory (const size_t) |
|
MagickExport void * | AcquireQuantumMemory (const size_t, const size_t) magick_attribute((__malloc__)) magick_alloc_sizes(1 |
|
MagickExport void * | CopyMagickMemory (void *magick_restrict, const void *magick_restrict, const size_t) magick_attribute((__nonnull__)) |
|
MagickExport void | DestroyMagickMemory (void) |
|
MagickExport void | GetMagickMemoryMethods (AcquireMemoryHandler *, ResizeMemoryHandler *, DestroyMemoryHandler *) |
|
MagickExport void * | GetVirtualMemoryBlob (const MemoryInfo *) |
|
MagickExport void * | RelinquishAlignedMemory (void *) |
|
MagickExport void * | RelinquishMagickMemory (void *) |
|
MagickExport void * | ResetMagickMemory (void *, int, const size_t) |
|
MagickExport void * | ResizeMagickMemory (void *, const size_t) magick_attribute((__malloc__)) magick_alloc_size(2) |
|
MagickExport void * | ResizeQuantumMemory (void *, const size_t, const size_t) magick_attribute((__malloc__)) magick_alloc_sizes(2 |
|
MagickExport void | SetMagickAlignedMemoryMethods (AcquireAlignedMemoryHandler, RelinquishAlignedMemoryHandler) |
|
MagickExport void | SetMagickMemoryMethods (AcquireMemoryHandler, ResizeMemoryHandler, DestroyMemoryHandler) |
|
static MagickBooleanType | HeapOverflowSanityCheck (const size_t count, const size_t quantum) |
|
static MagickBooleanType | HeapOverflowSanityCheckGetSize (const size_t count, const size_t quantum, size_t *const extent) |
|
◆ AcquireAlignedMemoryHandler
typedef void *(*)(*) *(*) *(* AcquireAlignedMemoryHandler) (const size_t, const size_t) |
◆ AcquireMemoryHandler
◆ DestroyMemoryHandler
typedef void *(*)(* DestroyMemoryHandler) (void *) |
◆ MemoryInfo
◆ RelinquishAlignedMemoryHandler
typedef void *(*)(*) *(*) *(*)(* RelinquishAlignedMemoryHandler) (void *) |
◆ ResizeMemoryHandler
◆ AcquireAlignedMemory()
MagickExport void * AcquireAlignedMemory |
( |
const |
size_t, |
|
|
const |
size_t |
|
) |
| |
◆ AcquireCriticalMemory()
◆ AcquireMagickMemory()
◆ AcquireQuantumMemory()
MagickExport void * AcquireQuantumMemory |
( |
const |
size_t, |
|
|
const |
size_t |
|
) |
| |
◆ AcquireVirtualMemory()
◆ CopyMagickMemory()
MagickExport void * CopyMagickMemory |
( |
void * |
magick_restrict, |
|
|
const void * |
magick_restrict, |
|
|
const |
size_t |
|
) |
| |
◆ DestroyMagickMemory()
◆ GetMagickMemoryMethods()
◆ GetMaxMemoryRequest()
◆ GetVirtualMemoryBlob()
◆ HeapOverflowSanityCheck()
static MagickBooleanType HeapOverflowSanityCheck |
( |
const size_t |
count, |
|
|
const size_t |
quantum |
|
) |
| |
|
inlinestatic |
◆ HeapOverflowSanityCheckGetSize()
static MagickBooleanType HeapOverflowSanityCheckGetSize |
( |
const size_t |
count, |
|
|
const size_t |
quantum, |
|
|
size_t *const |
extent |
|
) |
| |
|
inlinestatic |
◆ RelinquishAlignedMemory()
◆ RelinquishMagickMemory()
◆ RelinquishVirtualMemory()
Definition at line 1229 of file memory.c.
References AlignedVirtualMemory, _MemoryInfo::blob, _MemoryInfo::filename, _MemoryInfo::length, MagickCoreSignature, MapVirtualMemory, RelinquishAlignedMemory(), RelinquishMagickMemory(), RelinquishUniqueFileResource(), _MemoryInfo::signature, _MemoryInfo::type, UnalignedVirtualMemory, and UnmapBlob().
Referenced by AcquireVirtualMemory(), CLAHE(), CLAHEImage(), DespeckleImage(), DestroyCubeInfo(), DestroyQuantumPixels(), FloodfillPaintImage(), GetImageConvexHull(), GetImageStatistics(), LocalContrastImage(), and WaveletDenoiseImage().
◆ ResetMagickMemory()
MagickExport void * ResetMagickMemory |
( |
void * |
, |
|
|
int |
, |
|
|
const |
size_t |
|
) |
| |
◆ ResizeMagickMemory()
MagickExport void * ResizeMagickMemory |
( |
void * |
, |
|
|
const |
size_t |
|
) |
| |
◆ ResizeQuantumMemory()
MagickExport void * ResizeQuantumMemory |
( |
void * |
, |
|
|
const |
size_t, |
|
|
const |
size_t |
|
) |
| |
◆ SetMagickAlignedMemoryMethods()
◆ SetMagickMemoryMethods()