Lines Matching refs:MagickMin
271 count=write(file,(const char *) blob+i,MagickMin(length-i,SSIZE_MAX)); in BlobToFile()
808 quantum=(size_t) MagickMin(length-i,sizeof(buffer)); in DiscardBlobBytes()
1012 quantum=(size_t) MagickMin(file_stats.st_size,MagickMaxBufferExtent); in FileToBlob()
1047 *length=(size_t) MagickMin(i+count,extent); in FileToBlob()
1051 *length=(size_t) MagickMin(offset,(MagickOffsetType) in FileToBlob()
1052 MagickMin(extent,SSIZE_MAX)); in FileToBlob()
1075 count=read(file,blob+i,(size_t) MagickMin(*length-i,SSIZE_MAX)); in FileToBlob()
1190 quantum=(size_t) MagickMin(file_stats.st_size,MagickMaxBufferExtent); in FileToImage()
1699 quantum=(size_t) MagickMin(file_stats.st_size,MagickMaxBufferExtent); in ImageToFile()
2009 quantum=(size_t) MagickMin(file_stats.st_size,MagickMaxBufferExtent); in InjectImageBlob()
2961 count=(ssize_t) MagickMin(length,image->blob->length-image->blob->offset); in ReadBlob()
3803 *count=(ssize_t) MagickMin(length,image->blob->length-image->blob->offset); in ReadBlobStream()