• Home
  • Raw
  • Download

Lines Matching refs:pdb_info

286     pdb_info;  in ReadPDBImage()  local
335 (void) memset(&pdb_info,0,sizeof(pdb_info)); in ReadPDBImage()
336 count=ReadBlob(image,sizeof(pdb_info.name),(unsigned char *) pdb_info.name); in ReadPDBImage()
337 if (count != sizeof(pdb_info.name)) in ReadPDBImage()
339 pdb_info.attributes=(short) ReadBlobMSBShort(image); in ReadPDBImage()
340 pdb_info.version=(short) ReadBlobMSBShort(image); in ReadPDBImage()
341 pdb_info.create_time=ReadBlobMSBLong(image); in ReadPDBImage()
342 pdb_info.modify_time=ReadBlobMSBLong(image); in ReadPDBImage()
343 pdb_info.archive_time=ReadBlobMSBLong(image); in ReadPDBImage()
344 pdb_info.modify_number=ReadBlobMSBLong(image); in ReadPDBImage()
345 pdb_info.application_info=ReadBlobMSBLong(image); in ReadPDBImage()
346 pdb_info.sort_info=ReadBlobMSBLong(image); in ReadPDBImage()
347 (void) ReadBlob(image,4,(unsigned char *) pdb_info.type); in ReadPDBImage()
348 (void) ReadBlob(image,4,(unsigned char *) pdb_info.id); in ReadPDBImage()
349 pdb_info.seed=ReadBlobMSBLong(image); in ReadPDBImage()
350 pdb_info.next_record=ReadBlobMSBLong(image); in ReadPDBImage()
351 pdb_info.number_records=(short) ReadBlobMSBShort(image); in ReadPDBImage()
352 if ((memcmp(pdb_info.type,"vIMG",4) != 0) || in ReadPDBImage()
353 (memcmp(pdb_info.id,"View",4) != 0)) in ReadPDBImage()
355 if (pdb_info.next_record != 0) in ReadPDBImage()
366 if (pdb_info.number_records > 1) in ReadPDBImage()
581 if (pdb_info.number_records > 1) in ReadPDBImage()
760 pdb_info; in WritePDBImage() local
813 (void) memset(&pdb_info,0,sizeof(pdb_info)); in WritePDBImage()
816 (void) CopyMagickString(pdb_info.name,filename,sizeof(pdb_info.name)); in WritePDBImage()
817 pdb_info.attributes=0; in WritePDBImage()
818 pdb_info.version=0; in WritePDBImage()
819 pdb_info.create_time=GetMagickTime(); in WritePDBImage()
820 pdb_info.modify_time=pdb_info.create_time; in WritePDBImage()
821 pdb_info.archive_time=0; in WritePDBImage()
822 pdb_info.modify_number=0; in WritePDBImage()
823 pdb_info.application_info=0; in WritePDBImage()
824 pdb_info.sort_info=0; in WritePDBImage()
825 (void) memcpy(pdb_info.type,"vIMG",4); in WritePDBImage()
826 (void) memcpy(pdb_info.id,"View",4); in WritePDBImage()
827 pdb_info.seed=0; in WritePDBImage()
828 pdb_info.next_record=0; in WritePDBImage()
830 pdb_info.number_records=(comment == (const char *) NULL ? 1 : 2); in WritePDBImage()
831 (void) WriteBlob(image,sizeof(pdb_info.name),(unsigned char *) pdb_info.name); in WritePDBImage()
832 (void) WriteBlobMSBShort(image,(unsigned short) pdb_info.attributes); in WritePDBImage()
833 (void) WriteBlobMSBShort(image,(unsigned short) pdb_info.version); in WritePDBImage()
834 (void) WriteBlobMSBLong(image,(unsigned int) pdb_info.create_time); in WritePDBImage()
835 (void) WriteBlobMSBLong(image,(unsigned int) pdb_info.modify_time); in WritePDBImage()
836 (void) WriteBlobMSBLong(image,(unsigned int) pdb_info.archive_time); in WritePDBImage()
837 (void) WriteBlobMSBLong(image,(unsigned int) pdb_info.modify_number); in WritePDBImage()
838 (void) WriteBlobMSBLong(image,(unsigned int) pdb_info.application_info); in WritePDBImage()
839 (void) WriteBlobMSBLong(image,(unsigned int) pdb_info.sort_info); in WritePDBImage()
840 (void) WriteBlob(image,4,(unsigned char *) pdb_info.type); in WritePDBImage()
841 (void) WriteBlob(image,4,(unsigned char *) pdb_info.id); in WritePDBImage()
842 (void) WriteBlobMSBLong(image,(unsigned int) pdb_info.seed); in WritePDBImage()
843 (void) WriteBlobMSBLong(image,(unsigned int) pdb_info.next_record); in WritePDBImage()
844 (void) WriteBlobMSBShort(image,(unsigned short) pdb_info.number_records); in WritePDBImage()
845 (void) CopyMagickString(pdb_image.name,pdb_info.name,sizeof(pdb_image.name)); in WritePDBImage()
974 (TellBlob(image)+8*pdb_info.number_records)); in WritePDBImage()
979 if (pdb_info.number_records > 1) in WritePDBImage()