Home | History | Annotate | Download | only in libjasper

Lines Matching refs:JAS_STREAM_READ

182     stream->openmode_ = JAS_STREAM_READ | JAS_STREAM_WRITE | JAS_STREAM_BINARY;
251 if ((stream->openmode_ & JAS_STREAM_READ) &&
254 } else if (stream->openmode_ & JAS_STREAM_READ) {
313 if ((stream->openmode_ & JAS_STREAM_READ) &&
316 } else if (stream->openmode_ & JAS_STREAM_READ) {
356 stream->openmode_ = JAS_STREAM_READ | JAS_STREAM_WRITE | JAS_STREAM_BINARY;
516 int jas_stream_read(jas_stream_t *stream, void *buf, int cnt)
771 if ((stream->openmode_ & JAS_STREAM_READ) == 0) {
858 openmode |= JAS_STREAM_READ;
870 openmode |= JAS_STREAM_READ | JAS_STREAM_WRITE;