Searched refs:openmode_ (Results 1 – 4 of 4) sorted by relevance
115 bitstream->openmode_ = (mode[0] == 'w') ? JPC_BITSTREAM_WRITE : in jpc_bitstream_sopen()119 bitstream->cnt_ = (bitstream->openmode_ == JPC_BITSTREAM_READ) ? 0 : 8; in jpc_bitstream_sopen()161 bitstream->openmode_ = 0; in jpc_bitstream_alloc()242 assert(bitstream->openmode_ & JPC_BITSTREAM_READ); in jpc_bitstream_fillbuf()275 if (bitstream->openmode_ & JPC_BITSTREAM_READ) { in jpc_bitstream_needalign()284 } else if (bitstream->openmode_ & JPC_BITSTREAM_WRITE) { in jpc_bitstream_needalign()304 if (bitstream->openmode_ & JPC_BITSTREAM_WRITE) { in jpc_bitstream_pending()331 if (bitstream->openmode_ & JPC_BITSTREAM_READ) { in jpc_bitstream_align()333 } else if (bitstream->openmode_ & JPC_BITSTREAM_WRITE) { in jpc_bitstream_align()396 assert(bitstream->openmode_ & JPC_BITSTREAM_WRITE); in jpc_bitstream_outalign()
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()[all …]
127 int openmode_; member215 (assert((bitstream)->openmode_ & JPC_BITSTREAM_READ), \221 (assert((bitstream)->openmode_ & JPC_BITSTREAM_WRITE), \
203 int openmode_; member