Lines Matching defs:string
80 #include "MagickCore/string-private.h"
217 % DefineImageProperty() associates an assignment string of the form
356 % o format: A string describing the format to use to write the remaining
406 % The returned string is stored as a properity of the same name for faster
2332 % The returned string is stored in a structure somewhere, and should not be
2333 % directly freed. If the string was generated (common) the string will be
2371 value[MagickPathExtent]; /* formatted string to store as an artifact */
2374 *string; /* return a string already stored somewher */
2382 *value='\0'; /* formatted string */
2383 string=(char *) NULL; /* constant string reference */
2399 case 'c': /* image comment property - empty string by default */
2402 string=GetImageProperty(image,"comment",exception);
2403 if ( string == (const char *) NULL )
2404 string="";
2412 string="";
2420 string="";
2428 string="";
2449 string=image->filename;
2462 case 'l': /* Image label property - empty string by default */
2465 string=GetImageProperty(image,"label",exception);
2466 if (string == (const char *) NULL)
2467 string="";
2473 string=image->magick;
2482 string="0"; /* no images or scenes */
2487 string=image_info->filename;
2529 string="0";
2542 string="";
2548 string=image_info->unique;
2582 string=CommandOptionToMnemonic(MagickPixelTraitOptions,(ssize_t)
2589 string=CommandOptionToMnemonic(MagickCompressOptions,(ssize_t)
2596 string=CommandOptionToMnemonic(MagickDisposeOptions,(ssize_t)
2617 string=image->magick_filename;
2646 string="2147483647";
2651 string="0";
2669 string=CommandOptionToMnemonic(MagickResolutionOptions,(ssize_t)
2696 string="%";
2718 string=GetImageProperty(image,"signature",exception);
2722 if (string != (char *) NULL)
2723 return(string);
2750 *string;
2762 *value='\0'; /* formated string */
2763 string=(char *) NULL; /* constant string reference */
2773 string="";
2802 string=CommandOptionToMnemonic(MagickColorspaceOptions,(ssize_t)
2809 string=CommandOptionToMnemonic(MagickComposeOptions,(ssize_t)
2834 string="";
2857 string="";
2889 string=image->filename;
2915 string=image->magick;
2963 string=CommandOptionToMnemonic(MagickBooleanOptions,(ssize_t)
2970 string=CommandOptionToMnemonic(MagickOrientationOptions,(ssize_t)
3006 string=cmsTakeProductName(icc_profile);
3116 string=CommandOptionToMnemonic(MagickTypeOptions,(ssize_t)
3127 string=image_info->unique;
3133 string=CommandOptionToMnemonic(MagickResolutionOptions,(ssize_t)
3144 string=GetMagickVersion((size_t *) NULL);
3161 if (string != (char *) NULL)
3162 return(string);
3195 % GetNextImageProperty() gets the next free-form string property name.
3241 % value, or a per-image property string name, or a per-image
3254 % The returned string must be freed using DestoryString() by the caller.
3267 % o embed_text: the address of a character string containing the embedded
3309 #define AppendString2Text(string) \
3312 size_t length=strlen((string)); \
3322 (void) CopyMagickString(q,(string),extent); \
3337 *p; /* position in embed_text string being expanded */
3359 Handle a '@' replace string from file.
3375 interpret_text=AcquireString(embed_text); /* new string with extra space */
3376 extent=MagickPathExtent; /* allocated space in string */
3458 Doubled Percent - or percent at end of string.
3473 *string;
3484 string=GetMagickPropertyLetter(image_info,image,*p, exception);
3485 if (string != (char *) NULL)
3487 AppendString2Text(string);
3504 *string;
3550 pattern[61] = '.'; /* truncate string for error message */
3670 string=GetImageOption(image_info,key);
3671 if (string != (const char *) NULL)
3672 AppendKeyValue2Text(key,string);
3673 /* else - assertion failure? key found but no string value! */
3677 string=GetImageOption(image_info,pattern+7);
3678 if (string == (char *) NULL)
3680 AppendString2Text(string);
3700 string=GetImageArtifact(image,key);
3701 if (string != (const char *) NULL)
3702 AppendKeyValue2Text(key,string);
3703 /* else - assertion failure? key found but no string value! */
3707 string=GetImageArtifact(image,pattern+9);
3708 if (string == (char *) NULL)
3710 AppendString2Text(string);
3730 string=GetImageProperty(image,key,exception);
3731 if (string != (const char *) NULL)
3732 AppendKeyValue2Text(key,string);
3737 string=GetImageProperty(image,pattern+9,exception);
3738 if (string == (char *) NULL)
3740 AppendString2Text(string);
3750 string=GetImageProperty(image,pattern,exception);
3751 if (string != (const char *) NULL)
3753 AppendString2Text(string);
3773 string=GetImageProperty(image,key,exception);
3774 if (string != (const char *) NULL)
3775 AppendKeyValue2Text(key,string);
3785 string=GetMagickProperty(image_info,image,pattern,exception);
3786 if (string != (const char *) NULL)
3788 AppendString2Text(string);
3797 string=GetImageArtifact(image,pattern);
3798 if (string != (char *) NULL)
3800 AppendString2Text(string);
3810 string=GetImageOption(image_info,pattern);
3811 if (string != (char *) NULL)
3813 AppendString2Text(string);
3823 pattern[61] = '.'; /* truncate string for error message */
3929 % SetImageProperty() saves the given string value either to specific known
3930 % attribute or to a freeform property string.