Lines Matching refs:put_buffer
35 INT32 put_buffer; /* current bit-accumulation buffer */
183 entropy->put_buffer = 0;
220 /* Only the right 24 bits of put_buffer are used; the valid bits are
222 * in one call, and we never retain more than 7 bits in put_buffer
232 register INT32 put_buffer = (INT32) code;
242 put_buffer &= (((INT32) 1)<<size) - 1; /* mask off any extra bits in code */
246 put_buffer <<= 24 - put_bits; /* align incoming bits */
248 put_buffer |= entropy->put_buffer; /* and merge with old buffer contents */
251 int c = (int) ((put_buffer >> 16) & 0xFF);
257 put_buffer <<= 8;
261 entropy->put_buffer = put_buffer; /* update variables */
270 entropy->put_buffer = 0; /* and reset bit-buffer to empty */