#include "magick/studio.h"#include "magick/blob.h"#include "magick/blob-private.h"#include "magick/exception.h"#include "magick/exception-private.h"#include "magick/list.h"#include "magick/log.h"#include "magick/memory_.h"#include "magick/property.h"#include "magick/resource_.h"#include "magick/signature-private.h"#include "magick/string_.h"
Go to the source code of this file.
Functions | |
| MagickExport char * | AcquireString (const char *source) |
| MagickExport StringInfo * | AcquireStringInfo (const size_t length) |
| MagickExport char * | CloneString (char **destination, const char *source) |
| MagickExport StringInfo * | CloneStringInfo (const StringInfo *string_info) |
| static size_t | MagickMin (const size_t x, const size_t y) |
| MagickExport int | CompareStringInfo (const StringInfo *target, const StringInfo *source) |
| MagickExport size_t | ConcatenateMagickString (char *destination, const char *source, const size_t length) |
| MagickExport MagickBooleanType | ConcatenateString (char **destination, const char *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 *destination, const char *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 long | FormatMagickSize (const MagickSizeType size, char *format) |
| MagickExport long | FormatMagickStringList (char *string, const size_t length, const char *format, va_list operands) |
| MagickExport long | FormatMagickString (char *string, const size_t length, const char *format,...) |
| MagickExport long | FormatMagickTime (const time_t time, const size_t length, char *timestamp) |
| 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 * | GetStringInfoPath (const StringInfo *string_info) |
| MagickExport long | LocaleCompare (const char *p, const char *q) |
| MagickExport void | LocaleLower (char *string) |
| MagickExport long | LocaleNCompare (const char *p, const char *q, const size_t length) |
| MagickExport void | LocaleUpper (char *string) |
| MagickExport void | PrintStringInfo (FILE *file, const char *id, const StringInfo *string_info) |
| MagickExport void | ResetStringInfo (StringInfo *string_info) |
| 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 | SetStringInfoPath (StringInfo *string_info, const char *path) |
| MagickExport StringInfo * | SplitStringInfo (StringInfo *string_info, const size_t offset) |
| MagickExport char * | StringInfoToString (const StringInfo *string_info) |
| MagickExport char ** | StringToArgv (const char *text, int *argc) |
| MagickExport double | StringToDouble (const char *string, const double interval) |
| MagickExport char * | StringInfoToHexString (const StringInfo *string_info) |
| MagickExport char * | StringToken (const char *delimiters, char **string) |
| MagickExport char ** | StringToList (const char *text) |
| MagickExport StringInfo * | StringToStringInfo (const char *string) |
| MagickExport void | StripString (char *message) |
| MagickExport MagickBooleanType | SubstituteString (char **string, const char *search, const char *replace) |
| MagickExport char* AcquireString | ( | const char * | source | ) |
Definition at line 110 of file string.c.
References AcquireQuantumMemory(), CopyMagickString(), MaxTextExtent, ResourceLimitFatalError, and ThrowFatalException.
Referenced by BlurImageChannel(), CanonicalXMLContent(), ClipImagePath(), CloneMontageInfo(), CloneString(), ConcatenateString(), ConvolveImageChannel(), DrawImage(), DrawPatternPath(), EncodePredefinedEntities(), EscapeParenthesis(), ExpandFilenames(), FormatMagickCaption(), GenerateEntropicChaos(), GetDrawInfo(), GetMagickOptions(), GetMontageInfo(), GetPageGeometry(), InterpretImageProperties(), ListFiles(), LoadCoderList(), LoadColorList(), LoadConfigureList(), LoadDelegateList(), LoadLocaleList(), LoadLogList(), LoadMagicList(), LoadMimeList(), LoadPolicyList(), LoadTypeList(), MontageImageList(), PolaroidImage(), RecolorImage(), SelectiveBlurImageChannel(), StringToArgv(), TracePSClippath(), TraceSVGClippath(), TranslateEvent(), TranslateFilename(), VignetteImage(), XGetResourceInfo(), XGetWindowInfo(), and XMLTreeInfoToXML().
| MagickExport StringInfo* AcquireStringInfo | ( | const size_t | length | ) |
Definition at line 155 of file string.c.
References AcquireMagickMemory(), AcquireQuantumMemory(), _StringInfo::datum, _StringInfo::length, MagickSignature, MaxTextExtent, ResetMagickMemory(), ResourceLimitFatalError, _StringInfo::signature, and ThrowFatalException.
Referenced by AcquireRandomInfo(), AcquireSignatureInfo(), CloneStringInfo(), ConfigureFileToStringInfo(), FileToStringInfo(), GenerateEntropicChaos(), GetProfilesFromResourceBlock(), GetRandomKey(), ProfileImage(), SetAdobeRGB1998ImageProfile(), SetsRGBImageProfile(), SignatureImage(), SplitStringInfo(), and StringToStringInfo().
| MagickExport char* CloneString | ( | char ** | destination, | |
| const char * | source | |||
| ) |
Definition at line 203 of file string.c.
References AcquireString(), CopyMagickString(), DestroyString(), GetMagickModule, LogMagickEvent(), MaxTextExtent, ResizeQuantumMemory(), ResourceLimitFatalError, ThrowFatalException, and TraceEvent.
Referenced by AnnotateImage(), CloneDrawInfo(), CloneImage(), CloneImageInfo(), CloneImageProperties(), DrawClipPath(), DrawImage(), DrawPatternPath(), DrawPrimitive(), GetDrawInfo(), IdentifyImage(), MontageImageList(), PolaroidImage(), PreviewImage(), RenderPostscript(), RenderType(), SetImageInfo(), SetImageOption(), SetStreamInfoMap(), and XGetWindowInfo().
| MagickExport StringInfo* CloneStringInfo | ( | const StringInfo * | string_info | ) |
Definition at line 254 of file string.c.
References AcquireStringInfo(), CopyMagickMemory(), _StringInfo::datum, GetMagickModule, _StringInfo::length, LogMagickEvent(), MagickSignature, _StringInfo::signature, and TraceEvent.
Referenced by CloneImageInfo(), CloneImageProfiles(), and SetImageProfile().
| MagickExport int CompareStringInfo | ( | const StringInfo * | target, | |
| const StringInfo * | source | |||
| ) |
Definition at line 303 of file string.c.
References _StringInfo::datum, GetMagickModule, _StringInfo::length, LogMagickEvent(), MagickMin(), MagickSignature, _StringInfo::signature, and TraceEvent.
Referenced by CompareHashmapStringInfo(), CompareSplayTreeStringInfo(), and ProfileImage().
| MagickExport size_t ConcatenateMagickString | ( | char * | destination, | |
| const char * | source, | |||
| const size_t | length | |||
| ) |
Definition at line 352 of file string.c.
Referenced by AcquireUniqueSymbolicLink(), ClipImagePath(), ConcatenateColorComponent(), ConcatenateString(), ConcatentateHexColorComponent(), ExpandFilename(), ExpandFilenames(), FormatMagickCaption(), GetColorTuple(), GetConfigurePaths(), GetExecutionPath(), GetMagickProperty(), GetNumberColors(), GetPageGeometry(), IdentifyImage(), InterpretImageFilename(), InterpretImageProperties(), ListDelegateInfo(), ListFiles(), ListMagickInfo(), LoadCoderList(), LoadColorList(), LoadConfigureList(), LoadDelegateList(), LoadFontConfigFonts(), LoadLocaleList(), LoadLogList(), LoadMagicList(), LoadMimeList(), LoadPolicyList(), LoadTypeList(), MontageImageList(), ThrowMagickExceptionList(), XConfirmWidget(), XFileBrowserWidget(), XMakeMagnifyImage(), and XWarning().
| MagickExport MagickBooleanType ConcatenateString | ( | char ** | destination, | |
| const char * | source | |||
| ) |
Definition at line 418 of file string.c.
References AcquireString(), ConcatenateMagickString(), MagickTrue, MaxTextExtent, ResizeQuantumMemory(), ResourceLimitFatalError, and ThrowFatalException.
Referenced by BlurImageChannel(), CanonicalXMLContent(), ConvolveImageChannel(), ExpandFilenames(), GetIPTCProperty(), InvokeDelegate(), ParseCharacterContent(), RecolorImage(), SelectiveBlurImageChannel(), TracePSClippath(), and TraceSVGClippath().
| MagickExport void ConcatenateStringInfo | ( | StringInfo * | string_info, | |
| const StringInfo * | source | |||
| ) |
Definition at line 475 of file string.c.
References CopyMagickMemory(), _StringInfo::datum, GetMagickModule, _StringInfo::length, LogMagickEvent(), MagickSignature, ResourceLimitFatalError, SetStringInfoLength(), _StringInfo::signature, ThrowFatalException, and TraceEvent.
Referenced by GenerateEntropicChaos().
| MagickExport StringInfo* ConfigureFileToStringInfo | ( | const char * | filename | ) |
Definition at line 517 of file string.c.
References AcquireQuantumMemory(), AcquireStringInfo(), close, CopyMagickMemory(), CopyMagickString(), _StringInfo::datum, DestroyString(), _StringInfo::length, MagickMin(), MagickSeek, MapBlob(), MaxTextExtent, O_BINARY, open, _StringInfo::path, read, ReadMode, SSIZE_MAX, and UnmapBlob().
Referenced by GetConfigureOptions(), and GetLocaleOptions().
| MagickExport char* ConstantString | ( | const char * | source | ) |
Definition at line 622 of file string.c.
References AcquireQuantumMemory(), CopyMagickString(), ResourceLimitFatalError, and ThrowFatalException.
Referenced by AcquireFxInfo(), AcquireFxThreadSet(), AcquireStreamInfo(), AcquireUniqueFileResource(), AddChildToXMLTree(), CloneImageArtifacts(), CloneImageOptions(), CloneImageProfiles(), CloneImageProperties(), ExpandFilenames(), FxChannelStatistics(), FxEvaluateSubexpression(), FxGetSymbol(), GenerateEntropicChaos(), GetCoderList(), GetColorList(), GetConfigureList(), GetConfigureOption(), GetConfigurePaths(), GetDelegateList(), GetEnvironmentValue(), GetExceptionMessage(), GetImageAttribute(), GetImageRegistry(), GetLocaleList(), GetLogList(), GetMagickHomeURL(), GetMagickList(), GetMagickProperty(), GetMagicList(), GetMimeList(), GetPathTemplate(), GetPolicyList(), GetPolicyValue(), GetThresholdMapFile(), GetTypeList(), GetXMLTreeAttributes(), GetXMPProperty(), InitializeLocaleList(), LoadCoderList(), LoadCoderLists(), LoadColorList(), LoadConfigureList(), LoadDelegateList(), LoadFontConfigFonts(), LoadLocaleList(), LoadLogList(), LoadMagicList(), LoadMimeList(), LoadPolicyList(), LoadTypeList(), MagickToMime(), NewXMLTree(), NewXMLTreeTag(), ParseEntities(), ParseInternalDoctype(), ParseOpenTag(), ParseProcessingInstructions(), ProfileImage(), SetImageArtifact(), SetImageOption(), SetImageProfile(), SetImageProperty(), SetImageRegistry(), SetLogFormat(), SetMagickInfo(), SetXMLTreeAttribute(), SetXMLTreeContent(), ThrowException(), XGetResourceInfo(), XMakeImageLSBFirst(), and XMakeImageMSBFirst().
| MagickExport size_t CopyMagickString | ( | char * | destination, | |
| const char * | source, | |||
| const size_t | length | |||
| ) |
Definition at line 674 of file string.c.
Referenced by AcquireImage(), AcquireNextImage(), AcquireString(), AllocateString(), AppendImageFormat(), BlobToImage(), ClipImagePath(), CloneImage(), CloneImageInfo(), CloneImageProperties(), CloneMontageInfo(), CloneString(), ConfigureFileToStringInfo(), ConstantString(), DefineImageArtifact(), DefineImageOption(), DefineImageProperty(), DefineImageRegistry(), DrawImage(), DrawPrimitive(), ExpandFilename(), ExpandFilenames(), FileToStringInfo(), FontToList(), FormatMagickCaption(), FxEvaluateSubexpression(), FxGetSymbol(), Get8BIMProperty(), GetColorInfo(), GetConfigureBlob(), GetConfigureOptions(), GetConfigurePaths(), GetExceptionMessage(), GetExecutionPath(), GetEXIFProperty(), GetGeometry(), GetImageMagick(), GetImageProfile(), GetIPTCProperty(), GetLocaleOptions(), GetMagickProperty(), GetMagickToken(), GetMontageInfo(), GetNumberColors(), GetPageGeometry(), GetPathComponent(), GetPathComponents(), GetPathTemplate(), GetPolicyInfo(), GlobExpression(), IdentifyImage(), ImagesToBlob(), ImageToBlob(), InjectImageBlob(), InterpretImageFilename(), InterpretImageProperties(), InvokeDelegate(), IsTaintImage(), ListDelegateInfo(), ListMagickInfo(), ListMagickResourceInfo(), LoadCoderList(), LoadColorList(), LoadConfigureList(), LoadDelegateList(), LoadFontConfigFonts(), LoadLocaleList(), LoadLogList(), LoadMagicList(), LoadMagicLists(), LoadMimeList(), LoadPolicyList(), LoadTypeList(), LoadTypeLists(), MagickCoreGenesis(), MontageImageList(), OpenBlob(), OpenStream(), ParseEntities(), ParseGeometry(), ParseMagickOption(), ParseProcessingInstructions(), PersistPixelCache(), PingImages(), PreviewImage(), QueryMagickColor(), QueryMagickColorname(), ReadImage(), ReadImages(), RelinquishUniqueFileResource(), SetClientName(), SetClientPath(), SetImageInfo(), SetImageProfile(), SetLogName(), SetStringInfoPath(), StringInfoToString(), StringToArgv(), StringToList(), ThrowMagickExceptionList(), ThumbnailImage(), TranslateEvent(), TranslateFilename(), WriteImage(), WriteImages(), XColorBrowserWidget(), XConfirmWidget(), XDialogWidget(), XEditText(), XFileBrowserWidget(), XFontBrowserWidget(), XImportImage(), XListBrowserWidget(), XMakeImageLSBFirst(), XMakeImageMSBFirst(), XMakeWindow(), XMenuWidget(), XNoticeWidget(), XPreferencesWidget(), XTextViewWidget(), and XWarning().
| MagickExport char* DestroyString | ( | char * | string | ) |
Definition at line 742 of file string.c.
References RelinquishMagickMemory().
Referenced by AcquireFxThreadSet(), AcquireImage(), AddPathToXMLTree(), AnnotateImage(), BlurImageChannel(), CanonicalXMLContent(), ClipImagePath(), CloneString(), ConfigureFileToStringInfo(), ConvolveImageChannel(), DestroyAttribute(), DestroyCoderNode(), DestroyColorElement(), DestroyConfigureElement(), DestroyDelegate(), DestroyDrawInfo(), DestroyExceptionElement(), DestroyFxInfo(), DestroyImage(), DestroyImageInfo(), DestroyLocaleNode(), DestroyLogElement(), DestroyMagicElement(), DestroyMagickNode(), DestroyMimeElement(), DestroyMontageInfo(), DestroyPolicyElement(), DestroyStreamInfo(), DestroyStringList(), DestroyThresholdMap(), DestroyTypeNode(), DestroyXMLTree(), DestroyXMLTreeAttributes(), DrawImage(), EncodePredefinedEntities(), ExpandFilename(), ExpandFilenames(), FormatMagickCaption(), GenerateEntropicChaos(), Get8BIMProperty(), GetConfigureBlob(), GetConfigureOptions(), GetConfigurePaths(), GetDelegateCommand(), GetEXIFProperty(), GetIPTCProperty(), GetLocaleOptions(), GetMultilineTypeMetrics(), GetPathTemplate(), GetXMLTreePath(), GetXMPProperty(), IdentifyImage(), InitializeLocaleList(), InitializeMagickList(), InterpretImageProperties(), InvokeDelegate(), ListDelegateInfo(), ListMagickInfo(), LoadLogList(), LoadMimeList(), LoadTypeList(), LoadTypeLists(), MagickCoreGenesis(), NewXMLTree(), ParseCharacterContent(), ParseInternalDoctype(), PolaroidImage(), ProfileImage(), ReadImage(), RecolorImage(), RenderPostscript(), ResourceComponentGenesis(), SelectiveBlurImageChannel(), SetImageProperty(), SetLogFormat(), SetXMLTreeAttribute(), SetXMLTreeContent(), SignatureImage(), StringToArgv(), SyncImageSettings(), SystemCommand(), TracePSClippath(), TraceSVGClippath(), XBestFont(), XColorBrowserWidget(), XDestroyResourceInfo(), XDisplayImageInfo(), and XFileBrowserWidget().
| MagickExport StringInfo* DestroyStringInfo | ( | StringInfo * | string_info | ) |
Definition at line 769 of file string.c.
References _StringInfo::datum, GetMagickModule, LogMagickEvent(), MagickSignature, RelinquishMagickMemory(), _StringInfo::signature, and TraceEvent.
Referenced by AcquireRandomInfo(), AcquireUniqueFileResource(), DestroyImageInfo(), DestroyOptions(), DestroyProfile(), DestroyRandomInfo(), DestroySignatureInfo(), FileToStringInfo(), GenerateEntropicChaos(), GetProfilesFromResourceBlock(), HashStringType(), ProfileImage(), SetAdobeRGB1998ImageProfile(), SetsRGBImageProfile(), and SignatureImage().
| MagickExport char** DestroyStringList | ( | char ** | list | ) |
Definition at line 804 of file string.c.
References DestroyString(), and RelinquishMagickMemory().
| MagickExport char* EscapeString | ( | const char * | source, | |
| const char | escape | |||
| ) |
Definition at line 845 of file string.c.
References AcquireQuantumMemory(), GetMagickModule, LogMagickEvent(), MaxTextExtent, ResourceLimitFatalError, ThrowFatalException, and TraceEvent.
| MagickExport char* FileToString | ( | const char * | filename, | |
| const size_t | extent, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 917 of file string.c.
References FileToBlob(), GetMagickModule, LogMagickEvent(), and TraceEvent.
Referenced by AcquireFxThreadSet(), DrawImage(), ExpandFilenames(), InterpretImageProperties(), LoadCoderList(), LoadColorList(), LoadConfigureList(), LoadDelegateList(), LoadLocaleList(), LoadLogList(), LoadMagicList(), LoadMimeList(), LoadPolicyList(), LoadTypeList(), LoadTypeLists(), and XDisplayImageInfo().
| MagickExport StringInfo* FileToStringInfo | ( | const char * | filename, | |
| const size_t | extent, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 956 of file string.c.
References AcquireStringInfo(), CopyMagickString(), _StringInfo::datum, DestroyStringInfo(), FileToBlob(), GetMagickModule, _StringInfo::length, LogMagickEvent(), MaxTextExtent, _StringInfo::path, and TraceEvent.
| MagickExport long FormatMagickSize | ( | const MagickSizeType | size, | |
| char * | format | |||
| ) |
Definition at line 1002 of file string.c.
References FormatMagickString(), and MaxTextExtent.
Referenced by AcquireMagickResource(), ExtendCache(), GetMagickProperty(), IdentifyImage(), InterpretImageProperties(), ListLogInfo(), ListMagickResourceInfo(), OpenPixelCache(), RelinquishMagickResource(), and ThumbnailImage().
| MagickExport long FormatMagickString | ( | char * | string, | |
| const size_t | length, | |||
| const char * | format, | |||
| ... | ||||
| ) |
Definition at line 1083 of file string.c.
References FormatMagickStringList().
Referenced by AnnotateImage(), AppendImageFormat(), BlobToImage(), BlurImageChannel(), CanonicalXMLContent(), ClipImagePath(), ConcatenateColorComponent(), ConcatentateHexColorComponent(), ConvolveImageChannel(), DeleteMagickRegistry(), DestroyPixelCache(), DistortImage(), DrawClipPath(), DrawImage(), DrawPatternPath(), DrawPrimitive(), EncodePredefinedEntities(), ExtendCache(), FormatMagickSize(), FormatMagickTime(), FxChannelStatistics(), FxEvaluateSubexpression(), GetConfigureBlob(), GetConfigureOptions(), GetConfigurePaths(), GetExecutionPath(), GetEXIFProperty(), GetImageProperty(), GetLocaleExceptionMessage(), GetLocaleMessage(), GetLocaleMonitorMessage(), GetLocaleOptions(), GetMagickHomeURL(), GetMagickProperty(), GetMagickRegistry(), GetPathTemplate(), IdentifyImage(), ImagesToBlob(), ImageToBlob(), InjectImageBlob(), InterpretImageFilename(), InterpretImageProperties(), InvokeDelegate(), ListMagickResourceInfo(), ListTypeInfo(), LoadTypeLists(), MagickToMime(), MontageImageList(), OpenBlob(), OpenPixelCache(), PolaroidImage(), PreviewImage(), RecolorImage(), RenderPostscript(), SelectiveBlurImageChannel(), SetImageProfile(), SetImageProgress(), SetMagickRegistry(), StringToList(), SyncImageSettings(), ThrowMagickExceptionList(), ThumbnailImage(), TracePSClippath(), TraceSVGClippath(), TranslateEvent(), TranslateFilename(), VignetteImage(), XAnnotateImage(), XBestVisualInfo(), XColorBrowserWidget(), XDisplayImageInfo(), XDrawImage(), XGetResourceClass(), XGetResourceDatabase(), XGetResourceInstance(), XGetScreenDensity(), XMakeImageLSBFirst(), XMakeImageMSBFirst(), XMakeMagnifyImage(), XMakeWindow(), XMLTreeInfoToXML(), XMLTreeTagToXML(), XPreferencesWidget(), and XUserPreferences().
| MagickExport long FormatMagickStringList | ( | char * | string, | |
| const size_t | length, | |||
| const char * | format, | |||
| va_list | operands | |||
| ) |
Definition at line 1067 of file string.c.
References vsnprintf.
Referenced by FormatMagickString(), and FormatString().
| MagickExport long FormatMagickTime | ( | const time_t | time, | |
| const size_t | length, | |||
| char * | timestamp | |||
| ) |
Definition at line 1127 of file string.c.
References FormatMagickString(), and ResetMagickMemory().
Referenced by ReadImage(), and TranslateEvent().
| MagickExport char* GetEnvironmentValue | ( | const char * | name | ) |
Definition at line 1201 of file string.c.
References ConstantString().
Referenced by ExpandFilename(), GetConfigureBlob(), GetConfigurePaths(), GetPathTemplate(), InitializeLocaleList(), LoadTypeLists(), MagickCoreGenesis(), and ResourceComponentGenesis().
| MagickExport unsigned char* GetStringInfoDatum | ( | const StringInfo * | string_info | ) |
Definition at line 1234 of file string.c.
References _StringInfo::datum, MagickSignature, and _StringInfo::signature.
Referenced by AcquireRandomInfo(), AcquireUniqueFileResource(), FinalizeSignature(), GenerateEntropicChaos(), Get8BIMProperty(), GetEXIFProperty(), GetIPTCProperty(), GetProfilesFromResourceBlock(), GetRandomKey(), GetThresholdMap(), HashStringInfoType(), HashStringType(), IdentifyImage(), IncrementRandomNonce(), ListThresholdMaps(), LoadCoderLists(), LoadColorLists(), LoadConfigureLists(), LoadDelegateLists(), LoadLocaleLists(), LoadLogLists(), LoadMagicLists(), LoadMimeLists(), LoadPolicyLists(), LoadTypeLists(), ProfileImage(), ReadImage(), SetImageProfile(), SetRandomKey(), SyncImageProfiles(), TransformSignature(), and UpdateSignature().
| MagickExport size_t GetStringInfoLength | ( | const StringInfo * | string_info | ) |
Definition at line 1263 of file string.c.
References _StringInfo::length, MagickSignature, and _StringInfo::signature.
Referenced by AcquireRandomInfo(), FinalizeSignature(), Get8BIMProperty(), GetEXIFProperty(), GetIPTCProperty(), GetProfilesFromResourceBlock(), IdentifyImage(), IncrementRandomNonce(), ProfileImage(), ReadImage(), SetImageProfile(), SyncImageProfiles(), and UpdateSignature().
| MagickExport const char* GetStringInfoPath | ( | const StringInfo * | string_info | ) |
Definition at line 1292 of file string.c.
References MagickSignature, _StringInfo::path, and _StringInfo::signature.
Referenced by GetThresholdMap(), ListThresholdMaps(), LoadCoderLists(), LoadColorLists(), LoadConfigureLists(), LoadDelegateLists(), LoadLocaleLists(), LoadLogLists(), LoadMagicLists(), LoadMimeLists(), LoadPolicyLists(), and LoadTypeLists().
| MagickExport long LocaleCompare | ( | const char * | p, | |
| const char * | q | |||
| ) |
Definition at line 1328 of file string.c.
References strcasecmp.
Referenced by AppendImageFormat(), CoderCompare(), CoderInfoCompare(), ColorCompare(), ColorInfoCompare(), CompareHashmapString(), CompareSplayTreeString(), ConfigureCompare(), ConfigureInfoCompare(), DelegateCompare(), DelegateInfoCompare(), DeleteImageProfile(), DrawImage(), ExpandFilenames(), ExportImagePixels(), FileCompare(), FileToBlob(), FxEvaluateSubexpression(), FxGetSymbol(), Get8BIMProperty(), GetCoderInfo(), GetColorInfo(), GetConfigureInfo(), GetDelegateInfo(), GetEXIFProperty(), GetLocaleInfo_(), GetLogInfo(), GetMagickInfo(), GetPolicyInfo(), GetQuantumInfo(), GetThresholdMapFile(), GetTypeInfo(), GetTypeInfoByFamily(), GetXMPProperty(), GlobExpression(), HuffmanEncodeImage(), IdentifyImage(), ImageToFile(), ImportImagePixels(), InvokeDelegate(), InvokeDynamicImageFilter(), IsMagickTrue(), IsTaintImage(), ListCoderInfo(), ListColorInfo(), ListConfigureInfo(), ListDelegateInfo(), ListFiles(), ListLocaleInfo(), ListLogInfo(), ListMagicInfo(), ListPolicyInfo(), ListTypeInfo(), LoadCoderList(), LoadColorList(), LoadConfigureList(), LoadDelegateList(), LoadFontConfigFonts(), LoadLocaleList(), LoadLogList(), LoadMagicList(), LoadPolicyList(), LoadTypeList(), LocaleInfoCompare(), LocaleTagCompare(), LogCompare(), LogInfoCompare(), MagicCompare(), MagicInfoCompare(), MagickCompare(), MagickInfoCompare(), MontageImageList(), OpenBlob(), ParseMagickOption(), PingImages(), ProfileImage(), QueryMagickColor(), RandomChannelThresholdImage(), ReadImage(), ReadImages(), RelinquishUniqueFileResource(), RemoveImageProfile(), SetImageInfo(), SetImageOption(), SetImageProfile(), SetImageProperty(), StreamImagePixels(), ThrowException(), ThumbnailImage(), TranslateEvent(), TypeCompare(), TypeInfoCompare(), UnregisterMagickInfo(), WriteImage(), XBestVisualInfo(), XColorBrowserWidget(), XConfirmWidget(), XDialogWidget(), XFileBrowserWidget(), XFontBrowserWidget(), XGetResourceInfo(), XImportImage(), XListBrowserWidget(), and XWindowByName().
| MagickExport void LocaleLower | ( | char * | string | ) |
Definition at line 1380 of file string.c.
Referenced by GetColorTuple(), GetMagickProperty(), MagickToMime(), QueryMagickColor(), ThumbnailImage(), and XFileBrowserWidget().
| MagickExport long LocaleNCompare | ( | const char * | p, | |
| const char * | q, | |||
| const size_t | length | |||
| ) |
Definition at line 1425 of file string.c.
References strncasecmp.
Referenced by DrawPrimitive(), FxChannelStatistics(), FxEvaluateSubexpression(), FxGetSymbol(), FxOperatorPrecedence(), GetGeometry(), GetImageProperty(), GetMagickProperty(), GetMagickToken(), GetPageGeometry(), GetProfilesFromResourceBlock(), InterpretImageFilename(), LoadCoderList(), LoadColorList(), LoadConfigureList(), LoadDelegateList(), LoadLocaleList(), LoadLogList(), LoadMagicList(), LoadPolicyList(), LoadTypeList(), OpenBlob(), ParseGeometry(), and ParseLogHandlers().
| MagickExport void LocaleUpper | ( | char * | string | ) |
Definition at line 1482 of file string.c.
Referenced by InvokeDelegate(), SetImageInfo(), and XBestVisualInfo().
| static size_t MagickMin | ( | const size_t | x, | |
| const size_t | y | |||
| ) | [inline, static] |
Definition at line 296 of file string.c.
Referenced by CompareStringInfo(), ConfigureFileToStringInfo(), PrintStringInfo(), SetStringInfo(), and StringToList().
| MagickExport void PrintStringInfo | ( | FILE * | file, | |
| const char * | id, | |||
| const StringInfo * | string_info | |||
| ) |
Definition at line 1519 of file string.c.
References _StringInfo::datum, GetMagickModule, _StringInfo::length, LogMagickEvent(), MagickMin(), MagickSignature, _StringInfo::signature, and TraceEvent.
Referenced by IdentifyImage().
| MagickExport void ResetStringInfo | ( | StringInfo * | string_info | ) |
Definition at line 1602 of file string.c.
References _StringInfo::datum, GetMagickModule, _StringInfo::length, LogMagickEvent(), MagickSignature, ResetMagickMemory(), _StringInfo::signature, and TraceEvent.
Referenced by AcquireRandomInfo().
| MagickExport void SetStringInfo | ( | StringInfo * | string_info, | |
| const StringInfo * | source | |||
| ) |
Definition at line 1634 of file string.c.
References CopyMagickMemory(), _StringInfo::datum, GetMagickModule, _StringInfo::length, LogMagickEvent(), MagickMin(), MagickSignature, ResetMagickMemory(), _StringInfo::signature, and TraceEvent.
Referenced by AcquireRandomInfo(), SetRandomKey(), SetSignatureDigest(), and SplitStringInfo().
| MagickExport void SetStringInfoDatum | ( | StringInfo * | string_info, | |
| const unsigned char * | source | |||
| ) |
Definition at line 1675 of file string.c.
References CopyMagickMemory(), _StringInfo::datum, GetMagickModule, _StringInfo::length, LogMagickEvent(), MagickSignature, _StringInfo::signature, and TraceEvent.
Referenced by AcquireRandomInfo(), GenerateEntropicChaos(), GetProfilesFromResourceBlock(), ProfileImage(), SetAdobeRGB1998ImageProfile(), SetsRGBImageProfile(), SignatureImage(), StringToStringInfo(), and UpdateSignature().
| MagickExport void SetStringInfoLength | ( | StringInfo * | string_info, | |
| const size_t | length | |||
| ) |
Definition at line 1709 of file string.c.
References AcquireQuantumMemory(), _StringInfo::datum, GetMagickModule, _StringInfo::length, LogMagickEvent(), MagickSignature, MaxTextExtent, ResizeQuantumMemory(), ResourceLimitFatalError, _StringInfo::signature, ThrowFatalException, and TraceEvent.
Referenced by AcquireRandomInfo(), ConcatenateStringInfo(), GenerateEntropicChaos(), SignatureImage(), and SplitStringInfo().
| MagickExport void SetStringInfoPath | ( | StringInfo * | string_info, | |
| const char * | path | |||
| ) |
Definition at line 1752 of file string.c.
References CopyMagickString(), GetMagickModule, LogMagickEvent(), MagickSignature, MaxTextExtent, _StringInfo::path, _StringInfo::signature, and TraceEvent.
Referenced by GetConfigureOptions().
| MagickExport StringInfo* SplitStringInfo | ( | StringInfo * | string_info, | |
| const size_t | offset | |||
| ) |
Definition at line 1783 of file string.c.
References AcquireStringInfo(), CopyMagickMemory(), _StringInfo::datum, GetMagickModule, _StringInfo::length, LogMagickEvent(), MagickSignature, MaxTextExtent, SetStringInfo(), SetStringInfoLength(), _StringInfo::signature, and TraceEvent.
| MagickExport char* StringInfoToHexString | ( | const StringInfo * | string_info | ) |
Definition at line 2024 of file string.c.
References AcquireQuantumMemory(), _StringInfo::datum, _StringInfo::length, MaxTextExtent, ResourceLimitFatalError, and ThrowFatalException.
Referenced by SignatureImage().
| MagickExport char* StringInfoToString | ( | const StringInfo * | string_info | ) |
Definition at line 1824 of file string.c.
References AcquireQuantumMemory(), CopyMagickString(), _StringInfo::datum, _StringInfo::length, and MaxTextExtent.
Referenced by GetXMPProperty().
| MagickExport char** StringToArgv | ( | const char * | text, | |
| int * | argc | |||
| ) |
Definition at line 1870 of file string.c.
References AcquireQuantumMemory(), AcquireString(), CopyMagickString(), DestroyString(), MaxTextExtent, RelinquishMagickMemory(), ResourceLimitFatalError, and ThrowFatalException.
Referenced by ExpandFilenames(), ProfileImage(), and SystemCommand().
| MagickExport double StringToDouble | ( | const char * | string, | |
| const double | interval | |||
| ) |
Definition at line 1972 of file string.c.
Referenced by SetImageProperty(), StringToSizeType(), and SyncImageSettings().
| MagickExport char* StringToken | ( | const char * | delimiters, | |
| char ** | string | |||
| ) |
Definition at line 2103 of file string.c.
Referenced by FxEvaluateSubexpression().
| MagickExport char** StringToList | ( | const char * | text | ) |
Definition at line 2168 of file string.c.
References AcquireQuantumMemory(), CopyMagickString(), FormatMagickString(), MagickMin(), MaxTextExtent, ResourceLimitFatalError, and ThrowFatalException.
Referenced by AnnotateImage(), GetDelegateCommand(), GetMultilineTypeMetrics(), IdentifyImage(), InvokeDelegate(), ListDelegateInfo(), ListMagickInfo(), and XDisplayImageInfo().
| MagickExport StringInfo* StringToStringInfo | ( | const char * | string | ) |
Definition at line 2301 of file string.c.
References AcquireStringInfo(), GetMagickModule, LogMagickEvent(), SetStringInfoDatum(), and TraceEvent.
Referenced by GenerateEntropicChaos(), GetConfigureOptions(), GetLocaleOptions(), and HashStringType().
| MagickExport void StripString | ( | char * | message | ) |
Definition at line 2336 of file string.c.
References CopyMagickMemory().
Referenced by ExpandFilenames(), FxGetSymbol(), and ListDelegateInfo().
| MagickExport MagickBooleanType SubstituteString | ( | char ** | string, | |
| const char * | search, | |||
| const char * | replace | |||
| ) |
Definition at line 2398 of file string.c.
References CopyMagickMemory(), MagickFalse, MagickTrue, MaxTextExtent, ResizeQuantumMemory(), ResourceLimitFatalError, and ThrowFatalException.
Referenced by AcquireFxInfo(), InterpretImageProperties(), LoadDelegateList(), LoadFontConfigFonts(), LoadMimeList(), LoadTypeList(), and ProfileImage().
1.6.1