Home
last modified time | relevance | path

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

12345678910

/external/mesa3d/src/intel/isl/
Disl_gen9.c52 .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/
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()
182 *start = ffs(*mask) - 1; in u_bit_scan_consecutive_range()
183 *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.h92 return ffs(x[i]) + BITSET_WORDBITS * i; in __bitset_ffs()
138 bit = ffs(*tmp) - 1; in __bitset_next_set()
177 *start = word * BITSET_WORDBITS + ffs(tmp) - 1; in __bitset_next_range()
198 *end = MIN2(word * BITSET_WORDBITS + ffs(~tmp) - 1, size); in __bitset_next_range()
/external/llvm/test/Transforms/InstCombine/
Dffs-1.ll1 ; 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/libiio/src/iiod/
Dusbd.c52 char *ffs; member
109 snprintf(buf, sizeof(buf), "%s/ep%u", pdata->ffs, pipe_id * 2 + 1); in usb_open_pipe()
116 snprintf(buf, sizeof(buf), "%s/ep%u", pdata->ffs, pipe_id * 2 + 2); in usb_open_pipe()
227 free(pdata->ffs); in usbd_main()
337 int start_usb_daemon(struct iio_context *ctx, const char *ffs, in start_usb_daemon() argument
358 pdata->ffs = strdup(ffs); in start_usb_daemon()
359 if (!pdata->ffs) { in start_usb_daemon()
364 snprintf(buf, sizeof(buf), "%s/ep0", ffs); in start_usb_daemon()
402 free(pdata->ffs); in start_usb_daemon()
/external/llvm-project/llvm/test/Transforms/InstCombine/
Dffs-1.ll1 ; Test that the ffs* library call simplifier works correctly.
11 declare i32 @ffs(i32)
15 ; Check ffs(0) -> 0.
21 %ret = call i32 @ffs(i32 0)
49 ; Check ffs(c) -> cttz(c) + 1, where 'c' is a constant.
55 %ret = call i32 @ffs(i32 1)
63 %ret = call i32 @ffs(i32 2048)
71 %ret = call i32 @ffs(i32 65536)
147 ; Check ffs(x) -> x != 0 ? (i32)llvm.cttz(x) + 1 : 0.
157 %ret = call i32 @ffs(i32 %x)
/external/llvm-project/polly/lib/External/isl/
Disl_config_post.h10 #define ffs __builtin_ffs macro
15 #define ffs isl_ffs macro
/external/jemalloc_new/include/jemalloc/
Djemalloc_macros.h16 # 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))
Djemalloc_macros.h.in16 # 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))
Djemalloc.h79 # define MALLOCX_ALIGN(a) ((int)(ffs((int)(a))-1))
82 ((int)(((size_t)(a) < (size_t)INT_MAX) ? ffs((int)(a))-1 : \
83 ffs((int)(((size_t)(a))>>32))+31))
/external/jemalloc_new/include/msvc_compat/
Dstrings.h18 static __forceinline int ffs(int x) { in ffs() function
55 # define ffs(x) __builtin_ffs(x) macro
/external/jemalloc_new/include/jemalloc/internal/
Dbit_util.h39 #error No implementation for size_t ffs() in ffs_zu()
50 #error No implementation for 64-bit ffs() in ffs_u64()
59 #error No implementation for 32-bit ffs() in ffs_u32()
/external/llvm-project/llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/
Dcttz.ll70 %ffs = select i1 %iszero, i32 0, i32 %1
71 ret i32 %ffs
112 %ffs = select i1 %iszero, i64 0, i64 %1
113 ret i64 %ffs
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_rast_tri_tmp.h157 int i = ffs(partial_mask) - 1; in TAG()
179 int i = ffs(inmask) - 1; in TAG()
219 int i = ffs(plane_mask) - 1; in TAG()
311 int i = ffs(partial_mask) - 1; in TAG()
332 int i = ffs(inmask) - 1; in TAG()
399 int i = ffs(partial_mask) - 1; in TRI_16()
/external/virglrenderer/src/gallium/auxiliary/util/
Du_math.h507 unsigned long ffs( unsigned long u ) in ffs() function
517 unsigned ffs( unsigned u ) in ffs() function
532 #define ffs __builtin_ffs macro
582 int i = ffs(*mask) - 1; in u_bit_scan()
608 *start = ffs(*mask) - 1; in u_bit_scan_consecutive_range()
609 *count = ffs(~(*mask >> *start)) - 1; in u_bit_scan_consecutive_range()
/external/igt-gpu-tools/assembler/
Dgram.y39 #define DEFAULT_EXECSIZE (ffs(program_defaults.execute_size) - 1)
662 $$.vert_stride = ffs(0);
664 $$.horiz_stride = ffs(0);
2702 $$ = ffs($2);
2710 $$.vert_stride = ffs(0);
2712 $$.horiz_stride = ffs(0);
2719 $$.vert_stride = ffs($2);
2721 $$.horiz_stride = ffs(0);
2726 $$.vert_stride = ffs($2);
2727 $$.width = ffs($4) - 1;
[all …]
/external/iptables/extensions/
Dlibipt_ULOG.c90 printf(" --ulog-nlgroup %d", ffs(loginfo->nl_group)); in ULOG_save()
106 ffs(loginfo->nl_group)); in ULOG_print()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_util.cpp323 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/python/cpython3/Lib/test/test_importlib/
Dtest_main.py11 import pyfakefs.fake_filesystem_unittest as ffs namespace
13 from .stubs import fake_filesystem_unittest as ffs unknown
204 class InaccessibleSysPath(fixtures.OnSysPath, ffs.TestCase):
/external/mesa3d/src/compiler/nir/
Dnir_lower_wrmasks.c110 unsigned first_component = ffs(wrmask) - 1; in split_wrmask()
111 unsigned length = ffs(~(wrmask >> first_component)) - 1; in split_wrmask()
/external/libpcap/lbl/
Dos-aix4.h23 int ffs(int i);
Dos-aix7.h23 int ffs(int i);
Dos-hpux11.h23 int ffs(int i);
/external/squashfs-tools/squashfs-tools/
Dxz_wrapper.c192 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()

12345678910