Lines Matching refs:destination
132 *destination; in AcquireString() local
142 destination=(char *) AcquireQuantumMemory(length+MagickPathExtent, in AcquireString()
143 sizeof(*destination)); in AcquireString()
144 if (destination == (char *) NULL) in AcquireString()
146 *destination='\0'; in AcquireString()
148 (void) memcpy(destination,source,length*sizeof(*destination)); in AcquireString()
149 destination[length]='\0'; in AcquireString()
150 return(destination); in AcquireString()
286 MagickExport char *CloneString(char **destination,const char *source) in CloneString() argument
291 assert(destination != (char **) NULL); in CloneString()
294 if (*destination != (char *) NULL) in CloneString()
295 *destination=DestroyString(*destination); in CloneString()
296 return(*destination); in CloneString()
298 if (*destination == (char *) NULL) in CloneString()
300 *destination=AcquireString(source); in CloneString()
301 return(*destination); in CloneString()
306 *destination=(char *) ResizeQuantumMemory(*destination,length+ in CloneString()
307 MagickPathExtent,sizeof(**destination)); in CloneString()
308 if (*destination == (char *) NULL) in CloneString()
311 (void) memcpy(*destination,source,length*sizeof(**destination)); in CloneString()
312 (*destination)[length]='\0'; in CloneString()
313 return(*destination); in CloneString()
426 MagickExport size_t ConcatenateMagickString(char *magick_restrict destination, in ConcatenateMagickString() argument
441 assert(destination != (char *) NULL); in ConcatenateMagickString()
445 q=destination; in ConcatenateMagickString()
449 count=(size_t) (q-destination); in ConcatenateMagickString()
493 char **magick_restrict destination,const char *magick_restrict source) in ConcatenateString() argument
500 assert(destination != (char **) NULL); in ConcatenateString()
503 if (*destination == (char *) NULL) in ConcatenateString()
505 *destination=AcquireString(source); in ConcatenateString()
508 destination_length=strlen(*destination); in ConcatenateString()
516 *destination=(char *) ResizeQuantumMemory(*destination,length+ in ConcatenateString()
517 MagickPathExtent,sizeof(**destination)); in ConcatenateString()
518 if (*destination == (char *) NULL) in ConcatenateString()
521 (void) memcpy((*destination)+destination_length,source,source_length); in ConcatenateString()
522 (*destination)[length]='\0'; in ConcatenateString()
703 *destination; in ConstantString() local
711 destination=(char *) NULL; in ConstantString()
713 destination=(char *) AcquireQuantumMemory(length+1UL,sizeof(*destination)); in ConstantString()
714 if (destination == (char *) NULL) in ConstantString()
716 *destination='\0'; in ConstantString()
718 (void) memcpy(destination,source,length*sizeof(*destination)); in ConstantString()
719 destination[length]='\0'; in ConstantString()
720 return(destination); in ConstantString()
755 MagickExport size_t CopyMagickString(char *magick_restrict destination, in CopyMagickString() argument
768 q=destination; in CopyMagickString()
932 *destination; in EscapeString() local
955 destination=(char *) NULL; in EscapeString()
957 destination=(char *) AcquireQuantumMemory(length+MagickPathExtent, in EscapeString()
958 sizeof(*destination)); in EscapeString()
959 if (destination == (char *) NULL) in EscapeString()
961 *destination='\0'; in EscapeString()
962 q=destination; in EscapeString()
970 return(destination); in EscapeString()