/external/fio/ |
D | optgroup.c | 11 .mask = FIO_OPT_C_GENERAL, 15 .mask = FIO_OPT_C_IO, 19 .mask = FIO_OPT_C_FILE, 23 .mask = FIO_OPT_C_STAT, 27 .mask = FIO_OPT_C_LOG, 31 .mask = FIO_OPT_C_PROFILE, 35 .mask = FIO_OPT_C_ENGINE, 45 .mask = FIO_OPT_G_RATE, 49 .mask = FIO_OPT_G_ZONE, 53 .mask = FIO_OPT_G_RWMIX, [all …]
|
/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/protobuf/src/google/protobuf/util/ |
D | field_mask_util_test.cc | 121 FieldMask mask; in TEST() local 122 EXPECT_EQ("", FieldMaskUtil::ToString(mask)); in TEST() 123 mask.add_paths("foo_bar"); in TEST() 124 EXPECT_EQ("foo_bar", FieldMaskUtil::ToString(mask)); in TEST() 125 mask.add_paths("baz_quz"); in TEST() 126 EXPECT_EQ("foo_bar,baz_quz", FieldMaskUtil::ToString(mask)); in TEST() 128 FieldMaskUtil::FromString("", &mask); in TEST() 129 EXPECT_EQ(0, mask.paths_size()); in TEST() 130 FieldMaskUtil::FromString("fooBar", &mask); in TEST() 131 EXPECT_EQ(1, mask.paths_size()); in TEST() [all …]
|
/external/skia/src/core/ |
D | SkBitmapProcState_filter.h | 28 const uint32_t mask = 0xFF00FF; in Filter_32_opaque() local 31 uint32_t lo = (a00 & mask) * scale; in Filter_32_opaque() 32 uint32_t hi = ((a00 >> 8) & mask) * scale; in Filter_32_opaque() 35 lo += (a01 & mask) * scale; in Filter_32_opaque() 36 hi += ((a01 >> 8) & mask) * scale; in Filter_32_opaque() 39 lo += (a10 & mask) * scale; in Filter_32_opaque() 40 hi += ((a10 >> 8) & mask) * scale; in Filter_32_opaque() 42 lo += (a11 & mask) * xy; in Filter_32_opaque() 43 hi += ((a11 >> 8) & mask) * xy; in Filter_32_opaque() 45 *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/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/ |
D | ht_affinity.c | 43 #define sched_setaffinity(pid, cpusetsize, mask) syscall(__NR_sched_setaffinity, pid, cpusetsize, m… argument 44 #define sched_getaffinity(pid, cpusetsize, mask) syscall(__NR_sched_getaffinity, pid, cpusetsize, m… argument 51 unsigned int mask; in HT_SetAffinity() local 66 for (i = 0, mask = 0x1; i < cpu_count; i++, mask = mask << 1) { in HT_SetAffinity() 68 printf("mask: %x\n", mask); in HT_SetAffinity() 70 sched_setaffinity(pid, sizeof(unsigned long), &mask); in HT_SetAffinity() 94 for (i = 0, mask = 0x3; i < cpu_count - 1; i++, mask = mask << 1) { in HT_SetAffinity() 96 printf("mask: %x\n", mask); in HT_SetAffinity() 98 sched_setaffinity(pid, sizeof(unsigned long), &mask); in HT_SetAffinity() 150 unsigned int mask[2], mask1[2]; in HT_GetAffinity() local [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 …]
|
/external/mesa3d/src/compiler/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/protobuf/java/util/src/test/java/com/google/protobuf/util/ |
D | FieldMaskUtilTest.java | 82 FieldMask mask = FieldMask.newBuilder().addPaths("foo").build(); in testToString() local 83 assertEquals("foo", FieldMaskUtil.toString(mask)); in testToString() 84 mask = FieldMask.newBuilder().addPaths("foo").addPaths("bar").build(); in testToString() 85 assertEquals("foo,bar", FieldMaskUtil.toString(mask)); in testToString() 88 mask = FieldMask.newBuilder().addPaths("").addPaths("foo").addPaths(""). in testToString() 90 assertEquals("foo,bar", FieldMaskUtil.toString(mask)); in testToString() 94 FieldMask mask = FieldMaskUtil.fromString(""); in testFromString() local 95 assertEquals(0, mask.getPathsCount()); in testFromString() 96 mask = FieldMaskUtil.fromString("foo"); in testFromString() 97 assertEquals(1, mask.getPathsCount()); in testFromString() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | bitops.c | 36 int mask, retval; in ext2fs_set_bit() local 40 mask = 1 << (nr & 0x07); in ext2fs_set_bit() 41 retval = mask & *ADDR; in ext2fs_set_bit() 42 *ADDR |= mask; in ext2fs_set_bit() 48 int mask, retval; in ext2fs_clear_bit() local 52 mask = 1 << (nr & 0x07); in ext2fs_clear_bit() 53 retval = mask & *ADDR; in ext2fs_clear_bit() 54 *ADDR &= ~mask; in ext2fs_clear_bit() 60 int mask; in ext2fs_test_bit() local 64 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/fio/os/ |
D | os-dragonfly.h | 60 #define CPUMASK_ORBIT(mask, i) ((mask).ary[((i) >> 6) & 3] |= \ argument 62 #define CPUMASK_NANDBIT(mask, i) ((mask).ary[((i) >> 6) & 3] &= \ argument 64 #define CPUMASK_ASSZERO(mask) do { \ argument 65 (mask).ary[0] = 0; \ 66 (mask).ary[1] = 0; \ 67 (mask).ary[2] = 0; \ 68 (mask).ary[3] = 0; \ 86 #define fio_cpu_count(mask) CPU_COUNT((mask)) argument 88 static inline int fio_cpuset_init(os_cpu_mask_t *mask) in fio_cpuset_init() argument 90 CPUMASK_ASSZERO(*mask); in fio_cpuset_init() [all …]
|
/external/strace/tests/ |
D | sigaction.c | 45 unsigned long mask[1]; member 48 unsigned long mask[1]; 52 unsigned long mask[1]; 69 unsigned long mask[4]; member 105 } mask; in main() local 142 sigemptyset(mask.libc); in main() 143 sigaddset(mask.libc, SIGHUP); in main() 144 sigaddset(mask.libc, SIGINT); in main() 147 memcpy(new_act->mask, mask.old, sizeof(mask.old)); in main() 155 sigemptyset(mask.libc); in main() [all …]
|
/external/strace/tests-mx32/ |
D | sigaction.c | 45 unsigned long mask[1]; member 48 unsigned long mask[1]; 52 unsigned long mask[1]; 69 unsigned long mask[4]; member 105 } mask; in main() local 142 sigemptyset(mask.libc); in main() 143 sigaddset(mask.libc, SIGHUP); in main() 144 sigaddset(mask.libc, SIGINT); in main() 147 memcpy(new_act->mask, mask.old, sizeof(mask.old)); in main() 155 sigemptyset(mask.libc); in main() [all …]
|
/external/strace/tests-m32/ |
D | sigaction.c | 45 unsigned long mask[1]; member 48 unsigned long mask[1]; 52 unsigned long mask[1]; 69 unsigned long mask[4]; member 105 } mask; in main() local 142 sigemptyset(mask.libc); in main() 143 sigaddset(mask.libc, SIGHUP); in main() 144 sigaddset(mask.libc, SIGINT); in main() 147 memcpy(new_act->mask, mask.old, sizeof(mask.old)); in main() 155 sigemptyset(mask.libc); in main() [all …]
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_blit.h | 133 const unsigned mask = info->mask; in nv50_blit_derive_color_mask() local 141 if (mask & PIPE_MASK_S) in nv50_blit_derive_color_mask() 143 if (mask & PIPE_MASK_Z) in nv50_blit_derive_color_mask() 149 if (mask & PIPE_MASK_S) in nv50_blit_derive_color_mask() 151 if (mask & PIPE_MASK_Z) in nv50_blit_derive_color_mask() 155 if (mask & (PIPE_MASK_R | PIPE_MASK_Z)) color_mask |= 0x0001; in nv50_blit_derive_color_mask() 156 if (mask & (PIPE_MASK_G | PIPE_MASK_S)) color_mask |= 0x0010; in nv50_blit_derive_color_mask() 157 if (mask & PIPE_MASK_B) color_mask |= 0x0100; in nv50_blit_derive_color_mask() 158 if (mask & PIPE_MASK_A) color_mask |= 0x1000; in nv50_blit_derive_color_mask() 168 uint32_t mask = 0; in nv50_blit_eng2d_get_mask() local [all …]
|
/external/e2fsprogs/lib/e2p/ |
D | feature.c | 25 unsigned int mask; member 128 const char *e2p_feature2string(int compat, unsigned int mask) in e2p_feature2string() argument 137 (mask == f->mask)) in e2p_feature2string() 154 for (fnum = 0; mask >>= 1; fnum++); in e2p_feature2string() 159 int e2p_string2feature(char *string, int *compat_type, unsigned int *mask) in e2p_string2feature() argument 168 *mask = f->mask; in e2p_string2feature() 198 *mask = 1 << num; in e2p_string2feature() 202 const char *e2p_jrnl_feature2string(int compat, unsigned int mask) in e2p_jrnl_feature2string() argument 211 (mask == f->mask)) in e2p_jrnl_feature2string() 228 for (fnum = 0; mask >>= 1; fnum++); in e2p_jrnl_feature2string() [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/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/util/ |
D | bitscan.h | 95 u_bit_scan(unsigned *mask) in u_bit_scan() argument 97 const int i = ffs(*mask) - 1; in u_bit_scan() 98 *mask ^= (1u << i); in u_bit_scan() 103 u_bit_scan64(uint64_t *mask) in u_bit_scan64() argument 105 const int i = ffsll(*mask) - 1; in u_bit_scan64() 106 *mask ^= (((uint64_t)1) << i); in u_bit_scan64() 123 u_bit_scan_consecutive_range(unsigned *mask, int *start, int *count) in u_bit_scan_consecutive_range() argument 125 if (*mask == 0xffffffff) { in u_bit_scan_consecutive_range() 128 *mask = 0; in u_bit_scan_consecutive_range() 131 *start = ffs(*mask) - 1; in u_bit_scan_consecutive_range() [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/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()
|