Searched refs:cnt_ (Results 1 – 5 of 5) sorted by relevance
119 bitstream->cnt_ = (bitstream->openmode_ == JPC_BITSTREAM_READ) ? 0 : 8; in jpc_bitstream_sopen()159 bitstream->cnt_ = 0; in jpc_bitstream_alloc()243 assert(bitstream->cnt_ <= 0); in jpc_bitstream_fillbuf()246 bitstream->cnt_ = 0; in jpc_bitstream_fillbuf()252 bitstream->cnt_ = 7; in jpc_bitstream_fillbuf()261 bitstream->cnt_ = (bitstream->buf_ == 0xff00) ? 6 : 7; in jpc_bitstream_fillbuf()262 bitstream->buf_ |= c & ((1 << (bitstream->cnt_ + 1)) - 1); in jpc_bitstream_fillbuf()263 return (bitstream->buf_ >> bitstream->cnt_) & 1; in jpc_bitstream_fillbuf()280 if ((bitstream->cnt_ < 8 && bitstream->cnt_ > 0) || in jpc_bitstream_needalign()289 if ((bitstream->cnt_ < 8 && bitstream->cnt_ >= 0) || in jpc_bitstream_needalign()[all …]
121 int cnt_; member216 (--(bitstream)->cnt_ >= 0) ? \217 ((int)(((bitstream)->buf_ >> (bitstream)->cnt_) & 1)) : \222 (--(bitstream)->cnt_ < 0) ? \224 (bitstream)->cnt_ = ((bitstream)->buf_ == 0xff00) ? 6 : 7, \225 (bitstream)->buf_ |= ((bit) & 1) << (bitstream)->cnt_, \228 ((bitstream)->buf_ |= ((bit) & 1) << (bitstream)->cnt_, \
162 stream->cnt_ = 0; in jas_stream_create()511 ++stream->cnt_; in jas_stream_ungetc()662 offset -= stream->cnt_; in jas_stream_seek()669 stream->cnt_ = 0; in jas_stream_seek()687 adjust = -stream->cnt_; in jas_stream_tell()745 stream->cnt_ = 0; in jas_stream_initbuf()787 if ((stream->cnt_ = (*stream->ops_->read_)(stream->obj_, in jas_stream_fillbuf()789 if (stream->cnt_ < 0) { in jas_stream_fillbuf()794 stream->cnt_ = 0; in jas_stream_fillbuf()798 assert(stream->cnt_ > 0); in jas_stream_fillbuf()[all …]
226 int cnt_; member379 (((stream)->cnt_ <= 0) ? jas_stream_fillbuf(stream, 0) : \443 ((--(stream)->cnt_ < 0) ? jas_stream_fillbuf(stream, 1) : \454 (((stream)->bufmode_ |= JAS_STREAM_WRBUF, --(stream)->cnt_ < 0) ? \
116 cnt_ = cnt; in InternalScopedBuffer()120 UnmapOrDie(ptr_, cnt_ * sizeof(T)); in ~InternalScopedBuffer()124 uptr size() { return cnt_ * sizeof(T); } in size()128 uptr cnt_; variable