/external/valgrind/memcheck/tests/amd64/ |
D | insn-pmovmskb.c | 67 int bit = 0; ULong mask = (1UL << bit); in doit() local 68 if ((vbits_mask & mask) == 0) print(vbits, val_copy, bit, result & mask); in doit() 69 else use(bit, result & mask); in doit() 71 bit = 1; mask = (1UL << bit); in doit() 72 if ((vbits_mask & mask) == 0) print(vbits, val_copy, bit, result & mask); in doit() 73 else use(bit, result & mask); in doit() 75 bit = 2; mask = (1UL << bit); in doit() 76 if ((vbits_mask & mask) == 0) print(vbits, val_copy, bit, result & mask); in doit() 77 else use(bit, result & mask); in doit() 79 bit = 3; mask = (1UL << bit); in doit() [all …]
|
/external/skia/src/core/ |
D | SkBitmapProcState_filter.h | 29 const uint32_t mask = 0xFF00FF; in Filter_32_opaque() local 32 uint32_t lo = (a00 & mask) * scale; in Filter_32_opaque() 33 uint32_t hi = ((a00 >> 8) & mask) * scale; in Filter_32_opaque() 36 lo += (a01 & mask) * scale; in Filter_32_opaque() 37 hi += ((a01 >> 8) & mask) * scale; in Filter_32_opaque() 40 lo += (a10 & mask) * scale; in Filter_32_opaque() 41 hi += ((a10 >> 8) & mask) * scale; in Filter_32_opaque() 43 lo += (a11 & mask) * xy; in Filter_32_opaque() 44 hi += ((a11 >> 8) & mask) * xy; in Filter_32_opaque() 46 *dstColor = ((lo >> 8) & mask) | (hi & ~mask); in Filter_32_opaque() [all …]
|
/external/mesa3d/src/mesa/math/ |
D | m_clip_tmp.h | 65 GLuint mask; in TAG() local 66 mask = (((cw < cx) << CLIP_RIGHT_SHIFT)); in TAG() 67 mask |= (((cw < -cx) << CLIP_LEFT_SHIFT)); in TAG() 68 mask |= (((cw < cy) << CLIP_TOP_SHIFT)); in TAG() 69 mask |= (((cw < -cy) << CLIP_BOTTOM_SHIFT)); in TAG() 71 mask |= (((cw < cz) << CLIP_FAR_SHIFT)); in TAG() 72 mask |= (((cw < -cz) << CLIP_NEAR_SHIFT)); in TAG() 75 GLubyte mask = 0; in TAG() local 76 if (-cx + cw < 0) mask |= CLIP_RIGHT_BIT; in TAG() 77 if ( cx + cw < 0) mask |= CLIP_LEFT_BIT; in TAG() [all …]
|
/external/mesa3d/src/mesa/swrast/ |
D | s_bitmap.c | 83 GLubyte mask = 1U << (unpack->SkipPixels & 0x7); in _swrast_Bitmap() local 85 if (*src & mask) { in _swrast_Bitmap() 90 if (mask == 128U) { in _swrast_Bitmap() 92 mask = 1U; in _swrast_Bitmap() 95 mask = mask << 1; in _swrast_Bitmap() 100 if (mask != 1) in _swrast_Bitmap() 105 GLubyte mask = 128U >> (unpack->SkipPixels & 0x7); in _swrast_Bitmap() local 107 if (*src & mask) { in _swrast_Bitmap() 112 if (mask == 1U) { in _swrast_Bitmap() 114 mask = 128U; in _swrast_Bitmap() [all …]
|
/external/mesa3d/src/glsl/ |
D | opt_swizzle_swizzle.cpp | 61 if (swiz2->mask.num_components >= 1) in visit_enter() 62 mask2[0] = swiz2->mask.x; in visit_enter() 63 if (swiz2->mask.num_components >= 2) in visit_enter() 64 mask2[1] = swiz2->mask.y; in visit_enter() 65 if (swiz2->mask.num_components >= 3) in visit_enter() 66 mask2[2] = swiz2->mask.z; in visit_enter() 67 if (swiz2->mask.num_components >= 4) in visit_enter() 68 mask2[3] = swiz2->mask.w; in visit_enter() 70 if (ir->mask.num_components >= 1) in visit_enter() 71 ir->mask.x = mask2[ir->mask.x]; in visit_enter() [all …]
|
/external/valgrind/none/tests/amd64/ |
D | shrld.c | 162 ULong mask; in main() local 166 mask = MASK_OSZACP; in main() 167 if (i > 1) mask &= ~AMD64G_CC_MASK_O; in main() 168 if (i > 0) mask &= ~AMD64G_CC_MASK_A; in main() 174 printf("%3d 0x%016llx 0x%llx\n", i, result, flags_out & mask); in main() 179 mask = MASK_OSZACP; in main() 180 if (i > 1) mask &= ~AMD64G_CC_MASK_O; in main() 181 if (i > 0) mask &= ~AMD64G_CC_MASK_A; in main() 187 printf("%3d 0x%016llx 0x%llx\n", i, result, flags_out & mask); in main() 193 mask = MASK_OSZACP; in main() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | bitops.c | 35 int mask, retval; in ext2fs_set_bit() local 39 mask = 1 << (nr & 0x07); in ext2fs_set_bit() 40 retval = mask & *ADDR; in ext2fs_set_bit() 41 *ADDR |= mask; in ext2fs_set_bit() 47 int mask, retval; in ext2fs_clear_bit() local 51 mask = 1 << (nr & 0x07); in ext2fs_clear_bit() 52 retval = mask & *ADDR; in ext2fs_clear_bit() 53 *ADDR &= ~mask; in ext2fs_clear_bit() 59 int mask; in ext2fs_test_bit() local 63 mask = 1 << (nr & 0x07); in ext2fs_test_bit() [all …]
|
/external/kernel-headers/original/uapi/linux/iio/ |
D | events.h | 28 #define IIO_EVENT_CODE_EXTRACT_TYPE(mask) ((mask >> 56) & 0xFF) argument 30 #define IIO_EVENT_CODE_EXTRACT_DIR(mask) ((mask >> 48) & 0x7F) argument 32 #define IIO_EVENT_CODE_EXTRACT_CHAN_TYPE(mask) ((mask >> 32) & 0xFF) argument 36 #define IIO_EVENT_CODE_EXTRACT_CHAN(mask) ((__s16)(mask & 0xFFFF)) argument 37 #define IIO_EVENT_CODE_EXTRACT_CHAN2(mask) ((__s16)(((mask) >> 16) & 0xFFFF)) argument 39 #define IIO_EVENT_CODE_EXTRACT_MODIFIER(mask) ((mask >> 40) & 0xFF) argument 40 #define IIO_EVENT_CODE_EXTRACT_DIFF(mask) (((mask) >> 55) & 0x1) argument
|
/external/e2fsprogs/lib/e2p/ |
D | feature.c | 24 unsigned int mask; member 115 const char *e2p_feature2string(int compat, unsigned int mask) in e2p_feature2string() argument 124 (mask == f->mask)) in e2p_feature2string() 141 for (fnum = 0; mask >>= 1; fnum++); in e2p_feature2string() 146 int e2p_string2feature(char *string, int *compat_type, unsigned int *mask) in e2p_string2feature() argument 155 *mask = f->mask; in e2p_string2feature() 185 *mask = 1 << num; in e2p_string2feature() 189 const char *e2p_jrnl_feature2string(int compat, unsigned int mask) in e2p_jrnl_feature2string() argument 198 (mask == f->mask)) in e2p_jrnl_feature2string() 215 for (fnum = 0; mask >>= 1; fnum++); in e2p_jrnl_feature2string() [all …]
|
D | mntopts.c | 21 unsigned int mask; member 41 const char *e2p_mntopt2string(unsigned int mask) in e2p_mntopt2string() argument 48 if (mask == f->mask) in e2p_mntopt2string() 51 for (fnum = 0; mask >>= 1; fnum++); in e2p_mntopt2string() 56 int e2p_string2mntopt(char *string, unsigned int *mask) in e2p_string2mntopt() argument 64 *mask = f->mask; in e2p_string2mntopt() 78 *mask = 1 << num; in e2p_string2mntopt() 105 unsigned int mask; in e2p_edit_mntopts() local 130 if (e2p_string2mntopt(cp, &mask)) { in e2p_edit_mntopts() 134 if (ok && !(ok & mask)) { in e2p_edit_mntopts() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | clear.c | 151 _mesa_Clear( GLbitfield mask ) in _mesa_Clear() argument 159 _mesa_debug(ctx, "glClear 0x%x\n", mask); in _mesa_Clear() 161 if (mask & ~(GL_COLOR_BUFFER_BIT | in _mesa_Clear() 166 _mesa_error( ctx, GL_INVALID_VALUE, "glClear(0x%x)", mask); in _mesa_Clear() 173 if ((mask & GL_ACCUM_BUFFER_BIT) != 0 in _mesa_Clear() 202 mask &= ~GL_DEPTH_BUFFER_BIT; in _mesa_Clear() 210 if (mask & GL_COLOR_BUFFER_BIT) { in _mesa_Clear() 217 if ((mask & GL_DEPTH_BUFFER_BIT) in _mesa_Clear() 222 if ((mask & GL_STENCIL_BUFFER_BIT) in _mesa_Clear() 227 if ((mask & GL_ACCUM_BUFFER_BIT) in _mesa_Clear() [all …]
|
/external/opencv3/modules/core/include/opencv2/core/cuda/detail/ |
D | transform_detail.hpp | 77 …static __device__ __forceinline__ void unroll(const T& src, D& dst, const Mask& mask, UnOp& op, in… in unroll() 79 if (mask(y, x_shifted)) in unroll() 84 …einline__ void unroll(const T1& src1, const T2& src2, D& dst, const Mask& mask, BinOp& op, int x_s… in unroll() 86 if (mask(y, x_shifted)) in unroll() 93 …static __device__ __forceinline__ void unroll(const T& src, D& dst, const Mask& mask, UnOp& op, in… in unroll() 95 if (mask(y, x_shifted)) in unroll() 97 if (mask(y, x_shifted + 1)) in unroll() 102 …einline__ void unroll(const T1& src1, const T2& src2, D& dst, const Mask& mask, BinOp& op, int x_s… in unroll() 104 if (mask(y, x_shifted)) in unroll() 106 if (mask(y, x_shifted + 1)) in unroll() [all …]
|
/external/opencv/cv/src/ |
D | cvfloodfill.cpp | 379 uchar* mask = (pMask += maskStep + 1) + maskStep*seed.y; in icvFloodFill_Grad_8u_CnIR() local 394 if( mask[L] ) in icvFloodFill_Grad_8u_CnIR() 397 mask[L] = newMaskVal; in icvFloodFill_Grad_8u_CnIR() 412 while( !mask[R + 1] && DIFF_INT_C1( img + (R+1), val0 )) in icvFloodFill_Grad_8u_CnIR() 413 mask[++R] = newMaskVal; in icvFloodFill_Grad_8u_CnIR() 415 while( !mask[L - 1] && DIFF_INT_C1( img + (L-1), val0 )) in icvFloodFill_Grad_8u_CnIR() 416 mask[--L] = newMaskVal; in icvFloodFill_Grad_8u_CnIR() 420 while( !mask[R + 1] && DIFF_INT_C1( img + (R+1), img + R )) in icvFloodFill_Grad_8u_CnIR() 421 mask[++R] = newMaskVal; in icvFloodFill_Grad_8u_CnIR() 423 while( !mask[L - 1] && DIFF_INT_C1( img + (L-1), img + L )) in icvFloodFill_Grad_8u_CnIR() [all …]
|
/external/pdfium/third_party/libtiff/ |
D | tif_pixarlog.c | 117 register unsigned int cr, cg, cb, ca, mask; in horizontalAccumulateF() local 121 mask = CODE_MASK; in horizontalAccumulateF() 123 t0 = ToLinearF[cr = (wp[0] & mask)]; in horizontalAccumulateF() 124 t1 = ToLinearF[cg = (wp[1] & mask)]; in horizontalAccumulateF() 125 t2 = ToLinearF[cb = (wp[2] & mask)]; in horizontalAccumulateF() 134 t0 = ToLinearF[(cr += wp[0]) & mask]; in horizontalAccumulateF() 135 t1 = ToLinearF[(cg += wp[1]) & mask]; in horizontalAccumulateF() 136 t2 = ToLinearF[(cb += wp[2]) & mask]; in horizontalAccumulateF() 142 t0 = ToLinearF[cr = (wp[0] & mask)]; in horizontalAccumulateF() 143 t1 = ToLinearF[cg = (wp[1] & mask)]; in horizontalAccumulateF() [all …]
|
/external/opencv3/3rdparty/libtiff/ |
D | tif_pixarlog.c | 117 register unsigned int cr, cg, cb, ca, mask; in horizontalAccumulateF() local 121 mask = CODE_MASK; in horizontalAccumulateF() 123 t0 = ToLinearF[cr = (wp[0] & mask)]; in horizontalAccumulateF() 124 t1 = ToLinearF[cg = (wp[1] & mask)]; in horizontalAccumulateF() 125 t2 = ToLinearF[cb = (wp[2] & mask)]; in horizontalAccumulateF() 134 t0 = ToLinearF[(cr += wp[0]) & mask]; in horizontalAccumulateF() 135 t1 = ToLinearF[(cg += wp[1]) & mask]; in horizontalAccumulateF() 136 t2 = ToLinearF[(cb += wp[2]) & mask]; in horizontalAccumulateF() 142 t0 = ToLinearF[cr = (wp[0] & mask)]; in horizontalAccumulateF() 143 t1 = ToLinearF[cg = (wp[1] & mask)]; in horizontalAccumulateF() [all …]
|
/external/skia/tests/ |
D | MaskCacheTest.cpp | 40 SkMask mask; in DEF_TEST() local 42 SkCachedData* data = SkMaskCache::FindAndRef(sigma, style, quality, rrect, &mask, &cache); in DEF_TEST() 48 mask.fBounds.setXYWH(0, 0, 100, 100); in DEF_TEST() 49 mask.fRowBytes = 100; in DEF_TEST() 50 mask.fFormat = SkMask::kBW_Format; in DEF_TEST() 51 SkMaskCache::Add(sigma, style, quality, rrect, mask, data, &cache); in DEF_TEST() 57 sk_bzero(&mask, sizeof(mask)); in DEF_TEST() 58 data = SkMaskCache::FindAndRef(sigma, style, quality, rrect, &mask, &cache); in DEF_TEST() 61 REPORTER_ASSERT(reporter, mask.fBounds.top() == 0 && mask.fBounds.bottom() == 100); in DEF_TEST() 62 REPORTER_ASSERT(reporter, data->data() == (const void*)mask.fImage); in DEF_TEST() [all …]
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_tgsi_soa.c | 68 static void lp_exec_mask_init(struct lp_exec_mask *mask, struct lp_build_context *bld) in lp_exec_mask_init() argument 73 mask->bld = bld; in lp_exec_mask_init() 74 mask->has_mask = FALSE; in lp_exec_mask_init() 75 mask->cond_stack_size = 0; in lp_exec_mask_init() 76 mask->loop_stack_size = 0; in lp_exec_mask_init() 77 mask->call_stack_size = 0; in lp_exec_mask_init() 79 mask->int_vec_type = lp_build_int_vec_type(bld->gallivm, mask->bld->type); in lp_exec_mask_init() 80 mask->exec_mask = mask->ret_mask = mask->break_mask = mask->cont_mask = mask->cond_mask = in lp_exec_mask_init() 81 LLVMConstAllOnes(mask->int_vec_type); in lp_exec_mask_init() 83 mask->loop_limiter = lp_build_alloca(bld->gallivm, int_type, "looplimiter"); in lp_exec_mask_init() [all …]
|
/external/valgrind/none/tests/ppc64/ |
D | power6_bcmp.c | 35 unsigned long mask; in main() local 37 mask = 0; in main() 39 mask += 0xff; in main() 41 mask += 0xff00; in main() 43 mask += 0xff0000; in main() 45 mask += 0xff000000; in main() 47 mask += 0xff00000000; in main() 49 mask += 0xff0000000000; in main() 51 mask += 0xff000000000000; in main() 53 mask += 0xff00000000000000; in main() [all …]
|
/external/skia/src/opts/ |
D | SkBlitMask_opts.h | 26 const uint8_t* SK_RESTRICT mask = (const uint8_t*)maskPtr; in D32_A8_Opaque_Color_neon() local 41 uint8x8_t vmask = vld1_u8(mask); in D32_A8_Opaque_Color_neon() 62 mask += 8; in D32_A8_Opaque_Color_neon() 68 unsigned aa = *mask++; in D32_A8_Opaque_Color_neon() 79 mask += maskRB; in D32_A8_Opaque_Color_neon() 85 const SkAlpha* mask, size_t maskRB, in blit_mask_d32_a8_general() argument 87 D32_A8_Opaque_Color_neon<true>(dst, dstRB, mask, maskRB, color, w, h); in blit_mask_d32_a8_general() 92 const SkAlpha* mask, size_t maskRB, in blit_mask_d32_a8_opaque() argument 94 D32_A8_Opaque_Color_neon<false>(dst, dstRB, mask, maskRB, color, w, h); in blit_mask_d32_a8_opaque() 102 const uint8_t* SK_RESTRICT mask = (const uint8_t*)maskPtr; in blit_mask_d32_a8_black() local [all …]
|
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/ |
D | transform.hpp | 67 …_ static void unroll(const T& src, D& dst, const UnOp& op, const MaskPtr& mask, int x_shifted, int… in unroll() 69 if (mask(y, x_shifted)) in unroll() 74 …l(const T1& src1, const T2& src2, D& dst, const BinOp& op, const MaskPtr& mask, int x_shifted, int… in unroll() 76 if (mask(y, x_shifted)) in unroll() 84 …_ static void unroll(const T& src, D& dst, const UnOp& op, const MaskPtr& mask, int x_shifted, int… in unroll() 86 if (mask(y, x_shifted)) in unroll() 88 if (mask(y, x_shifted + 1)) in unroll() 93 …l(const T1& src1, const T2& src2, D& dst, const BinOp& op, const MaskPtr& mask, int x_shifted, int… in unroll() 95 if (mask(y, x_shifted)) in unroll() 97 if (mask(y, x_shifted + 1)) in unroll() [all …]
|
/external/lzma/C/ |
D | Bra86.c | 13 UInt32 mask = *state & 7; in x86_Convert() local 32 *state = (d > 2 ? 0 : mask >> (unsigned)d); in x86_Convert() 36 mask = 0; in x86_Convert() 39 mask >>= (unsigned)d; in x86_Convert() 40 if (mask != 0 && (mask > 4 || mask == 3 || Test86MSByte(p[(mask >> 1) + 1]))) in x86_Convert() 42 mask = (mask >> 1) | 4; in x86_Convert() 58 if (mask != 0) in x86_Convert() 60 unsigned sh = (mask & 6) << 2; in x86_Convert() 69 mask = 0; in x86_Convert() 78 mask = (mask >> 1) | 4; in x86_Convert()
|
/external/llvm/test/CodeGen/X86/ |
D | avx512vl-intrinsics.ll | 8 %res = call i8 @llvm.x86.avx512.mask.pcmpeq.d.256(<8 x i32> %a, <8 x i32> %b, i8 -1) 12 define i8 @test_mask_pcmpeq_d_256(<8 x i32> %a, <8 x i32> %b, i8 %mask) { 15 %res = call i8 @llvm.x86.avx512.mask.pcmpeq.d.256(<8 x i32> %a, <8 x i32> %b, i8 %mask) 19 declare i8 @llvm.x86.avx512.mask.pcmpeq.d.256(<8 x i32>, <8 x i32>, i8) 24 %res = call i8 @llvm.x86.avx512.mask.pcmpeq.q.256(<4 x i64> %a, <4 x i64> %b, i8 -1) 28 define i8 @test_mask_pcmpeq_q_256(<4 x i64> %a, <4 x i64> %b, i8 %mask) { 31 %res = call i8 @llvm.x86.avx512.mask.pcmpeq.q.256(<4 x i64> %a, <4 x i64> %b, i8 %mask) 35 declare i8 @llvm.x86.avx512.mask.pcmpeq.q.256(<4 x i64>, <4 x i64>, i8) 40 %res = call i8 @llvm.x86.avx512.mask.pcmpgt.d.256(<8 x i32> %a, <8 x i32> %b, i8 -1) 44 define i8 @test_mask_pcmpgt_d_256(<8 x i32> %a, <8 x i32> %b, i8 %mask) { [all …]
|
D | avx512bwvl-intrinsics.ll | 8 %res = call i32 @llvm.x86.avx512.mask.pcmpeq.b.256(<32 x i8> %a, <32 x i8> %b, i32 -1) 12 define i32 @test_mask_pcmpeq_b_256(<32 x i8> %a, <32 x i8> %b, i32 %mask) { 15 %res = call i32 @llvm.x86.avx512.mask.pcmpeq.b.256(<32 x i8> %a, <32 x i8> %b, i32 %mask) 19 declare i32 @llvm.x86.avx512.mask.pcmpeq.b.256(<32 x i8>, <32 x i8>, i32) 24 %res = call i16 @llvm.x86.avx512.mask.pcmpeq.w.256(<16 x i16> %a, <16 x i16> %b, i16 -1) 28 define i16 @test_mask_pcmpeq_w_256(<16 x i16> %a, <16 x i16> %b, i16 %mask) { 31 %res = call i16 @llvm.x86.avx512.mask.pcmpeq.w.256(<16 x i16> %a, <16 x i16> %b, i16 %mask) 35 declare i16 @llvm.x86.avx512.mask.pcmpeq.w.256(<16 x i16>, <16 x i16>, i16) 40 %res = call i32 @llvm.x86.avx512.mask.pcmpgt.b.256(<32 x i8> %a, <32 x i8> %b, i32 -1) 44 define i32 @test_mask_pcmpgt_b_256(<32 x i8> %a, <32 x i8> %b, i32 %mask) { [all …]
|
/external/chromium-trace/catapult/third_party/WebOb/webob/ |
D | acceptparse.py | 78 for mask, quality in self._parsed: 80 mask = '%s;q=%0.*f' % ( 81 mask, min(len(str(quality).split('.')[1]), 3), quality) 82 result.append(mask) 119 for mask, quality in self._parsed_nonzero: 120 if self._match(mask, offer): 129 for mask, q in self._parsed: 130 if self._match(mask, offer): 167 for mask, quality in self._parsed_nonzero: 174 if matched_by.count('*') <= mask.count('*'): [all …]
|
/external/opencv3/modules/imgproc/test/ |
D | test_distancetransform.cpp | 64 float mask[3]; member in CV_DisTransTest 148 dist_type == CV_DIST_USER ? mask : 0, test_array[OUTPUT][1] ); in run_func() 159 float mask[3]; in cvTsDistTransform() local 168 memcpy( mask, _mask, sizeof(mask) ); in cvTsDistTransform() 172 mask[0] = mask[1] = 1.f; in cvTsDistTransform() 177 mask[0] = 1.f; in cvTsDistTransform() 178 mask[1] = 2.f; in cvTsDistTransform() 182 mask[0] = 0.955f; in cvTsDistTransform() 183 mask[1] = 1.3693f; in cvTsDistTransform() 187 mask[0] = 1.0f; in cvTsDistTransform() [all …]
|