Home
last modified time | relevance | path

Searched refs:clone_info (Results 1 – 20 of 20) sorted by relevance

/external/ImageMagick/coders/
Dxtrn.c119 *clone_info; in ReadXTRNImage() local
136 clone_info=CloneImageInfo(image_info); in ReadXTRNImage()
137 if (clone_info->filename == NULL) in ReadXTRNImage()
139 clone_info=DestroyImageInfo(clone_info); in ReadXTRNImage()
143 (void) sscanf(clone_info->filename,"%p,%2048s",&param1,filename); in ReadXTRNImage()
158 *clone_info->filename='\0'; in ReadXTRNImage()
159 *clone_info->magick='\0'; in ReadXTRNImage()
161 (void) CopyMagickString(clone_info->filename,filename, in ReadXTRNImage()
163 image=BlobToImage(clone_info,blob_data,blob_length, in ReadXTRNImage()
171 clone_info=DestroyImageInfo(clone_info); in ReadXTRNImage()
[all …]
Dmat.c481 static Image *decompress_block(Image *orig, unsigned int *Size, ImageInfo *clone_info, ExceptionInf… in decompress_block() argument
496 if(clone_info==NULL) return NULL; in decompress_block()
497 if(clone_info->file) /* Close file opened from previous transaction. */ in decompress_block()
499 fclose(clone_info->file); in decompress_block()
500 clone_info->file = NULL; in decompress_block()
501 (void) remove_utf8(clone_info->filename); in decompress_block()
514 file = AcquireUniqueFileResource(clone_info->filename); in decompress_block()
534 "UnableToUncompressImage","`%s'",clone_info->filename); in decompress_block()
536 RelinquishUniqueFileResource(clone_info->filename); in decompress_block()
577 if((clone_info->file=fopen(clone_info->filename,"rb"))==NULL) goto UnlinkFile; in decompress_block()
[all …]
Dcut.c330 if (clone_info != NULL) \ in ReadCUTImage()
331 clone_info=DestroyImageInfo(clone_info); \ in ReadCUTImage()
336 ImageInfo *clone_info; in ReadCUTImage() local
373 clone_info=NULL; in ReadCUTImage()
420 if ((clone_info=CloneImageInfo(image_info)) == NULL) goto NoPalette; in ReadCUTImage()
423 i=(ssize_t) strlen(clone_info->filename); in ReadCUTImage()
427 if(clone_info->filename[i]=='.') in ReadCUTImage()
431 if(clone_info->filename[i]=='/' || clone_info->filename[i]=='\\' || in ReadCUTImage()
432 clone_info->filename[i]==':' ) in ReadCUTImage()
439 (void) CopyMagickString(clone_info->filename+i,".PAL",(size_t) in ReadCUTImage()
[all …]
Dwpg.c773 *clone_info; in ExtractPostscript() local
787 if ((clone_info=CloneImageInfo(image_info)) == NULL) in ExtractPostscript()
789 clone_info->blob=(void *) NULL; in ExtractPostscript()
790 clone_info->length=0; in ExtractPostscript()
842 (void) CopyMagickString(clone_info->magick,GetMagicName(magic_info), in ExtractPostscript()
844 if (LocaleCompare(clone_info->magick,"PFB") != 0) in ExtractPostscript()
853 FormatLocaleString(clone_info->filename,MagickPathExtent,"%.1024s:%.1024s", in ExtractPostscript()
854 clone_info->magick,postscript_file); in ExtractPostscript()
855 image2=ReadImage(clone_info,exception); in ExtractPostscript()
912 DestroyImageInfo(clone_info); in ExtractPostscript()
Dtiff.c1111 *clone_info; in TIFFReadPhotoshopLayers() local
1166 clone_info=CloneImageInfo(image_info); in TIFFReadPhotoshopLayers()
1167 clone_info->number_scenes=0; in TIFFReadPhotoshopLayers()
1168 (void) ReadPSDLayers(layers,clone_info,&info,exception); in TIFFReadPhotoshopLayers()
1169 clone_info=DestroyImageInfo(clone_info); in TIFFReadPhotoshopLayers()
3060 *clone_info; in TIFFWritePhotoshopLayers() local
3077 clone_info=CloneImageInfo(image_info); in TIFFWritePhotoshopLayers()
3078 if (clone_info == (ImageInfo *) NULL) in TIFFWritePhotoshopLayers()
3087 clone_info=DestroyImageInfo(clone_info); in TIFFWritePhotoshopLayers()
3097 clone_info=DestroyImageInfo(clone_info); in TIFFWritePhotoshopLayers()
[all …]
/external/ImageMagick/MagickCore/
Dmontage.c108 *clone_info; in CloneMontageInfo() local
110 clone_info=(MontageInfo *) AcquireCriticalMemory(sizeof(*clone_info)); in CloneMontageInfo()
111 GetMontageInfo(image_info,clone_info); in CloneMontageInfo()
113 return(clone_info); in CloneMontageInfo()
115 clone_info->geometry=AcquireString(montage_info->geometry); in CloneMontageInfo()
117 clone_info->tile=AcquireString(montage_info->tile); in CloneMontageInfo()
119 clone_info->title=AcquireString(montage_info->title); in CloneMontageInfo()
121 clone_info->frame=AcquireString(montage_info->frame); in CloneMontageInfo()
123 clone_info->texture=AcquireString(montage_info->texture); in CloneMontageInfo()
125 clone_info->font=AcquireString(montage_info->font); in CloneMontageInfo()
[all …]
Ddraw.c273 *clone_info; in CloneDrawInfo() local
278 clone_info=(DrawInfo *) AcquireCriticalMemory(sizeof(*clone_info)); in CloneDrawInfo()
279 GetDrawInfo(image_info,clone_info); in CloneDrawInfo()
281 return(clone_info); in CloneDrawInfo()
284 (void) CloneString(&clone_info->id,draw_info->id); in CloneDrawInfo()
286 (void) CloneString(&clone_info->primitive,draw_info->primitive); in CloneDrawInfo()
288 (void) CloneString(&clone_info->geometry,draw_info->geometry); in CloneDrawInfo()
289 clone_info->compliance=draw_info->compliance; in CloneDrawInfo()
290 clone_info->viewbox=draw_info->viewbox; in CloneDrawInfo()
291 clone_info->affine=draw_info->affine; in CloneDrawInfo()
[all …]
Dblob.c433 *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()
[all …]
Dcache.c508 *magick_restrict clone_info; in ClonePixelCache() local
519 clone_info=(CacheInfo *) AcquirePixelCache(cache_info->number_threads); in ClonePixelCache()
520 clone_info->virtual_pixel_method=cache_info->virtual_pixel_method; in ClonePixelCache()
521 return((Cache ) clone_info); in ClonePixelCache()
597 CacheInfo *magick_restrict cache_info,CacheInfo *magick_restrict clone_info) in ClonePixelCacheOnDisk() argument
618 (OpenPixelCacheOnDisk(clone_info,IOMode) == MagickFalse)) in ClonePixelCacheOnDisk()
621 (lseek(clone_info->file,0,SEEK_SET) < 0)) in ClonePixelCacheOnDisk()
629 count=sendfile(clone_info->file,cache_info->file,(off_t *) NULL, in ClonePixelCacheOnDisk()
634 (lseek(clone_info->file,0,SEEK_SET) < 0)) in ClonePixelCacheOnDisk()
649 number_bytes=write(clone_info->file,buffer,(size_t) count); in ClonePixelCacheOnDisk()
[all …]
Dimage.c930 *clone_info; in CloneImageInfo() local
932 clone_info=AcquireImageInfo(); in CloneImageInfo()
934 return(clone_info); in CloneImageInfo()
935 clone_info->compression=image_info->compression; in CloneImageInfo()
936 clone_info->temporary=image_info->temporary; in CloneImageInfo()
937 clone_info->adjoin=image_info->adjoin; in CloneImageInfo()
938 clone_info->antialias=image_info->antialias; in CloneImageInfo()
939 clone_info->scene=image_info->scene; in CloneImageInfo()
940 clone_info->number_scenes=image_info->number_scenes; in CloneImageInfo()
941 clone_info->depth=image_info->depth; in CloneImageInfo()
[all …]
Ddelegate.c1770 *clone_info; in InvokeDelegate() local
1796 clone_info=CloneImageInfo(image_info); in InvokeDelegate()
1797 (void) CopyMagickString((char *) clone_info->magick,magick, in InvokeDelegate()
1802 (void) FormatLocaleString(clone_info->filename,MagickPathExtent,"%s:", in InvokeDelegate()
1804 (void) SetImageInfo(clone_info,(unsigned int) GetImageListLength(image), in InvokeDelegate()
1806 (void) CopyMagickString(clone_info->filename,image_info->filename, in InvokeDelegate()
1813 delegate_info->decode,clone_info->filename); in InvokeDelegate()
1814 status=WriteImage(clone_info,p,exception); in InvokeDelegate()
1820 clone_info=DestroyImageInfo(clone_info); in InvokeDelegate()
1825 if (clone_info->adjoin != MagickFalse) in InvokeDelegate()
[all …]
Dstring.c305 *clone_info; in CloneStringInfo() local
309 clone_info=AcquireStringInfo(string_info->length); in CloneStringInfo()
310 (void) CloneString(&clone_info->path,string_info->path); in CloneStringInfo()
311 (void) CloneString(&clone_info->name,string_info->name); in CloneStringInfo()
313 (void) memcpy(clone_info->datum,string_info->datum,string_info->length+1); in CloneStringInfo()
314 return(clone_info); in CloneStringInfo()
Dquantize.c1052 *clone_info; in CloneQuantizeInfo() local
1054 clone_info=(QuantizeInfo *) AcquireCriticalMemory(sizeof(*clone_info)); in CloneQuantizeInfo()
1055 GetQuantizeInfo(clone_info); in CloneQuantizeInfo()
1057 return(clone_info); in CloneQuantizeInfo()
1058 clone_info->number_colors=quantize_info->number_colors; in CloneQuantizeInfo()
1059 clone_info->tree_depth=quantize_info->tree_depth; in CloneQuantizeInfo()
1060 clone_info->dither_method=quantize_info->dither_method; in CloneQuantizeInfo()
1061 clone_info->colorspace=quantize_info->colorspace; in CloneQuantizeInfo()
1062 clone_info->measure_error=quantize_info->measure_error; in CloneQuantizeInfo()
1063 return(clone_info); in CloneQuantizeInfo()
Dmorphology.c2423 *clone_info, in ExpandRotateKernelInfo() local
2426 clone_info=(KernelInfo *) NULL; in ExpandRotateKernelInfo()
2431 clone_info=CloneKernelInfo(last); in ExpandRotateKernelInfo() local
2432 if (clone_info == (KernelInfo *) NULL) in ExpandRotateKernelInfo()
2434 RotateKernelInfo(clone_info,angle); in ExpandRotateKernelInfo()
2435 if (SameKernelInfo(kernel,clone_info) != MagickFalse) in ExpandRotateKernelInfo()
2437 LastKernelInfo(last)->next=clone_info; in ExpandRotateKernelInfo()
2438 last=clone_info; in ExpandRotateKernelInfo()
2440 if (clone_info != (KernelInfo *) NULL) in ExpandRotateKernelInfo()
2441 clone_info=DestroyKernelInfo(clone_info); /* kernel repeated - junk */ in ExpandRotateKernelInfo()
Doption.c2211 const ImageInfo *clone_info) in CloneImageOptions() argument
2218 assert(clone_info != (const ImageInfo *) NULL); in CloneImageOptions()
2219 assert(clone_info->signature == MagickCoreSignature); in CloneImageOptions()
2220 if (clone_info->options != (void *) NULL) in CloneImageOptions()
2224 image_info->options=CloneSplayTree((SplayTreeInfo *) clone_info->options, in CloneImageOptions()
/external/autotest/site_utils/lxc/
Dbase_image.py183 clone_info = [line.strip()
186 for i in range(0, len(clone_info), 2):
187 lxc_path = clone_info[i]
188 name = clone_info[i+1]
/external/autotest/cli/
Djob.py566 clone_info = self.execute_rpc(op='get_info_for_clone',
572 del clone_info['job'][field]
577 if clone_info['job'].has_key('parameterized_job'):
578 del clone_info['job']['parameterized_job']
582 for key, val in clone_info['job'].iteritems())
586 for label, qty in clone_info['meta_host_counts'].iteritems():
590 for host in clone_info['hosts'])
/external/libnl/python/netlink/
Dcapi.i677 struct pynl_cbinfo *info, *clone_info; in py_nl_cb_clone() local
684 clone_info = pynl_get_cbinfo(clone, 0); in py_nl_cb_clone()
689 clone_info->cbtype[i].cbf = info->cbtype[i].cbf; in py_nl_cb_clone()
690 clone_info->cbtype[i].cba = info->cbtype[i].cba; in py_nl_cb_clone()
694 clone_info->cberr.cbf = info->cberr.cbf; in py_nl_cb_clone()
695 clone_info->cberr.cba = info->cberr.cba; in py_nl_cb_clone()
/external/ImageMagick/PerlMagick/
DMagick.xs632 *clone_info; in ClonePackageInfo() local
634 clone_info=(struct PackageInfo *) AcquireQuantumMemory(1,sizeof(*clone_info)); in ClonePackageInfo()
635 if (clone_info == (struct PackageInfo *) NULL) in ClonePackageInfo()
643 clone_info->image_info=CloneImageInfo((ImageInfo *) NULL); in ClonePackageInfo()
644 return(clone_info); in ClonePackageInfo()
646 *clone_info=(*info); in ClonePackageInfo()
647 clone_info->image_info=CloneImageInfo(info->image_info); in ClonePackageInfo()
648 return(clone_info); in ClonePackageInfo()
1021 *clone_info; in GetPackageInfo() local
1037 if (SvIOKp(sv) && (clone_info=INT2PTR(struct PackageInfo *,SvIV(sv)))) in GetPackageInfo()
[all …]
/external/ImageMagick/PerlMagick/quantum/
Dquantum.xs.in632 *clone_info; local
634 clone_info=(struct PackageInfo *) AcquireQuantumMemory(1,sizeof(*clone_info));
635 if (clone_info == (struct PackageInfo *) NULL)
643 clone_info->image_info=CloneImageInfo((ImageInfo *) NULL);
644 return(clone_info);
646 *clone_info=(*info);
647 clone_info->image_info=CloneImageInfo(info->image_info);
648 return(clone_info);
1021 *clone_info; local
1037 if (SvIOKp(sv) && (clone_info=INT2PTR(struct PackageInfo *,SvIV(sv))))
[all …]