Lines Matching refs:nextdir
1371 TIFFAdvanceDirectory(TIFF* tif, uint64* nextdir, uint64* off) in TIFFAdvanceDirectory() argument
1376 uint64 poff=*nextdir; in TIFFAdvanceDirectory()
1387 *nextdir=0; in TIFFAdvanceDirectory()
1405 *nextdir=nextdir32; in TIFFAdvanceDirectory()
1437 _TIFFmemcpy(nextdir,tif->tif_base+poffc,sizeof(uint64)); in TIFFAdvanceDirectory()
1439 TIFFSwabLong8(nextdir); in TIFFAdvanceDirectory()
1449 if (!SeekOK(tif, *nextdir) || in TIFFAdvanceDirectory()
1470 *nextdir=nextdir32; in TIFFAdvanceDirectory()
1476 if (!SeekOK(tif, *nextdir) || in TIFFAdvanceDirectory()
1496 if (!ReadOK(tif, nextdir, sizeof (uint64))) { in TIFFAdvanceDirectory()
1503 TIFFSwabLong8(nextdir); in TIFFAdvanceDirectory()
1516 uint64 nextdir; in TIFFNumberOfDirectories() local
1519 nextdir = tif->tif_header.classic.tiff_diroff; in TIFFNumberOfDirectories()
1521 nextdir = tif->tif_header.big.tiff_diroff; in TIFFNumberOfDirectories()
1523 while (nextdir != 0 && TIFFAdvanceDirectory(tif, &nextdir, NULL)) in TIFFNumberOfDirectories()
1546 uint64 nextdir; in TIFFSetDirectory() local
1550 nextdir = tif->tif_header.classic.tiff_diroff; in TIFFSetDirectory()
1552 nextdir = tif->tif_header.big.tiff_diroff; in TIFFSetDirectory()
1553 for (n = dirn; n > 0 && nextdir != 0; n--) in TIFFSetDirectory()
1554 if (!TIFFAdvanceDirectory(tif, &nextdir, NULL)) in TIFFSetDirectory()
1556 tif->tif_nextdiroff = nextdir; in TIFFSetDirectory()
1615 uint64 nextdir; in TIFFUnlinkDirectory() local
1631 nextdir = tif->tif_header.classic.tiff_diroff; in TIFFUnlinkDirectory()
1636 nextdir = tif->tif_header.big.tiff_diroff; in TIFFUnlinkDirectory()
1640 if (nextdir == 0) { in TIFFUnlinkDirectory()
1644 if (!TIFFAdvanceDirectory(tif, &nextdir, &off)) in TIFFUnlinkDirectory()
1651 if (!TIFFAdvanceDirectory(tif, &nextdir, NULL)) in TIFFUnlinkDirectory()
1662 nextdir32=(uint32)nextdir; in TIFFUnlinkDirectory()
1663 assert((uint64)nextdir32==nextdir); in TIFFUnlinkDirectory()
1674 TIFFSwabLong8(&nextdir); in TIFFUnlinkDirectory()
1675 if (!WriteOK(tif, &nextdir, sizeof (uint64))) { in TIFFUnlinkDirectory()