• Home
  • Raw
  • Download

Lines Matching refs:quantum

120     quantum;  member
271 blob_info->quantum=(size_t) MagickMaxBlobExtent; in AttachBlob()
1099 quantum; in DiscardBlobBytes() local
1114 quantum=(size_t) MagickMin(length-i,sizeof(buffer)); in DiscardBlobBytes()
1115 (void) ReadBlobStream(image,quantum,buffer,&count); in DiscardBlobBytes()
1411 quantum; in FileToBlob() local
1420 quantum=(size_t) MagickMaxBufferExtent; in FileToBlob()
1422 quantum=(size_t) MagickMin(file_stats.st_size,MagickMaxBufferExtent); in FileToBlob()
1423 blob=(unsigned char *) AcquireQuantumMemory(quantum,sizeof(*blob)); in FileToBlob()
1426 count=read(file,blob+i,quantum); in FileToBlob()
1433 if (~((size_t) i) < (quantum+1)) in FileToBlob()
1438 blob=(unsigned char *) ResizeQuantumMemory(blob,i+quantum+1, in FileToBlob()
1559 extent=blob_info->extent+blob_info->quantum+length; in WriteBlobStream()
1560 blob_info->quantum<<=1; in WriteBlobStream()
1583 quantum; in FileToImage() local
1614 quantum=(size_t) MagickMaxBufferExtent; in FileToImage()
1616 quantum=(size_t) MagickMin(file_stats.st_size,MagickMaxBufferExtent); in FileToImage()
1617 blob=(unsigned char *) AcquireQuantumMemory(quantum,sizeof(*blob)); in FileToImage()
1627 count=read(file,blob,quantum); in FileToImage()
1737 blob_info->quantum=(size_t) MagickMaxBlobExtent; in GetBlobInfo()
2260 quantum; in ImageToFile() local
2290 quantum=(size_t) MagickMaxBufferExtent; in ImageToFile()
2292 quantum=(size_t) MagickMin(file_stats.st_size,MagickMaxBufferExtent); in ImageToFile()
2293 buffer=(unsigned char *) AcquireQuantumMemory(quantum,sizeof(*buffer)); in ImageToFile()
2302 p=(const unsigned char *) ReadBlobStream(image,quantum,buffer,&count); in ImageToFile()
2318 p=(const unsigned char *) ReadBlobStream(image,quantum,buffer,&count); in ImageToFile()
2686 quantum; in InjectImageBlob() local
2753 quantum=(size_t) MagickMaxBufferExtent; in InjectImageBlob()
2755 quantum=(size_t) MagickMin(file_stats.st_size,MagickMaxBufferExtent); in InjectImageBlob()
2756 buffer=(unsigned char *) AcquireQuantumMemory(quantum,sizeof(*buffer)); in InjectImageBlob()
2766 count=read(file,buffer,quantum); in InjectImageBlob()
3965 } quantum; in ReadBlobDouble() local
3967 quantum.double_value=0.0; in ReadBlobDouble()
3968 quantum.unsigned_value=ReadBlobLongLong(image); in ReadBlobDouble()
3969 return(quantum.double_value); in ReadBlobDouble()
4004 } quantum; in ReadBlobFloat() local
4006 quantum.float_value=0.0; in ReadBlobFloat()
4007 quantum.unsigned_value=ReadBlobLong(image); in ReadBlobFloat()
4008 return(quantum.float_value); in ReadBlobFloat()
4271 } quantum; in ReadBlobLSBSignedLong() local
4273 quantum.unsigned_value=ReadBlobLSBLong(image); in ReadBlobLSBSignedLong()
4274 return(quantum.signed_value); in ReadBlobLSBSignedLong()
4357 } quantum; in ReadBlobLSBSignedShort() local
4359 quantum.unsigned_value=ReadBlobLSBShort(image); in ReadBlobLSBSignedShort()
4360 return(quantum.signed_value); in ReadBlobLSBSignedShort()
4547 } quantum; in ReadBlobMSBSignedLong() local
4549 quantum.unsigned_value=ReadBlobMSBLong(image); in ReadBlobMSBSignedLong()
4550 return(quantum.signed_value); in ReadBlobMSBSignedLong()
4585 } quantum; in ReadBlobMSBSignedShort() local
4587 quantum.unsigned_value=ReadBlobMSBShort(image); in ReadBlobMSBSignedShort()
4588 return(quantum.signed_value); in ReadBlobMSBSignedShort()
4623 } quantum; in ReadBlobSignedLong() local
4625 quantum.unsigned_value=ReadBlobLong(image); in ReadBlobSignedLong()
4626 return(quantum.signed_value); in ReadBlobSignedLong()
4661 } quantum; in ReadBlobSignedShort() local
4663 quantum.unsigned_value=ReadBlobShort(image); in ReadBlobSignedShort()
4664 return(quantum.signed_value); in ReadBlobSignedShort()
5693 blob_info->extent+=length+blob_info->quantum; in WriteBlob()
5694 blob_info->quantum<<=1; in WriteBlob()
5820 } quantum; in WriteBlobFloat() local
5822 quantum.unsigned_value=0U; in WriteBlobFloat()
5823 quantum.float_value=value; in WriteBlobFloat()
5824 return(WriteBlobLong(image,quantum.unsigned_value)); in WriteBlobFloat()
6006 } quantum; in WriteBlobSignedLong() local
6013 quantum.signed_value=value; in WriteBlobSignedLong()
6016 buffer[0]=(unsigned char) quantum.unsigned_value; in WriteBlobSignedLong()
6017 buffer[1]=(unsigned char) (quantum.unsigned_value >> 8); in WriteBlobSignedLong()
6018 buffer[2]=(unsigned char) (quantum.unsigned_value >> 16); in WriteBlobSignedLong()
6019 buffer[3]=(unsigned char) (quantum.unsigned_value >> 24); in WriteBlobSignedLong()
6022 buffer[0]=(unsigned char) (quantum.unsigned_value >> 24); in WriteBlobSignedLong()
6023 buffer[1]=(unsigned char) (quantum.unsigned_value >> 16); in WriteBlobSignedLong()
6024 buffer[2]=(unsigned char) (quantum.unsigned_value >> 8); in WriteBlobSignedLong()
6025 buffer[3]=(unsigned char) quantum.unsigned_value; in WriteBlobSignedLong()
6139 } quantum; in WriteBlobLSBSignedLong() local
6146 quantum.signed_value=value; in WriteBlobLSBSignedLong()
6147 buffer[0]=(unsigned char) quantum.unsigned_value; in WriteBlobLSBSignedLong()
6148 buffer[1]=(unsigned char) (quantum.unsigned_value >> 8); in WriteBlobLSBSignedLong()
6149 buffer[2]=(unsigned char) (quantum.unsigned_value >> 16); in WriteBlobLSBSignedLong()
6150 buffer[3]=(unsigned char) (quantum.unsigned_value >> 24); in WriteBlobLSBSignedLong()
6189 } quantum; in WriteBlobLSBSignedShort() local
6196 quantum.signed_value=value; in WriteBlobLSBSignedShort()
6197 buffer[0]=(unsigned char) quantum.unsigned_value; in WriteBlobLSBSignedShort()
6198 buffer[1]=(unsigned char) (quantum.unsigned_value >> 8); in WriteBlobLSBSignedShort()
6276 } quantum; in WriteBlobMSBSignedShort() local
6283 quantum.signed_value=value; in WriteBlobMSBSignedShort()
6284 buffer[0]=(unsigned char) (quantum.unsigned_value >> 8); in WriteBlobMSBSignedShort()
6285 buffer[1]=(unsigned char) quantum.unsigned_value; in WriteBlobMSBSignedShort()