• Home
  • Raw
  • Download

Lines Matching refs:ept_info

160     ept_info;  in ReadEPTImage()  local
194 ept_info.magick=ReadBlobLSBLong(image); in ReadEPTImage()
195 if (ept_info.magick != 0xc6d3d0c5ul) in ReadEPTImage()
197 ept_info.postscript_offset=(MagickOffsetType) ReadBlobLSBLong(image); in ReadEPTImage()
198 ept_info.postscript_length=ReadBlobLSBLong(image); in ReadEPTImage()
201 ept_info.tiff_offset=(MagickOffsetType) ReadBlobLSBLong(image); in ReadEPTImage()
202 ept_info.tiff_length=ReadBlobLSBLong(image); in ReadEPTImage()
204 ept_info.postscript=(unsigned char *) AcquireQuantumMemory( in ReadEPTImage()
205 ept_info.postscript_length+1,sizeof(*ept_info.postscript)); in ReadEPTImage()
206 if (ept_info.postscript == (unsigned char *) NULL) in ReadEPTImage()
208 (void) ResetMagickMemory(ept_info.postscript,0,(ept_info.postscript_length+1)* in ReadEPTImage()
209 sizeof(*ept_info.postscript)); in ReadEPTImage()
210 ept_info.tiff=(unsigned char *) AcquireQuantumMemory(ept_info.tiff_length+1, in ReadEPTImage()
211 sizeof(*ept_info.tiff)); in ReadEPTImage()
212 if (ept_info.tiff == (unsigned char *) NULL) in ReadEPTImage()
214 (void) ResetMagickMemory(ept_info.tiff,0,(ept_info.tiff_length+1)* in ReadEPTImage()
215 sizeof(*ept_info.tiff)); in ReadEPTImage()
216 offset=SeekBlob(image,ept_info.tiff_offset,SEEK_SET); in ReadEPTImage()
219 count=ReadBlob(image,ept_info.tiff_length,ept_info.tiff); in ReadEPTImage()
220 if (count != (ssize_t) (ept_info.tiff_length)) in ReadEPTImage()
223 offset=SeekBlob(image,ept_info.postscript_offset,SEEK_SET); in ReadEPTImage()
226 count=ReadBlob(image,ept_info.postscript_length,ept_info.postscript); in ReadEPTImage()
227 if (count != (ssize_t) (ept_info.postscript_length)) in ReadEPTImage()
234 image=BlobToImage(read_info,ept_info.postscript,ept_info.postscript_length, in ReadEPTImage()
239 image=BlobToImage(read_info,ept_info.tiff,ept_info.tiff_length,exception); in ReadEPTImage()
248 ept_info.tiff=(unsigned char *) RelinquishMagickMemory(ept_info.tiff); in ReadEPTImage()
249 ept_info.postscript=(unsigned char *) RelinquishMagickMemory( in ReadEPTImage()
250 ept_info.postscript); in ReadEPTImage()
370 ept_info; in WriteEPTImage() local
404 (void) ResetMagickMemory(&ept_info,0,sizeof(ept_info)); in WriteEPTImage()
405 ept_info.magick=0xc6d3d0c5ul; in WriteEPTImage()
406 ept_info.postscript=(unsigned char *) ImageToBlob(write_info,write_image, in WriteEPTImage()
407 &ept_info.postscript_length,exception); in WriteEPTImage()
410 if (ept_info.postscript == (void *) NULL) in WriteEPTImage()
449 ept_info.tiff=(unsigned char *) ImageToBlob(write_info,write_image, in WriteEPTImage()
450 &ept_info.tiff_length,exception); in WriteEPTImage()
453 if (ept_info.tiff == (void *) NULL) in WriteEPTImage()
455 ept_info.postscript=(unsigned char *) RelinquishMagickMemory( in WriteEPTImage()
456 ept_info.postscript); in WriteEPTImage()
462 (void) WriteBlobLSBLong(image,(unsigned int) ept_info.magick); in WriteEPTImage()
464 (void) WriteBlobLSBLong(image,(unsigned int) ept_info.postscript_length); in WriteEPTImage()
467 (void) WriteBlobLSBLong(image,(unsigned int) ept_info.postscript_length+30); in WriteEPTImage()
468 (void) WriteBlobLSBLong(image,(unsigned int) ept_info.tiff_length); in WriteEPTImage()
470 (void) WriteBlob(image,ept_info.postscript_length,ept_info.postscript); in WriteEPTImage()
471 (void) WriteBlob(image,ept_info.tiff_length,ept_info.tiff); in WriteEPTImage()
475 ept_info.postscript=(unsigned char *) RelinquishMagickMemory( in WriteEPTImage()
476 ept_info.postscript); in WriteEPTImage()
477 ept_info.tiff=(unsigned char *) RelinquishMagickMemory(ept_info.tiff); in WriteEPTImage()