Home
last modified time | relevance | path

Searched refs:mask (Results 1 – 25 of 3862) sorted by relevance

12345678910>>...155

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_ir_common.c41 func_ctx(struct lp_exec_mask *mask) in func_ctx() argument
43 assert(mask->function_stack_size > 0); in func_ctx()
44 assert(mask->function_stack_size <= LP_MAX_NUM_FUNCS); in func_ctx()
45 return &mask->function_stack[mask->function_stack_size - 1]; in func_ctx()
55 mask_has_loop(struct lp_exec_mask *mask) in mask_has_loop() argument
58 for (i = mask->function_stack_size - 1; i >= 0; --i) { in mask_has_loop()
59 const struct function_ctx *ctx = &mask->function_stack[i]; in mask_has_loop()
73 mask_has_switch(struct lp_exec_mask *mask) in mask_has_switch() argument
76 for (i = mask->function_stack_size - 1; i >= 0; --i) { in mask_has_switch()
77 const struct function_ctx *ctx = &mask->function_stack[i]; in mask_has_switch()
[all …]
/third_party/alsa-lib/src/pcm/
Dmask_inline.h72 MASK_INLINE void snd_mask_none(snd_mask_t *mask) in snd_mask_none() argument
74 memset(mask, 0, sizeof(*mask)); in snd_mask_none()
77 MASK_INLINE void snd_mask_any(snd_mask_t *mask) in snd_mask_any() argument
79 memset(mask, 0xff, MASK_SIZE * sizeof(uint32_t)); in snd_mask_any()
82 MASK_INLINE int snd_mask_empty(const snd_mask_t *mask) in snd_mask_empty() argument
86 if (mask->bits[i]) in snd_mask_empty()
91 MASK_INLINE int snd_mask_full(const snd_mask_t *mask) in snd_mask_full() argument
95 if (mask->bits[i] != 0xffffffff) in snd_mask_full()
100 MASK_INLINE unsigned int snd_mask_count(const snd_mask_t *mask) in snd_mask_count() argument
104 w += hweight32(mask->bits[i]); in snd_mask_count()
[all …]
Dmask.h29 void snd_mask_none(snd_mask_t *mask);
30 void snd_mask_any(snd_mask_t *mask);
31 void snd_mask_load(snd_mask_t *mask, unsigned int msk);
32 int snd_mask_empty(const snd_mask_t *mask);
33 int snd_mask_full(const snd_mask_t *mask);
34 void snd_mask_set(snd_mask_t *mask, unsigned int val);
35 void snd_mask_reset(snd_mask_t *mask, unsigned int val);
36 void snd_mask_copy(snd_mask_t *mask, const snd_mask_t *v);
37 int snd_mask_test(const snd_mask_t *mask, unsigned int val);
38 void snd_mask_intersect(snd_mask_t *mask, const snd_mask_t *v);
[all …]
/third_party/protobuf/src/google/protobuf/util/
Dfield_mask_util_test.cc124 FieldMask mask; in TEST() local
125 EXPECT_EQ("", FieldMaskUtil::ToString(mask)); in TEST()
126 mask.add_paths("foo_bar"); in TEST()
127 EXPECT_EQ("foo_bar", FieldMaskUtil::ToString(mask)); in TEST()
128 mask.add_paths("baz_quz"); in TEST()
129 EXPECT_EQ("foo_bar,baz_quz", FieldMaskUtil::ToString(mask)); in TEST()
131 FieldMaskUtil::FromString("", &mask); in TEST()
132 EXPECT_EQ(0, mask.paths_size()); in TEST()
133 FieldMaskUtil::FromString("fooBar", &mask); in TEST()
134 EXPECT_EQ(1, mask.paths_size()); in TEST()
[all …]
/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/
DFieldMaskUtilTest.java81 FieldMask mask = FieldMask.newBuilder().addPaths("foo").build(); in testToString() local
82 assertEquals("foo", FieldMaskUtil.toString(mask)); in testToString()
83 mask = FieldMask.newBuilder().addPaths("foo").addPaths("bar").build(); in testToString()
84 assertEquals("foo,bar", FieldMaskUtil.toString(mask)); in testToString()
87 mask = in testToString()
95 assertEquals("foo,bar", FieldMaskUtil.toString(mask)); in testToString()
99 FieldMask mask = FieldMaskUtil.fromString(""); in testFromString() local
100 assertEquals(0, mask.getPathsCount()); in testFromString()
101 mask = FieldMaskUtil.fromString("foo"); in testFromString()
102 assertEquals(1, mask.getPathsCount()); in testFromString()
[all …]
/third_party/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/
Dht_affinity.c43 #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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/
DBlockVerifier.cpp15 constexpr unsigned long long mask(BlockVerifier::State S) { in mask() function
65 {mask(State::BufferExtents) | mask(State::NewBuffer)}}, in transition()
67 {State::BufferExtents, {mask(State::NewBuffer)}}, in transition()
69 {State::NewBuffer, {mask(State::WallClockTime)}}, in transition()
72 {mask(State::PIDEntry) | mask(State::NewCPUId)}}, in transition()
74 {State::PIDEntry, {mask(State::NewCPUId)}}, in transition()
77 {mask(State::NewCPUId) | mask(State::TSCWrap) | in transition()
78 mask(State::CustomEvent) | mask(State::Function) | in transition()
79 mask(State::EndOfBuffer) | mask(State::TypedEvent)}}, in transition()
82 {mask(State::TSCWrap) | mask(State::NewCPUId) | in transition()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/deqp_support/
Ddeqp_khr_gles31_test_expectations.txt128 5990 PIXEL4ORXL VULKAN : KHR-GLES31.core.sample_variables.mask.rgba32f.samples_0.mask_0 = SKIP
129 5990 PIXEL4ORXL VULKAN : KHR-GLES31.core.sample_variables.mask.rgba32f.samples_0.mask_1 = SKIP
130 5990 PIXEL4ORXL VULKAN : KHR-GLES31.core.sample_variables.mask.rgba32f.samples_0.mask_2 = SKIP
131 5990 PIXEL4ORXL VULKAN : KHR-GLES31.core.sample_variables.mask.rgba32f.samples_0.mask_3 = SKIP
132 5990 PIXEL4ORXL VULKAN : KHR-GLES31.core.sample_variables.mask.rgba32f.samples_0.mask_4 = SKIP
133 5990 PIXEL4ORXL VULKAN : KHR-GLES31.core.sample_variables.mask.rgba32f.samples_0.mask_5 = SKIP
134 5990 PIXEL4ORXL VULKAN : KHR-GLES31.core.sample_variables.mask.rgba32f.samples_0.mask_6 = SKIP
135 5990 PIXEL4ORXL VULKAN : KHR-GLES31.core.sample_variables.mask.rgba32f.samples_0.mask_7 = SKIP
136 5990 PIXEL4ORXL VULKAN : KHR-GLES31.core.sample_variables.mask.rgba32f.samples_0.mask_zero = SKIP
137 5990 PIXEL4ORXL VULKAN : KHR-GLES31.core.sample_variables.mask.rgba32f.samples_1.mask_0 = SKIP
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/linux/
Dinotify.c27 uint32_t mask; member
36 static int inotify_add_watch_test(int fd, uint32_t mask) in inotify_add_watch_test() argument
39 return inotify_add_watch(fd, "/data", mask); in inotify_add_watch_test()
57 struct inotify_test data[TEST_DATA_COUNT] = {{.fd = fd, .wd = -1, .mask = IN_ACCESS}, in inotify_test()
58 {.fd = fd, .wd = -1, .mask = IN_MODIFY}, in inotify_test()
59 {.fd = fd, .wd = -1, .mask = IN_ATTRIB}, in inotify_test()
60 {.fd = fd, .wd = -1, .mask = IN_CLOSE_WRITE}, in inotify_test()
61 {.fd = fd, .wd = -1, .mask = IN_CLOSE_NOWRITE}, in inotify_test()
62 {.fd = fd, .wd = -1, .mask = IN_OPEN}, in inotify_test()
63 {.fd = fd, .wd = -1, .mask = IN_MOVED_FROM}, in inotify_test()
[all …]
/third_party/gstreamer/gstplugins_good/gst/smpte/
Dgstmask.c76 GstMask *mask = NULL; in gst_mask_factory_new() local
80 mask = g_new0 (GstMask, 1); in gst_mask_factory_new()
82 mask->type = definition->type; in gst_mask_factory_new()
83 mask->bpp = bpp; in gst_mask_factory_new()
84 mask->width = width; in gst_mask_factory_new()
85 mask->height = height; in gst_mask_factory_new()
86 mask->destroy_func = definition->destroy_func; in gst_mask_factory_new()
87 mask->user_data = definition->user_data; in gst_mask_factory_new()
91 g_free (mask); in gst_mask_factory_new()
95 mask->data = g_malloc (width * height * sizeof (guint32)); in gst_mask_factory_new()
[all …]
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dapev2mux.c47 test_taglib_apev2mux_create_tags (guint32 mask) in test_taglib_apev2mux_create_tags() argument
53 if (mask & (1 << 0)) { in test_taglib_apev2mux_create_tags()
57 if (mask & (1 << 1)) { in test_taglib_apev2mux_create_tags()
61 if (mask & (1 << 2)) { in test_taglib_apev2mux_create_tags()
65 if (mask & (1 << 3)) { in test_taglib_apev2mux_create_tags()
72 if (mask & (1 << 4)) { in test_taglib_apev2mux_create_tags()
76 if (mask & (1 << 5)) { in test_taglib_apev2mux_create_tags()
80 if (mask & (1 << 6)) { in test_taglib_apev2mux_create_tags()
84 if (mask & (1 << 7)) { in test_taglib_apev2mux_create_tags()
88 if (mask & (1 << 8)) { in test_taglib_apev2mux_create_tags()
[all …]
Did3v2mux.c63 test_taglib_id3mux_create_tags (guint32 mask) in test_taglib_id3mux_create_tags() argument
69 if (mask & (1 << 0)) { in test_taglib_id3mux_create_tags()
73 if (mask & (1 << 1)) { in test_taglib_id3mux_create_tags()
77 if (mask & (1 << 2)) { in test_taglib_id3mux_create_tags()
81 if (mask & (1 << 3)) { in test_taglib_id3mux_create_tags()
88 if (mask & (1 << 4)) { in test_taglib_id3mux_create_tags()
92 if (mask & (1 << 5)) { in test_taglib_id3mux_create_tags()
96 if (mask & (1 << 6)) { in test_taglib_id3mux_create_tags()
100 if (mask & (1 << 7)) { in test_taglib_id3mux_create_tags()
104 if (mask & (1 << 8)) { in test_taglib_id3mux_create_tags()
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_blit.h135 const unsigned mask = info->mask; in nv50_blit_derive_color_mask() local
143 if (mask & PIPE_MASK_S) in nv50_blit_derive_color_mask()
145 if (mask & PIPE_MASK_Z) in nv50_blit_derive_color_mask()
151 if (mask & PIPE_MASK_S) in nv50_blit_derive_color_mask()
153 if (mask & PIPE_MASK_Z) in nv50_blit_derive_color_mask()
157 if (mask & (PIPE_MASK_R | PIPE_MASK_Z)) color_mask |= 0x0001; in nv50_blit_derive_color_mask()
158 if (mask & (PIPE_MASK_G | PIPE_MASK_S)) color_mask |= 0x0010; in nv50_blit_derive_color_mask()
159 if (mask & PIPE_MASK_B) color_mask |= 0x0100; in nv50_blit_derive_color_mask()
160 if (mask & PIPE_MASK_A) color_mask |= 0x1000; in nv50_blit_derive_color_mask()
170 uint32_t mask = 0; in nv50_blit_eng2d_get_mask() local
[all …]
/third_party/skia/tests/sksl/errors/
DSwizzleDomain.glsl3 error: 5: invalid swizzle mask 'xyra'
4 error: 6: invalid swizzle mask 'zxtq'
5 error: 7: invalid swizzle mask 'wwRB'
6 error: 9: invalid swizzle mask 'rgxy'
7 error: 10: invalid swizzle mask 'bast'
8 error: 11: invalid swizzle mask 'gbLT'
9 error: 13: invalid swizzle mask 'sxyz'
10 error: 14: invalid swizzle mask 'tpbb'
11 error: 15: invalid swizzle mask 'qsTR'
12 error: 17: invalid swizzle mask 'LTxy'
[all …]
/third_party/skia/tests/
DMaskCacheTest.cpp39 SkMask mask; in DEF_TEST() local
41 SkCachedData* data = SkMaskCache::FindAndRef(sigma, style, rrect, &mask, &cache); in DEF_TEST()
47 mask.fBounds.setXYWH(0, 0, 100, 100); in DEF_TEST()
48 mask.fRowBytes = 100; in DEF_TEST()
49 mask.fFormat = SkMask::kBW_Format; in DEF_TEST()
50 SkMaskCache::Add(sigma, style, rrect, mask, data, &cache); in DEF_TEST()
56 sk_bzero(&mask, sizeof(mask)); in DEF_TEST()
57 data = SkMaskCache::FindAndRef(sigma, style, rrect, &mask, &cache); in DEF_TEST()
60 REPORTER_ASSERT(reporter, mask.fBounds.top() == 0 && mask.fBounds.bottom() == 100); in DEF_TEST()
61 REPORTER_ASSERT(reporter, data->data() == (const void*)mask.fImage); in DEF_TEST()
[all …]
/third_party/mesa3d/src/panfrost/util/
Dpan_ir.c33 pan_to_bytemask(unsigned bytes, unsigned mask) in pan_to_bytemask() argument
37 assert(mask == 0); in pan_to_bytemask()
41 return mask; in pan_to_bytemask()
45 (mask & 0x1) | in pan_to_bytemask()
46 ((mask & 0x2) << (2 - 1)) | in pan_to_bytemask()
47 ((mask & 0x4) << (4 - 2)) | in pan_to_bytemask()
48 ((mask & 0x8) << (6 - 3)) | in pan_to_bytemask()
49 ((mask & 0x10) << (8 - 4)) | in pan_to_bytemask()
50 ((mask & 0x20) << (10 - 5)) | in pan_to_bytemask()
51 ((mask & 0x40) << (12 - 6)) | in pan_to_bytemask()
[all …]
/third_party/ltp/lib/
Dtst_taint.c26 static int tst_taint_check_kver(unsigned int mask) in tst_taint_check_kver() argument
32 if (mask & TST_TAINT_X) { in tst_taint_check_kver()
35 } else if (mask & TST_TAINT_K) { in tst_taint_check_kver()
38 } else if (mask & TST_TAINT_L) { in tst_taint_check_kver()
41 } else if (mask & TST_TAINT_E) { in tst_taint_check_kver()
44 } else if (mask & TST_TAINT_O) { in tst_taint_check_kver()
47 } else if (mask & TST_TAINT_I) { in tst_taint_check_kver()
51 } else if (mask & TST_TAINT_C) { in tst_taint_check_kver()
55 } else if (mask & TST_TAINT_W) { in tst_taint_check_kver()
59 } else if (mask & TST_TAINT_A) { in tst_taint_check_kver()
[all …]
/third_party/protobuf/python/google/protobuf/internal/
Dwell_known_types_test.py394 mask = field_mask_pb2.FieldMask()
395 self.assertEqual('', mask.ToJsonString())
396 mask.paths.append('foo')
397 self.assertEqual('foo', mask.ToJsonString())
398 mask.paths.append('bar')
399 self.assertEqual('foo,bar', mask.ToJsonString())
401 mask.FromJsonString('')
402 self.assertEqual('', mask.ToJsonString())
403 mask.FromJsonString('foo')
404 self.assertEqual(['foo'], mask.paths)
[all …]
/third_party/openssl/include/internal/
Dconstant_time.h80 static ossl_inline unsigned int constant_time_select(unsigned int mask,
84 static ossl_inline unsigned char constant_time_select_8(unsigned char mask,
89 static ossl_inline uint32_t constant_time_select_32(uint32_t mask, uint32_t a,
93 static ossl_inline uint64_t constant_time_select_64(uint64_t mask, uint64_t a,
96 static ossl_inline int constant_time_select_int(unsigned int mask, int a,
276 static ossl_inline unsigned int constant_time_select(unsigned int mask, in constant_time_select() argument
280 return (value_barrier(mask) & a) | (value_barrier(~mask) & b); in constant_time_select()
283 static ossl_inline size_t constant_time_select_s(size_t mask, in constant_time_select_s() argument
287 return (value_barrier_s(mask) & a) | (value_barrier_s(~mask) & b); in constant_time_select_s()
290 static ossl_inline unsigned char constant_time_select_8(unsigned char mask, in constant_time_select_8() argument
[all …]
/third_party/node/deps/openssl/openssl/include/internal/
Dconstant_time.h80 static ossl_inline unsigned int constant_time_select(unsigned int mask,
84 static ossl_inline unsigned char constant_time_select_8(unsigned char mask,
89 static ossl_inline uint32_t constant_time_select_32(uint32_t mask, uint32_t a,
93 static ossl_inline uint64_t constant_time_select_64(uint64_t mask, uint64_t a,
96 static ossl_inline int constant_time_select_int(unsigned int mask, int a,
276 static ossl_inline unsigned int constant_time_select(unsigned int mask, in constant_time_select() argument
280 return (value_barrier(mask) & a) | (value_barrier(~mask) & b); in constant_time_select()
283 static ossl_inline size_t constant_time_select_s(size_t mask, in constant_time_select_s() argument
287 return (value_barrier_s(mask) & a) | (value_barrier_s(~mask) & b); in constant_time_select_s()
290 static ossl_inline unsigned char constant_time_select_8(unsigned char mask, in constant_time_select_8() argument
[all …]
/third_party/skia/src/core/
DSkDraw_text.cpp60 SkMask mask = glyph->mask(pos); in paintMasks() local
62 SkRegion::Cliperator clipper(fRC->bwRgn(), mask.fBounds); in paintMasks()
65 if (SkMask::kARGB32_Format == mask.fFormat) { in paintMasks()
67 bm.installPixels(SkImageInfo::MakeN32Premul(mask.fBounds.size()), in paintMasks()
68 mask.fImage, in paintMasks()
69 mask.fRowBytes); in paintMasks()
70 this->drawSprite(bm, mask.fBounds.x(), mask.fBounds.y(), paint); in paintMasks()
74 blitter->blitMask(mask, cr); in paintMasks()
87 SkMask mask = glyph->mask(pos); in paintMasks() local
89 const SkIRect* bounds = &mask.fBounds; in paintMasks()
[all …]
/third_party/optimized-routines/math/test/rtest/
Drandom.c61 uint32 mask = 0xFFFFFFFF; in random_upto_makemask() local
64 if ((limit & (mask >> i)) == limit) in random_upto_makemask()
65 mask >>= i; in random_upto_makemask()
66 return mask; in random_upto_makemask()
69 static uint32 random_upto_internal(uint32 limit, uint32 mask) { in random_upto_internal() argument
72 ret = random32() & mask; in random_upto_internal()
78 uint32 mask = random_upto_makemask(limit); in random_upto() local
79 return random_upto_internal(limit, mask); in random_upto()
83 uint32 mask = random_upto_makemask(limit); in random_upto_biased() local
85 uint32 ret = random_upto_internal(limit, mask); in random_upto_biased()
[all …]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/component/
DLookupFlag.java10 return isFlagSet(flags, mask); in isSet()
14 return setFlag(flags, mask); in set()
18 return clearFlag(flags, mask); in clear()
21 private final int mask; field in LookupFlag
22 private LookupFlag(int mask) { in LookupFlag() argument
23 this.mask = mask; in LookupFlag()
26 static boolean isFlagSet(int flags, int mask) { in isFlagSet() argument
27 return (flags & mask) != 0; in isFlagSet()
30 static int setFlag(int flags, int mask) { in setFlag() argument
31 return flags | mask; in setFlag()
[all …]
/third_party/openssl/ohos_lite/include/internal/
Dconstant_time.h79 static ossl_inline unsigned int constant_time_select(unsigned int mask,
83 static ossl_inline unsigned char constant_time_select_8(unsigned char mask,
88 static ossl_inline uint32_t constant_time_select_32(uint32_t mask, uint32_t a,
92 static ossl_inline uint64_t constant_time_select_64(uint64_t mask, uint64_t a,
95 static ossl_inline int constant_time_select_int(unsigned int mask, int a,
270 static ossl_inline unsigned int constant_time_select(unsigned int mask, in constant_time_select() argument
274 return (value_barrier(mask) & a) | (value_barrier(~mask) & b); in constant_time_select()
277 static ossl_inline size_t constant_time_select_s(size_t mask, in constant_time_select_s() argument
281 return (value_barrier_s(mask) & a) | (value_barrier_s(~mask) & b); in constant_time_select_s()
284 static ossl_inline unsigned char constant_time_select_8(unsigned char mask, in constant_time_select_8() argument
[all …]
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Did3mux.c65 test_taglib_id3mux_create_tags (guint32 mask) in test_taglib_id3mux_create_tags() argument
71 if (mask & (1 << 0)) { in test_taglib_id3mux_create_tags()
75 if (mask & (1 << 1)) { in test_taglib_id3mux_create_tags()
79 if (mask & (1 << 2)) { in test_taglib_id3mux_create_tags()
83 if (mask & (1 << 3)) { in test_taglib_id3mux_create_tags()
90 if (mask & (1 << 4)) { in test_taglib_id3mux_create_tags()
94 if (mask & (1 << 5)) { in test_taglib_id3mux_create_tags()
98 if (mask & (1 << 6)) { in test_taglib_id3mux_create_tags()
102 if (mask & (1 << 7)) { in test_taglib_id3mux_create_tags()
106 if (mask & (1 << 8)) { in test_taglib_id3mux_create_tags()
[all …]

12345678910>>...155