Home
last modified time | relevance | path

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

12345678910>>...213

/external/arm-trusted-firmware/drivers/marvell/comphy/
Dphy-comphy-cp110.c109 uint32_t reg, mask, field; in mvebu_cp110_comphy_clr_pipe_selector() local
113 mask = COMMON_SELECTOR_COMPHY_MASK << comphy_offset; in mvebu_cp110_comphy_clr_pipe_selector()
115 field = reg & mask; in mvebu_cp110_comphy_clr_pipe_selector()
118 reg &= ~mask; in mvebu_cp110_comphy_clr_pipe_selector()
128 uint32_t reg, mask, field; in mvebu_cp110_comphy_clr_phy_selector() local
132 mask = COMMON_SELECTOR_COMPHY_MASK << comphy_offset; in mvebu_cp110_comphy_clr_phy_selector()
134 field = reg & mask; in mvebu_cp110_comphy_clr_phy_selector()
142 reg &= ~mask; in mvebu_cp110_comphy_clr_phy_selector()
152 uint32_t reg, mask; in mvebu_cp110_comphy_set_phy_selector() local
167 mask = COMMON_SELECTOR_COMPHY_MASK << comphy_offset; in mvebu_cp110_comphy_set_phy_selector()
[all …]
/external/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 …]
/external/llvm-project/clang/test/CodeGen/
Dms-intrinsics.c255 char test_InterlockedExchange8(char volatile *value, char mask) { in test_InterlockedExchange8() argument
256 return _InterlockedExchange8(value, mask); in test_InterlockedExchange8()
263 short test_InterlockedExchange16(short volatile *value, short mask) { in test_InterlockedExchange16() argument
264 return _InterlockedExchange16(value, mask); in test_InterlockedExchange16()
271 long test_InterlockedExchange(long volatile *value, long mask) { in test_InterlockedExchange() argument
272 return _InterlockedExchange(value, mask); in test_InterlockedExchange()
279 char test_InterlockedExchangeAdd8(char volatile *value, char mask) { in test_InterlockedExchangeAdd8() argument
280 return _InterlockedExchangeAdd8(value, mask); in test_InterlockedExchangeAdd8()
287 short test_InterlockedExchangeAdd16(short volatile *value, short mask) { in test_InterlockedExchangeAdd16() argument
288 return _InterlockedExchangeAdd16(value, mask); in test_InterlockedExchangeAdd16()
[all …]
Dms-intrinsics-other.c86 LONG test_InterlockedExchange(LONG volatile *value, LONG mask) { in test_InterlockedExchange() argument
87 return _InterlockedExchange(value, mask); in test_InterlockedExchange()
94 LONG test_InterlockedExchangeAdd(LONG volatile *value, LONG mask) { in test_InterlockedExchangeAdd() argument
95 return _InterlockedExchangeAdd(value, mask); in test_InterlockedExchangeAdd()
102 LONG test_InterlockedExchangeSub(LONG volatile *value, LONG mask) { in test_InterlockedExchangeSub() argument
103 return _InterlockedExchangeSub(value, mask); in test_InterlockedExchangeSub()
110 LONG test_InterlockedOr(LONG volatile *value, LONG mask) { in test_InterlockedOr() argument
111 return _InterlockedOr(value, mask); in test_InterlockedOr()
118 LONG test_InterlockedXor(LONG volatile *value, LONG mask) { in test_InterlockedXor() argument
119 return _InterlockedXor(value, mask); in test_InterlockedXor()
[all …]
Dbuiltins-nvptx-ptx60.cu29 __device__ void nvvm_sync(unsigned mask, int i, float f, int a, int b, in nvvm_sync() argument
34 __nvvm_bar_warp_sync(mask); in nvvm_sync()
37 __nvvm_barrier_sync(mask); in nvvm_sync()
40 __nvvm_barrier_sync_cnt(mask, i); in nvvm_sync()
47 __nvvm_shfl_sync_down_i32(mask, i, a, b); in nvvm_sync()
50 __nvvm_shfl_sync_down_f32(mask, f, a, b); in nvvm_sync()
53 __nvvm_shfl_sync_up_i32(mask, i, a, b); in nvvm_sync()
56 __nvvm_shfl_sync_up_f32(mask, f, a, b); in nvvm_sync()
59 __nvvm_shfl_sync_bfly_i32(mask, i, a, b); in nvvm_sync()
62 __nvvm_shfl_sync_bfly_f32(mask, f, a, b); in nvvm_sync()
[all …]
/external/protobuf/src/google/protobuf/util/
Dfield_mask_util_test.cc123 FieldMask mask; in TEST() local
124 EXPECT_EQ("", FieldMaskUtil::ToString(mask)); in TEST()
125 mask.add_paths("foo_bar"); in TEST()
126 EXPECT_EQ("foo_bar", FieldMaskUtil::ToString(mask)); in TEST()
127 mask.add_paths("baz_quz"); in TEST()
128 EXPECT_EQ("foo_bar,baz_quz", FieldMaskUtil::ToString(mask)); in TEST()
130 FieldMaskUtil::FromString("", &mask); in TEST()
131 EXPECT_EQ(0, mask.paths_size()); in TEST()
132 FieldMaskUtil::FromString("fooBar", &mask); in TEST()
133 EXPECT_EQ(1, mask.paths_size()); in TEST()
[all …]
/external/mesa3d/src/mesa/math/
Dm_clip_tmp.h65 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/protobuf/java/util/src/test/java/com/google/protobuf/util/
DFieldMaskUtilTest.java79 FieldMask mask = FieldMask.newBuilder().addPaths("foo").build(); in testToString() local
80 assertEquals("foo", FieldMaskUtil.toString(mask)); in testToString()
81 mask = FieldMask.newBuilder().addPaths("foo").addPaths("bar").build(); in testToString()
82 assertEquals("foo,bar", FieldMaskUtil.toString(mask)); in testToString()
85 mask = in testToString()
93 assertEquals("foo,bar", FieldMaskUtil.toString(mask)); in testToString()
97 FieldMask mask = FieldMaskUtil.fromString(""); in testFromString() local
98 assertEquals(0, mask.getPathsCount()); in testFromString()
99 mask = FieldMaskUtil.fromString("foo"); in testFromString()
100 assertEquals(1, mask.getPathsCount()); in testFromString()
[all …]
/external/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 …]
/external/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 …]
/external/llvm-project/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 …]
/external/libgav1/libgav1/src/dsp/x86/
Dweight_mask_sse4.cc41 const int16_t* prediction_1, uint8_t* mask, in WeightMask16_SSE4() argument
64 StoreAligned16(mask, inverted_mask_value); in WeightMask16_SSE4()
66 StoreLo8(mask, inverted_mask_value); in WeightMask16_SSE4()
67 StoreHi8(mask + mask_stride, inverted_mask_value); in WeightMask16_SSE4()
71 StoreAligned16(mask, mask_value); in WeightMask16_SSE4()
73 StoreLo8(mask, mask_value); in WeightMask16_SSE4()
74 StoreHi8(mask + mask_stride, mask_value); in WeightMask16_SSE4()
80 WeightMask16_SSE4<mask_is_inverse, false>(pred_0, pred_1, mask, mask_stride)
86 mask += mask_stride << 1
90 uint8_t* mask, ptrdiff_t mask_stride) { in WeightMask8x8_SSE4() argument
[all …]
/external/webrtc/call/
Drtp_bitrate_configurator_unittest.cc124 BitrateSettings mask; in TEST_F() local
125 mask.min_bitrate_bps = 1234; in TEST_F()
126 UpdateMaskMatches(mask, *mask.min_bitrate_bps, nullopt, nullopt); in TEST_F()
130 BitrateSettings mask; in TEST_F() local
131 mask.min_bitrate_bps = 1000; in TEST_F()
132 UpdateMaskMatches(mask, 1000, nullopt, nullopt); in TEST_F()
141 BitrateSettings mask; in TEST_F() local
142 mask.start_bitrate_bps = 1300; in TEST_F()
143 UpdateMaskMatches(mask, nullopt, *mask.start_bitrate_bps, nullopt); in TEST_F()
157 BitrateSettings mask; in TEST_F() local
[all …]
/external/libgav1/libgav1/src/dsp/arm/
Dweight_mask_neon.cc42 const int16_t* prediction_1, uint8_t* mask) { in WeightMask8_NEON() argument
54 vst1_u8(mask, inverted_mask_value); in WeightMask8_NEON()
56 vst1_u8(mask, mask_value); in WeightMask8_NEON()
61 WeightMask8_NEON<mask_is_inverse>(pred_0, pred_1, mask)
67 mask += mask_stride
71 uint8_t* mask, ptrdiff_t mask_stride) { in WeightMask8x8_NEON() argument
83 uint8_t* mask, ptrdiff_t mask_stride) { in WeightMask8x16_NEON() argument
97 uint8_t* mask, ptrdiff_t mask_stride) { in WeightMask8x32_NEON() argument
113 WeightMask8_NEON<mask_is_inverse>(pred_0, pred_1, mask); \
114 WeightMask8_NEON<mask_is_inverse>(pred_0 + 8, pred_1 + 8, mask + 8)
[all …]
/external/mesa3d/src/compiler/glsl/
Dopt_swizzle.cpp72 if (swiz2->mask.num_components >= 1) in handle_rvalue()
73 mask2[0] = swiz2->mask.x; in handle_rvalue()
74 if (swiz2->mask.num_components >= 2) in handle_rvalue()
75 mask2[1] = swiz2->mask.y; in handle_rvalue()
76 if (swiz2->mask.num_components >= 3) in handle_rvalue()
77 mask2[2] = swiz2->mask.z; in handle_rvalue()
78 if (swiz2->mask.num_components >= 4) in handle_rvalue()
79 mask2[3] = swiz2->mask.w; in handle_rvalue()
81 if (swiz->mask.num_components >= 1) in handle_rvalue()
82 swiz->mask.x = mask2[swiz->mask.x]; in handle_rvalue()
[all …]
/external/openssh/openbsd-compat/
Dsigact.c56 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/llvm-project/llvm/test/CodeGen/X86/
Dvector-shuffle-masked.ll4 define <4 x i32> @mask_shuffle_v4i32_1234(<4 x i32> %a, <4 x i32> %b, <4 x i32> %passthru, i8 %mask
12 %mask.cast = bitcast i8 %mask to <8 x i1>
13 …%mask.extract = shufflevector <8 x i1> %mask.cast, <8 x i1> undef, <4 x i32> <i32 0, i32 1, i32 2,…
14 %res = select <4 x i1> %mask.extract, <4 x i32> %shuffle, <4 x i32> %passthru
18 define <4 x i32> @maskz_shuffle_v4i32_1234(<4 x i32> %a, <4 x i32> %b, i8 %mask) {
25 %mask.cast = bitcast i8 %mask to <8 x i1>
26 …%mask.extract = shufflevector <8 x i1> %mask.cast, <8 x i1> undef, <4 x i32> <i32 0, i32 1, i32 2,…
27 %res = select <4 x i1> %mask.extract, <4 x i32> %shuffle, <4 x i32> zeroinitializer
31 define <4 x i32> @mask_shuffle_v4i32_2345(<4 x i32> %a, <4 x i32> %b, <4 x i32> %passthru, i8 %mask
39 %mask.cast = bitcast i8 %mask to <8 x i1>
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_bitmap.c83 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/llvm-project/lldb/tools/debugserver/source/
DPThreadEvent.cpp31 uint32_t mask = 1; in NewEventBit() local
32 while (mask & m_validBits) in NewEventBit()
33 mask <<= 1; in NewEventBit()
34 m_validBits |= mask; in NewEventBit()
35 return mask; in NewEventBit()
38 void PThreadEvent::FreeEventBits(const uint32_t mask) { in FreeEventBits() argument
41 if (mask) { in FreeEventBits()
43 m_bits &= ~mask; in FreeEventBits()
44 m_validBits &= ~mask; in FreeEventBits()
75 void PThreadEvent::SetEvents(const uint32_t mask) { in SetEvents() argument
[all …]
/external/angle/src/tests/deqp_support/
Ddeqp_khr_gles31_test_expectations.txt130 5572 VULKAN PIXEL2ORXL : KHR-GLES31.core.sample_variables.mask.rgba8*.samples_*.mask_* = FAIL
160 5990 PIXEL4ORXL VULKAN : KHR-GLES31.core.sample_variables.mask.rgba32f.samples_0.mask_0 = SKIP
161 5990 PIXEL4ORXL VULKAN : KHR-GLES31.core.sample_variables.mask.rgba32f.samples_0.mask_1 = SKIP
162 5990 PIXEL4ORXL VULKAN : KHR-GLES31.core.sample_variables.mask.rgba32f.samples_0.mask_2 = SKIP
163 5990 PIXEL4ORXL VULKAN : KHR-GLES31.core.sample_variables.mask.rgba32f.samples_0.mask_3 = SKIP
164 5990 PIXEL4ORXL VULKAN : KHR-GLES31.core.sample_variables.mask.rgba32f.samples_0.mask_4 = SKIP
165 5990 PIXEL4ORXL VULKAN : KHR-GLES31.core.sample_variables.mask.rgba32f.samples_0.mask_5 = SKIP
166 5990 PIXEL4ORXL VULKAN : KHR-GLES31.core.sample_variables.mask.rgba32f.samples_0.mask_6 = SKIP
167 5990 PIXEL4ORXL VULKAN : KHR-GLES31.core.sample_variables.mask.rgba32f.samples_0.mask_7 = SKIP
168 5990 PIXEL4ORXL VULKAN : KHR-GLES31.core.sample_variables.mask.rgba32f.samples_0.mask_zero = SKIP
[all …]
/external/e2fsprogs/lib/ext2fs/
Dbitops.c36 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/boringssl/src/crypto/fipsmodule/bn/
Drandom.c153 BN_ULONG mask = bit < BN_BITS2 - 1 ? (kOne << (bit + 1)) - 1 : BN_MASK2; in BN_rand() local
159 rnd->d[words - 1] &= mask; in BN_rand()
200 crypto_word_t mask = 0; in bn_less_than_word_mask() local
202 mask |= a[i]; in bn_less_than_word_mask()
205 mask = constant_time_is_zero_w(mask); in bn_less_than_word_mask()
206 mask &= constant_time_lt_w(a[0], b); in bn_less_than_word_mask()
207 return mask; in bn_less_than_word_mask()
212 crypto_word_t mask = ~bn_less_than_word_mask(a, len, min_inclusive); in bn_in_range_words() local
213 return mask & bn_less_than_words(a, max_exclusive, len); in bn_in_range_words()
229 BN_ULONG mask = max_exclusive[words - 1]; in bn_range_to_mask() local
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/
Drandom.c153 BN_ULONG mask = bit < BN_BITS2 - 1 ? (kOne << (bit + 1)) - 1 : BN_MASK2; in BN_rand() local
159 rnd->d[words - 1] &= mask; in BN_rand()
200 crypto_word_t mask = 0; in bn_less_than_word_mask() local
202 mask |= a[i]; in bn_less_than_word_mask()
205 mask = constant_time_is_zero_w(mask); in bn_less_than_word_mask()
206 mask &= constant_time_lt_w(a[0], b); in bn_less_than_word_mask()
207 return mask; in bn_less_than_word_mask()
212 crypto_word_t mask = ~bn_less_than_word_mask(a, len, min_inclusive); in bn_in_range_words() local
213 return mask & bn_less_than_words(a, max_exclusive, len); in bn_in_range_words()
229 BN_ULONG mask = max_exclusive[words - 1]; in bn_range_to_mask() local
[all …]
/external/capstone/arch/X86/
DX86MappingInsnOp.inc2444 { /* X86_EXTRQ, X86_INS_EXTRQ: extrq $src, $mask */
3096 { /* X86_INSERTQ, X86_INS_INSERTQ: insertq $src, $mask */
4676 { /* X86_MASKMOVDQU, X86_INS_MASKMOVDQU: maskmovdqu $src, $mask */
4680 { /* X86_MASKMOVDQU64, X86_INS_MASKMOVDQU: maskmovdqu $src, $mask */
4900 { /* X86_MMX_MASKMOVQ, X86_INS_MASKMOVQ: maskmovq $src, $mask */
4904 { /* X86_MMX_MASKMOVQ64, X86_INS_MASKMOVQ: maskmovq $src, $mask */
10684 { /* X86_VADDPDZ128rmbk, X86_INS_VADDPD: vaddpd {${src2}{1to2}, $src1, $dst {${mask}}|$dst {${mask}…
10688 …Z128rmbkz, X86_INS_VADDPD: vaddpd {${src2}{1to2}, $src1, $dst {${mask}} {z}|$dst {${mask}} {z}, $s…
10692 { /* X86_VADDPDZ128rmk, X86_INS_VADDPD: vaddpd {$src2, $src1, $dst {${mask}}|$dst {${mask}}, $src1,…
10696 { /* X86_VADDPDZ128rmkz, X86_INS_VADDPD: vaddpd {$src2, $src1, $dst {${mask}} {z}|$dst {${mask}} {z…
[all …]
/external/kernel-headers/original/uapi/linux/iio/
Devents.h29 #define IIO_EVENT_CODE_EXTRACT_TYPE(mask) ((mask >> 56) & 0xFF) argument
31 #define IIO_EVENT_CODE_EXTRACT_DIR(mask) ((mask >> 48) & 0x7F) argument
33 #define IIO_EVENT_CODE_EXTRACT_CHAN_TYPE(mask) ((mask >> 32) & 0xFF) argument
37 #define IIO_EVENT_CODE_EXTRACT_CHAN(mask) ((__s16)(mask & 0xFFFF)) argument
38 #define IIO_EVENT_CODE_EXTRACT_CHAN2(mask) ((__s16)(((mask) >> 16) & 0xFFFF)) argument
40 #define IIO_EVENT_CODE_EXTRACT_MODIFIER(mask) ((mask >> 40) & 0xFF) argument
41 #define IIO_EVENT_CODE_EXTRACT_DIFF(mask) (((mask) >> 55) & 0x1) argument

12345678910>>...213