Lines Matching refs:dircount
90 uint16 dircount;
110 if (!ReadOK(tif, &dircount, sizeof (uint16))) {
117 * PDFlib GmbH: EFAX (*.jfx) files have a dircount of 0,
120 if (dircount == 0)
124 TIFFSwabShort(&dircount);
126 dircount * sizeof (TIFFDirEntry), "to read TIFF directory");
129 if (!ReadOK(tif, dir, dircount*sizeof (TIFFDirEntry))) {
145 _TIFFmemcpy(&dircount, tif->tif_base + off, sizeof(uint16));
148 TIFFSwabShort(&dircount);
150 dircount * sizeof (TIFFDirEntry), "to read TIFF directory");
153 if (off + dircount*sizeof (TIFFDirEntry) > tif->tif_size) {
158 dircount*sizeof (TIFFDirEntry));
159 off += dircount* sizeof (TIFFDirEntry);
205 for (dp = dir, n = dircount; n > 0; n--, dp++) {
220 for (dp = dir, n = dircount; n > 0; n--, dp++) {
373 for (dp = dir, n = dircount; n > 0; n--, dp++) {
515 EstimateStripByteCounts(tif, dir, dircount);
531 EstimateStripByteCounts(tif, dir, dircount);
571 EstimateStripByteCounts(TIFF* tif, TIFFDirEntry* dir, uint16 dircount)
585 + (dircount * sizeof (TIFFDirEntry))
591 for (dp = dir, n = dircount; n > 0; n--, dp++) {