MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
|
#include "MagickCore/studio.h"
#include "MagickCore/blob.h"
#include "MagickCore/blob-private.h"
#include "MagickCore/exception.h"
#include "MagickCore/exception-private.h"
#include "MagickCore/image-private.h"
#include "MagickCore/list.h"
#include "MagickCore/locale_.h"
#include "MagickCore/log.h"
#include "MagickCore/memory_.h"
#include "MagickCore/memory-private.h"
#include "MagickCore/nt-base-private.h"
#include "MagickCore/property.h"
#include "MagickCore/resource_.h"
#include "MagickCore/signature-private.h"
#include "MagickCore/string_.h"
#include "MagickCore/string-private.h"
#include "MagickCore/utility-private.h"
Go to the source code of this file.
Macros | |
#define | CharsPerLine 0x14 |
Functions | |
MagickExport char * | AcquireString (const char *source) |
static StringInfo * | AcquireStringInfoContainer () |
MagickExport StringInfo * | AcquireStringInfo (const size_t length) |
MagickExport StringInfo * | BlobToStringInfo (const void *blob, const size_t length) |
MagickExport char * | CloneString (char **destination, const char *source) |
MagickExport StringInfo * | CloneStringInfo (const StringInfo *string_info) |
MagickExport int | CompareStringInfo (const StringInfo *target, const StringInfo *source) |
MagickExport size_t | ConcatenateMagickString (char *magick_restrict destination, const char *magick_restrict source, const size_t length) |
MagickExport MagickBooleanType | ConcatenateString (char **magick_restrict destination, const char *magick_restrict source) |
MagickExport void | ConcatenateStringInfo (StringInfo *string_info, const StringInfo *source) |
MagickExport StringInfo * | ConfigureFileToStringInfo (const char *filename) |
MagickExport char * | ConstantString (const char *source) |
MagickExport size_t | CopyMagickString (char *magick_restrict destination, const char *magick_restrict source, const size_t length) |
MagickExport char * | DestroyString (char *string) |
MagickExport StringInfo * | DestroyStringInfo (StringInfo *string_info) |
MagickExport char ** | DestroyStringList (char **list) |
MagickExport char * | EscapeString (const char *source, const char escape) |
MagickExport char * | FileToString (const char *filename, const size_t extent, ExceptionInfo *exception) |
MagickExport StringInfo * | FileToStringInfo (const char *filename, const size_t extent, ExceptionInfo *exception) |
MagickExport ssize_t | FormatMagickSize (const MagickSizeType size, const MagickBooleanType bi, const char *suffix, const size_t length, char *format) |
MagickExport char * | GetEnvironmentValue (const char *name) |
MagickExport unsigned char * | GetStringInfoDatum (const StringInfo *string_info) |
MagickExport size_t | GetStringInfoLength (const StringInfo *string_info) |
MagickExport const char * | GetStringInfoName (const StringInfo *string_info) |
MagickExport const char * | GetStringInfoPath (const StringInfo *string_info) |
MagickExport double | InterpretSiPrefixValue (const char *magick_restrict string, char **magick_restrict sentinal) |
MagickExport MagickBooleanType | IsStringTrue (const char *value) |
MagickExport MagickBooleanType | IsStringFalse (const char *value) |
MagickExport void | PrintStringInfo (FILE *file, const char *id, const StringInfo *string_info) |
MagickExport void | ResetStringInfo (StringInfo *string_info) |
MagickExport char * | SanitizeString (const char *source) |
MagickExport void | SetStringInfo (StringInfo *string_info, const StringInfo *source) |
MagickExport void | SetStringInfoDatum (StringInfo *string_info, const unsigned char *source) |
MagickExport void | SetStringInfoLength (StringInfo *string_info, const size_t length) |
MagickExport void | SetStringInfoName (StringInfo *string_info, const char *name) |
MagickExport void | SetStringInfoPath (StringInfo *string_info, const char *path) |
MagickExport StringInfo * | SplitStringInfo (StringInfo *string_info, const size_t offset) |
MagickExport char * | StringInfoToDigest (const StringInfo *signature) |
MagickExport char * | StringInfoToHexString (const StringInfo *string_info) |
MagickExport char * | StringInfoToString (const StringInfo *string_info) |
MagickExport char ** | StringToArgv (const char *text, int *argc) |
MagickExport double * | StringToArrayOfDoubles (const char *string, ssize_t *count, ExceptionInfo *exception) |
MagickExport char * | StringToken (const char *delimiters, char **string) |
MagickExport char ** | StringToList (const char *text) |
MagickExport char ** | StringToStrings (const char *text, size_t *count) |
MagickExport StringInfo * | StringToStringInfo (const char *string) |
MagickExport void | StripString (char *message) |
MagickExport size_t | StripMagickString (char *message) |
MagickExport MagickBooleanType | SubstituteString (char **string, const char *search, const char *replace) |
MagickExport char * AcquireString | ( | const char * | source | ) |
Definition at line 94 of file string.c.
References AcquireQuantumMemory(), MagickPathExtent, ResourceLimitFatalError, and ThrowFatalException.
Referenced by CanonicalXMLContent(), ClipImagePath(), CloneMontageInfo(), CloneString(), ColorMatrixImage(), ConcatenateString(), DrawPatternPath(), EncodePredefinedEntities(), ExpandFilenames(), FormatMagickCaption(), GenerateEntropicChaos(), GetCommandOptions(), GetDrawInfo(), GetEXIFProperty(), GetHostname(), GetImageBoundingBox(), GetImagePerceptualHash(), GetMagickProperty(), GetMontageInfo(), GetMVGMacros(), GetPageGeometry(), GlobExpression(), IdentifyImage(), InterpretDelegateProperties(), InterpretImageProperties(), ListFiles(), LoadColorCache(), LoadConfigureCache(), LoadDelegateCache(), LoadLocaleCache(), LoadLogCache(), LoadMimeCache(), LoadTypeCache(), MontageImageList(), PolaroidImage(), QueryColorCompliance(), RenderMVGContent(), ReplaceSpaceWithNewline(), SanitizeDelegateString(), SanitizeString(), SelectiveBlurImage(), StringToArgv(), SubstituteXMLEntities(), TracePSClippath(), TraceSVGClippath(), TranslateEvent(), TranslateFilename(), VignetteImage(), and XMLTreeInfoToXML().
MagickExport StringInfo * AcquireStringInfo | ( | const size_t | length | ) |
Definition at line 151 of file string.c.
References AcquireQuantumMemory(), AcquireStringInfoContainer(), _StringInfo::datum, _StringInfo::length, MagickPathExtent, ResourceLimitFatalError, and ThrowFatalException.
Referenced by AcquireRandomInfo(), AcquireSignatureInfo(), CloneStringInfo(), ConnectPixelCacheServer(), GenerateEntropicChaos(), GetConfigureOptions(), GetICCProperty(), GetLocaleOptions(), GetMagickSignature(), GetProfilesFromResourceBlock(), GetRandomKey(), PatchCorruptProfile(), ProfileImage(), SetsRGBImageProfile(), SignatureImage(), SplitStringInfo(), StringToStringInfo(), and WriteTo8BimProfile().
|
static |
Definition at line 140 of file string.c.
References AcquireCriticalMemory(), MagickCoreSignature, and _StringInfo::signature.
Referenced by AcquireStringInfo(), BlobToStringInfo(), ConfigureFileToStringInfo(), and FileToStringInfo().
MagickExport StringInfo * BlobToStringInfo | ( | const void * | blob, |
const size_t | length | ||
) |
Definition at line 193 of file string.c.
References AcquireQuantumMemory(), AcquireStringInfoContainer(), _StringInfo::datum, DestroyStringInfo(), _StringInfo::length, MagickPathExtent, ResourceLimitFatalError, and ThrowFatalException.
MagickExport char * CloneString | ( | char ** | destination, |
const char * | source | ||
) |
Definition at line 250 of file string.c.
References AcquireString(), DestroyString(), MagickPathExtent, ResizeQuantumMemory(), ResourceLimitFatalError, and ThrowFatalException.
Referenced by AnnotateImage(), CloneDrawInfo(), CloneImage(), CloneImageInfo(), CloneImageProperties(), CloneStringInfo(), DrawClippingMask(), DrawCompositeMask(), DrawPatternPath(), DrawPrimitive(), GetDrawInfo(), GetPathTemplate(), IdentifyImage(), MontageImageList(), PolaroidImage(), PreviewImage(), RenderMVGContent(), RenderPostscript(), RenderType(), SetImageInfo(), SetImageOption(), and SetStreamInfoMap().
MagickExport StringInfo * CloneStringInfo | ( | const StringInfo * | string_info | ) |
Definition at line 302 of file string.c.
References AcquireStringInfo(), CloneString(), _StringInfo::datum, _StringInfo::length, MagickCoreSignature, _StringInfo::name, _StringInfo::path, and _StringInfo::signature.
Referenced by CloneImageInfo(), CloneImageProfiles(), SetImageProfileInternal(), and WriteTo8BimProfile().
MagickExport int CompareStringInfo | ( | const StringInfo * | target, |
const StringInfo * | source | ||
) |
Definition at line 344 of file string.c.
References _StringInfo::datum, _StringInfo::length, MagickCoreSignature, MagickMin, and _StringInfo::signature.
Referenced by CompareSplayTreeStringInfo(), and ProfileImage().
MagickExport size_t ConcatenateMagickString | ( | char *magick_restrict | destination, |
const char *magick_restrict | source, | ||
const size_t | length | ||
) |
Definition at line 392 of file string.c.
References magick_restrict.
Referenced by AcquireUniqueSymbolicLink(), ClipImagePath(), ConcatenateColorComponent(), ConcatentateHexColorComponent(), ExpandFilename(), ExpandFilenames(), ExternalDelegateCommand(), FormatMagickCaption(), GetColorTuple(), GetConfigurePaths(), GetExecutionPath(), GetImageViewException(), GetMagickProperty(), GetNumberColors(), GetPageGeometry(), IdentifyImage(), InterpretImageFilename(), ListDelegateInfo(), ListMagickInfo(), LoadColorCache(), LoadConfigureCache(), LoadDelegateCache(), LoadLocaleCache(), LoadLogCache(), LoadMimeCache(), LoadPolicyCache(), LoadTypeCache(), LogPixelChannels(), MontageImageList(), ReplaceSpaceWithNewline(), SetTypeNodePath(), ThrowMagickExceptionList(), and TranslateStatementList().
MagickExport MagickBooleanType ConcatenateString | ( | char **magick_restrict | destination, |
const char *magick_restrict | source | ||
) |
Definition at line 458 of file string.c.
References AcquireString(), MagickPathExtent, MagickTrue, OverAllocateMemory(), ResizeQuantumMemory(), ResourceLimitFatalError, and ThrowFatalException.
Referenced by CanonicalXMLContent(), ColorMatrixImage(), ExpandFilenames(), GetIPTCProperty(), GetMagickProperty(), IdentifyImage(), ParseCharacterContent(), RenderMVGContent(), SelectiveBlurImage(), TracePSClippath(), and TraceSVGClippath().
MagickExport void ConcatenateStringInfo | ( | StringInfo * | string_info, |
const StringInfo * | source | ||
) |
Definition at line 518 of file string.c.
References AcquireQuantumMemory(), _StringInfo::datum, _StringInfo::length, MagickCoreSignature, MagickPathExtent, OverAllocateMemory(), ResizeQuantumMemory(), ResourceLimitFatalError, _StringInfo::signature, and ThrowFatalException.
Referenced by GenerateEntropicChaos(), GetMagickSignature(), and PatchCorruptProfile().
MagickExport StringInfo * ConfigureFileToStringInfo | ( | const char * | filename | ) |
Definition at line 570 of file string.c.
References AcquireQuantumMemory(), AcquireStringInfoContainer(), ConstantString(), _StringInfo::datum, DestroyString(), _StringInfo::length, MAGICK_SSIZE_MAX, MagickMin, MagickPathExtent, MapBlob(), O_BINARY, open_utf8(), _StringInfo::path, ReadMode, and UnmapBlob().
Referenced by GetConfigureOptions(), and GetLocaleOptions().
MagickExport char * ConstantString | ( | const char * | source | ) |
Definition at line 678 of file string.c.
References AcquireQuantumMemory(), ResourceLimitFatalError, and ThrowFatalException.
Referenced by AcquireCoderCache(), AcquireFxInfoPrivate(), AcquireMagickInfo(), AcquireStreamInfo(), AcquireUniqueFileResource(), AddChildToXMLTree(), AddConfigureKey(), CloneImageArtifacts(), CloneImageOptions(), CloneImageProfiles(), CloneImageProperties(), CloneImageView(), ConfigureFileToStringInfo(), ExpandFilenames(), FileToStringInfo(), GetCoderList(), GetColorList(), GetConfigureList(), GetConfigureOption(), GetConfigurePaths(), GetDelegateList(), GetEnvironmentValue(), GetExceptionMessage(), GetImageRegistry(), GetLocaleList(), GetLogList(), GetMagickHomeURL(), GetMagickList(), GetMagicList(), GetMimeList(), GetMVGMacros(), GetPathTemplate(), GetThresholdMapFile(), GetTypeList(), GetXMLTreeAttributes(), GetXMPProperty(), InterpretDelegateProperties(), InterpretImageProperties(), IsLocaleTreeInstantiated(), IsOptionMember(), LoadColorCache(), LoadConfigureCache(), LoadDelegateCache(), LoadLocaleCache(), LoadLogCache(), LoadMimeCache(), LoadTypeCache(), MagickToMime(), NewImageView(), NewImageViewRegion(), NewXMLTree(), NewXMLTreeTag(), ParseEntities(), ParseInternalDoctype(), ParseOpenTag(), ParseProcessingInstructions(), SetImageArtifact(), SetImageOption(), SetImageProfileInternal(), SetImageProperty(), SetImageRegistry(), SetImageViewDescription(), SetLogFormat(), SetStringInfoName(), SetStringInfoPath(), SetTypeNodePath(), SetXMLTreeAttribute(), SetXMLTreeContent(), ThrowException(), and WriteTo8BimProfile().
MagickExport size_t CopyMagickString | ( | char *magick_restrict | destination, |
const char *magick_restrict | source, | ||
const size_t | length | ||
) |
Definition at line 731 of file string.c.
References magick_restrict.
Referenced by AcquireDistributeCacheInfo(), AcquireImage(), AcquireNextImage(), AcquireTypeCache(), AppendImageFormat(), BlobToImage(), ClipImagePath(), CloneImage(), CloneImageInfo(), CloneImageProperties(), CloneMontageInfo(), ConnectedComponentsImage(), CustomStreamToImage(), DefineImageArtifact(), DefineImageOption(), DefineImageProperty(), DefineImageRegistry(), DrawPrimitive(), ExpandFilename(), ExpandFilenames(), ExternalDelegateCommand(), FormatMagickCaption(), Get8BIMProperty(), GetColorCompliance(), GetColorRange(), GetCommandOptionFlags(), GetConfigureOptions(), GetConfigurePaths(), GetConstantColour(), GetExceptionMessage(), GetExecutionPath(), GetGeometry(), GetHexColour(), GetImageMagick(), GetImageViewException(), GetIPTCProperty(), GetLocaleOptions(), GetMagickProperty(), GetMagickPropertyLetter(), GetMontageInfo(), GetMVGMacros(), GetNumberColors(), GetPageGeometry(), GetPathComponent(), GetPathComponents(), GetPolicyInfo(), GetProperty(), GetToken(), GlobExpression(), IdentifyImage(), ImagesToBlob(), ImagesToCustomStream(), ImageToBlob(), ImageToCustomStream(), InjectImageBlob(), InterpretImageFilename(), InvokeDelegate(), IsTaintImage(), KmeansImage(), ListDelegateInfo(), ListMagickInfo(), ListMagickResourceInfo(), LoadColorCache(), LoadConfigureCache(), LoadDelegateCache(), LoadLocaleCache(), LoadLogCache(), LoadMimeCache(), LoadPolicyCache(), LoadTypeCache(), MagickCoreGenesis(), MontageImageList(), NameOfUserSym(), OpenBlob(), OpenStream(), ParseCommandOption(), ParseEntities(), ParseGeometry(), ParseProcessingInstructions(), PersistPixelCache(), PingBlob(), PingImages(), PreviewImage(), QueryColorCompliance(), QueryColorname(), ReadImage(), ReadImages(), RegisterStaticModule(), RelinquishUniqueFileResource(), RenderMVGContent(), ReplaceSpaceWithNewline(), SetClientName(), SetClientPath(), SetImageInfo(), SetImageInfoFromExtension(), SetImageProfileInternal(), SetImageProperty(), SetLogName(), SetPtrShortExp(), StringToStrings(), ThrowMagickExceptionList(), ThumbnailImage(), TranslateEvent(), TranslateFilename(), TranslateStatementList(), WriteImage(), and WriteImages().
MagickExport char * DestroyString | ( | char * | string | ) |
Definition at line 788 of file string.c.
References RelinquishMagickMemory().
Referenced by AcquireDistributeCacheInfo(), AcquireFxInfoPrivate(), AcquireImage(), AcquireKernelInfo(), AcquireMatrixInfo(), AcquirePixelCache(), AcquireStreamPixels(), AcquireTypeCache(), AcquireUniqueSymbolicLink(), AcquireVirtualMemory(), AddPathToXMLTree(), AnnotateImage(), CanonicalXMLContent(), ClipImagePath(), CloneString(), ColorMatrixImage(), ConfigureFileToStringInfo(), ConnectPixelCacheServer(), DestroyCoderNode(), DestroyColorElement(), DestroyConfigureElement(), DestroyDelegate(), DestroyDrawInfo(), DestroyExceptionElement(), DestroyFxInfo(), DestroyImage(), DestroyImageInfo(), DestroyImageView(), DestroyLocaleNode(), DestroyLogElement(), DestroyMagicElement(), DestroyMagickNode(), DestroyMimeElement(), DestroyMontageInfo(), DestroyPolicyElement(), DestroyStreamInfo(), DestroyStringInfo(), DestroyStringList(), DestroyTemporaryResources(), DestroyThresholdMap(), DestroyTypeNode(), DestroyXMLTree(), DestroyXMLTreeAttributes(), DestroyXMLTreeRoot(), DrawClippingMask(), DrawPrimitive(), EncodePredefinedEntities(), ExpandFilename(), ExpandFilenames(), ExternalDelegateCommand(), FormatMagickCaption(), GenerateEntropicChaos(), Get8BIMProperty(), GetConfigurePaths(), GetDelegateCommand(), GetEXIFProperty(), GetHostname(), GetImageBoundingBox(), GetImageInfo(), GetImagePerceptualHash(), GetIPTCProperty(), GetMagickProperty(), GetMaxMemoryRequest(), GetMultilineTypeMetrics(), GetMVGMacros(), GetPathTemplate(), GetProperty(), GetXMLTreePath(), GetXMPProperty(), GlobExpression(), IdentifyImage(), InterpretDelegateProperties(), InterpretImageProperties(), InvokeDelegate(), IsCommandOption(), IsLocaleTreeInstantiated(), IsOptionMember(), ListDelegateInfo(), ListMagickInfo(), LoadColorCache(), LoadConfigureCache(), LoadDelegateCache(), LoadLocaleCache(), LoadLogCache(), LoadMimeCache(), LoadPolicyCache(), MagickCoreGenesis(), MontageImageList(), NewXMLTree(), OpenBlob(), OpenPixelCache(), ParseCharacterContent(), ParseInternalDoctype(), PolaroidImage(), QueryColorCompliance(), ReadImage(), RenderMVGContent(), RenderPostscript(), RenderType(), ReplaceSpaceWithNewline(), ResourceComponentGenesis(), SelectiveBlurImage(), SetImageProperty(), SetLogFormat(), SetMagickPrecision(), SetMagickResourceLimit(), SetMagickSecurityPolicyValue(), SetPolicyValue(), SetTypeNodePath(), SetXMLTreeAttribute(), SetXMLTreeContent(), ShredFile(), SignatureImage(), StringToArgv(), SyncImageSettings(), TracePSClippath(), and TraceSVGClippath().
MagickExport StringInfo * DestroyStringInfo | ( | StringInfo * | string_info | ) |
Definition at line 815 of file string.c.
References _StringInfo::datum, DestroyString(), MagickCoreSignature, _StringInfo::name, _StringInfo::path, RelinquishMagickMemory(), and _StringInfo::signature.
Referenced by AcquireRandomInfo(), AcquireUniqueFileResource(), BlobToStringInfo(), ConnectPixelCacheServer(), DestroyImageInfo(), DestroyOptions(), DestroyProfile(), DestroyRandomInfo(), DestroySignatureInfo(), FileToStringInfo(), GenerateEntropicChaos(), GetICCProperty(), GetMagickSignature(), GetProfilesFromResourceBlock(), PatchCorruptProfile(), ProfileImage(), SetImageProfileInternal(), SetImageProperty(), SetsRGBImageProfile(), ShredFile(), SignatureImage(), and WriteTo8BimProfile().
MagickExport char ** DestroyStringList | ( | char ** | list | ) |
Definition at line 853 of file string.c.
References DestroyString(), and RelinquishMagickMemory().
MagickExport char * EscapeString | ( | const char * | source, |
const char | escape | ||
) |
Definition at line 894 of file string.c.
References AcquireQuantumMemory(), MagickPathExtent, ResourceLimitFatalError, and ThrowFatalException.
MagickExport char * FileToString | ( | const char * | filename, |
const size_t | extent, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 965 of file string.c.
References FileToBlob(), GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickFalse, and TraceEvent.
Referenced by AcquireFxInfoPrivate(), AcquireKernelInfo(), AcquireTypeCache(), ExpandFilenames(), InterpretImageProperties(), LoadTypeCache(), RenderHoughLines(), and RenderMVGContent().
MagickExport StringInfo * FileToStringInfo | ( | const char * | filename, |
const size_t | extent, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 1005 of file string.c.
References AcquireStringInfoContainer(), ConstantString(), _StringInfo::datum, DestroyStringInfo(), FileToBlob(), GetMagickModule, IsEventLogging(), _StringInfo::length, LogMagickEvent(), MagickFalse, _StringInfo::path, and TraceEvent.
Referenced by SetImageProperty().
MagickExport ssize_t FormatMagickSize | ( | const MagickSizeType | size, |
const MagickBooleanType | bi, | ||
const char * | suffix, | ||
const size_t | length, | ||
char * | format | ||
) |
Definition at line 1060 of file string.c.
References FormatLocaleString(), GetMagickPrecision(), MagickFalse, and MagickPathExtent.
Referenced by AcquireMagickResource(), GetMagickProperty(), GetMagickPropertyLetter(), IdentifyImage(), ListMagickResourceInfo(), OpenPixelCache(), RelinquishMagickResource(), SetPixelCacheExtent(), and ThumbnailImage().
MagickExport char * GetEnvironmentValue | ( | const char * | name | ) |
Definition at line 1145 of file string.c.
References ConstantString().
Referenced by AcquireMatrixInfo(), AcquirePixelCache(), AcquireTypeCache(), ExpandFilename(), GetConfigurePaths(), GetImageInfo(), GetPathTemplate(), IsLocaleTreeInstantiated(), MagickCoreGenesis(), ResourceComponentGenesis(), SetMagickPrecision(), and ShredFile().
MagickExport unsigned char * GetStringInfoDatum | ( | const StringInfo * | string_info | ) |
Definition at line 1178 of file string.c.
References _StringInfo::datum, MagickCoreSignature, and _StringInfo::signature.
Referenced by AcquireColorCache(), AcquireConfigureCache(), AcquireDelegateCache(), AcquireLocaleSplayTree(), AcquireMimeCache(), AcquirePolicyCache(), AcquireRandomInfo(), AcquireTypeCache(), AcquireUniqueFileResource(), ConnectPixelCacheServer(), FinalizeSignature(), GenerateEntropicChaos(), Get8BIMProperty(), GetEXIFProperty(), GetICCProperty(), GetIPTCProperty(), GetMagickProperty(), GetMagickSignature(), GetProfilesFromResourceBlock(), GetRandomKey(), GetThresholdMap(), IdentifyImage(), IncrementRandomNonce(), ListThresholdMaps(), PatchCorruptProfile(), ProfileImage(), SetRandomKey(), ShredFile(), SignatureImage(), Sync8BimProfile(), SyncImageProfiles(), TransformSignature(), Update8BIMClipPath(), UpdateSignature(), and WriteTo8BimProfile().
MagickExport size_t GetStringInfoLength | ( | const StringInfo * | string_info | ) |
Definition at line 1207 of file string.c.
References _StringInfo::length, MagickCoreSignature, and _StringInfo::signature.
Referenced by AcquireUniqueFileResource(), FinalizeSignature(), Get8BIMProperty(), GetEXIFProperty(), GetICCProperty(), GetIPTCProperty(), GetMagickProperty(), GetMagickSignature(), GetProfilesFromResourceBlock(), GetXMPProperty(), IdentifyImage(), IncrementRandomNonce(), PatchCorruptProfile(), ProfileImage(), Sync8BimProfile(), SyncImageProfiles(), Update8BIMClipPath(), UpdateSignature(), and WriteTo8BimProfile().
MagickExport const char * GetStringInfoName | ( | const StringInfo * | string_info | ) |
Definition at line 1236 of file string.c.
References MagickCoreSignature, _StringInfo::name, and _StringInfo::signature.
MagickExport const char * GetStringInfoPath | ( | const StringInfo * | string_info | ) |
Definition at line 1265 of file string.c.
References MagickCoreSignature, _StringInfo::path, and _StringInfo::signature.
Referenced by AcquireColorCache(), AcquireConfigureCache(), AcquireDelegateCache(), AcquireLocaleSplayTree(), AcquireMimeCache(), AcquirePolicyCache(), AcquireTypeCache(), GetThresholdMap(), and ListThresholdMaps().
MagickExport double InterpretSiPrefixValue | ( | const char *magick_restrict | string, |
char **magick_restrict | sentinal | ||
) |
Definition at line 1299 of file string.c.
References InterpretLocaleValue(), and MagickEpsilon.
Referenced by SiPrefixToDoubleInterval().
MagickExport MagickBooleanType IsStringFalse | ( | const char * | value | ) |
Definition at line 1429 of file string.c.
References LocaleCompare(), MagickFalse, and MagickTrue.
Referenced by InitializeConstituteInfo(), ProfileImage(), and SetImageGray().
MagickExport MagickBooleanType IsStringTrue | ( | const char * | value | ) |
Definition at line 1388 of file string.c.
References LocaleCompare(), MagickFalse, and MagickTrue.
Referenced by AcquireMatrixInfo(), AcquirePixelCache(), AcquireResizeFilter(), AutoThresholdImage(), CompositeCanvas(), CompositeImage(), CompositeOverImage(), ConnectedComponentsImage(), DeskewImage(), DistortImage(), DrawPolygonPrimitive(), EvaluateImage(), GetImageInfo(), GetPerceptualHashDistortion(), HoughLineImage(), IdentifyImage(), InitFx(), InterpretImageFilename(), IsCommandOption(), KmeansImage(), LoadColorCache(), LoadConfigureCache(), LoadDelegateCache(), LoadMimeCache(), LoadPolicyCache(), LoadTypeCache(), MorphologyApply(), MorphologyImage(), SaliencyBlendImage(), SeamlessBlendImage(), SetResampleFilter(), SimilarityImage(), SparseColorImage(), and WriteImage().
MagickExport void PrintStringInfo | ( | FILE * | file, |
const char * | id, | ||
const StringInfo * | string_info | ||
) |
Definition at line 1471 of file string.c.
References CharsPerLine, _StringInfo::datum, FormatLocaleFile(), _StringInfo::length, MagickCoreSignature, MagickMin, and _StringInfo::signature.
Referenced by IdentifyImage().
MagickExport void ResetStringInfo | ( | StringInfo * | string_info | ) |
Definition at line 1555 of file string.c.
References _StringInfo::datum, _StringInfo::length, MagickCoreSignature, and _StringInfo::signature.
Referenced by AcquireRandomInfo(), and ShredFile().
MagickExport char * SanitizeString | ( | const char * | source | ) |
Definition at line 1587 of file string.c.
References AcquireString().
Referenced by ExternalDelegateCommand(), and OpenBlob().
MagickExport void SetStringInfo | ( | StringInfo * | string_info, |
const StringInfo * | source | ||
) |
Definition at line 1635 of file string.c.
References _StringInfo::datum, _StringInfo::length, MagickCoreSignature, MagickMin, and _StringInfo::signature.
Referenced by AcquireRandomInfo(), PatchCorruptProfile(), SetRandomKey(), SetSignatureDigest(), and SplitStringInfo().
MagickExport void SetStringInfoDatum | ( | StringInfo * | string_info, |
const unsigned char * | source | ||
) |
Definition at line 1675 of file string.c.
References _StringInfo::datum, _StringInfo::length, MagickCoreSignature, and _StringInfo::signature.
Referenced by AcquireRandomInfo(), GenerateEntropicChaos(), GetConfigureOptions(), GetLocaleOptions(), GetProfilesFromResourceBlock(), PatchCorruptProfile(), ProfileImage(), SetsRGBImageProfile(), StringToStringInfo(), and UpdateSignature().
MagickExport void SetStringInfoLength | ( | StringInfo * | string_info, |
const size_t | length | ||
) |
Definition at line 1708 of file string.c.
References AcquireQuantumMemory(), _StringInfo::datum, _StringInfo::length, MagickCoreSignature, MagickPathExtent, ResizeQuantumMemory(), ResourceLimitFatalError, _StringInfo::signature, and ThrowFatalException.
Referenced by AcquireRandomInfo(), GenerateEntropicChaos(), GetConfigureOptions(), GetICCProperty(), GetLocaleOptions(), GetMagickSignature(), PatchCorruptProfile(), SignatureImage(), and SplitStringInfo().
MagickExport void SetStringInfoName | ( | StringInfo * | string_info, |
const char * | name | ||
) |
Definition at line 1752 of file string.c.
References ConstantString(), MagickCoreSignature, _StringInfo::name, and _StringInfo::signature.
MagickExport void SetStringInfoPath | ( | StringInfo * | string_info, |
const char * | path | ||
) |
Definition at line 1784 of file string.c.
References ConstantString(), MagickCoreSignature, _StringInfo::path, and _StringInfo::signature.
Referenced by GetConfigureOptions(), and GetLocaleOptions().
MagickExport StringInfo * SplitStringInfo | ( | StringInfo * | string_info, |
const size_t | offset | ||
) |
Definition at line 1814 of file string.c.
References AcquireStringInfo(), _StringInfo::datum, _StringInfo::length, MagickCoreSignature, MagickPathExtent, SetStringInfo(), SetStringInfoLength(), and _StringInfo::signature.
MagickExport char * StringInfoToDigest | ( | const StringInfo * | signature | ) |
Definition at line 1854 of file string.c.
References AcquireSignatureInfo(), DestroySignatureInfo(), FinalizeSignature(), GetSignatureDigest(), StringInfoToHexString(), and UpdateSignature().
MagickExport char * StringInfoToHexString | ( | const StringInfo * | string_info | ) |
Definition at line 1892 of file string.c.
References AcquireQuantumMemory(), _StringInfo::datum, _StringInfo::length, MagickPathExtent, ResourceLimitFatalError, and ThrowFatalException.
Referenced by SignatureImage(), and StringInfoToDigest().
MagickExport char * StringInfoToString | ( | const StringInfo * | string_info | ) |
Definition at line 1969 of file string.c.
References AcquireQuantumMemory(), _StringInfo::datum, _StringInfo::length, and MagickPathExtent.
Referenced by GetXMPProperty().
MagickExport char ** StringToArgv | ( | const char * | text, |
int * | argc | ||
) |
Definition at line 2023 of file string.c.
References AcquireQuantumMemory(), AcquireString(), DestroyString(), MagickPathExtent, RelinquishMagickMemory(), ResourceLimitFatalError, and ThrowFatalException.
Referenced by ExpandFilenames(), ExternalDelegateCommand(), GetHostname(), IsOptionMember(), and RenderType().
MagickExport double * StringToArrayOfDoubles | ( | const char * | string, |
ssize_t * | count, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 2138 of file string.c.
References AcquireQuantumMemory(), GetMagickModule, MagickCoreSignature, ResourceLimitError, _ExceptionInfo::signature, StringToDouble(), and ThrowMagickException().
MagickExport char * StringToken | ( | const char * | delimiters, |
char ** | string | ||
) |
Definition at line 2237 of file string.c.
Referenced by GetImageBoundingBox(), and GetImagePerceptualHash().
MagickExport char ** StringToList | ( | const char * | text | ) |
Definition at line 2300 of file string.c.
References StringToStrings().
Referenced by GetDelegateCommand(), IdentifyImage(), InvokeDelegate(), ListDelegateInfo(), and ListMagickInfo().
MagickExport StringInfo * StringToStringInfo | ( | const char * | string | ) |
Definition at line 2480 of file string.c.
References AcquireStringInfo(), and SetStringInfoDatum().
Referenced by GenerateEntropicChaos().
MagickExport char ** StringToStrings | ( | const char * | text, |
size_t * | count | ||
) |
Definition at line 2331 of file string.c.
References AcquireQuantumMemory(), CharsPerLine, CopyMagickString(), FormatLocaleString(), MagickMin, MagickPathExtent, ResizeQuantumMemory(), ResourceLimitFatalError, and ThrowFatalException.
Referenced by GetMultilineTypeMetrics(), and StringToList().
MagickExport size_t StripMagickString | ( | char * | message | ) |
Definition at line 2520 of file string.c.
Referenced by ListDelegateInfo(), and StripString().
MagickExport void StripString | ( | char * | message | ) |
Definition at line 2515 of file string.c.
References StripMagickString().
MagickExport MagickBooleanType SubstituteString | ( | char ** | string, |
const char * | search, | ||
const char * | replace | ||
) |
Definition at line 2585 of file string.c.
References MagickFalse, MagickPathExtent, MagickTrue, OverAllocateMemory(), ResizeQuantumMemory(), ResourceLimitFatalError, and ThrowFatalException.
Referenced by GetEXIFProperty(), GetHostname(), GetXMPProperty(), IsOptionMember(), LoadDelegateCache(), LoadMimeCache(), QueryColorCompliance(), RenderType(), and SetTypeNodePath().