Home
last modified time | relevance | path

Searched refs:ffs (Results 1 – 7 of 7) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/util/
Dbitscan.h57 #define ffs __builtin_ffs macro
60 int ffs(int i)
70 int ffs(int i);
102 const int i = ffs(*mask) - 1; in u_bit_scan()
109 ((b) = ffs(__dword) - 1, __dword); \
203 *start = ffs(*mask) - 1; in u_bit_scan_consecutive_range()
204 *count = ffs(~(*mask >> *start)) - 1; in u_bit_scan_consecutive_range()
Dbitscan.c35 ffs(int i) in ffs() function
70 bit = ffs((unsigned) (val & 0xffffffff)); in ffsll()
74 bit = ffs((unsigned) (val >> 32)); in ffsll()
Dbitset.h333 return ffs(x[i]) + BITSET_WORDBITS * i; in __bitset_ffs()
381 bit = ffs(*tmp) - 1; in __bitset_next_set()
424 *start = word * BITSET_WORDBITS + ffs(tmp) - 1; in __bitset_next_range()
449 *end = MIN2(word * BITSET_WORDBITS + ffs(~tmp) - 1, size); in __bitset_next_range()
Du_idalloc.c74 unsigned bit = ffs(~buf->data[i]) - 1; in util_idalloc_alloc()
/hardware/google/gfxstream/guest/mesa/src/vulkan/util/
Dvk_util.h328 return (gl_shader_stage) (ffs((uint32_t) vk_stage) - 1); in vk_to_mesa_shader_stage()
/hardware/google/gfxstream/guest/mesa/src/util/format/
Dtexcompress_bptc_tmp.h540 int mode_num = ffs(block[0]); in fetch_rgba_unorm_from_block()
661 int mode_num = ffs(block[0]); in decompress_rgba_unorm_block()
/hardware/google/gfxstream/guest/mesa/
Dmeson.build910 foreach b : ['bswap32', 'bswap64', 'clz', 'clzll', 'ctz', 'expect', 'ffs',