MagickCore
7.0.0
|
#include "MagickCore/studio.h"
#include "MagickCore/blob.h"
#include "MagickCore/blob-private.h"
#include "MagickCore/exception.h"
#include "MagickCore/exception-private.h"
#include "MagickCore/memory_.h"
#include "MagickCore/memory-private.h"
#include "MagickCore/semaphore.h"
#include "MagickCore/string_.h"
Go to the source code of this file.
Data Structures | |
struct | _DataSegmentInfo |
struct | _MemoryInfo |
struct | _MagickMemoryMethods |
Macros | |
#define | BlockFooter(block, size) ((size_t *) ((char *) (block)+(size)-2*sizeof(size_t))) |
#define | BlockHeader(block) ((size_t *) (block)-1) |
#define | BlockSize 4096 |
#define | BlockThreshold 1024 |
#define | MaxBlockExponent 16 |
#define | MaxBlocks ((BlockThreshold/(4*sizeof(size_t)))+MaxBlockExponent+1) |
#define | MaxSegments 1024 |
#define | MemoryGuard ((0xdeadbeef << 31)+0xdeafdeed) |
#define | NextBlock(block) ((char *) (block)+SizeOfBlock(block)) |
#define | NextBlockInList(block) (*(void **) (block)) |
#define | PreviousBlock(block) ((char *) (block)-(*((size_t *) (block)-2))) |
#define | PreviousBlockBit 0x01 |
#define | PreviousBlockInList(block) (*((void **) (block)+1)) |
#define | SegmentSize (2*1024*1024) |
#define | SizeMask (~0x01) |
#define | SizeOfBlock(block) (*BlockHeader(block) & SizeMask) |
#define | AlignedExtent(size, alignment) (((size)+((alignment)-1)) & ~((alignment)-1)) |
Typedefs | |
typedef struct _DataSegmentInfo | DataSegmentInfo |
typedef struct _MemoryInfo | MemoryInfo |
typedef struct _MagickMemoryMethods | MagickMemoryMethods |
Functions | |
MagickExport void * | AcquireAlignedMemory (const size_t count, const size_t quantum) |
MagickExport void * | AcquireMagickMemory (const size_t size) |
MagickExport void * | AcquireQuantumMemory (const size_t count, const size_t quantum) |
MagickExport void * | CopyMagickMemory (void *destination, const void *source, const size_t size) |
MagickExport void | DestroyMagickMemory (void) |
MagickExport void | GetMagickMemoryMethods (AcquireMemoryHandler *acquire_memory_handler, ResizeMemoryHandler *resize_memory_handler, DestroyMemoryHandler *destroy_memory_handler) |
MagickExport void * | RelinquishAlignedMemory (void *memory) |
MagickExport void * | RelinquishMagickMemory (void *memory) |
MagickExport void * | ResetMagickMemory (void *memory, int byte, const size_t size) |
MagickExport void * | ResizeMagickMemory (void *memory, const size_t size) |
MagickExport void * | ResizeQuantumMemory (void *memory, const size_t count, const size_t quantum) |
MagickExport void | SetMagickMemoryMethods (AcquireMemoryHandler acquire_memory_handler, ResizeMemoryHandler resize_memory_handler, DestroyMemoryHandler destroy_memory_handler) |
Variables | |
static MagickMemoryMethods | memory_methods |
#define AlignedExtent | ( | size, | |
alignment | |||
) | (((size)+((alignment)-1)) & ~((alignment)-1)) |
Referenced by AcquireAlignedMemory(), and AcquireSemaphoreMemory().
#define BlockFooter | ( | block, | |
size | |||
) | ((size_t *) ((char *) (block)+(size)-2*sizeof(size_t))) |
Definition at line 69 of file memory.c.
Referenced by RelinquishMagickMemory().
#define BlockHeader | ( | block | ) | ((size_t *) (block)-1) |
Definition at line 71 of file memory.c.
Referenced by RelinquishMagickMemory().
#define MaxBlocks ((BlockThreshold/(4*sizeof(size_t)))+MaxBlockExponent+1) |
Definition at line 75 of file memory.c.
Referenced by AcquireMagickMemory().
#define MaxSegments 1024 |
Definition at line 76 of file memory.c.
Referenced by AcquireMagickMemory().
#define NextBlock | ( | block | ) | ((char *) (block)+SizeOfBlock(block)) |
Definition at line 78 of file memory.c.
Referenced by RelinquishMagickMemory().
#define PreviousBlock | ( | block | ) | ((char *) (block)-(*((size_t *) (block)-2))) |
Definition at line 80 of file memory.c.
Referenced by RelinquishMagickMemory().
#define PreviousBlockBit 0x01 |
Definition at line 81 of file memory.c.
Referenced by RelinquishMagickMemory().
#define PreviousBlockInList | ( | block | ) | (*((void **) (block)+1)) |
#define SegmentSize (2*1024*1024) |
Definition at line 83 of file memory.c.
Referenced by AcquireMagickMemory().
#define SizeMask (~0x01) |
Definition at line 84 of file memory.c.
Referenced by AcquireMagickMemory(), and RelinquishMagickMemory().
#define SizeOfBlock | ( | block | ) | (*BlockHeader(block) & SizeMask) |
Definition at line 85 of file memory.c.
Referenced by RelinquishMagickMemory().
typedef struct _DataSegmentInfo DataSegmentInfo |
typedef struct _MagickMemoryMethods MagickMemoryMethods |
typedef struct _MemoryInfo MemoryInfo |
MagickExport void* AcquireAlignedMemory | ( | const size_t | count, |
const size_t | quantum | ||
) |
Definition at line 189 of file memory.c.
References AlignedExtent, and CACHE_LINE_SIZE.
Referenced by AcquireCacheNexusPixels(), AcquireContributionThreadSet(), AcquireKernelBuiltIn(), AcquirePixelCacheNexus(), AcquireStreamInfo(), AcquireStreamPixels(), AcquireVirtualCacheView(), AdaptiveBlurImage(), AdaptiveSharpenImage(), AllocatePixelCachePixels(), CloneCacheView(), CloneKernelInfo(), EdgeImage(), EmbossImage(), GetMotionBlurKernel(), ParseKernelArray(), SelectiveBlurImage(), SharpenImage(), and WriteStreamImage().
MagickExport void* AcquireMagickMemory | ( | const size_t | size | ) |
Definition at line 410 of file memory.c.
References _MagickMemoryMethods::acquire_memory_handler, AcquireSemaphoreInfo(), LockSemaphoreInfo(), MagickFalse, MaxBlocks, MaxSegments, memory_methods, ResetMagickMemory(), SegmentSize, SizeMask, and UnlockSemaphoreInfo().
Referenced by AcquireDistributeCacheInfo(), AcquireDrawInfo(), AcquireExceptionInfo(), AcquireFxInfo(), AcquireImage(), AcquireImageInfo(), AcquireKernelBuiltIn(), AcquirePixelList(), AcquireQuantizeInfo(), AcquireQuantumInfo(), AcquireQuantumMemory(), AcquireRadonInfo(), AcquireRandomInfo(), AcquireResampleFilter(), AcquireResizeFilter(), AcquireSignatureInfo(), AcquireStreamInfo(), AcquireStringInfo(), AcquireTimerInfo(), AcquireTokenInfo(), AddChildToXMLTree(), AddValueToSplayTree(), AppendValueToLinkedList(), Ascii85Initialize(), Classify(), ClassifyImageColors(), CloneBlobInfo(), CloneDrawInfo(), CloneExceptionInfo(), CloneImage(), CloneImageView(), CloneKernelInfo(), CloneMontageInfo(), CloneQuantizeInfo(), ConvertPathToPolygon(), DrawImage(), GetCubeInfo(), GetImageDynamicThreshold(), GetNodeInfo(), GetThresholdMapFile(), InitializeIntervalTree(), InsertValueInLinkedList(), InsertValueInSortedLinkedList(), IsHistogramImage(), IsPaletteImage(), ListFiles(), LoadCoderList(), LoadCoderLists(), LoadColorList(), LoadColorLists(), LoadConfigureList(), LoadConfigureLists(), LoadDelegateList(), LoadLocaleList(), LoadLogList(), LoadLogLists(), LoadMagicList(), LoadMagicLists(), LoadMimeList(), LoadPolicyList(), LoadPolicyLists(), LoadTypeList(), MagickCreateThreadKey(), NewHashmap(), NewImageView(), NewImageViewRegion(), NewLinkedList(), NewSplayTree(), NewXMLTreeTag(), ParseInternalDoctype(), ParseProcessingInstructions(), PutEntryInHashmap(), ResizeMagickMemory(), SetImageRegistry(), SetMagickInfo(), and ThrowException().
MagickExport void* AcquireQuantumMemory | ( | const size_t | count, |
const size_t | quantum | ||
) |
Definition at line 481 of file memory.c.
References AcquireMagickMemory().
Referenced by AccelerateConvolveImage(), access_utf8(), AcquireContributionThreadSet(), AcquireFxInfo(), AcquireFxThreadSet(), AcquireHistogramThreadSet(), AcquireImageColormap(), AcquireMagickMatrix(), AcquirePixelCacheNexus(), AcquirePixelChannelMap(), AcquirePixelList(), AcquirePixelListThreadSet(), AcquirePixelThreadSet(), AcquirePolygonThreadSet(), AcquireQuantumPixels(), AcquireRandomInfoThreadSet(), AcquireResampleFilterThreadSet(), AcquireSignatureInfo(), AcquireString(), AcquireStringInfo(), AcquireUniqueSymbolicLink(), BalanceSplayTree(), Base64Decode(), Base64Encode(), BlobToStringInfo(), Classify(), CloneDrawInfo(), CloneImage(), ClonePixelInfo(), ClutImage(), ColorDecisionListImage(), CompareImagesLayers(), ConfigureFileToStringInfo(), ConstantString(), ContrastStretchImage(), ConvertLatin1ToUTF8(), ConvertPathToPolygon(), ConvertPrimitiveToPath(), ConvertUTF16ToUTF8(), CopyDelegateFile(), DeleteImages(), DeskewImage(), DespeckleImage(), DistortImage(), DrawDashPolygon(), DrawImage(), EqualizeImage(), EscapeString(), ExpandFilenames(), ExportImagePixels(), FileToBlob(), FileToImage(), FloodfillPaintImage(), fopen_utf8(), GammaImage(), GaussJordanElimination(), GenerateCoefficients(), Get8BIMProperty(), GetCoderInfoList(), GetCoderList(), GetColorInfoList(), GetColorList(), GetCommandOptions(), GetConfigureInfoList(), GetConfigureList(), GetCubeInfo(), GetDelegateInfoList(), GetDelegateList(), GetExecutionPath(), GetEXIFProperty(), GetImageDepth(), GetImageDistortion(), GetImageDistortions(), GetImageDynamicThreshold(), GetImageFeatures(), GetImageHistogram(), GetImageStatistics(), GetImageViewException(), GetIPTCProperty(), GetLocaleInfoList(), GetLocaleList(), GetLogInfoList(), GetLogList(), GetMagicInfoList(), GetMagickInfoList(), GetMagickList(), GetMagicList(), GetMimeInfoList(), GetMimeList(), GetNodeInfo(), GetPathComponents(), GetPolicyInfoList(), GetPolicyList(), GetThresholdMapFile(), GetTypeInfoList(), GetTypeList(), GetVirtualPixelsFromNexus(), GradientImage(), HuffmanDecodeImage(), HuffmanEncodeImage(), IdentifyImage(), ImageListToArray(), ImagesToBlob(), ImageToBlob(), ImageToFile(), ImportImagePixels(), IncreaseHashmapCapacity(), InitializeIntervalTree(), InjectImageBlob(), IterateOverSplayTree(), LinearStretchImage(), ListFiles(), LZWEncodeImage(), MontageImageList(), MorphologyPrimitive(), MotionBlurImage(), NewHashmap(), NewXMLTree(), open_utf8(), OptimalTau(), OptimizeLayerFrames(), PackbitsEncodeImage(), ParseEntities(), ParseInternalDoctype(), ParseKernelArray(), ParseProcessingInstructions(), PingBlob(), popen_utf8(), RadialBlurImage(), remove_utf8(), rename_utf8(), SampleImage(), ScaleImage(), ScaleSpace(), SegmentImage(), SetGrayscaleImage(), SetImageDepth(), SetStringInfoLength(), SetXMLTreeAttribute(), SortColormapByIntensity(), sRGBTransformImage(), stat_utf8(), StreamImagePixels(), StringInfoToHexString(), StringInfoToString(), StringToArgv(), StringToArrayOfDoubles(), StringToList(), TraceBezier(), TraceStrokePolygon(), TransformsRGBImage(), and WaveImage().
MagickExport void* CopyMagickMemory | ( | void * | destination, |
const void * | source, | ||
const size_t | size | ||
) |
Definition at line 524 of file memory.c.
Referenced by AcquireRandomInfo(), BlobToImage(), CloneDrawInfo(), CloneImage(), ClonePixelChannelMap(), ConvertUTF16ToUTF8(), DestroyEdge(), Get8BIMProperty(), GetPathComponent(), NewXMLTreeTag(), ParseEntities(), ParseInternalDoctype(), RiemersmaDither(), SetRandomKey(), SetXMLTreeAttribute(), SubstituteString(), TraceStrokePolygon(), UpdateSignature(), WriteProfileLong(), and WriteProfileShort().
MagickExport void DestroyMagickMemory | ( | void | ) |
Definition at line 572 of file memory.c.
References AcquireSemaphoreInfo(), _MagickMemoryMethods::destroy_memory_handler, DestroySemaphoreInfo(), LockSemaphoreInfo(), MagickFalse, memory_methods, ResetMagickMemory(), UnlockSemaphoreInfo(), and UnmapBlob().
MagickExport void GetMagickMemoryMethods | ( | AcquireMemoryHandler * | acquire_memory_handler, |
ResizeMemoryHandler * | resize_memory_handler, | ||
DestroyMemoryHandler * | destroy_memory_handler | ||
) |
Definition at line 700 of file memory.c.
References _MagickMemoryMethods::acquire_memory_handler, _MagickMemoryMethods::destroy_memory_handler, memory_methods, and _MagickMemoryMethods::resize_memory_handler.
MagickExport void* RelinquishAlignedMemory | ( | void * | memory | ) |
Definition at line 736 of file memory.c.
Referenced by AdaptiveBlurImage(), AdaptiveSharpenImage(), DestroyCacheView(), DestroyContributionThreadSet(), DestroyKernelInfo(), DestroyPixelCacheNexus(), DestroyStreamInfo(), MotionBlurImage(), RelinquishCacheNexusPixels(), RelinquishPixelCachePixels(), RelinquishStreamPixels(), SelectiveBlurImage(), and WriteStreamImage().
MagickExport void* RelinquishMagickMemory | ( | void * | memory | ) |
Definition at line 773 of file memory.c.
References BlockFooter, BlockHeader, _MagickMemoryMethods::destroy_memory_handler, LockSemaphoreInfo(), memory_methods, NextBlock, PreviousBlock, PreviousBlockBit, SizeMask, SizeOfBlock, and UnlockSemaphoreInfo().
Referenced by AccelerateConvolveImage(), access_utf8(), AcquireFxInfo(), AcquireMagickMatrix(), AcquirePolygonThreadSet(), AcquireUniqueSymbolicLink(), AddPathToXMLTree(), AnnotateImage(), BalanceSplayTree(), Base64Decode(), CanonicalXMLContent(), Classify(), ClearLinkedList(), ClutImage(), ColorDecisionListImage(), CompareImagesLayers(), ContrastStretchImage(), ConvertPathToPolygon(), CopyDelegateFile(), DeleteImages(), DeleteNodeByValueFromSplayTree(), DeleteNodeFromSplayTree(), DeskewImage(), DespeckleImage(), DestroyBlob(), DestroyCoderNode(), DestroyColorCube(), DestroyColorElement(), DestroyConfigureElement(), DestroyContributionThreadSet(), DestroyCubeInfo(), DestroyDelegate(), DestroyDistributeCacheInfo(), DestroyDrawInfo(), DestroyEdge(), DestroyExceptionElement(), DestroyExceptionInfo(), DestroyFxInfo(), DestroyFxThreadSet(), DestroyHashmap(), DestroyHistogramThreadSet(), DestroyImage(), DestroyImageInfo(), DestroyImageView(), DestroyKernelInfo(), DestroyLinkedList(), DestroyLocaleNode(), DestroyLogElement(), DestroyMagicElement(), DestroyMagickNode(), DestroyMimeElement(), DestroyMontageInfo(), DestroyPixelCache(), DestroyPixelCacheNexus(), DestroyPixelChannelMap(), DestroyPixelList(), DestroyPixelListThreadSet(), DestroyPixelStream(), DestroyPixelThreadSet(), DestroyPolicyElement(), DestroyPolygonInfo(), DestroyPolygonThreadSet(), DestroyQuantizeInfo(), DestroyQuantumInfo(), DestroyQuantumPixels(), DestroyRadonInfo(), DestroyRandomInfo(), DestroyRandomInfoThreadSet(), DestroyRegistryNode(), DestroyResampleFilter(), DestroyResampleFilterThreadSet(), DestroyResizeFilter(), DestroySignatureInfo(), DestroySplayTree(), DestroyStreamInfo(), DestroyString(), DestroyStringInfo(), DestroyStringList(), DestroyThresholdMap(), DestroyTimerInfo(), DestroyTokenInfo(), DestroyTypeNode(), DestroyXMLTree(), DestroyXMLTreeAttributes(), DistortImage(), DrawDashPolygon(), DrawImage(), DrawStrokePolygon(), EqualizeImage(), ExpandFilenames(), ExportImagePixels(), FileToBlob(), FileToImage(), FloodfillPaintImage(), fopen_utf8(), FreeNodes(), GammaImage(), GaussJordanElimination(), GenerateCoefficients(), GetConfigureOptions(), GetConfigurePaths(), GetDelegateCommand(), GetExecutionPath(), GetHostname(), GetImageDepth(), GetImageDistortion(), GetImageDistortions(), GetImageDynamicThreshold(), GetImageFeatures(), GetImageMean(), GetLocaleOptions(), GetMultilineTypeMetrics(), GetNormalizedCrossCorrelationDistortion(), GetNumberColors(), GetVirtualPixelsFromNexus(), GetXMLTreePath(), GetXMPProperty(), HuffmanDecodeImage(), HuffmanEncodeImage(), IdentifyImage(), ImageToBlob(), ImageToFile(), ImportImagePixels(), IncreaseHashmapCapacity(), InitializeIntervalTree(), InjectImageBlob(), InsertValueInSortedLinkedList(), InvokeDelegate(), IterateOverSplayTree(), LinearStretchImage(), ListCoderInfo(), ListColorInfo(), ListConfigureInfo(), ListDelegateInfo(), ListFiles(), ListLocaleInfo(), ListLogInfo(), ListMagicInfo(), ListMagickInfo(), ListMimeInfo(), ListPolicyInfo(), ListTypeInfo(), LoadCoderList(), LoadCoderLists(), LoadColorList(), LoadConfigureList(), LoadDelegateList(), LoadLocaleList(), LoadLogList(), LoadMagicList(), LoadPolicyList(), LoadTypeList(), LogMagickEventList(), LZWEncodeImage(), MagickDeleteThreadKey(), MontageImageList(), MorphologyPrimitive(), MotionBlurImage(), open_utf8(), OptimalTau(), OptimizeLayerFrames(), PackbitsEncodeImage(), ParseInternalDoctype(), PingBlob(), popen_utf8(), PreviewImage(), ProfileImage(), PutEntryInHashmap(), RadialBlurImage(), ReadInlineImage(), RelinquishMagickMatrix(), remove_utf8(), RemoveElementByValueFromLinkedList(), RemoveElementFromLinkedList(), RemoveEntryFromHashmap(), RemoveLastElementFromLinkedList(), RemoveNodeByValueFromSplayTree(), RemoveNodeFromSplayTree(), rename_utf8(), ResetSplayTree(), ResizeMagickMemory(), ResizeQuantumMemory(), SampleImage(), ScaleImage(), ScaleSpace(), SegmentImage(), SetGrayscaleImage(), SetImageArtifact(), SetImageDepth(), SetImageOption(), SetImageProfile(), SetImageProperty(), SetImageRegistry(), SortColormapByIntensity(), SparseColorImage(), sRGBTransformImage(), stat_utf8(), StreamImagePixels(), StringToArgv(), SystemCommand(), TraceBezier(), TraceStrokePolygon(), TransformImages(), TransformsRGBImage(), and WaveImage().
MagickExport void* ResetMagickMemory | ( | void * | memory, |
int | byte, | ||
const size_t | size | ||
) |
Definition at line 845 of file memory.c.
Referenced by AcquireContributionThreadSet(), AcquireDistributeCacheInfo(), AcquireFxInfo(), AcquireFxThreadSet(), AcquireHistogramThreadSet(), AcquireImage(), AcquireKernelBuiltIn(), AcquireMagickMemory(), AcquirePixelCacheNexus(), AcquirePixelChannelMap(), AcquirePixelList(), AcquirePixelListThreadSet(), AcquirePixelThreadSet(), AcquirePolygonThreadSet(), AcquireQuantumPixels(), AcquireRadonInfo(), AcquireRandomInfo(), AcquireRandomInfoThreadSet(), AcquireResampleFilter(), AcquireResampleFilterThreadSet(), AcquireResizeFilter(), AcquireSignatureInfo(), AcquireStreamInfo(), AcquireStringInfo(), AcquireTimerInfo(), AcquireVirtualCacheView(), AdaptiveBlurImage(), AdaptiveSharpenImage(), AddChildToXMLTree(), AllocateSemaphoreInfo(), Ascii85Initialize(), Classify(), CloneCacheView(), CloneImage(), CloneImageView(), ConnectPixelCacheServer(), ContrastStretchImage(), ConvertPathToPolygon(), DespeckleImage(), DestroyMagickMemory(), DestroyRandomInfo(), DistortResizeImage(), DistributePixelCacheServer(), DitherImage(), EdgeImage(), EqualizeImage(), FinalizeSignature(), FormatMagickTime(), GammaImage(), GaussJordanElimination(), GetAbsoluteDistortion(), GetAffineMatrix(), GetBlobInfo(), GetCubeInfo(), GetDrawInfo(), GetExceptionInfo(), GetFuzzDistortion(), GetImageDistortion(), GetImageDistortions(), GetImageDynamicThreshold(), GetImageFeatures(), GetImageInfo(), GetImageQuantizeError(), GetImageStatistics(), GetMeanAbsoluteDistortion(), GetMeanSquaredDistortion(), GetMontageInfo(), GetMultilineTypeMetrics(), GetNodeInfo(), GetPeakAbsoluteDistortion(), GetPixelCacheMethods(), GetQuantizeInfo(), GetQuantumInfo(), GetTimerInfo(), GetTypeMetrics(), GetVirtualPixelsFromNexus(), GradientImage(), HuffmanEncodeImage(), IncreaseHashmapCapacity(), InitializePixelChannelMap(), LinearStretchImage(), LoadCoderList(), LoadCoderLists(), LoadColorList(), LoadColorLists(), LoadConfigureList(), LoadConfigureLists(), LoadDelegateList(), LoadLocaleList(), LoadLogList(), LoadLogLists(), LoadMagicList(), LoadMagicLists(), LoadMimeList(), LoadPolicyList(), LoadPolicyLists(), LoadTypeList(), MontageImageList(), NewHashmap(), NewImageView(), NewImageViewRegion(), NewLinkedList(), NewSplayTree(), NewXMLTreeTag(), OilPaintImage(), OpenBlob(), ParseKernelArray(), QueryColorCompliance(), ResetRadonCells(), ResetStringInfo(), SetGeometry(), SetGeometryInfo(), SetImageColorspace(), SetImageInfo(), SetImageProperty(), SetImageRegistry(), SetMagickInfo(), SetStringInfo(), SharpenImage(), sRGBTransformImage(), ThrowException(), TracePSClippath(), TraceSVGClippath(), TransformSignature(), and WriteStreamImage().
MagickExport void* ResizeMagickMemory | ( | void * | memory, |
const size_t | size | ||
) |
Definition at line 898 of file memory.c.
References AcquireMagickMemory(), LockSemaphoreInfo(), MagickFalse, memory_methods, RelinquishMagickMemory(), _MagickMemoryMethods::resize_memory_handler, ResourceLimitFatalError, ThrowFatalException, and UnlockSemaphoreInfo().
Referenced by ResizeQuantumMemory().
MagickExport void* ResizeQuantumMemory | ( | void * | memory, |
const size_t | count, | ||
const size_t | quantum | ||
) |
Definition at line 958 of file memory.c.
References RelinquishMagickMemory(), and ResizeMagickMemory().
Referenced by AcquireImageColormap(), CanonicalXMLContent(), ClassifyImageColors(), CloneString(), ConcatenateString(), ConvertPathToPolygon(), ConvertUTF16ToUTF8(), DrawImage(), EncodePredefinedEntities(), ExpandFilenames(), FileToBlob(), ImagesToBlob(), ImageToBlob(), IsHistogramImage(), IsPaletteImage(), ListFiles(), NewXMLTree(), ParseEntities(), ParseInternalDoctype(), ParseProcessingInstructions(), SeekBlob(), SetBlobExtent(), SetStringInfoLength(), SetXMLTreeAttribute(), SubstituteString(), TraceStrokePolygon(), TranslateEvent(), TranslateFilename(), WriteBlob(), XMLTreeInfoToXML(), and XMLTreeTagToXML().
MagickExport void SetMagickMemoryMethods | ( | AcquireMemoryHandler | acquire_memory_handler, |
ResizeMemoryHandler | resize_memory_handler, | ||
DestroyMemoryHandler | destroy_memory_handler | ||
) |
Definition at line 1004 of file memory.c.
References _MagickMemoryMethods::acquire_memory_handler, _MagickMemoryMethods::destroy_memory_handler, memory_methods, and _MagickMemoryMethods::resize_memory_handler.
|
static |
Definition at line 140 of file memory.c.
Referenced by AcquireMagickMemory(), DestroyMagickMemory(), GetMagickMemoryMethods(), RelinquishMagickMemory(), ResizeMagickMemory(), and SetMagickMemoryMethods().