Lines Matching refs:clone_info
433 *clone_info; in BlobToImage() local
494 clone_info=CloneImageInfo(blob_info); in BlobToImage()
495 (void) FormatLocaleString(clone_info->filename,MagickPathExtent,"%s:%s", in BlobToImage()
497 image=ReadImage(clone_info,exception); in BlobToImage()
517 clone_info=DestroyImageInfo(clone_info); in BlobToImage()
549 *clone_info; in CloneBlobInfo() local
554 clone_info=(BlobInfo *) AcquireCriticalMemory(sizeof(*clone_info)); in CloneBlobInfo()
555 GetBlobInfo(clone_info); in CloneBlobInfo()
557 return(clone_info); in CloneBlobInfo()
558 semaphore=clone_info->semaphore; in CloneBlobInfo()
559 (void) memcpy(clone_info,blob_info,sizeof(*clone_info)); in CloneBlobInfo()
562 clone_info->semaphore=semaphore; in CloneBlobInfo()
563 LockSemaphoreInfo(clone_info->semaphore); in CloneBlobInfo()
564 clone_info->reference_count=1; in CloneBlobInfo()
565 UnlockSemaphoreInfo(clone_info->semaphore); in CloneBlobInfo()
566 return(clone_info); in CloneBlobInfo()
837 *clone_info; in CustomStreamToImage() local
864 clone_info=CloneImageInfo(blob_info); in CustomStreamToImage()
879 (void) FormatLocaleString(clone_info->filename,MagickPathExtent, in CustomStreamToImage()
881 image=ReadImage(clone_info,exception); in CustomStreamToImage()
903 clone_info=DestroyImageInfo(clone_info); in CustomStreamToImage()
1085 *clone_info; in DisassociateBlob() local
1105 clone_info=CloneBlobInfo(blob_info); in DisassociateBlob()
1107 image->blob=clone_info; in DisassociateBlob()
2158 *clone_info; in ImageToCustomStream() local
2175 clone_info=CloneImageInfo(image_info); in ImageToCustomStream()
2176 clone_info->adjoin=MagickFalse; in ImageToCustomStream()
2177 (void) SetImageInfo(clone_info,1,exception); in ImageToCustomStream()
2178 if (*clone_info->magick != '\0') in ImageToCustomStream()
2179 (void) CopyMagickString(image->magick,clone_info->magick,MagickPathExtent); in ImageToCustomStream()
2186 clone_info=DestroyImageInfo(clone_info); in ImageToCustomStream()
2189 (void) CopyMagickString(clone_info->magick,image->magick,MagickPathExtent); in ImageToCustomStream()
2194 if ((clone_info->custom_stream->seeker == (CustomStreamSeeker) NULL) || in ImageToCustomStream()
2195 (clone_info->custom_stream->teller == (CustomStreamTeller) NULL)) in ImageToCustomStream()
2205 (void) WriteImage(clone_info,image,exception); in ImageToCustomStream()
2222 clone_info->custom_stream=(CustomStreamInfo *) NULL; in ImageToCustomStream()
2229 clone_info=DestroyImageInfo(clone_info); in ImageToCustomStream()
2238 clone_info=DestroyImageInfo(clone_info); in ImageToCustomStream()
2241 clone_info->file=fdopen(file,"wb+"); in ImageToCustomStream()
2242 if (clone_info->file != (FILE *) NULL) in ImageToCustomStream()
2249 status=WriteImage(clone_info,image,exception); in ImageToCustomStream()
2253 (void) fseek(clone_info->file,0,SEEK_SET); in ImageToCustomStream()
2258 clone_info->file); in ImageToCustomStream()
2263 (void) fclose(clone_info->file); in ImageToCustomStream()
2268 clone_info=DestroyImageInfo(clone_info); in ImageToCustomStream()
2426 *clone_info; in ImagesToBlob() local
2444 clone_info=CloneImageInfo(image_info); in ImagesToBlob()
2445 (void) SetImageInfo(clone_info,(unsigned int) GetImageListLength(images), in ImagesToBlob()
2447 if (*clone_info->magick != '\0') in ImagesToBlob()
2448 (void) CopyMagickString(images->magick,clone_info->magick,MagickPathExtent); in ImagesToBlob()
2455 clone_info=DestroyImageInfo(clone_info); in ImagesToBlob()
2460 clone_info=DestroyImageInfo(clone_info); in ImagesToBlob()
2463 (void) CopyMagickString(clone_info->magick,images->magick,MagickPathExtent); in ImagesToBlob()
2469 clone_info->length=0; in ImagesToBlob()
2470 clone_info->blob=(void *) AcquireQuantumMemory(MagickMaxBlobExtent, in ImagesToBlob()
2472 if (clone_info->blob == (void *) NULL) in ImagesToBlob()
2480 status=WriteImages(clone_info,images,images->filename,exception); in ImagesToBlob()
2484 clone_info->blob=RelinquishMagickMemory(clone_info->blob); in ImagesToBlob()
2511 clone_info->file=fdopen(file,"wb"); in ImagesToBlob()
2512 if (clone_info->file != (FILE *) NULL) in ImagesToBlob()
2516 status=WriteImages(clone_info,images,filename,exception); in ImagesToBlob()
2518 (void) fclose(clone_info->file); in ImagesToBlob()
2525 clone_info=DestroyImageInfo(clone_info); in ImagesToBlob()
2564 *clone_info; in ImagesToCustomStream() local
2582 clone_info=CloneImageInfo(image_info); in ImagesToCustomStream()
2583 (void) SetImageInfo(clone_info,(unsigned int) GetImageListLength(images), in ImagesToCustomStream()
2585 if (*clone_info->magick != '\0') in ImagesToCustomStream()
2586 (void) CopyMagickString(images->magick,clone_info->magick,MagickPathExtent); in ImagesToCustomStream()
2593 clone_info=DestroyImageInfo(clone_info); in ImagesToCustomStream()
2596 (void) CopyMagickString(clone_info->magick,images->magick,MagickPathExtent); in ImagesToCustomStream()
2601 if ((clone_info->custom_stream->seeker == (CustomStreamSeeker) NULL) || in ImagesToCustomStream()
2602 (clone_info->custom_stream->teller == (CustomStreamTeller) NULL)) in ImagesToCustomStream()
2612 (void) WriteImages(clone_info,images,images->filename,exception); in ImagesToCustomStream()
2630 clone_info->custom_stream=(CustomStreamInfo *) NULL; in ImagesToCustomStream()
2637 clone_info=DestroyImageInfo(clone_info); in ImagesToCustomStream()
2646 clone_info=DestroyImageInfo(clone_info); in ImagesToCustomStream()
2649 clone_info->file=fdopen(file,"wb+"); in ImagesToCustomStream()
2650 if (clone_info->file != (FILE *) NULL) in ImagesToCustomStream()
2657 status=WriteImages(clone_info,images,filename,exception); in ImagesToCustomStream()
2661 (void) fseek(clone_info->file,0,SEEK_SET); in ImagesToCustomStream()
2666 clone_info->file); in ImagesToCustomStream()
2671 (void) fclose(clone_info->file); in ImagesToCustomStream()
2676 clone_info=DestroyImageInfo(clone_info); in ImagesToCustomStream()
3603 *clone_info, in PingBlob() local
3666 clone_info=CloneImageInfo(ping_info); in PingBlob()
3667 (void) FormatLocaleString(clone_info->filename,MagickPathExtent,"%s:%s", in PingBlob()
3669 image=ReadStream(clone_info,&PingStream,exception); in PingBlob()
3689 clone_info=DestroyImageInfo(clone_info); in PingBlob()