Lines Matching refs:nextdir
1443 TIFFAdvanceDirectory(TIFF* tif, uint64* nextdir, uint64* off) in TIFFAdvanceDirectory() argument
1448 uint64 poff=*nextdir; in TIFFAdvanceDirectory()
1459 *nextdir=0; in TIFFAdvanceDirectory()
1477 *nextdir=nextdir32; in TIFFAdvanceDirectory()
1509 _TIFFmemcpy(nextdir,tif->tif_base+poffc,sizeof(uint64)); in TIFFAdvanceDirectory()
1511 TIFFSwabLong8(nextdir); in TIFFAdvanceDirectory()
1521 if (!SeekOK(tif, *nextdir) || in TIFFAdvanceDirectory()
1542 *nextdir=nextdir32; in TIFFAdvanceDirectory()
1548 if (!SeekOK(tif, *nextdir) || in TIFFAdvanceDirectory()
1568 if (!ReadOK(tif, nextdir, sizeof (uint64))) { in TIFFAdvanceDirectory()
1575 TIFFSwabLong8(nextdir); in TIFFAdvanceDirectory()
1588 uint64 nextdir; in TIFFNumberOfDirectories() local
1591 nextdir = tif->tif_header.classic.tiff_diroff; in TIFFNumberOfDirectories()
1593 nextdir = tif->tif_header.big.tiff_diroff; in TIFFNumberOfDirectories()
1595 while (nextdir != 0 && TIFFAdvanceDirectory(tif, &nextdir, NULL)) in TIFFNumberOfDirectories()
1618 uint64 nextdir; in TIFFSetDirectory() local
1622 nextdir = tif->tif_header.classic.tiff_diroff; in TIFFSetDirectory()
1624 nextdir = tif->tif_header.big.tiff_diroff; in TIFFSetDirectory()
1625 for (n = dirn; n > 0 && nextdir != 0; n--) in TIFFSetDirectory()
1626 if (!TIFFAdvanceDirectory(tif, &nextdir, NULL)) in TIFFSetDirectory()
1628 tif->tif_nextdiroff = nextdir; in TIFFSetDirectory()
1687 uint64 nextdir; in TIFFUnlinkDirectory() local
1703 nextdir = tif->tif_header.classic.tiff_diroff; in TIFFUnlinkDirectory()
1708 nextdir = tif->tif_header.big.tiff_diroff; in TIFFUnlinkDirectory()
1712 if (nextdir == 0) { in TIFFUnlinkDirectory()
1716 if (!TIFFAdvanceDirectory(tif, &nextdir, &off)) in TIFFUnlinkDirectory()
1723 if (!TIFFAdvanceDirectory(tif, &nextdir, NULL)) in TIFFUnlinkDirectory()
1734 nextdir32=(uint32)nextdir; in TIFFUnlinkDirectory()
1735 assert((uint64)nextdir32==nextdir); in TIFFUnlinkDirectory()
1746 TIFFSwabLong8(&nextdir); in TIFFUnlinkDirectory()
1747 if (!WriteOK(tif, &nextdir, sizeof (uint64))) { in TIFFUnlinkDirectory()