Searched refs:tif_mode (Results 1 – 25 of 25) sorted by relevance
127 tif->tif_mode = m &~ (O_CREAT|O_TRUNC);273 if (tif->tif_mode == O_RDONLY) {483 tif->tif_mode = O_RDONLY; /* XXX avoid flush */559 return (tif->tif_mode);568 int old_mode = tif->tif_mode;569 tif->tif_mode = mode;
35 if( tif->tif_mode == O_RDONLY ) in TIFFFlush()48 && tif->tif_mode == O_RDWR ) in TIFFFlush()
52 if (tif->tif_mode != O_RDONLY) in TIFFCleanup()
100 int tif_mode; /* open mode (O_*) */ member
337 if (tif->tif_mode != O_RDONLY) in _TIFFVSetField()348 if (tif->tif_mode != O_RDONLY) in _TIFFVSetField()1565 if (tif->tif_mode == O_RDONLY) { in TIFFUnlinkDirectory()
491 if (tif->tif_mode == O_RDONLY) { in TIFFWriteCheck()
1245 if (tif->tif_mode == O_RDONLY) in PixarLogCleanup()1268 if (tif->tif_mode != O_RDONLY && (sp->state&PLSTATE_INIT)) { in PixarLogVSetField()
1109 LZWState(tif)->rw_mode = tif->tif_mode; in TIFFInitLZW()
1025 if (tif->tif_mode == O_WRONLY) { in TIFFCheckRead()
1308 sp->rw_mode = tif->tif_mode; in InitCCITTFax3()
371 if (tif->tif_mode == O_RDONLY) in TIFFWriteDirectorySec()
3940 (tif->tif_mode == O_RDONLY && \ in TIFFReadDirectory()
5246 tif_mode flag to O_RDONLY in this case to avoid writes, confusing the
345 if (tif->tif_mode != O_RDONLY) in _TIFFVSetField()356 if (tif->tif_mode != O_RDONLY) in _TIFFVSetField()1611 if (tif->tif_mode == O_RDONLY) { in TIFFUnlinkDirectory()
105 int tif_mode; /* open mode (O_*) */ member
535 if (tif->tif_mode == O_RDONLY) { in TIFFWriteCheck()
1261 if (tif->tif_mode == O_RDONLY) in PixarLogCleanup()1284 if (tif->tif_mode != O_RDONLY && (sp->state&PLSTATE_INIT)) { in PixarLogVSetField()
1036 if (tif->tif_mode == O_WRONLY) { in TIFFCheckRead()
1120 LZWState(tif)->rw_mode = tif->tif_mode; in TIFFInitLZW()
1309 sp->rw_mode = tif->tif_mode; in InitCCITTFax3()
3936 (tif->tif_mode == O_RDONLY && \ in TIFFReadDirectory()