Lines Matching refs:dircount
98 uint16 dircount;
142 if (!ReadOK(tif, &dircount, sizeof (uint16))) {
149 TIFFSwabShort(&dircount);
151 dircount, sizeof (TIFFDirEntry), "to read TIFF directory");
154 if (!ReadOK(tif, dir, dircount*sizeof (TIFFDirEntry))) {
173 _TIFFmemcpy(&dircount, tif->tif_base + off, sizeof (uint16));
176 TIFFSwabShort(&dircount);
178 dircount, sizeof (TIFFDirEntry), "to read TIFF directory");
181 if (off + dircount*sizeof (TIFFDirEntry) > tif->tif_size) {
188 dircount*sizeof (TIFFDirEntry));
190 off += dircount* sizeof (TIFFDirEntry);
236 for (dp = dir, n = dircount; n > 0; n--, dp++) {
251 for (dp = dir, n = dircount; n > 0; n--, dp++) {
419 for (dp = dir, n = dircount; n > 0; n--, dp++) {
563 if (EstimateStripByteCounts(tif, dir, dircount) < 0)
587 if(EstimateStripByteCounts(tif, dir, dircount) < 0)
641 EstimateStripByteCounts(TIFF* tif, TIFFDirEntry* dir, uint16 dircount)
657 + (dircount * sizeof (TIFFDirEntry))
663 for (dp = dir, n = dircount; n > 0; n--, dp++)