/third_party/mesa3d/src/intel/isl/ |
H A D | isl_gfx9.c | 52 .w = 1 << (12 - (ffs(bpb) - 4) + (4 * is_Ys)), in gfx9_calc_std_image_alignment_sa() 63 .w = 1 << (6 - ((ffs(bpb) - 4) / 2) + (4 * is_Ys)), in gfx9_calc_std_image_alignment_sa() 64 .h = 1 << (6 - ((ffs(bpb) - 3) / 2) + (4 * is_Ys)), in gfx9_calc_std_image_alignment_sa() 77 align_sa->w >>= (ffs(info->samples) - 0) / 2; in gfx9_calc_std_image_alignment_sa() 78 align_sa->h >>= (ffs(info->samples) - 1) / 2; in gfx9_calc_std_image_alignment_sa() 89 .w = 1 << (4 - ((ffs(bpb) - 2) / 3) + (4 * is_Ys)), in gfx9_calc_std_image_alignment_sa() 90 .h = 1 << (4 - ((ffs(bpb) - 4) / 3) + (2 * is_Ys)), in gfx9_calc_std_image_alignment_sa() 91 .d = 1 << (4 - ((ffs(bpb) - 3) / 3) + (2 * is_Ys)), in gfx9_calc_std_image_alignment_sa()
|
/third_party/musl/libc-test/src/functionalext/supplement/misc/ |
H A D | ffs.c | 25 int result = ffs(0); in ffs_0100() 36 int result = ffs(1); in ffs_0200() 47 int result = ffs(2); in ffs_0300() 58 int result = ffs(3); in ffs_0400() 69 int result = ffs(128); in ffs_0500()
|
/third_party/mesa3d/src/util/ |
H A D | bitscan.h | 55 #define ffs __builtin_ffs macro 58 int ffs(int i) in ffs() function 68 int ffs(int i); 100 const int i = ffs(*mask) - 1; in u_bit_scan() 107 ((b) = ffs(__dword) - 1, __dword); \ 190 *start = ffs(*mask) - 1; in u_bit_scan_consecutive_range() 191 *count = ffs(~(*mask >> *start)) - 1; in u_bit_scan_consecutive_range() 213 * Essentially ffs() in the reverse direction.
|
H A D | bitscan.c | 35 ffs(int i) in ffs() function 70 bit = ffs((unsigned) (val & 0xffffffff)); in ffsll() 74 bit = ffs((unsigned) (val >> 32)); in ffsll()
|
H A D | bitset.h | 306 return ffs(x[i]) + BITSET_WORDBITS * i; 353 bit = ffs(*tmp) - 1; 396 *start = word * BITSET_WORDBITS + ffs(tmp) - 1; 421 *end = MIN2(word * BITSET_WORDBITS + ffs(~tmp) - 1, size);
|
/third_party/ntfs-3g/libntfs-3g/ |
H A D | bootsect.c | 203 vol->sector_size_bits = ffs(vol->sector_size) - 1; in ntfs_boot_sector_parse() 237 vol->nr_clusters = sectors >> (ffs(sectors_per_cluster) - 1); in ntfs_boot_sector_parse() 258 vol->cluster_size_bits = ffs(vol->cluster_size) - 1; in ntfs_boot_sector_parse() 283 vol->mft_record_size_bits = ffs(vol->mft_record_size) - 1; in ntfs_boot_sector_parse() 293 vol->indx_record_size_bits = ffs(vol->indx_record_size) - 1; in ntfs_boot_sector_parse()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_rast_tri_tmp.h | 154 int i = ffs(partial_mask) - 1; in do_block_16() 177 int i = ffs(inmask) - 1; in do_block_16() 217 int i = ffs(plane_mask) - 1; in lp_rast_triangle() 311 int i = ffs(partial_mask) - 1; in lp_rast_triangle() 332 int i = ffs(inmask) - 1; in lp_rast_triangle() 406 int i = ffs(partial_mask) - 1; in TRI_16()
|
/third_party/mesa3d/src/nouveau/codegen/ |
H A D | nv50_ir_util.cpp | 323 pos = ffs(~data[i]) - 1; in findFreeRange() 332 pos = ffs(~b) - 1; in findFreeRange() 344 pos = ffs(~b) - 1; in findFreeRange() 386 int pos = ffs(bits) - 1; in print()
|
/third_party/backends/backend/ |
H A D | plustek-usbhw.c | 346 u_short ffs, step, min_ffs; in usb_WaitPos() local 363 ffs = regs[0x48] * 256 + regs[0x49]; in usb_WaitPos() 365 (u_long)mch * (u_long)ffs * hw->wMotorDpi); in usb_WaitPos() 377 maxf = (ffs - min_ffs)/4; in usb_WaitPos() 384 DBG( _DBG_INFO2, ">>>> FFS = %u\n", ffs ); in usb_WaitPos() 410 if( ffs ) { in usb_WaitPos() 411 if((u_short)fac < ffs ) { in usb_WaitPos() 412 ffs -= fac; in usb_WaitPos() 413 if( ffs < min_ffs ) in usb_WaitPos() 414 ffs in usb_WaitPos() [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
H A D | freedreno_context.h | 598 assert(ffs(dirty) <= ARRAY_SIZE(ctx->gen_dirty_map)); 600 ctx->gen_dirty |= ctx->gen_dirty_map[ffs(dirty) - 1]; 625 assert(ffs(dirty) <= ARRAY_SIZE(map)); 627 ctx->gen_dirty |= ctx->gen_dirty_shader_map[shader][ffs(dirty) - 1]; 630 fd_context_dirty(ctx, map[ffs(dirty) - 1]);
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_wrmasks.c | 110 unsigned first_component = ffs(wrmask) - 1; in split_wrmask() 111 unsigned length = ffs(~(wrmask >> first_component)) - 1; in split_wrmask()
|
/third_party/musl/src/misc/ |
H A D | ffs.c | 4 int ffs(int i) in ffs() function
|
/third_party/python/Lib/test/test_importlib/ |
H A D | test_main.py | 9 import pyfakefs.fake_filesystem_unittest as ffs namespace 11 from .stubs import fake_filesystem_unittest as ffs namespace 216 class InaccessibleSysPath(fixtures.OnSysPath, ffs.TestCase):
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
H A D | vc4_tiling.c | 129 uint32_t utile_w_shift = ffs(utile_w) - 1; in vc4_t_image_helper() 130 uint32_t utile_h_shift = ffs(utile_h) - 1; in vc4_t_image_helper()
|
/third_party/skia/experimental/sktext/src/ |
H A D | Paint.h | 45 MultipleFontChain(std::vector<const char*> ffs, SkScalar size, SkFontStyle fontStyle) in MultipleFontChain() argument 48 for (auto& ff : ffs) { in MultipleFontChain()
|
/third_party/musl/libc-test/src/api/ |
H A D | strings.c | 8 {int(*p)(int) = ffs;} in f()
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | strings.h | 24 int ffs (int);
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | strings.h | 24 int ffs (int);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | strings.h | 24 int ffs (int);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | strings.h | 22 int ffs (int);
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | strings.h | 24 int ffs (int);
|
/third_party/ntfs-3g/include/ntfs-3g/ |
H A D | compat.h | 64 extern int ffs(int i);
|
/third_party/libinput/include/ |
H A D | config.h | 60 #define ffs __builtin_ffs macro
|
/third_party/musl/include/ |
H A D | strings.h | 25 int ffs (int);
|
/third_party/ltp/testcases/kernel/controllers/memcg/ |
H A D | memcontrol_common.h | 21 const ssize_t page_adjusted_err = ffs(page_size >> 13) + err; in values_close()
|