/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/openssh/openbsd-compat/ |
D | sigact.c | 56 sigemptyset (sigset_t *mask) in sigemptyset() argument 58 if (!mask) { in sigemptyset() 62 *mask = 0; in sigemptyset() 67 sigprocmask (int mode, sigset_t *mask, sigset_t *omask) in sigprocmask() argument 71 if (!mask) { in sigprocmask() 80 current |= *mask; in sigprocmask() 82 current &= ~*mask; in sigprocmask() 84 current = *mask; in sigprocmask() 91 sigsuspend (sigset_t *mask) in sigsuspend() argument 93 if (!mask) { in sigsuspend() [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 …]
|
D | s_logic.c | 47 if (mask[i / MASKSTRIDE]) { \ 54 if (mask[i / MASKSTRIDE]) { \ 64 if (mask[i / MASKSTRIDE]) { \ 71 if (mask[i / MASKSTRIDE]) { \ 78 if (mask[i / MASKSTRIDE]) { \ 85 if (mask[i / MASKSTRIDE]) { \ 92 if (mask[i / MASKSTRIDE]) { \ 99 if (mask[i / MASKSTRIDE]) { \ 106 if (mask[i / MASKSTRIDE]) { \ 113 if (mask[i / MASKSTRIDE]) { \ [all …]
|
/external/lldb/tools/debugserver/source/ |
D | PThreadEvent.cpp | 40 uint32_t mask = 1; in NewEventBit() local 41 while (mask & m_validBits) in NewEventBit() 42 mask <<= 1; in NewEventBit() 43 m_validBits |= mask; in NewEventBit() 44 return mask; in NewEventBit() 48 PThreadEvent::FreeEventBits(const uint32_t mask) in FreeEventBits() argument 51 if (mask) in FreeEventBits() 54 m_bits &= ~mask; in FreeEventBits() 55 m_validBits &= ~mask; in FreeEventBits() 92 PThreadEvent::SetEvents(const uint32_t mask) in SetEvents() argument [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/lldb/include/lldb/Core/ |
D | Flags.h | 116 Clear (ValueType mask = ~(ValueType)0) 118 m_flags &= ~mask; 134 Set (ValueType mask) in Set() argument 136 m_flags |= mask; in Set() 149 AllSet (ValueType mask) const in AllSet() argument 151 return (m_flags & mask) == mask; in AllSet() 162 AnySet (ValueType mask) const in AnySet() argument 164 return (m_flags & mask) != 0; in AnySet() 187 AllClear (ValueType mask) const in AllClear() argument 189 return (m_flags & mask) == 0; in AllClear() [all …]
|
/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 | avx512bw-intrinsics.ll | 6 %res = call i64 @llvm.x86.avx512.mask.pcmpeq.b.512(<64 x i8> %a, <64 x i8> %b, i64 -1) 10 define i64 @test_mask_pcmpeq_b(<64 x i8> %a, <64 x i8> %b, i64 %mask) { 13 %res = call i64 @llvm.x86.avx512.mask.pcmpeq.b.512(<64 x i8> %a, <64 x i8> %b, i64 %mask) 17 declare i64 @llvm.x86.avx512.mask.pcmpeq.b.512(<64 x i8>, <64 x i8>, i64) 22 %res = call i32 @llvm.x86.avx512.mask.pcmpeq.w.512(<32 x i16> %a, <32 x i16> %b, i32 -1) 26 define i32 @test_mask_pcmpeq_w(<32 x i16> %a, <32 x i16> %b, i32 %mask) { 29 %res = call i32 @llvm.x86.avx512.mask.pcmpeq.w.512(<32 x i16> %a, <32 x i16> %b, i32 %mask) 33 declare i32 @llvm.x86.avx512.mask.pcmpeq.w.512(<32 x i16>, <32 x i16>, i32) 38 %res = call i64 @llvm.x86.avx512.mask.pcmpgt.b.512(<64 x i8> %a, <64 x i8> %b, i64 -1) 42 define i64 @test_mask_pcmpgt_b(<64 x i8> %a, <64 x i8> %b, i64 %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 …]
|
D | avx512-intrinsics.ll | 63 declare <8 x double> @llvm.x86.avx512.mask.rndscale.pd.512(<8 x double>, i32, <8 x double>, i8, i32) 67 …%res = call <8 x double> @llvm.x86.avx512.mask.rndscale.pd.512(<8 x double> %a, i32 11, <8 x doubl… 71 declare <16 x float> @llvm.x86.avx512.mask.rndscale.ps.512(<16 x float>, i32, <16 x float>, i16, i3… 75 …%res = call <16 x float> @llvm.x86.avx512.mask.rndscale.ps.512(<16 x float> %a, i32 11, <16 x floa… 189 …%res = call <16 x float> @llvm.x86.avx512.mask.vcvtph2ps.512(<16 x i16> %a0, <16 x float> zeroinit… 192 declare <16 x float> @llvm.x86.avx512.mask.vcvtph2ps.512(<16 x i16>, <16 x float>, i16, i32) nounwi… 197 …%res = call <16 x i16> @llvm.x86.avx512.mask.vcvtps2ph.512(<16 x float> %a0, i32 2, <16 x i16> zer… 201 declare <16 x i16> @llvm.x86.avx512.mask.vcvtps2ph.512(<16 x float>, i32, <16 x i16>, i16) nounwind… 263 …%res = call <16 x i32> @llvm.x86.avx512.mask.conflict.d.512(<16 x i32> %a, <16 x i32> zeroinitiali… 267 declare <16 x i32> @llvm.x86.avx512.mask.conflict.d.512(<16 x i32>, <16 x i32>, i16) nounwind reado… [all …]
|
/external/e2fsprogs/lib/e2p/ |
D | feature.c | 24 unsigned int mask; member 113 const char *e2p_feature2string(int compat, unsigned int mask) in e2p_feature2string() argument 122 (mask == f->mask)) in e2p_feature2string() 139 for (fnum = 0; mask >>= 1; fnum++); in e2p_feature2string() 144 int e2p_string2feature(char *string, int *compat_type, unsigned int *mask) in e2p_string2feature() argument 153 *mask = f->mask; in e2p_string2feature() 183 *mask = 1 << num; in e2p_string2feature() 187 const char *e2p_jrnl_feature2string(int compat, unsigned int mask) in e2p_jrnl_feature2string() argument 196 (mask == f->mask)) in e2p_jrnl_feature2string() 213 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/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/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/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/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/chromium-trace/trace-viewer/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/libvpx/libvpx/vpx_ports/ |
D | arm_cpudetect.c | 46 int mask; in arm_cpu_caps() local 50 mask = arm_cpu_env_mask(); in arm_cpu_caps() 60 return flags & mask; in arm_cpu_caps() 71 int mask; in arm_cpu_caps() local 75 mask = arm_cpu_env_mask(); in arm_cpu_caps() 81 if (mask & HAS_EDSP) { in arm_cpu_caps() 91 if (mask & HAS_MEDIA) in arm_cpu_caps() 101 if (mask &HAS_NEON) { 113 return flags & mask; 121 int mask; [all …]
|
/external/valgrind/memcheck/tests/linux/ |
D | syscalls-2007.c | 37 sigset_t mask; in main() local 43 sigemptyset (&mask); in main() 44 sigaddset (&mask, SIGUSR1); in main() 45 fd = signalfd (-1, &mask, 0); in main() 46 sigaddset (&mask, SIGUSR2); in main() 47 fd = signalfd (fd, &mask, 0); in main() 54 ppoll (pfd, 2, &ts, &mask); in main() 72 sigset_t mask; in main() local 74 sigemptyset (&mask); in main() 75 sigaddset (&mask, SIGUSR1); in main() [all …]
|