Home
last modified time | relevance | path

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

1234

/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/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/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/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/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/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/protobuf/src/google/protobuf/util/
Dfield_mask_util_test.cc291 FieldMask mask1, mask2, out; in TEST() local
294 FieldMaskUtil::FromString("bar,quz", &mask2); in TEST()
295 FieldMaskUtil::Union(mask1, mask2, &out); in TEST()
299 FieldMaskUtil::FromString("baz.bb,quz", &mask2); in TEST()
300 FieldMaskUtil::Union(mask1, mask2, &out); in TEST()
304 FieldMaskUtil::FromString("foo.bar,bar", &mask2); in TEST()
305 FieldMaskUtil::Union(mask1, mask2, &out); in TEST()
310 FieldMask mask1, mask2, out; in TEST() local
313 FieldMaskUtil::FromString("bar,quz", &mask2); in TEST()
314 FieldMaskUtil::Intersect(mask1, mask2, &out); in TEST()
[all …]
/external/protobuf/python/google/protobuf/internal/
Dwell_known_types_test.py376 mask2 = field_mask_pb2.FieldMask()
379 mask2.FromJsonString('bar,quz')
380 out_mask.Union(mask1, mask2)
384 mask2.FromJsonString('baz.bb,quz')
385 out_mask.Union(mask1, mask2)
389 mask2.FromJsonString('foo.bar,bar')
390 out_mask.Union(mask1, mask2)
395 mask2 = field_mask_pb2.FieldMask()
399 mask2.FromJsonString('bar,quz')
400 out_mask.Intersect(mask1, mask2)
[all …]
/external/protobuf/java/util/src/test/java/com/google/protobuf/util/
DFieldMaskUtilTest.java151 FieldMask mask2 = FieldMaskUtil.fromString("foo.bar,bar"); in testUnion() local
152 FieldMask result = FieldMaskUtil.union(mask1, mask2); in testUnion()
158 FieldMask mask2 = FieldMaskUtil.fromString("foo.bar,bar.quz"); in testUnion_usingVarArgs() local
161 FieldMask result = FieldMaskUtil.union(mask1, mask2, mask3, mask4); in testUnion_usingVarArgs()
169 FieldMask mask2 = FieldMaskUtil.fromString("foo.bar,bar"); in testIntersection() local
170 FieldMask result = FieldMaskUtil.intersection(mask1, mask2); in testIntersection()
/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/swiftshader/third_party/llvm-7.0/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/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/freetype/src/pshinter/
Dpshrec.c376 PS_Mask mask2 = table->masks + index2; in ps_mask_table_test_intersect() local
378 FT_Byte* p2 = mask2->bytes; in ps_mask_table_test_intersect()
380 FT_UInt count2 = mask2->num_bits; in ps_mask_table_test_intersect()
427 PS_Mask mask2 = table->masks + index2; in ps_mask_table_merge() local
429 FT_UInt count2 = mask2->num_bits; in ps_mask_table_merge()
453 read = mask2->bytes; in ps_mask_table_merge()
467 mask2->num_bits = 0; in ps_mask_table_merge()
468 mask2->end_point = 0; in ps_mask_table_merge()
475 PS_MaskRec dummy = *mask2; in ps_mask_table_merge()
478 ft_memmove( mask2, in ps_mask_table_merge()
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Drasterizer_impl.h561 int32_t &mask0, int32_t &mask1, int32_t &mask2)
570 mask2 = _mm256_movemask_pd(vSampleBboxTest2);
578 int32_t &mask0, int32_t &mask1, int32_t &mask2)
582 mask2 = _mm256_movemask_pd(vEdgeFix16[2]);
706 INLINE bool TrivialRejectTest<E0E2ValidT>(const int mask0, const int, const int mask2)
708 return (!(mask0 && mask2)) ? true : false;
715 INLINE bool TrivialRejectTest<E1E2ValidT>(const int, const int mask1, const int mask2)
717 return (!(mask1 && mask2)) ? true : false;
724 INLINE bool TrivialRejectTest<AllEdgesValidT>(const int mask0, const int mask1, const int mask2)
726 return (!(mask0 && mask1 && mask2)) ? true : false;;
[all …]
/external/boringssl/src/crypto/fipsmodule/ec/
Dp256-x86_64.c82 BN_ULONG mask2 = ~mask1; in copy_conditional() local
84 dst[0] = (src[0] & mask1) ^ (dst[0] & mask2); in copy_conditional()
85 dst[1] = (src[1] & mask1) ^ (dst[1] & mask2); in copy_conditional()
86 dst[2] = (src[2] & mask1) ^ (dst[2] & mask2); in copy_conditional()
87 dst[3] = (src[3] & mask1) ^ (dst[3] & mask2); in copy_conditional()
89 dst[4] = (src[4] & mask1) ^ (dst[4] & mask2); in copy_conditional()
90 dst[5] = (src[5] & mask1) ^ (dst[5] & mask2); in copy_conditional()
91 dst[6] = (src[6] & mask1) ^ (dst[6] & mask2); in copy_conditional()
92 dst[7] = (src[7] & mask1) ^ (dst[7] & mask2); in copy_conditional()
/external/webp/src/dsp/
Dlossless_msa.c161 const v16u8 mask2 = { 10, 12, 13, 14, 16, 17, 18, 20, 21, 22, 24, 25, in ConvertBGRAToBGR_MSA() local
165 CONVERT16_BGRA_XXX(ptemp_src, ptemp_dst, mask0, mask1, mask2); in ConvertBGRAToBGR_MSA()
172 CONVERT12_BGRA_XXX(ptemp_src, ptemp_dst, mask0, mask1, mask2); in ConvertBGRAToBGR_MSA()
208 const v16u8 mask2 = { 8, 14, 13, 12, 18, 17, 16, 22, 21, 20, 26, 25, in ConvertBGRAToRGB_MSA() local
212 CONVERT16_BGRA_XXX(ptemp_src, ptemp_dst, mask0, mask1, mask2); in ConvertBGRAToRGB_MSA()
219 CONVERT12_BGRA_XXX(ptemp_src, ptemp_dst, mask0, mask1, mask2); in ConvertBGRAToRGB_MSA()
/external/iptables/extensions/
Dlibebt_ip.c119 static int ip_mask(char *mask, unsigned char *mask2) in ip_mask() argument
125 if (undot_ip(mask, mask2)) { in ip_mask()
132 memcpy(mask2, &mask22, 4); in ip_mask()
135 memcpy(mask2, &mask22, 4); in ip_mask()

1234