Home
last modified time | relevance | path

Searched refs:last_bit (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_opt_shrink_vectors.c59 int last_bit = util_last_bit(mask); in shrink_dest_to_read_mask() local
65 if (def->num_components > last_bit) { in shrink_dest_to_read_mask()
66 def->num_components = last_bit; in shrink_dest_to_read_mask()
103 unsigned last_bit = util_last_bit(mask); in opt_shrink_vectors_alu() local
110 const bool is_bitfield_mask = last_bit == num_components; in opt_shrink_vectors_alu()
116 for (int i = 0; i < last_bit; i++) { in opt_shrink_vectors_alu()
137 for (int j = 0; j < last_bit; j++) { in opt_shrink_vectors_alu()
152 for (int i = 0; i < last_bit; i++) { in opt_shrink_vectors_alu()
241 unsigned last_bit = util_last_bit(write_mask); in opt_shrink_vectors_intrinsic() local
242 if (last_bit < instr->num_components && instr->src[0].is_ssa) { in opt_shrink_vectors_intrinsic()
[all …]
/third_party/skia/third_party/externals/libjpeg-turbo/
Drdgif.c97 int last_bit; /* # of bits in code_buf */ member
199 sinfo->last_bit = 0; /* nothing in the buffer */ in InitLZWCode()
220 while (sinfo->cur_bit + sinfo->code_size > sinfo->last_bit) { in GetCode()
241 sinfo->cur_bit = (sinfo->cur_bit - sinfo->last_bit) + 16; in GetCode()
243 sinfo->last_bit = sinfo->last_byte * 8; in GetCode()
/third_party/e2fsprogs/lib/ext2fs/
Dblkmap64_ba.c218 unsigned int last_bit = 0; in ba_test_clear_bmap_extent() local
268 last_bit |= 1 << mark_bit; in ba_test_clear_bmap_extent()
274 if (last_bit & ADDR[start_byte + len_byte]) in ba_test_clear_bmap_extent()
Dgen_bitmap.c473 int last_bit = 0; in ext2fs_test_clear_generic_bitmap_range() local
522 last_bit |= 1 << mark_bit; in ext2fs_test_clear_generic_bitmap_range()
528 if (last_bit & ADDR[start_byte + len_byte]) in ext2fs_test_clear_generic_bitmap_range()
/third_party/mesa3d/src/gallium/drivers/r600/sb/
Dsb_bc.h845 #define BC_FIELD(fmt, name, shortname, last_bit, first_bit) \ argument
847 value |= ((v&((1ull<<((last_bit)-(first_bit)+1))-1))<<(first_bit)); \
851 return (value>>(first_bit))&((1ull<<((last_bit)-(first_bit)+1))-1); \
854 #define BC_RSRVD(fmt, last_bit, first_bit) argument
/third_party/mesa3d/src/broadcom/cle/
Dv3d_decoder.c777 int last_bit = 0; in v3d_group_get_length() local
781 last_bit = MAX2(last_bit, field->end); in v3d_group_get_length()
783 return last_bit / 8 + 1; in v3d_group_get_length()
/third_party/libsnd/src/
Dwavlike.c478 { int chan, mask = 0, bit = -1, last_bit = -1 ; in wavlike_gen_channel_mask() local
493 if (bit <= last_bit) in wavlike_gen_channel_mask()
497 last_bit = bit ; in wavlike_gen_channel_mask()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_cmdstream.c1428 unsigned last_bit = util_last_bit(ctx->image_mask[shader]); in emit_image_attribs() local
1430 for (unsigned i = 0; i < last_bit; ++i) { in emit_image_attribs()
1461 unsigned last_bit = util_last_bit(ctx->image_mask[shader]); in emit_image_bufs() local
1463 for (unsigned i = 0; i < last_bit; ++i) { in emit_image_bufs()