Lines Matching refs:tdir_count
200 if (direntry->tdir_count!=1) in TIFFReadDirEntryByte()
289 if (direntry->tdir_count!=1) in TIFFReadDirEntryShort()
375 if (direntry->tdir_count!=1) in TIFFReadDirEntryLong()
458 if (direntry->tdir_count!=1) in TIFFReadDirEntryLong8()
536 if (direntry->tdir_count!=1) in TIFFReadDirEntryFloat()
647 if (direntry->tdir_count!=1) in TIFFReadDirEntryDouble()
744 if (direntry->tdir_count!=1) in TIFFReadDirEntryIfd8()
771 if ((direntry->tdir_count==0)||(typesize==0)) in TIFFReadDirEntryArray()
783 if ((uint64)(2147483647/typesize)<direntry->tdir_count) in TIFFReadDirEntryArray()
785 if ((uint64)(2147483647/desttypesize)<direntry->tdir_count) in TIFFReadDirEntryArray()
788 *count=(uint32)direntry->tdir_count; in TIFFReadDirEntryArray()
2721 if (direntry->tdir_count<(uint64)tif->tif_dir.td_samplesperpixel) in TIFFReadDirEntryPersampleShort()
2750 if (direntry->tdir_count<(uint64)tif->tif_dir.td_samplesperpixel)
3585 if ((dp!=0)&&(dp->tdir_count==1)) in TIFFReadDirectory()
3589 if ((dp!=0)&&(dp->tdir_count==1)) in TIFFReadDirectory()
3697 if (dp->tdir_count != (uint64)tif->tif_dir.td_samplesperpixel) in TIFFReadDirectory()
3758 if ((dp->tdir_tag==TIFFTAG_TRANSFERFUNCTION)&&(dp->tdir_count==(uint64)countpersample)) in TIFFReadDirectory()
3768 if (dp->tdir_count!=(uint64)countrequired) in TIFFReadDirectory()
4304 datasize=(uint64)typewidth*dp->tdir_count; in EstimateStripByteCounts()
4415 if ((uint64)count > dir->tdir_count) { in CheckDirCount()
4420 dir->tdir_count, count); in CheckDirCount()
4422 } else if ((uint64)count < dir->tdir_count) { in CheckDirCount()
4427 dir->tdir_count, count); in CheckDirCount()
4428 dir->tdir_count = count; in CheckDirCount()
4671 mb->tdir_count=(uint64)(*(uint32*)ma); in TIFFFetchDirectory()
4680 mb->tdir_count=TIFFReadUInt64(ma); in TIFFFetchDirectory()
4731 while (mb<(uint32)dp->tdir_count) in TIFFFetchNormalTag()
4738 if (mb+1<(uint32)dp->tdir_count) in TIFFFetchNormalTag()
4740 else if (mb+1>(uint32)dp->tdir_count) in TIFFFetchNormalTag()
4744 if ((uint32)dp->tdir_count+1!=dp->tdir_count+1) in TIFFFetchNormalTag()
4747 o=_TIFFmalloc((uint32)dp->tdir_count+1); in TIFFFetchNormalTag()
4754 _TIFFmemcpy(o,data,(uint32)dp->tdir_count); in TIFFFetchNormalTag()
4755 o[(uint32)dp->tdir_count]=0; in TIFFFetchNormalTag()
4864 if (dp->tdir_count!=2) { in TIFFFetchNormalTag()
4867 fip->field_name,(int)dp->tdir_count); in TIFFFetchNormalTag()
4886 if (dp->tdir_count!=(uint64)fip->field_readcount) { in TIFFFetchNormalTag()
4889 fip->field_name,(int) fip->field_readcount, (int)dp->tdir_count); in TIFFFetchNormalTag()
4912 if (dp->tdir_count!=(uint64)fip->field_readcount) in TIFFFetchNormalTag()
4934 if (dp->tdir_count!=(uint64)fip->field_readcount) in TIFFFetchNormalTag()
4956 if (dp->tdir_count!=(uint64)fip->field_readcount) in TIFFFetchNormalTag()
4978 if (dp->tdir_count>0xFFFF) in TIFFFetchNormalTag()
4986 m=TIFFSetField(tif,dp->tdir_tag,(uint16)(dp->tdir_count),data); in TIFFFetchNormalTag()
5000 if (dp->tdir_count>0xFFFF) in TIFFFetchNormalTag()
5008 m=TIFFSetField(tif,dp->tdir_tag,(uint16)(dp->tdir_count),data); in TIFFFetchNormalTag()
5022 if (dp->tdir_count>0xFFFF) in TIFFFetchNormalTag()
5030 m=TIFFSetField(tif,dp->tdir_tag,(uint16)(dp->tdir_count),data); in TIFFFetchNormalTag()
5044 if (dp->tdir_count>0xFFFF) in TIFFFetchNormalTag()
5052 m=TIFFSetField(tif,dp->tdir_tag,(uint16)(dp->tdir_count),data); in TIFFFetchNormalTag()
5066 if (dp->tdir_count>0xFFFF) in TIFFFetchNormalTag()
5074 m=TIFFSetField(tif,dp->tdir_tag,(uint16)(dp->tdir_count),data); in TIFFFetchNormalTag()
5088 if (dp->tdir_count>0xFFFF) in TIFFFetchNormalTag()
5096 m=TIFFSetField(tif,dp->tdir_tag,(uint16)(dp->tdir_count),data); in TIFFFetchNormalTag()
5110 if (dp->tdir_count>0xFFFF) in TIFFFetchNormalTag()
5118 m=TIFFSetField(tif,dp->tdir_tag,(uint16)(dp->tdir_count),data); in TIFFFetchNormalTag()
5132 if (dp->tdir_count>0xFFFF) in TIFFFetchNormalTag()
5140 m=TIFFSetField(tif,dp->tdir_tag,(uint16)(dp->tdir_count),data); in TIFFFetchNormalTag()
5158 m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); in TIFFFetchNormalTag()
5175 m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); in TIFFFetchNormalTag()
5192 m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); in TIFFFetchNormalTag()
5209 m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); in TIFFFetchNormalTag()
5226 m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); in TIFFFetchNormalTag()
5243 m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); in TIFFFetchNormalTag()
5260 m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); in TIFFFetchNormalTag()
5277 m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); in TIFFFetchNormalTag()
5294 m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); in TIFFFetchNormalTag()
5311 m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); in TIFFFetchNormalTag()
5328 m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); in TIFFFetchNormalTag()
5345 m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); in TIFFFetchNormalTag()
5382 if (dir->tdir_count!=(uint64)nstrips) in TIFFFetchStripThing()
5390 if (dir->tdir_count<(uint64)nstrips) in TIFFFetchStripThing()
5392 _TIFFmemcpy(resizeddata,data,(uint32)dir->tdir_count*sizeof(uint64)); in TIFFFetchStripThing()
5393 …_TIFFmemset(resizeddata+(uint32)dir->tdir_count,0,(nstrips-(uint32)dir->tdir_count)*sizeof(uint64)… in TIFFFetchStripThing()
5417 if (dir->tdir_count!=1) in TIFFFetchSubjectDistance()
5568 if( td->td_stripoffset_entry.tdir_count == 0 ) in _TIFFFillStriles()