Lines Matching refs:openmode_

155     stream->openmode_ = 0;  in jas_stream_create()
182 stream->openmode_ = JAS_STREAM_READ | JAS_STREAM_WRITE | JAS_STREAM_BINARY; in jas_stream_memopen()
248 stream->openmode_ = jas_strtoopenmode(mode); in jas_stream_fopen()
251 if ((stream->openmode_ & JAS_STREAM_READ) && in jas_stream_fopen()
252 (stream->openmode_ & JAS_STREAM_WRITE)) { in jas_stream_fopen()
254 } else if (stream->openmode_ & JAS_STREAM_READ) { in jas_stream_fopen()
256 } else if (stream->openmode_ & JAS_STREAM_WRITE) { in jas_stream_fopen()
261 if (stream->openmode_ & JAS_STREAM_APPEND) { in jas_stream_fopen()
264 if (stream->openmode_ & JAS_STREAM_BINARY) { in jas_stream_fopen()
267 if (stream->openmode_ & JAS_STREAM_CREATE) { in jas_stream_fopen()
310 stream->openmode_ = jas_strtoopenmode(mode); in jas_stream_freopen()
313 if ((stream->openmode_ & JAS_STREAM_READ) && in jas_stream_freopen()
314 (stream->openmode_ & JAS_STREAM_WRITE)) { in jas_stream_freopen()
316 } else if (stream->openmode_ & JAS_STREAM_READ) { in jas_stream_freopen()
318 } else if (stream->openmode_ & JAS_STREAM_WRITE) { in jas_stream_freopen()
323 if (stream->openmode_ & JAS_STREAM_APPEND) { in jas_stream_freopen()
326 if (stream->openmode_ & JAS_STREAM_BINARY) { in jas_stream_freopen()
329 if (stream->openmode_ & JAS_STREAM_CREATE) { in jas_stream_freopen()
356 stream->openmode_ = JAS_STREAM_READ | JAS_STREAM_WRITE | JAS_STREAM_BINARY; in jas_stream_tmpfile()
416 stream->openmode_ = jas_strtoopenmode(mode); in jas_stream_fdopen()
430 if (stream->openmode_ & JAS_STREAM_BINARY) { in jas_stream_fdopen()
771 if ((stream->openmode_ & JAS_STREAM_READ) == 0) { in jas_stream_fillbuf()
816 if ((stream->openmode_ & (JAS_STREAM_WRITE | JAS_STREAM_APPEND)) == 0) { in jas_stream_flushbuf()