Searched refs:buf_bits (Results 1 – 6 of 6) sorted by relevance
32 b->buf_bits = 0; in dxil_buffer_init()46 assert(b->buf_bits >= 32 && b->buf_bits < 64); in flush_dword()53 b->buf_bits -= 32; in flush_dword()61 assert(b->buf_bits < 32); in dxil_buffer_emit_bits()65 b->buf |= ((uint64_t)data) << b->buf_bits; in dxil_buffer_emit_bits()66 b->buf_bits += width; in dxil_buffer_emit_bits()68 if (b->buf_bits >= 32) in dxil_buffer_emit_bits()96 assert(b->buf_bits < 32); in dxil_buffer_align()98 if (b->buf_bits) { in dxil_buffer_align()99 b->buf_bits = 32; in dxil_buffer_align()
34 assert(!buf.buf_bits); in init()71 assert(!buf.buf_bits); in align()86 assert(!buf.buf_bits); in emit_bits()94 assert(!buf.buf_bits); in emit_bits()
32 unsigned buf_bits; member
326 assert(m->buf.buf_bits == 0); // make sure the module is fully flushed in dxil_container_add_module()
31 size_t buf_bits; in prepare_from_text() local81 buf_bits = (size_t)BN_num_bits(*tmpbn); in prepare_from_text()93 if (p->data_type == OSSL_PARAM_INTEGER && buf_bits % 8 == 0) in prepare_from_text()94 buf_bits += 8; in prepare_from_text()96 *buf_n = (buf_bits + 7) / 8; in prepare_from_text()103 if (buf_bits > p->data_size * 8) { in prepare_from_text()
890 int buf_bits = buf_size * 8 - 2; in get_nb_samples() local894 int nblocks = buf_bits / block_size; in get_nb_samples()895 int bits_left = buf_bits - nblocks * block_size; in get_nb_samples()