Searched refs:tif_mode (Results 1 – 12 of 12) sorted by relevance
34 if( tif->tif_mode == O_RDONLY ) in TIFFFlush()47 && tif->tif_mode == O_RDWR ) in TIFFFlush()84 if (tif->tif_mode == O_RDONLY) in TIFFForceStrileArrayWriting()
125 tif->tif_mode = m &~ (O_CREAT|O_TRUNC);289 if (tif->tif_mode == O_RDONLY) {499 tif->tif_mode = O_RDONLY; /* XXX avoid flush */575 return (tif->tif_mode);584 int old_mode = tif->tif_mode;585 tif->tif_mode = mode;
51 if (tif->tif_mode != O_RDONLY) in TIFFCleanup()
394 if (tif->tif_mode != O_RDONLY) in _TIFFVSetField()405 if (tif->tif_mode != O_RDONLY) in _TIFFVSetField()1692 if (tif->tif_mode == O_RDONLY) { in TIFFUnlinkDirectory()
1502 if (tif->tif_mode == O_WRONLY) { in TIFFCheckRead()1535 if (tif->tif_mode == O_WRONLY) { in TIFFReadFromUserBuffer()
567 if (tif->tif_mode == O_RDONLY) { in TIFFWriteCheck()
1296 if (tif->tif_mode == O_RDONLY) in PixarLogCleanup()1319 if (tif->tif_mode != O_RDONLY && (sp->state&PLSTATE_INIT)) { in PixarLogVSetField()
3554 if( tif->tif_mode == O_RDONLY ) in ByteCountLooksBad()3999 if( tif->tif_mode == O_RDWR && in TIFFReadDirectory()5843 if( bytecount == 0 && tif->tif_mode != O_RDONLY ) in ChopUpSingleUncompressedStrip()5880 if( tif->tif_mode == O_RDONLY && in ChopUpSingleUncompressedStrip()5920 if( TIFFGetStrileByteCount(tif, 0) == 0 && tif->tif_mode != O_RDONLY ) in TryChopUpUncompressedBigTiff()5974 if( tif->tif_mode == O_RDONLY && in TryChopUpUncompressedBigTiff()
1174 LZWState(tif)->rw_mode = tif->tif_mode; in TIFFInitLZW()
1359 sp->rw_mode = tif->tif_mode; in InitCCITTFax3()
213 if (tif->tif_mode == O_RDONLY) in TIFFDeferStrileArrayWriting()415 if (tif->tif_mode == O_RDONLY) in TIFFWriteDirectorySec()
118 int tif_mode; /* open mode (O_*) */ member