Home
last modified time | relevance | path

Searched refs:mask1 (Results 1 – 25 of 73) sorted by relevance

123

/third_party/rust/crates/memchr/src/memchr/x86/
Dsse2.rs229 let mask1 = _mm_movemask_epi8(eqa1); in memchr2() localVariable
231 if mask1 != 0 || mask2 != 0 { in memchr2()
232 return Some(at + forward_pos2(mask1, mask2)); in memchr2()
236 let mask1 = _mm_movemask_epi8(eqb1); in memchr2() localVariable
238 return Some(at + forward_pos2(mask1, mask2)); in memchr2()
308 let mask1 = _mm_movemask_epi8(eqa1); in memchr3() localVariable
311 if mask1 != 0 || mask2 != 0 || mask3 != 0 { in memchr3()
312 return Some(at + forward_pos3(mask1, mask2, mask3)); in memchr3()
316 let mask1 = _mm_movemask_epi8(eqb1); in memchr3() localVariable
319 return Some(at + forward_pos3(mask1, mask2, mask3)); in memchr3()
[all …]
Davx.rs135 let mask1 = _mm256_movemask_epi8(eqa1); in memchr2() localVariable
137 if mask1 != 0 || mask2 != 0 { in memchr2()
138 return at + forward_pos2(mask1, mask2); in memchr2()
142 let mask1 = _mm256_movemask_epi8(eqb1); in memchr2() localVariable
144 at + forward_pos2(mask1, mask2) in memchr2()
225 let mask1 = _mm256_movemask_epi8(eqa1); in memchr3() localVariable
228 if mask1 != 0 || mask2 != 0 || mask3 != 0 { in memchr3()
229 return at + forward_pos3(mask1, mask2, mask3); in memchr3()
233 let mask1 = _mm256_movemask_epi8(eqb1); in memchr3() localVariable
236 at + forward_pos3(mask1, mask2, mask3) in memchr3()
[all …]
/third_party/rust/crates/aho-corasick/src/packed/teddy/
Druntime.rs428 pub mask1: Mask128, field
472 members1m128(chunk, self.mask1) in candidate()
478 pub mask1: Mask256, field
522 members1m256(chunk, self.mask1) in candidate()
528 pub mask1: Mask256, field
572 members1m256(chunk, self.mask1) in candidate()
578 pub mask1: Mask128, field
632 let (res0, res1) = members2m128(chunk, self.mask1, self.mask2); in candidate()
640 pub mask1: Mask256, field
694 let (res0, res1) = members2m256(chunk, self.mask1, self.mask2); in candidate()
[all …]
Dcompile.rs126 mask1: runtime::Mask128::new(masks[0]), in build_imp()
135 mask1: runtime::Mask256::new(masks[0]), in build_imp()
144 mask1: runtime::Mask256::new(masks[0]), in build_imp()
153 mask1: runtime::Mask128::new(masks[0]), in build_imp()
163 mask1: runtime::Mask256::new(masks[0]), in build_imp()
173 mask1: runtime::Mask256::new(masks[0]), in build_imp()
183 mask1: runtime::Mask128::new(masks[0]), in build_imp()
194 mask1: runtime::Mask256::new(masks[0]), in build_imp()
205 mask1: runtime::Mask256::new(masks[0]), in build_imp()
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_hotplug_test/
Dcpuset_list_compute.c65 struct bitmask *mask1 = NULL, *mask2 = NULL, *mask3 = NULL; in main() local
70 mask1 = bitmask_alloc(MAX_NBITS); in main()
71 if (mask1 == NULL) in main()
82 if (bitmask_parselist(argv[argc - 2 + convert], mask1) != 0) in main()
86 bitmask_displaylist(buff, MAX_STRING_SIZE, mask1); in main()
95 bitmask_andnot(mask3, mask1, mask2); in main()
97 bitmask_or(mask3, mask1, mask2); in main()
/third_party/ffmpeg/libavcodec/mips/
Dh264qpel_msa.c51 #define AVC_HORZ_FILTER_SH(in0, in1, mask0, mask1, mask2) \ argument
61 tmp0_m = __msa_vshf_b((v16i8) mask1, in1, in0); \
103 v16i8 mask0, mask1, mask2, filt0, filt1, filt2; in avc_luma_hv_qrt_4x4_msa() local
110 LD_SB3(&luma_mask_arr[48], 16, mask0, mask1, mask2); in avc_luma_hv_qrt_4x4_msa()
124 hz_out0 = AVC_HORZ_FILTER_SH(src_hz0, src_hz1, mask0, mask1, mask2); in avc_luma_hv_qrt_4x4_msa()
125 hz_out1 = AVC_HORZ_FILTER_SH(src_hz2, src_hz3, mask0, mask1, mask2); in avc_luma_hv_qrt_4x4_msa()
162 v16i8 src_hz0, src_hz1, src_hz2, src_hz3, mask0, mask1, mask2; in avc_luma_hv_qrt_8x8_msa() local
175 LD_SB3(&luma_mask_arr[0], 16, mask0, mask1, mask2); in avc_luma_hv_qrt_8x8_msa()
185 hz_out0 = AVC_HORZ_FILTER_SH(src_hz0, src_hz0, mask0, mask1, mask2); in avc_luma_hv_qrt_8x8_msa()
186 hz_out1 = AVC_HORZ_FILTER_SH(src_hz1, src_hz1, mask0, mask1, mask2); in avc_luma_hv_qrt_8x8_msa()
[all …]
Dhevc_mc_uni_msa.c35 mask0, mask1, mask2, mask3, \ argument
43 VSHF_B2_SB(src0, src1, src2, src3, mask1, mask1, vec2_m, vec3_m); \
52 mask0, mask1, mask2, mask3, \ argument
66 VSHF_B2_SB(src0, src0, src1, src1, mask1, mask1, vec4_m, vec5_m); \
67 VSHF_B2_SB(src2, src2, src3, src3, mask1, mask1, vec6_m, vec7_m); \
77 mask0, mask1, filt0, filt1, \ argument
84 VSHF_B2_SB(src0, src1, src2, src3, mask1, mask1, vec2_m, vec3_m); \
89 mask0, mask1, filt0, filt1, \ argument
98 VSHF_B2_SB(src0, src0, src1, src1, mask1, mask1, vec0_m, vec1_m); \
99 VSHF_B2_SB(src2, src2, src3, src3, mask1, mask1, vec2_m, vec3_m); \
[all …]
Dvp8_mc_msa.c54 #define HORIZ_6TAP_FILT(src0, src1, mask0, mask1, mask2, \ argument
60 VSHF_B3_SB(src0, src1, src0, src1, src0, src1, mask0, mask1, mask2, \
72 mask0, mask1, mask2, \ argument
80 VSHF_B2_SB(src0, src1, src2, src3, mask1, mask1, vec2_m, vec3_m); \
87 mask0, mask1, mask2, \ argument
97 VSHF_B2_SB(src0, src0, src1, src1, mask1, mask1, vec0_m, vec1_m); \
98 VSHF_B2_SB(src2, src2, src3, src3, mask1, mask1, vec2_m, vec3_m); \
117 #define HORIZ_4TAP_FILT(src0, src1, mask0, mask1, filt_h0, filt_h1) \ argument
122 VSHF_B2_SB(src0, src1, src0, src1, mask0, mask1, vec0_m, vec1_m); \
132 mask0, mask1, filt0, filt1, \ argument
[all …]
Dhevcdsp_msa.c455 v16i8 mask1, mask2, mask3; in hevc_hz_8t_4w_msa() local
468 mask1 = mask0 + 2; in hevc_hz_8t_4w_msa()
477 VSHF_B4_SB(src0, src1, mask0, mask1, mask2, mask3, in hevc_hz_8t_4w_msa()
482 VSHF_B4_SB(src2, src3, mask0, mask1, mask2, mask3, in hevc_hz_8t_4w_msa()
487 VSHF_B4_SB(src4, src5, mask0, mask1, mask2, mask3, in hevc_hz_8t_4w_msa()
492 VSHF_B4_SB(src6, src7, mask0, mask1, mask2, mask3, in hevc_hz_8t_4w_msa()
510 v16i8 mask1, mask2, mask3; in hevc_hz_8t_8w_msa() local
523 mask1 = mask0 + 2; in hevc_hz_8t_8w_msa()
532 VSHF_B4_SB(src0, src0, mask0, mask1, mask2, mask3, in hevc_hz_8t_8w_msa()
537 VSHF_B4_SB(src1, src1, mask0, mask1, mask2, mask3, in hevc_hz_8t_8w_msa()
[all …]
Dhevc_mc_bi_msa.c541 v16i8 mask1, mask2, mask3; in hevc_hz_bi_8t_4w_msa() local
554 mask1 = mask0 + 2; in hevc_hz_bi_8t_4w_msa()
580 VSHF_B2_SB(src0, src1, src2, src3, mask1, mask1, vec0, vec1); in hevc_hz_bi_8t_4w_msa()
581 VSHF_B2_SB(src4, src5, src6, src7, mask1, mask1, vec2, vec3); in hevc_hz_bi_8t_4w_msa()
614 v16i8 mask1, mask2, mask3; in hevc_hz_bi_8t_8w_msa() local
629 mask1 = mask0 + 2; in hevc_hz_bi_8t_8w_msa()
648 VSHF_B2_SB(src0, src0, src1, src1, mask1, mask1, vec0, vec1); in hevc_hz_bi_8t_8w_msa()
649 VSHF_B2_SB(src2, src2, src3, src3, mask1, mask1, vec2, vec3); in hevc_hz_bi_8t_8w_msa()
685 v16i8 mask0, mask1, mask2, mask3, mask4, mask5, mask6, mask7; in hevc_hz_bi_8t_12w_msa() local
698 mask1 = mask0 + 2; in hevc_hz_bi_8t_12w_msa()
[all …]
Dhevc_mc_uniw_msa.c603 v16i8 mask0, mask1, mask2, mask3, vec11, vec12, vec13, vec14, vec15; in hevc_hz_uniwgt_8t_4w_msa() local
628 mask1 = mask0 + 2; in hevc_hz_uniwgt_8t_4w_msa()
637 VSHF_B4_SB(src0, src1, mask0, mask1, mask2, mask3, in hevc_hz_uniwgt_8t_4w_msa()
639 VSHF_B4_SB(src2, src3, mask0, mask1, mask2, mask3, in hevc_hz_uniwgt_8t_4w_msa()
641 VSHF_B4_SB(src4, src5, mask0, mask1, mask2, mask3, in hevc_hz_uniwgt_8t_4w_msa()
643 VSHF_B4_SB(src6, src7, mask0, mask1, mask2, mask3, in hevc_hz_uniwgt_8t_4w_msa()
678 v16i8 mask0, mask1, mask2, mask3; in hevc_hz_uniwgt_8t_8w_msa() local
706 mask1 = mask0 + 2; in hevc_hz_uniwgt_8t_8w_msa()
715 VSHF_B4_SB(src0, src0, mask0, mask1, mask2, mask3, in hevc_hz_uniwgt_8t_8w_msa()
717 VSHF_B4_SB(src1, src1, mask0, mask1, mask2, mask3, in hevc_hz_uniwgt_8t_8w_msa()
[all …]
Dhevc_mc_biw_msa.c677 v16i8 mask1, mask2, mask3; in hevc_hz_biwgt_8t_4w_msa() local
689 mask1 = mask0 + 2; in hevc_hz_biwgt_8t_4w_msa()
712 VSHF_B4_SB(src0, src1, mask0, mask1, mask2, mask3, in hevc_hz_biwgt_8t_4w_msa()
716 VSHF_B4_SB(src2, src3, mask0, mask1, mask2, mask3, in hevc_hz_biwgt_8t_4w_msa()
749 v16i8 mask1, mask2, mask3; in hevc_hz_biwgt_8t_8w_msa() local
772 mask1 = mask0 + 2; in hevc_hz_biwgt_8t_8w_msa()
783 VSHF_B4_SB(src0, src0, mask0, mask1, mask2, mask3, in hevc_hz_biwgt_8t_8w_msa()
787 VSHF_B4_SB(src1, src1, mask0, mask1, mask2, mask3, in hevc_hz_biwgt_8t_8w_msa()
791 VSHF_B4_SB(src2, src2, mask0, mask1, mask2, mask3, in hevc_hz_biwgt_8t_8w_msa()
795 VSHF_B4_SB(src3, src3, mask0, mask1, mask2, mask3, in hevc_hz_biwgt_8t_8w_msa()
[all …]
Dqpeldsp_msa.c59 mask0, mask1, mask2, mask3, \ argument
72 VSHF_B2_UH(inp0, inp0, inp1, inp1, mask1, mask1, sum1_r, sum5_r); \
85 mask0, mask1, mask2, mask3, \ argument
95 VSHF_B2_UH(inp0, inp0, inp0, inp0, mask2, mask1, sum2_r, sum1_r); \
105 #define APPLY_HORIZ_QPEL_NO_ROUND_FILTER_8BYTE_1ROW(inp0, mask0, mask1, \ argument
116 VSHF_B2_UH(inp0, inp0, inp0, inp0, mask2, mask1, sum2_r, sum1_r); \
166 mask0, mask1, mask2, mask3, \ argument
179 VSHF_B2_UH(inp0, inp0, inp1, inp1, mask1, mask1, sum1_r, sum5_r); \
318 v16u8 mask1 = { 0, 2, 0, 3, 1, 4, 2, 5, 3, 6, 4, 7, 5, 8, 6, 8 }; in horiz_mc_qpel_aver_src0_8width_msa() local
329 mask0, mask1, mask2, mask3, in horiz_mc_qpel_aver_src0_8width_msa()
[all …]
/third_party/skia/third_party/externals/libwebp/src/dsp/
Dlossless_msa.c82 c0, c1, mask0, mask1) do { \ argument
95 VSHF_B2_UB(src0, t0, src1, t1, mask1, mask1, dst0, dst1); \
98 #define TRANSFORM_COLOR_INVERSE_4(src, dst, c0, c1, mask0, mask1) do { \ argument
109 dst = VSHF_UB(src, t0, mask1); \
159 const v16u8 mask1 = { 5, 6, 8, 9, 10, 12, 13, 14, 16, 17, 18, 20, 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()
177 CONVERT8_BGRA_XXX(ptemp_src, ptemp_dst, mask0, mask1); in ConvertBGRAToBGR_MSA()
206 const v16u8 mask1 = { 5, 4, 10, 9, 8, 14, 13, 12, 18, 17, 16, 22, in ConvertBGRAToRGB_MSA() local
212 CONVERT16_BGRA_XXX(ptemp_src, ptemp_dst, mask0, mask1, mask2); in ConvertBGRAToRGB_MSA()
[all …]
Dlossless_enc_msa.c21 #define TRANSFORM_COLOR_8(src0, src1, dst0, dst1, c0, c1, mask0, mask1) do { \ argument
34 VSHF_B2_UB(src0, t0, src1, t1, mask1, mask1, dst0, dst1); \
37 #define TRANSFORM_COLOR_4(src, dst, c0, c1, mask0, mask1) do { \ argument
48 dst = VSHF_UB(src, t0, mask1); \
59 const v16u8 mask1 = { 16, 1, 18, 3, 20, 5, 22, 7, 24, 9, 26, 11, in TransformColor_MSA() local
65 TRANSFORM_COLOR_8(src0, src1, dst0, dst1, g2br, r2b, mask0, mask1); in TransformColor_MSA()
73 TRANSFORM_COLOR_4(src0, dst0, g2br, r2b, mask0, mask1); in TransformColor_MSA()
80 TRANSFORM_COLOR_4(src0, dst0, g2br, r2b, mask0, mask1); in TransformColor_MSA()
/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/
DFieldMaskUtilTest.java212 FieldMask mask1 = FieldMaskUtil.fromString("foo,bar.baz,bar.quz"); in testUnion() local
214 FieldMask result = FieldMaskUtil.union(mask1, mask2); in testUnion()
219 FieldMask mask1 = FieldMaskUtil.fromString("foo"); in testUnion_usingVarArgs() local
223 FieldMask result = FieldMaskUtil.union(mask1, mask2, mask3, mask4); in testUnion_usingVarArgs()
230 FieldMask mask1 = FieldMaskUtil.fromString("foo,bar.baz,bar.quz"); in testSubstract() local
232 FieldMask result = FieldMaskUtil.subtract(mask1, mask2); in testSubstract()
237 FieldMask mask1 = FieldMaskUtil.fromString("foo,bar.baz,bar.quz.bar"); in testSubstract_usingVarArgs() local
241 FieldMask result = FieldMaskUtil.subtract(mask1, mask2, mask3, mask4); in testSubstract_usingVarArgs()
248 FieldMask mask1 = FieldMaskUtil.fromString("foo,bar.baz,bar.quz"); in testIntersection() local
250 FieldMask result = FieldMaskUtil.intersection(mask1, mask2); in testIntersection()
/third_party/node/deps/openssl/openssl/crypto/des/
Dofb_enc.c29 register DES_LONG mask0, mask1; in DES_ofb_encrypt() local
40 mask1 = mask0; in DES_ofb_encrypt()
42 mask1 = (1L << (num - 32)) - 1; in DES_ofb_encrypt()
48 mask1 = 0x00000000L; in DES_ofb_encrypt()
65 d1 = (d1 ^ vv1) & mask1; in DES_ofb_encrypt()
/third_party/openssl/crypto/des/
Dofb_enc.c29 register DES_LONG mask0, mask1; in DES_ofb_encrypt() local
40 mask1 = mask0; in DES_ofb_encrypt()
42 mask1 = (1L << (num - 32)) - 1; in DES_ofb_encrypt()
48 mask1 = 0x00000000L; in DES_ofb_encrypt()
65 d1 = (d1 ^ vv1) & mask1; in DES_ofb_encrypt()
/third_party/protobuf/src/google/protobuf/util/
Dfield_mask_util_test.cc329 FieldMask mask1, mask2, out; in TEST() local
331 FieldMaskUtil::FromString("foo,baz", &mask1); in TEST()
333 FieldMaskUtil::Union(mask1, mask2, &out); in TEST()
336 FieldMaskUtil::FromString("foo,baz.bb", &mask1); in TEST()
338 FieldMaskUtil::Union(mask1, mask2, &out); in TEST()
341 FieldMaskUtil::FromString("foo.bar.baz,quz", &mask1); in TEST()
343 FieldMaskUtil::Union(mask1, mask2, &out); in TEST()
348 FieldMask mask1, mask2, out; in TEST() local
350 FieldMaskUtil::FromString("foo,baz", &mask1); in TEST()
352 FieldMaskUtil::Intersect(mask1, mask2, &out); in TEST()
[all …]
Dfield_mask_util.h138 static void Union(const FieldMask& mask1, const FieldMask& mask2,
142 static void Intersect(const FieldMask& mask1, const FieldMask& mask2,
147 static void Subtract(const FieldMask& mask1, const FieldMask& mask2, in Subtract() argument
149 Subtract(T::descriptor(), mask1, mask2, out); in Subtract()
153 static void Subtract(const Descriptor* descriptor, const FieldMask& mask1,
/third_party/openh264/codec/common/mips/
Ddeblock_msa.c199 v16u8 mask0, mask1; in DeblockLumaEq4V_msa() local
240 mask1 = (v16u8)((alpha >> 2) + const_2_b); in DeblockLumaEq4V_msa()
241 mask1 = (v16u8)__msa_clt_u_b(iDetaP0Q0, mask1); in DeblockLumaEq4V_msa()
304 t0 = (v8i16)(((v16u8)t0 & mask0 & mask1 & bDetaP2P0) + ((v16u8)t0_con1 & in DeblockLumaEq4V_msa()
305 mask0 & mask1 & (~bDetaP2P0)) + ((v16u8)t0_con1 & mask0 & (~mask1))); in DeblockLumaEq4V_msa()
306 t1 = (v8i16)((v16u8)t1 & mask0 & mask1 & bDetaP2P0); in DeblockLumaEq4V_msa()
307 t2 = (v8i16)((v16u8)t2 & mask0 & mask1 & bDetaP2P0); in DeblockLumaEq4V_msa()
308 s0 = (v8i16)(((v16u8)s0 & mask0 & mask1 & bDetaQ2Q0) + ((v16u8)s0_con1 & in DeblockLumaEq4V_msa()
309 mask0 & mask1 & (~bDetaQ2Q0)) + ((v16u8)s0_con1 & mask0 & (~mask1))); in DeblockLumaEq4V_msa()
310 s1 = (v8i16)((v16u8)s1 & mask0 & mask1 & bDetaQ2Q0); in DeblockLumaEq4V_msa()
[all …]
/third_party/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/
Dht_affinity.c150 unsigned int mask[2], mask1[2]; in HT_GetAffinity() local
162 sched_getaffinity(pid, sizeof(mask), mask1); in HT_GetAffinity()
164 if (mask[0] == 0x1 && mask[0] == mask1[0]) { in HT_GetAffinity()
170 sched_getaffinity(pid, sizeof(mask), mask1); in HT_GetAffinity()
172 if (mask[0] == 0x2 && mask[0] == mask1[0]) in HT_GetAffinity()
/third_party/glslang/Test/
Dspv.uint.frag81 uint mask1 = 0x0A1u;
83 uint mask3 = mask1 << 4;
89 if ((mask3 & mask1) != 0u)
92 if ((mask1 | mask3) == mask4)
95 if ((mask1 ^ mask4) == 0xA10u)
Duint.frag87 uint mask1 = 0x0A1u;
89 uint mask3 = mask1 << 4;
95 if ((mask3 & mask1) != 0u)
98 if ((mask1 | mask3) == mask4)
101 if ((mask1 ^ mask4) == 0xA10u)
/third_party/protobuf/python/google/protobuf/internal/
Dwell_known_types_test.py500 mask1 = field_mask_pb2.FieldMask()
503 mask1.FromJsonString('foo,baz')
505 out_mask.Union(mask1, mask2)
508 mask1.FromJsonString('foo,baz.bb')
510 out_mask.Union(mask1, mask2)
513 mask1.FromJsonString('foo.bar.baz,quz')
515 out_mask.Union(mask1, mask2)
522 mask1 = field_mask_pb2.FieldMask()
526 mask1.FromJsonString('foo,baz')
528 out_mask.Intersect(mask1, mask2)
[all …]

123