/external/mesa3d/src/intel/isl/ |
D | isl_gen9.c | 52 .w = 1 << (12 - (ffs(bpb) - 4) + (4 * is_Ys)), in gen9_calc_std_image_alignment_sa() 63 .w = 1 << (6 - ((ffs(bpb) - 4) / 2) + (4 * is_Ys)), in gen9_calc_std_image_alignment_sa() 64 .h = 1 << (6 - ((ffs(bpb) - 3) / 2) + (4 * is_Ys)), in gen9_calc_std_image_alignment_sa() 77 align_sa->w >>= (ffs(info->samples) - 0) / 2; in gen9_calc_std_image_alignment_sa() 78 align_sa->h >>= (ffs(info->samples) - 1) / 2; in gen9_calc_std_image_alignment_sa() 89 .w = 1 << (4 - ((ffs(bpb) - 2) / 3) + (4 * is_Ys)), in gen9_calc_std_image_alignment_sa() 90 .h = 1 << (4 - ((ffs(bpb) - 4) / 3) + (2 * is_Ys)), in gen9_calc_std_image_alignment_sa() 91 .d = 1 << (4 - ((ffs(bpb) - 3) / 3) + (2 * is_Ys)), in gen9_calc_std_image_alignment_sa()
|
/external/mesa3d/src/util/ |
D | bitscan.h | 52 #define ffs __builtin_ffs macro 55 int ffs(unsigned i) 65 int ffs(unsigned i); 97 const int i = ffs(*mask) - 1; in u_bit_scan() 131 *start = ffs(*mask) - 1; in u_bit_scan_consecutive_range() 132 *count = ffs(~(*mask >> *start)) - 1; in u_bit_scan_consecutive_range()
|
D | bitscan.c | 35 ffs(unsigned i) in ffs() function 70 bit = ffs((unsigned) (val & 0xffffffff)); in ffsll() 74 bit = ffs((unsigned) (val >> 32)); in ffsll()
|
D | bitset.h | 91 return ffs(x[i]) + BITSET_WORDBITS * i; in __bitset_ffs() 123 bit = ffs(*tmp) - 1; in __bitset_next_set()
|
/external/llvm/test/Transforms/InstCombine/ |
D | ffs-1.ll | 1 ; Test that the ffs* library call simplifier works correctly. 11 declare i32 @ffs(i32) 15 ; Check ffs(0) -> 0. 19 %ret = call i32 @ffs(i32 0) 38 ; Check ffs(c) -> cttz(c) + 1, where 'c' is a constant. 42 %ret = call i32 @ffs(i32 1) 49 %ret = call i32 @ffs(i32 2048) 56 %ret = call i32 @ffs(i32 65536) 103 ; Check ffs(x) -> x != 0 ? (i32)llvm.cttz(x) + 1 : 0. 107 %ret = call i32 @ffs(i32 %x)
|
/external/swiftshader/third_party/LLVM/test/Transforms/SimplifyLibCalls/ |
D | FFS.ll | 3 ; RUN: not grep {call.*@ffs} 7 declare i32 @ffs(i32) 15 %val0 = call i32 @ffs( i32 %arg ) ; <i32> [#uses=1] 16 %val1 = call i32 @ffs( i32 1 ) ; <i32> [#uses=1] 17 %val2 = call i32 @ffs( i32 2048 ) ; <i32> [#uses=1]
|
/external/jemalloc/include/jemalloc/ |
D | jemalloc_macros.h | 16 # define MALLOCX_ALIGN(a) ((int)(ffs((int)(a))-1)) 19 ((int)(((size_t)(a) < (size_t)INT_MAX) ? ffs((int)(a))-1 : \ 20 ffs((int)(((size_t)(a))>>32))+31))
|
D | jemalloc_macros.h.in | 16 # define MALLOCX_ALIGN(a) ((int)(ffs((int)(a))-1)) 19 ((int)(((size_t)(a) < (size_t)INT_MAX) ? ffs((int)(a))-1 : \ 20 ffs((int)(((size_t)(a))>>32))+31))
|
D | jemalloc.h | 106 # define MALLOCX_ALIGN(a) ((int)(ffs((int)(a))-1)) 109 ((int)(((size_t)(a) < (size_t)INT_MAX) ? ffs((int)(a))-1 : \ 110 ffs((int)(((size_t)(a))>>32))+31))
|
/external/jemalloc/include/msvc_compat/ |
D | strings.h | 18 static __forceinline int ffs(int x) in ffs() function 56 # define ffs(x) __builtin_ffs(x) macro
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_rast_tri_tmp.h | 136 int i = ffs(partial_mask) - 1; in TAG() 158 int i = ffs(inmask) - 1; in TAG() 198 int i = ffs(plane_mask) - 1; in TAG() 290 int i = ffs(partial_mask) - 1; in TAG() 311 int i = ffs(inmask) - 1; in TAG() 378 int i = ffs(partial_mask) - 1; in TRI_16()
|
/external/iptables/extensions/ |
D | libipt_ULOG.c | 90 printf(" --ulog-nlgroup %d", ffs(loginfo->nl_group)); in ULOG_save() 106 ffs(loginfo->nl_group)); in ULOG_print()
|
/external/jemalloc/include/jemalloc/internal/ |
D | util.h | 176 #error No implementation for size_t ffs() in ffs_zu() 189 #error No implementation for 64-bit ffs() in ffs_u64() 200 #error No implementation for 32-bit ffs() in ffs_u32()
|
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
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()
|
/external/libpcap/lbl/ |
D | os-hpux11.h | 23 int ffs(int i);
|
D | os-aix7.h | 23 int ffs(int i);
|
D | os-aix4.h | 23 int ffs(int i);
|
/external/squashfs-tools/squashfs-tools/ |
D | xz_wrapper.c | 192 n = ffs(dictionary_size) - 1; in xz_options_post() 300 n = ffs(dictionary_size) - 1; in xz_extract_options() 344 n = ffs(dictionary_size) - 1; in xz_display_options()
|
/external/fio/ |
D | filelock.c | 32 struct fio_filelock ffs[MAX_FILELOCKS]; member 85 struct fio_filelock *ff = &fld->ffs[i]; in fio_filelock_init()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | gen8_multisample_state.c | 38 unsigned log2_samples = ffs(MAX2(num_samples, 1)) - 1; in gen8_emit_3dstate_multisample()
|
D | gen7_vs_state.c | 62 ffs(stage_state->per_thread_scratch) - 11); in upload_vs_state()
|
D | gen8_vs_state.c | 63 ffs(stage_state->per_thread_scratch) - 11); in upload_vs_state()
|
D | gen8_hs_state.c | 58 ffs(stage_state->per_thread_scratch) - 11); in gen8_upload_hs_state()
|
D | gen7_cs_state.c | 74 ffs(stage_state->per_thread_scratch) - 11); in brw_upload_cs_state() 81 ffs(stage_state->per_thread_scratch) - 12); in brw_upload_cs_state()
|
D | gen8_ds_state.c | 57 ffs(stage_state->per_thread_scratch) - 11); in gen8_upload_ds_state()
|