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()
2741 if (direntry->tdir_count<(uint64)tif->tif_dir.td_samplesperpixel) in TIFFReadDirEntryPersampleShort()
2770 if (direntry->tdir_count<(uint64)tif->tif_dir.td_samplesperpixel)
3604 if ((dp!=0)&&(dp->tdir_count==1)) in TIFFReadDirectory()
3608 if ((dp!=0)&&(dp->tdir_count==1)) in TIFFReadDirectory()
3714 if (dp->tdir_count != (uint64)tif->tif_dir.td_samplesperpixel) in TIFFReadDirectory()
3762 … if ((dp->tdir_tag==TIFFTAG_TRANSFERFUNCTION)&&(dp->tdir_count==(uint64)countpersample)) in TIFFReadDirectory()
3772 if (dp->tdir_count!=(uint64)countrequired) in TIFFReadDirectory()
4307 datasize=(uint64)typewidth*dp->tdir_count; in EstimateStripByteCounts()
4410 if ((uint64)count > dir->tdir_count) { in CheckDirCount()
4415 dir->tdir_count, count); in CheckDirCount()
4417 } else if ((uint64)count < dir->tdir_count) { in CheckDirCount()
4422 dir->tdir_count, count); in CheckDirCount()
4423 dir->tdir_count = count; in CheckDirCount()
4666 mb->tdir_count=(uint64)(*(uint32*)ma); in TIFFFetchDirectory()
4675 mb->tdir_count=TIFFReadUInt64(ma); in TIFFFetchDirectory()
4725 while (mb<(uint32)dp->tdir_count) in TIFFFetchNormalTag()
4732 if (mb+1<(uint32)dp->tdir_count) in TIFFFetchNormalTag()
4734 else if (mb+1>(uint32)dp->tdir_count) in TIFFFetchNormalTag()
4738 if ((uint32)dp->tdir_count+1!=dp->tdir_count+1) in TIFFFetchNormalTag()
4741 o=_TIFFmalloc((uint32)dp->tdir_count+1); in TIFFFetchNormalTag()
4748 _TIFFmemcpy(o,data,(uint32)dp->tdir_count); in TIFFFetchNormalTag()
4749 o[(uint32)dp->tdir_count]=0; in TIFFFetchNormalTag()
4858 if (dp->tdir_count!=2) in TIFFFetchNormalTag()
4876 if (dp->tdir_count!=(uint64)fip->field_readcount) in TIFFFetchNormalTag()
4898 if (dp->tdir_count!=(uint64)fip->field_readcount) in TIFFFetchNormalTag()
4920 if (dp->tdir_count!=(uint64)fip->field_readcount) in TIFFFetchNormalTag()
4942 if (dp->tdir_count!=(uint64)fip->field_readcount) in TIFFFetchNormalTag()
4964 if (dp->tdir_count>0xFFFF) in TIFFFetchNormalTag()
4972 m=TIFFSetField(tif,dp->tdir_tag,(uint16)(dp->tdir_count),data); in TIFFFetchNormalTag()
4986 if (dp->tdir_count>0xFFFF) in TIFFFetchNormalTag()
4994 m=TIFFSetField(tif,dp->tdir_tag,(uint16)(dp->tdir_count),data); in TIFFFetchNormalTag()
5008 if (dp->tdir_count>0xFFFF) in TIFFFetchNormalTag()
5016 m=TIFFSetField(tif,dp->tdir_tag,(uint16)(dp->tdir_count),data); in TIFFFetchNormalTag()
5030 if (dp->tdir_count>0xFFFF) in TIFFFetchNormalTag()
5038 m=TIFFSetField(tif,dp->tdir_tag,(uint16)(dp->tdir_count),data); in TIFFFetchNormalTag()
5052 if (dp->tdir_count>0xFFFF) in TIFFFetchNormalTag()
5060 m=TIFFSetField(tif,dp->tdir_tag,(uint16)(dp->tdir_count),data); in TIFFFetchNormalTag()
5074 if (dp->tdir_count>0xFFFF) in TIFFFetchNormalTag()
5082 m=TIFFSetField(tif,dp->tdir_tag,(uint16)(dp->tdir_count),data); in TIFFFetchNormalTag()
5096 if (dp->tdir_count>0xFFFF) in TIFFFetchNormalTag()
5104 m=TIFFSetField(tif,dp->tdir_tag,(uint16)(dp->tdir_count),data); in TIFFFetchNormalTag()
5118 if (dp->tdir_count>0xFFFF) in TIFFFetchNormalTag()
5126 m=TIFFSetField(tif,dp->tdir_tag,(uint16)(dp->tdir_count),data); in TIFFFetchNormalTag()
5144 m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); in TIFFFetchNormalTag()
5161 m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); in TIFFFetchNormalTag()
5178 m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); in TIFFFetchNormalTag()
5195 m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); in TIFFFetchNormalTag()
5212 m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); in TIFFFetchNormalTag()
5229 m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); in TIFFFetchNormalTag()
5246 m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); in TIFFFetchNormalTag()
5263 m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); in TIFFFetchNormalTag()
5280 m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); in TIFFFetchNormalTag()
5297 m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); in TIFFFetchNormalTag()
5314 m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); in TIFFFetchNormalTag()
5331 m=TIFFSetField(tif,dp->tdir_tag,(uint32)(dp->tdir_count),data); in TIFFFetchNormalTag()
5368 if (dir->tdir_count!=(uint64)nstrips) in TIFFFetchStripThing()
5376 if (dir->tdir_count<(uint64)nstrips) in TIFFFetchStripThing()
5378 _TIFFmemcpy(resizeddata,data,(uint32)dir->tdir_count*sizeof(uint64)); in TIFFFetchStripThing()
5379 …_TIFFmemset(resizeddata+(uint32)dir->tdir_count,0,(nstrips-(uint32)dir->tdir_count)*sizeof(uint64)… in TIFFFetchStripThing()
5403 if (dir->tdir_count!=1) in TIFFFetchSubjectDistance()
5554 if( td->td_stripoffset_entry.tdir_count == 0 ) in _TIFFFillStriles()