Home
last modified time | relevance | path

Searched refs:mask2 (Results 1 – 25 of 104) sorted by relevance

12345

/external/mesa3d/src/compiler/glsl/
Dopt_swizzle.cpp69 int mask2[4]; in handle_rvalue() local
71 memset(&mask2, 0, sizeof(mask2)); in handle_rvalue()
73 mask2[0] = swiz2->mask.x; in handle_rvalue()
75 mask2[1] = swiz2->mask.y; in handle_rvalue()
77 mask2[2] = swiz2->mask.z; in handle_rvalue()
79 mask2[3] = swiz2->mask.w; in handle_rvalue()
82 swiz->mask.x = mask2[swiz->mask.x]; in handle_rvalue()
84 swiz->mask.y = mask2[swiz->mask.y]; in handle_rvalue()
86 swiz->mask.z = mask2[swiz->mask.z]; in handle_rvalue()
88 swiz->mask.w = mask2[swiz->mask.w]; in handle_rvalue()
/external/rust/crates/memchr/src/x86/
Davx.rs142 let mask2 = _mm256_movemask_epi8(eqa2); in memchr2() localVariable
143 if mask1 != 0 || mask2 != 0 { in memchr2()
144 return Some(at + forward_pos2(mask1, mask2)); in memchr2()
149 let mask2 = _mm256_movemask_epi8(eqb2); in memchr2() localVariable
150 return Some(at + forward_pos2(mask1, mask2)); in memchr2()
221 let mask2 = _mm256_movemask_epi8(eqa2); in memchr3() localVariable
223 if mask1 != 0 || mask2 != 0 || mask3 != 0 { in memchr3()
224 return Some(at + forward_pos3(mask1, mask2, mask3)); in memchr3()
229 let mask2 = _mm256_movemask_epi8(eqb2); in memchr3() localVariable
231 return Some(at + forward_pos3(mask1, mask2, mask3)); in memchr3()
[all …]
Dsse2.rs232 let mask2 = _mm_movemask_epi8(eqa2); in memchr2() localVariable
233 if mask1 != 0 || mask2 != 0 { in memchr2()
234 return Some(at + forward_pos2(mask1, mask2)); in memchr2()
239 let mask2 = _mm_movemask_epi8(eqb2); in memchr2() localVariable
240 return Some(at + forward_pos2(mask1, mask2)); in memchr2()
311 let mask2 = _mm_movemask_epi8(eqa2); in memchr3() localVariable
313 if mask1 != 0 || mask2 != 0 || mask3 != 0 { in memchr3()
314 return Some(at + forward_pos3(mask1, mask2, mask3)); in memchr3()
319 let mask2 = _mm_movemask_epi8(eqb2); in memchr3() localVariable
321 return Some(at + forward_pos3(mask1, mask2, mask3)); in memchr3()
[all …]
/external/llvm/test/Transforms/InstCombine/
Dicmp-logical.ll13 %mask2 = and i32 %A, 39
14 %tst2 = icmp ne i32 %mask2, 0
30 %mask2 = and i32 %A, 39
31 %tst2 = icmp eq i32 %mask2, 0
47 %mask2 = and i32 %A, 39
48 %tst2 = icmp ne i32 %mask2, 39
64 %mask2 = and i32 %A, 39
65 %tst2 = icmp eq i32 %mask2, 39
81 %mask2 = and i32 %A, 39
82 %tst2 = icmp ne i32 %mask2, %A
[all …]
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_hotplug_test/
Dcpuset_list_compute.c65 struct bitmask *mask1 = NULL, *mask2 = NULL, *mask3 = NULL; in main() local
74 mask2 = bitmask_alloc(MAX_NBITS); in main()
75 if (mask2 == NULL) in main()
91 if (bitmask_parselist(argv[argc - 1], mask2) != 0) in main()
95 bitmask_andnot(mask3, mask1, mask2); in main()
97 bitmask_or(mask3, mask1, mask2); in main()
/external/libaom/libaom/aom_dsp/arm/
Dblend_a64_mask_neon.c42 int16x8_t mask0, int16x8_t mask1, int16x8_t mask2, in blend_8x4() argument
57 blend8x1(mask2, src0_2, src1_2, v_maxval, &im_res_2); in blend_8x4()
83 int16x4_t mask0, int16x4_t mask1, int16x4_t mask2, in blend_4x4() argument
104 mask2_3 = vcombine_s16(mask2, mask3); in blend_4x4()
161 int16x8_t mask0, mask1, mask2, mask3; in aom_lowbd_blend_a64_d16_mask_neon() local
183 mask2 = vmovl_s8(vreinterpret_s8_u8(s2)); in aom_lowbd_blend_a64_d16_mask_neon()
187 src1_stride, mask0, mask1, mask2, mask3, v_maxval, in aom_lowbd_blend_a64_d16_mask_neon()
237 mask2 = in aom_lowbd_blend_a64_d16_mask_neon()
253 m2_32 = vpaddlq_s16(mask2); in aom_lowbd_blend_a64_d16_mask_neon()
265 mask2 = in aom_lowbd_blend_a64_d16_mask_neon()
[all …]
/external/libvpx/libvpx/vpx_dsp/mips/
Dvpx_convolve_msa.h33 #define HORIZ_8TAP_FILT(src0, src1, mask0, mask1, mask2, mask3, filt_h0, \ argument
39 VSHF_B4_SB(src0, src1, mask0, mask1, mask2, mask3, vec0_m, vec1_m, vec2_m, \
51 mask2, mask3, filt0, filt1, filt2, filt3, \ argument
61 VSHF_B2_SB(src0, src1, src2, src3, mask2, mask2, vec4_m, vec5_m); \
69 mask2, mask3, filt0, filt1, filt2, filt3, \ argument
79 VSHF_B2_SB(src0, src0, src1, src1, mask2, mask2, vec0_m, vec1_m); \
80 VSHF_B2_SB(src2, src2, src3, src3, mask2, mask2, vec2_m, vec3_m); \
Dvpx_convolve8_avg_horiz_msa.c22 v16u8 mask0, mask1, mask2, mask3; in common_hz_8t_and_aver_dst_4x4_msa() local
33 mask2 = mask0 + 4; in common_hz_8t_and_aver_dst_4x4_msa()
38 HORIZ_8TAP_4WID_4VECS_FILT(src0, src1, src2, src3, mask0, mask1, mask2, mask3, in common_hz_8t_and_aver_dst_4x4_msa()
55 v16u8 mask0, mask1, mask2, mask3, res0, res1, res2, res3; in common_hz_8t_and_aver_dst_4x8_msa() local
67 mask2 = mask0 + 4; in common_hz_8t_and_aver_dst_4x8_msa()
77 HORIZ_8TAP_4WID_4VECS_FILT(src0, src1, src2, src3, mask0, mask1, mask2, mask3, in common_hz_8t_and_aver_dst_4x8_msa()
81 HORIZ_8TAP_4WID_4VECS_FILT(src0, src1, src2, src3, mask0, mask1, mask2, mask3, in common_hz_8t_and_aver_dst_4x8_msa()
111 v16u8 mask0, mask1, mask2, mask3, dst0 = { 0 }, dst1 = { 0 }; in common_hz_8t_and_aver_dst_8w_msa() local
122 mask2 = mask0 + 4; in common_hz_8t_and_aver_dst_8w_msa()
129 HORIZ_8TAP_8WID_4VECS_FILT(src0, src1, src2, src3, mask0, mask1, mask2, in common_hz_8t_and_aver_dst_8w_msa()
[all …]
Dvpx_convolve8_horiz_msa.c18 v16u8 mask0, mask1, mask2, mask3, out; in common_hz_8t_4x4_msa() local
30 mask2 = mask0 + 4; in common_hz_8t_4x4_msa()
35 HORIZ_8TAP_4WID_4VECS_FILT(src0, src1, src2, src3, mask0, mask1, mask2, mask3, in common_hz_8t_4x4_msa()
48 v16u8 mask0, mask1, mask2, mask3, out; in common_hz_8t_4x8_msa() local
59 mask2 = mask0 + 4; in common_hz_8t_4x8_msa()
65 HORIZ_8TAP_4WID_4VECS_FILT(src0, src1, src2, src3, mask0, mask1, mask2, mask3, in common_hz_8t_4x8_msa()
69 HORIZ_8TAP_4WID_4VECS_FILT(src0, src1, src2, src3, mask0, mask1, mask2, mask3, in common_hz_8t_4x8_msa()
94 v16u8 mask0, mask1, mask2, mask3, tmp0, tmp1; in common_hz_8t_8x4_msa() local
105 mask2 = mask0 + 4; in common_hz_8t_8x4_msa()
110 HORIZ_8TAP_8WID_4VECS_FILT(src0, src1, src2, src3, mask0, mask1, mask2, mask3, in common_hz_8t_8x4_msa()
[all …]
Dvpx_convolve8_avg_msa.c21 v16u8 dst0 = { 0 }, mask0, mask1, mask2, mask3, res; in common_hv_8ht_8vt_and_aver_dst_4w_msa() local
35 mask2 = mask0 + 4; in common_hv_8ht_8vt_and_aver_dst_4w_msa()
42 hz_out0 = HORIZ_8TAP_FILT(src0, src1, mask0, mask1, mask2, mask3, filt_hz0, in common_hv_8ht_8vt_and_aver_dst_4w_msa()
44 hz_out2 = HORIZ_8TAP_FILT(src2, src3, mask0, mask1, mask2, mask3, filt_hz0, in common_hv_8ht_8vt_and_aver_dst_4w_msa()
46 hz_out4 = HORIZ_8TAP_FILT(src4, src5, mask0, mask1, mask2, mask3, filt_hz0, in common_hv_8ht_8vt_and_aver_dst_4w_msa()
48 hz_out5 = HORIZ_8TAP_FILT(src5, src6, mask0, mask1, mask2, mask3, filt_hz0, in common_hv_8ht_8vt_and_aver_dst_4w_msa()
65 hz_out7 = HORIZ_8TAP_FILT(src7, src8, mask0, mask1, mask2, mask3, filt_hz0, in common_hv_8ht_8vt_and_aver_dst_4w_msa()
72 hz_out9 = HORIZ_8TAP_FILT(src9, src10, mask0, mask1, mask2, mask3, filt_hz0, in common_hv_8ht_8vt_and_aver_dst_4w_msa()
101 v16u8 dst0 = { 0 }, dst1 = { 0 }, mask0, mask1, mask2, mask3; in common_hv_8ht_8vt_and_aver_dst_8w_msa() local
114 mask2 = mask0 + 4; in common_hv_8ht_8vt_and_aver_dst_8w_msa()
[all …]
/external/libaom/libaom/aom_dsp/mips/
Daom_convolve_msa.h35 mask2, mask3, filt0, filt1, filt2, filt3, \ argument
45 VSHF_B2_SB(src0, src1, src2, src3, mask2, mask2, vec4_m, vec5_m); \
53 mask2, mask3, filt0, filt1, filt2, filt3, \ argument
63 VSHF_B2_SB(src0, src0, src1, src1, mask2, mask2, vec0_m, vec1_m); \
64 VSHF_B2_SB(src2, src2, src3, src3, mask2, mask2, vec2_m, vec3_m); \
Daom_convolve8_horiz_msa.c21 v16u8 mask0, mask1, mask2, mask3, out; in common_hz_8t_4x4_msa() local
33 mask2 = mask0 + 4; in common_hz_8t_4x4_msa()
38 HORIZ_8TAP_4WID_4VECS_FILT(src0, src1, src2, src3, mask0, mask1, mask2, mask3, in common_hz_8t_4x4_msa()
51 v16u8 mask0, mask1, mask2, mask3, out; in common_hz_8t_4x8_msa() local
62 mask2 = mask0 + 4; in common_hz_8t_4x8_msa()
68 HORIZ_8TAP_4WID_4VECS_FILT(src0, src1, src2, src3, mask0, mask1, mask2, mask3, in common_hz_8t_4x8_msa()
72 HORIZ_8TAP_4WID_4VECS_FILT(src0, src1, src2, src3, mask0, mask1, mask2, mask3, in common_hz_8t_4x8_msa()
97 v16u8 mask0, mask1, mask2, mask3, tmp0, tmp1; in common_hz_8t_8x4_msa() local
108 mask2 = mask0 + 4; in common_hz_8t_8x4_msa()
113 HORIZ_8TAP_8WID_4VECS_FILT(src0, src1, src2, src3, mask0, mask1, mask2, mask3, in common_hz_8t_8x4_msa()
[all …]
/external/rust/crates/aho-corasick/src/packed/teddy/
Druntime.rs579 pub mask2: Mask128, field
632 let (res0, res1) = members2m128(chunk, self.mask1, self.mask2); in candidate()
641 pub mask2: Mask256, field
694 let (res0, res1) = members2m256(chunk, self.mask1, self.mask2); in candidate()
705 pub mask2: Mask256, field
760 let (res0, res1) = members2m256(chunk, self.mask1, self.mask2); in candidate()
771 pub mask2: Mask128, field
828 members3m128(chunk, self.mask1, self.mask2, self.mask3); in candidate()
841 pub mask2: Mask256, field
898 members3m256(chunk, self.mask1, self.mask2, self.mask3); in candidate()
[all …]
/external/protobuf/src/google/protobuf/util/
Dfield_mask_util_test.cc314 FieldMask mask1, mask2, out; in TEST() local
317 FieldMaskUtil::FromString("bar,quz", &mask2); in TEST()
318 FieldMaskUtil::Union(mask1, mask2, &out); in TEST()
322 FieldMaskUtil::FromString("baz.bb,quz", &mask2); in TEST()
323 FieldMaskUtil::Union(mask1, mask2, &out); in TEST()
327 FieldMaskUtil::FromString("foo.bar,bar", &mask2); in TEST()
328 FieldMaskUtil::Union(mask1, mask2, &out); in TEST()
333 FieldMask mask1, mask2, out; in TEST() local
336 FieldMaskUtil::FromString("bar,quz", &mask2); in TEST()
337 FieldMaskUtil::Intersect(mask1, mask2, &out); in TEST()
[all …]
Dfield_mask_util.h122 static void Union(const FieldMask& mask1, const FieldMask& mask2,
126 static void Intersect(const FieldMask& mask1, const FieldMask& mask2,
131 static void Subtract(const FieldMask& mask1, const FieldMask& mask2, in Subtract() argument
133 Subtract(T::descriptor(), mask1, mask2, out); in Subtract()
138 const FieldMask& mask2, FieldMask* out);
/external/libvpx/libvpx/vp8/common/mips/msa/
Dsixtap_filter_msa.c35 #define HORIZ_6TAP_FILT(src0, src1, mask0, mask1, mask2, filt_h0, filt_h1, \ argument
41 VSHF_B3_SB(src0, src1, src0, src1, src0, src1, mask0, mask1, mask2, \
53 mask2, filt0, filt1, filt2, out0, out1) \ argument
61 VSHF_B2_SB(src0, src1, src2, src3, mask2, mask2, vec4_m, vec5_m); \
66 mask2, filt0, filt1, filt2, out0, out1, \ argument
77 VSHF_B2_SB(src0, src0, src1, src1, mask2, mask2, vec4_m, vec5_m); \
78 VSHF_B2_SB(src2, src2, src3, src3, mask2, mask2, vec6_m, vec7_m); \
139 v16u8 mask0, mask1, mask2, out; in common_hz_6t_4x4_msa() local
149 mask2 = mask0 + 4; in common_hz_6t_4x4_msa()
153 HORIZ_6TAP_4WID_4VECS_FILT(src0, src1, src2, src3, mask0, mask1, mask2, filt0, in common_hz_6t_4x4_msa()
[all …]
/external/llvm-project/llvm/test/CodeGen/AArch64/
Dor-combine.ll16 define i32 @test_generic(i32 %in, i32 %mask1, i32 %mask2) {
22 %hi = and i32 %in, %mask2
29 define [3 x i32] @test_reuse(i32 %in, i32 %mask1, i32 %mask2) {
36 %hi = and i32 %in, %mask2
/external/llvm/test/CodeGen/AArch64/
Dor-combine.ll16 define i32 @test_generic(i32 %in, i32 %mask1, i32 %mask2) {
22 %hi = and i32 %in, %mask2
29 define [3 x i32] @test_reuse(i32 %in, i32 %mask1, i32 %mask2) {
36 %hi = and i32 %in, %mask2
/external/selinux/libsepol/src/
Dnodes.c188 unsigned int *mask2 = &c->u.node.mask; in sepol_node_exists() local
191 !memcmp(mask, mask2, 4)) { in sepol_node_exists()
204 unsigned int *mask2 = c->u.node6.mask; in sepol_node_exists() local
207 !memcmp(mask, mask2, 16)) { in sepol_node_exists()
248 unsigned int *mask2 = &c->u.node.mask; in sepol_node_query() local
251 !memcmp(mask, mask2, 4)) { in sepol_node_query()
267 unsigned int *mask2 = c->u.node6.mask; in sepol_node_query() local
270 !memcmp(mask, mask2, 16)) { in sepol_node_query()
/external/protobuf/java/util/src/test/java/com/google/protobuf/util/
DFieldMaskUtilTest.java179 FieldMask mask2 = FieldMaskUtil.fromString("foo.bar,bar"); in testUnion() local
180 FieldMask result = FieldMaskUtil.union(mask1, mask2); in testUnion()
186 FieldMask mask2 = FieldMaskUtil.fromString("foo.bar,bar.quz"); in testUnion_usingVarArgs() local
189 FieldMask result = FieldMaskUtil.union(mask1, mask2, mask3, mask4); in testUnion_usingVarArgs()
197 FieldMask mask2 = FieldMaskUtil.fromString("foo.bar,bar"); in testIntersection() local
198 FieldMask result = FieldMaskUtil.intersection(mask1, mask2); in testIntersection()
/external/rust/crates/ring/crypto/fipsmodule/ec/
Decp_nistz256.c48 Limb mask2 = ~mask1; in copy_conditional() local
50 dst[0] = (src[0] & mask1) ^ (dst[0] & mask2); in copy_conditional()
51 dst[1] = (src[1] & mask1) ^ (dst[1] & mask2); in copy_conditional()
52 dst[2] = (src[2] & mask1) ^ (dst[2] & mask2); in copy_conditional()
53 dst[3] = (src[3] & mask1) ^ (dst[3] & mask2); in copy_conditional()
55 dst[4] = (src[4] & mask1) ^ (dst[4] & mask2); in copy_conditional()
56 dst[5] = (src[5] & mask1) ^ (dst[5] & mask2); in copy_conditional()
57 dst[6] = (src[6] & mask1) ^ (dst[6] & mask2); in copy_conditional()
58 dst[7] = (src[7] & mask1) ^ (dst[7] & mask2); in copy_conditional()
/external/strace/tests-m32/
Dsigsuspend.c96 const unsigned long mask2 = u.old_mask; in main() local
99 k_sigsuspend((uintptr_t) &mask1, 0xdeadbeef, (uintptr_t) &mask2); in main()
101 k_sigsuspend(mask1, 0xdeadbeef, mask2); in main()
/external/strace/tests/
Dsigsuspend.c96 const unsigned long mask2 = u.old_mask; in main() local
99 k_sigsuspend((uintptr_t) &mask1, 0xdeadbeef, (uintptr_t) &mask2); in main()
101 k_sigsuspend(mask1, 0xdeadbeef, mask2); in main()
/external/strace/tests-mx32/
Dsigsuspend.c96 const unsigned long mask2 = u.old_mask; in main() local
99 k_sigsuspend((uintptr_t) &mask1, 0xdeadbeef, (uintptr_t) &mask2); in main()
101 k_sigsuspend(mask1, 0xdeadbeef, mask2); in main()
/external/protobuf/python/google/protobuf/internal/
Dwell_known_types_test.py501 mask2 = field_mask_pb2.FieldMask()
504 mask2.FromJsonString('bar,quz')
505 out_mask.Union(mask1, mask2)
509 mask2.FromJsonString('baz.bb,quz')
510 out_mask.Union(mask1, mask2)
514 mask2.FromJsonString('foo.bar,bar')
515 out_mask.Union(mask1, mask2)
519 out_mask.Union(src, mask2)
523 mask2 = field_mask_pb2.FieldMask()
527 mask2.FromJsonString('bar,quz')
[all …]

12345