• Home
  • Raw
  • Download

Lines Matching refs:destination

126     *destination;  in AcquireString()  local
136 destination=(char *) AcquireQuantumMemory(length+MagickPathExtent, in AcquireString()
137 sizeof(*destination)); in AcquireString()
138 if (destination == (char *) NULL) in AcquireString()
140 *destination='\0'; in AcquireString()
142 (void) memcpy(destination,source,length*sizeof(*destination)); in AcquireString()
143 destination[length]='\0'; in AcquireString()
144 return(destination); in AcquireString()
271 MagickExport char *CloneString(char **destination,const char *source) in CloneString() argument
276 assert(destination != (char **) NULL); in CloneString()
279 if (*destination != (char *) NULL) in CloneString()
280 *destination=DestroyString(*destination); in CloneString()
281 return(*destination); in CloneString()
283 if (*destination == (char *) NULL) in CloneString()
285 *destination=AcquireString(source); in CloneString()
286 return(*destination); in CloneString()
291 *destination=(char *) ResizeQuantumMemory(*destination,length+ in CloneString()
292 MagickPathExtent,sizeof(**destination)); in CloneString()
293 if (*destination == (char *) NULL) in CloneString()
296 (void) memcpy(*destination,source,length*sizeof(**destination)); in CloneString()
297 (*destination)[length]='\0'; in CloneString()
298 return(*destination); in CloneString()
411 MagickExport size_t ConcatenateMagickString(char *destination, in ConcatenateMagickString() argument
426 assert(destination != (char *) NULL); in ConcatenateMagickString()
430 q=destination; in ConcatenateMagickString()
434 count=(size_t) (q-destination); in ConcatenateMagickString()
477 MagickExport MagickBooleanType ConcatenateString(char **destination, in ConcatenateString() argument
485 assert(destination != (char **) NULL); in ConcatenateString()
488 if (*destination == (char *) NULL) in ConcatenateString()
490 *destination=AcquireString(source); in ConcatenateString()
493 destination_length=strlen(*destination); in ConcatenateString()
501 *destination=(char *) ResizeQuantumMemory(*destination,length+ in ConcatenateString()
502 MagickPathExtent,sizeof(**destination)); in ConcatenateString()
503 if (*destination == (char *) NULL) in ConcatenateString()
506 (void) memcpy((*destination)+destination_length,source,source_length); in ConcatenateString()
507 (*destination)[length]='\0'; in ConcatenateString()
691 *destination; in ConstantString() local
699 destination=(char *) NULL; in ConstantString()
701 destination=(char *) AcquireQuantumMemory(length+1UL,sizeof(*destination)); in ConstantString()
702 if (destination == (char *) NULL) in ConstantString()
704 *destination='\0'; in ConstantString()
706 (void) memcpy(destination,source,length*sizeof(*destination)); in ConstantString()
707 destination[length]='\0'; in ConstantString()
708 return(destination); in ConstantString()
743 MagickExport size_t CopyMagickString(char *destination,const char *source, in CopyMagickString() argument
758 q=destination; in CopyMagickString()
920 *destination; in EscapeString() local
943 destination=(char *) NULL; in EscapeString()
945 destination=(char *) AcquireQuantumMemory(length+MagickPathExtent, in EscapeString()
946 sizeof(*destination)); in EscapeString()
947 if (destination == (char *) NULL) in EscapeString()
949 *destination='\0'; in EscapeString()
950 q=destination; in EscapeString()
958 return(destination); in EscapeString()