Home
last modified time | relevance | path

Searched refs:IS_POWER_OF_TWO (Results 1 – 17 of 17) sorted by relevance

/external/compiler-rt/test/asan/TestCases/
Dcoverage-reset.cc30 #define IS_POWER_OF_TWO(a) ((a & ((a) - 1)) == 0) macro
39 assert(IS_POWER_OF_TWO(main_bit)); in main()
44 assert(IS_POWER_OF_TWO(foo_bit)); in main()
49 assert(IS_POWER_OF_TWO(bar_bit)); in main()
/external/libaom/libaom/aom_dsp/
Dblend_a64_vmask.c32 assert(IS_POWER_OF_TWO(h)); in aom_blend_a64_vmask_c()
33 assert(IS_POWER_OF_TWO(w)); in aom_blend_a64_vmask_c()
59 assert(IS_POWER_OF_TWO(h)); in aom_highbd_blend_a64_vmask_c()
60 assert(IS_POWER_OF_TWO(w)); in aom_highbd_blend_a64_vmask_c()
Dblend_a64_hmask.c32 assert(IS_POWER_OF_TWO(h)); in aom_blend_a64_hmask_c()
33 assert(IS_POWER_OF_TWO(w)); in aom_blend_a64_hmask_c()
58 assert(IS_POWER_OF_TWO(h)); in aom_highbd_blend_a64_hmask_c()
59 assert(IS_POWER_OF_TWO(w)); in aom_highbd_blend_a64_hmask_c()
Dblend_a64_mask.c54 assert(IS_POWER_OF_TWO(h)); in aom_lowbd_blend_a64_d16_mask_c()
55 assert(IS_POWER_OF_TWO(w)); in aom_lowbd_blend_a64_d16_mask_c()
140 assert(IS_POWER_OF_TWO(h)); in aom_highbd_blend_a64_d16_mask_c()
141 assert(IS_POWER_OF_TWO(w)); in aom_highbd_blend_a64_d16_mask_c()
239 assert(IS_POWER_OF_TWO(h)); in aom_blend_a64_mask_c()
240 assert(IS_POWER_OF_TWO(w)); in aom_blend_a64_mask_c()
300 assert(IS_POWER_OF_TWO(h)); in aom_highbd_blend_a64_mask_c()
301 assert(IS_POWER_OF_TWO(w)); in aom_highbd_blend_a64_mask_c()
Daom_dsp_common.h33 #define IS_POWER_OF_TWO(x) (((x) & ((x)-1)) == 0) macro
/external/libaom/libaom/aom_dsp/x86/
Dobmc_variance_avx2.c39 assert(IS_POWER_OF_TWO(w)); in obmc_variance_w8n()
40 assert(IS_POWER_OF_TWO(h)); in obmc_variance_w8n()
96 assert(IS_POWER_OF_TWO(w)); in obmc_variance_w16n()
97 assert(IS_POWER_OF_TWO(h)); in obmc_variance_w16n()
Dblend_a64_vmask_sse4.c139 assert(IS_POWER_OF_TWO(h)); in aom_blend_a64_vmask_sse4_1()
140 assert(IS_POWER_OF_TWO(w)); in aom_blend_a64_vmask_sse4_1()
267 assert(IS_POWER_OF_TWO(h)); in aom_highbd_blend_a64_vmask_sse4_1()
268 assert(IS_POWER_OF_TWO(w)); in aom_highbd_blend_a64_vmask_sse4_1()
Dobmc_variance_sse4.c49 assert(IS_POWER_OF_TWO(w)); in obmc_variance_w8n()
50 assert(IS_POWER_OF_TWO(h)); in obmc_variance_w8n()
179 assert(IS_POWER_OF_TWO(h)); in hbd_obmc_variance_w4()
220 assert(IS_POWER_OF_TWO(w)); in hbd_obmc_variance_w8n()
221 assert(IS_POWER_OF_TWO(h)); in hbd_obmc_variance_w8n()
Dobmc_sad_sse4.c73 assert(IS_POWER_OF_TWO(width)); in obmc_sad_w8n()
197 assert(IS_POWER_OF_TWO(width)); in hbd_obmc_sad_w8n()
Dobmc_intrinsic_sse4.h28 assert(IS_POWER_OF_TWO(h)); in obmc_variance_w4()
Dobmc_sad_avx2.c78 assert(IS_POWER_OF_TWO(width)); in obmc_sad_w8n_avx2()
204 assert(IS_POWER_OF_TWO(width)); in hbd_obmc_sad_w8n_avx2()
Dblend_a64_mask_sse4.c413 assert(IS_POWER_OF_TWO(h)); in aom_blend_a64_mask_sse4_1()
414 assert(IS_POWER_OF_TWO(w)); in aom_blend_a64_mask_sse4_1()
855 assert(IS_POWER_OF_TWO(h)); in aom_highbd_blend_a64_mask_sse4_1()
856 assert(IS_POWER_OF_TWO(w)); in aom_highbd_blend_a64_mask_sse4_1()
1030 assert(IS_POWER_OF_TWO(h)); in aom_lowbd_blend_a64_d16_mask_sse4_1()
1031 assert(IS_POWER_OF_TWO(w)); in aom_lowbd_blend_a64_d16_mask_sse4_1()
1504 assert(IS_POWER_OF_TWO(h)); in aom_highbd_blend_a64_d16_mask_sse4_1()
1505 assert(IS_POWER_OF_TWO(w)); in aom_highbd_blend_a64_d16_mask_sse4_1()
Dblend_a64_mask_avx2.c304 assert(IS_POWER_OF_TWO(h)); in aom_lowbd_blend_a64_d16_mask_avx2()
305 assert(IS_POWER_OF_TWO(w)); in aom_lowbd_blend_a64_d16_mask_avx2()
879 assert(IS_POWER_OF_TWO(h)); in aom_blend_a64_mask_avx2()
880 assert(IS_POWER_OF_TWO(w)); in aom_blend_a64_mask_avx2()
1318 assert(IS_POWER_OF_TWO(h)); in aom_highbd_blend_a64_d16_mask_avx2()
1319 assert(IS_POWER_OF_TWO(w)); in aom_highbd_blend_a64_d16_mask_avx2()
/external/libaom/libaom/av1/common/arm/
Dblend_a64_hmask_neon.c32 assert(IS_POWER_OF_TWO(h)); in aom_blend_a64_hmask_neon()
33 assert(IS_POWER_OF_TWO(w)); in aom_blend_a64_hmask_neon()
Dblend_a64_vmask_neon.c37 assert(IS_POWER_OF_TWO(h)); in aom_blend_a64_vmask_neon()
38 assert(IS_POWER_OF_TWO(w)); in aom_blend_a64_vmask_neon()
/external/libaom/libaom/aom_dsp/arm/
Dblend_a64_mask_neon.c154 assert(IS_POWER_OF_TWO(h)); in aom_lowbd_blend_a64_d16_mask_neon()
155 assert(IS_POWER_OF_TWO(w)); in aom_lowbd_blend_a64_d16_mask_neon()
Dintrapred_neon.c536 assert(IS_POWER_OF_TWO(bw)); in highbd_dc_predictor()