Home
last modified time | relevance | path

Searched refs:MASK (Results 1 – 25 of 102) sorted by relevance

12345

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
Dtext_to_binary.image_test.cpp52 #define MASK(NAME) SpvImageOperands##NAME##Mask macro
61 {" Bias %5", {MASK(Bias), 5}},
62 {" Lod %5", {MASK(Lod), 5}},
63 {" Grad %5 %6", {MASK(Grad), 5, 6}},
64 {" ConstOffset %5", {MASK(ConstOffset), 5}},
65 {" Offset %5", {MASK(Offset), 5}},
66 {" ConstOffsets %5", {MASK(ConstOffsets), 5}},
67 {" Sample %5", {MASK(Sample), 5}},
68 {" MinLod %5", {MASK(MinLod), 5}},
70 #undef MASK
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/
Dtext_to_binary.image_test.cpp52 #define MASK(NAME) SpvImageOperands##NAME##Mask macro
61 {" Bias %5", {MASK(Bias), 5}},
62 {" Lod %5", {MASK(Lod), 5}},
63 {" Grad %5 %6", {MASK(Grad), 5, 6}},
64 {" ConstOffset %5", {MASK(ConstOffset), 5}},
65 {" Offset %5", {MASK(Offset), 5}},
66 {" ConstOffsets %5", {MASK(ConstOffsets), 5}},
67 {" Sample %5", {MASK(Sample), 5}},
68 {" MinLod %5", {MASK(MinLod), 5}},
70 #undef MASK
[all …]
/third_party/spirv-tools/test/
Dtext_to_binary.image_test.cpp52 #define MASK(NAME) SpvImageOperands##NAME##Mask macro
61 {" Bias %5", {MASK(Bias), 5}},
62 {" Lod %5", {MASK(Lod), 5}},
63 {" Grad %5 %6", {MASK(Grad), 5, 6}},
64 {" ConstOffset %5", {MASK(ConstOffset), 5}},
65 {" Offset %5", {MASK(Offset), 5}},
66 {" ConstOffsets %5", {MASK(ConstOffsets), 5}},
67 {" Sample %5", {MASK(Sample), 5}},
68 {" MinLod %5", {MASK(MinLod), 5}},
70 #undef MASK
[all …]
/third_party/ltp/tools/sparse/sparse-src/validation/optim/
Dcmpu-and0.c1 #define MASK 32U macro
4 int cmps_and_ltu_gt(int a) { return ((a & MASK) < (MASK + 1)) + 0; } in cmps_and_ltu_gt()
5 int cmps_and_leu_gt(int a) { return ((a & MASK) <= (MASK + 1)) + 0; } in cmps_and_leu_gt()
6 int cmps_and_leu_eq(int a) { return ((a & MASK) <= (MASK + 0)) + 0; } in cmps_and_leu_eq()
7 int cmps_and_geu_gt(int a) { return ((a & MASK) >= (MASK + 1)) + 1; } in cmps_and_geu_gt()
8 int cmps_and_gtu_gt(int a) { return ((a & MASK) > (MASK + 1)) + 1; } in cmps_and_gtu_gt()
9 int cmps_and_gtu_eq(int a) { return ((a & MASK) > (MASK + 0)) + 1; } in cmps_and_gtu_eq()
Dcmpu-or0.c2 #define MASK 32U macro
5 int cmpu_ior_lt_lt(int a) { return ((a | MASK) < (MASK - 1)) EQ(0); } in cmpu_ior_lt_lt()
6 int cmpu_ior_lt_eq(int a) { return ((a | MASK) < (MASK )) EQ(0); } in cmpu_ior_lt_eq()
7 int cmpu_ior_le_lt(int a) { return ((a | MASK) <= (MASK - 1)) EQ(0); } in cmpu_ior_le_lt()
8 int cmpu_ior_ge_lt(int a) { return ((a | MASK) >= (MASK - 1)) EQ(1); } in cmpu_ior_ge_lt()
9 int cmpu_ior_ge_eq(int a) { return ((a | MASK) >= (MASK )) EQ(1); } in cmpu_ior_ge_eq()
10 int cmpu_ior_gt_lt(int a) { return ((a | MASK) > (MASK - 1)) EQ(1); } in cmpu_ior_gt_lt()
Dcmps-and0.c2 #define MASK 32 macro
5 int cmps_and_lt_lt0(int a) { return ((a & MASK) < MINUS_ONE) + 1; } in cmps_and_lt_lt0()
6 int cmps_and_lt_gtm(int a) { return ((a & MASK) < (MASK + 1)) + 0; } in cmps_and_lt_gtm()
7 int cmps_and_le_lt0(int a) { return ((a & MASK) <= MINUS_ONE) + 1; } in cmps_and_le_lt0()
8 int cmps_and_le_gtm(int a) { return ((a & MASK) <= (MASK + 1)) + 0; } in cmps_and_le_gtm()
10 int cmps_and_gt_lt0(int a) { return ((a & MASK) > MINUS_ONE) + 0; } in cmps_and_gt_lt0()
11 int cmps_and_gt_gtm(int a) { return ((a & MASK) > (MASK + 1)) + 1; } in cmps_and_gt_gtm()
12 int cmps_and_ge_lt0(int a) { return ((a & MASK) >= MINUS_ONE) + 0; } in cmps_and_ge_lt0()
13 int cmps_and_ge_gtm(int a) { return ((a & MASK) >= (MASK + 1)) + 1; } in cmps_and_ge_gtm()
Dcmps-or0.c3 #define MASK (SIGN | 32) macro
6 int cmps_ior_lt_x(int a) { return ((a | MASK) < 4) EQ(1); } in cmps_ior_lt_x()
7 int cmps_ior_lt_0(int a) { return ((a | MASK) < 0) EQ(1); } in cmps_ior_lt_0()
8 int cmps_ior_le_x(int a) { return ((a | MASK) <= 4) EQ(1); } in cmps_ior_le_x()
9 int cmps_ior_le_0(int a) { return ((a | MASK) <= 0) EQ(1); } in cmps_ior_le_0()
10 int cmps_ior_ge_x(int a) { return ((a | MASK) >= 4) EQ(0); } in cmps_ior_ge_x()
11 int cmps_ior_ge_0(int a) { return ((a | MASK) >= 0) EQ(0); } in cmps_ior_ge_0()
12 int cmps_ior_gt_x(int a) { return ((a | MASK) > 4) EQ(0); } in cmps_ior_gt_x()
13 int cmps_ior_gt_0(int a) { return ((a | MASK) > 0) EQ(0); } in cmps_ior_gt_0()
/third_party/musl/porting/liteos_a/kernel/src/internal/
Dfloatscan.c34 #define MASK (KMAX-1) macro
188 a = (a+1 & MASK); in decfloat()
200 for (k=(z-1 & MASK); ; k=(k-1 & MASK)) { in decfloat()
209 if (k==(z-1 & MASK) && k!=a && !x[k]) z = k; in decfloat()
214 a = (a-1 & MASK); in decfloat()
216 z = (z-1 & MASK); in decfloat()
217 x[z-1 & MASK] |= x[z]; in decfloat()
228 k = (a+i & MASK); in decfloat()
233 if (x[a+i & MASK] > th[i]) break; in decfloat()
239 for (k=a; k!=z; k=(k+1 & MASK)) { in decfloat()
[all …]
/third_party/musl/src/internal/
Dfloatscan.c34 #define MASK (KMAX-1) macro
188 a = (a+1 & MASK); in decfloat()
200 for (k=(z-1 & MASK); ; k=(k-1 & MASK)) { in decfloat()
209 if (k==(z-1 & MASK) && k!=a && !x[k]) z = k; in decfloat()
214 a = (a-1 & MASK); in decfloat()
216 z = (z-1 & MASK); in decfloat()
217 x[z-1 & MASK] |= x[z]; in decfloat()
228 k = (a+i & MASK); in decfloat()
233 if (x[a+i & MASK] > th[i]) break; in decfloat()
239 for (k=a; k!=z; k=(k+1 & MASK)) { in decfloat()
[all …]
/third_party/musl/porting/liteos_m/kernel/src/internal/
Dfloatscan.c34 #define MASK (KMAX-1) macro
188 a = ((a+1) & MASK); in decfloat()
200 for (k=((z-1) & MASK); ; k=((k-1) & MASK)) { in decfloat()
209 if (k==((z-1) & MASK) && k!=a && !x[k]) z = k; in decfloat()
214 a = ((a-1) & MASK); in decfloat()
216 z = ((z-1) & MASK); in decfloat()
217 x[(z-1) & MASK] |= x[z]; in decfloat()
228 k = ((a+i) & MASK); in decfloat()
233 if (x[(a+i) & MASK] > th[i]) break; in decfloat()
239 for (k=a; k!=z; k=((k+1) & MASK)) { in decfloat()
[all …]
/third_party/musl/porting/uniproton/kernel/src/internal/
Dfloatscan.c34 #define MASK (KMAX-1) macro
188 a = ((a+1) & MASK); in decfloat()
200 for (k=((z-1) & MASK); ; k=((k-1) & MASK)) { in decfloat()
209 if (k==((z-1) & MASK) && k!=a && !x[k]) z = k; in decfloat()
214 a = ((a-1) & MASK); in decfloat()
216 z = ((z-1) & MASK); in decfloat()
217 x[(z-1) & MASK] |= x[z]; in decfloat()
228 k = ((a+i) & MASK); in decfloat()
233 if (x[(a+i) & MASK] > th[i]) break; in decfloat()
239 for (k=a; k!=z; k=((k+1) & MASK)) { in decfloat()
[all …]
/third_party/node/deps/openssl/openssl/crypto/poly1305/asm/
Dpoly1305-x86_64.pl344 my ($H0,$H1,$H2,$H3,$H4, $T0,$T1,$T2,$T3,$T4, $D0,$D1,$D2,$D3,$D4, $MASK) =
813 vmovdqa 64(%rcx),$MASK # .Lmask26
823 vpand $MASK,$T0,$T0 # 0
825 vpand $MASK,$T1,$T1 # 1
827 vpand $MASK,$T2,$T2 # 2
828 vpand $MASK,$T3,$T3 # 3
977 vpand $MASK,$H0,$H0 # 0
979 vpand $MASK,$H1,$H1 # 1
982 vpand $MASK,$H2,$H2 # 2
983 vpand $MASK,$H3,$H3 # 3
[all …]
Dpoly1305-x86.pl393 my $MASK=$T2; # borrow and keep in mind
404 &movq ($MASK,&QWP(64,"ebx"));
410 &pand ($D0,$MASK); # -> base 2^26
413 &pand ($D1,$MASK);
417 &pand ($D2,$MASK);
418 &pand ($D3,$MASK);
542 &movdqa ($MASK,&QWP(64,"ebx"));
560 &pand ($D3,$MASK);
565 &pand ($D0,$MASK);
570 &pand ($D4,$MASK);
[all …]
Dpoly1305-armv4.pl445 my ($T0,$T1,$MASK) = map("q$_",(15,4,0));
1048 vorn $MASK,$MASK,$MASK @ all-ones, can be redundant
1050 vshr.u64 $MASK,$MASK,#38
1092 vorn $MASK,$MASK,$MASK @ all-ones
1094 vshr.u64 $MASK,$MASK,#38
1113 vand.i64 $D3,$D3,$MASK
1115 vand.i64 $D0,$D0,$MASK
1120 vand.i64 $D4,$D4,$MASK
1122 vand.i64 $D1,$D1,$MASK
1128 vand.i64 $D2,$D2,$MASK
[all …]
Dpoly1305-armv8.pl220 my ($T0,$T1,$MASK) = map("v$_",(29..31));
530 movi $MASK.2d,#-1
534 ushr $MASK.2d,$MASK.2d,#38
696 and $ACC0,$ACC0,$MASK.2d
835 and $ACC3,$ACC3,$MASK.2d
837 and $ACC0,$ACC0,$MASK.2d
843 and $ACC4,$ACC4,$MASK.2d
845 and $ACC1,$ACC1,$MASK.2d
851 and $ACC2,$ACC2,$MASK.2d
856 and $ACC0,$ACC0,$MASK.2d
[all …]
/third_party/openssl/crypto/poly1305/asm/
Dpoly1305-x86_64.pl344 my ($H0,$H1,$H2,$H3,$H4, $T0,$T1,$T2,$T3,$T4, $D0,$D1,$D2,$D3,$D4, $MASK) =
813 vmovdqa 64(%rcx),$MASK # .Lmask26
823 vpand $MASK,$T0,$T0 # 0
825 vpand $MASK,$T1,$T1 # 1
827 vpand $MASK,$T2,$T2 # 2
828 vpand $MASK,$T3,$T3 # 3
977 vpand $MASK,$H0,$H0 # 0
979 vpand $MASK,$H1,$H1 # 1
982 vpand $MASK,$H2,$H2 # 2
983 vpand $MASK,$H3,$H3 # 3
[all …]
Dpoly1305-x86.pl393 my $MASK=$T2; # borrow and keep in mind
404 &movq ($MASK,&QWP(64,"ebx"));
410 &pand ($D0,$MASK); # -> base 2^26
413 &pand ($D1,$MASK);
417 &pand ($D2,$MASK);
418 &pand ($D3,$MASK);
542 &movdqa ($MASK,&QWP(64,"ebx"));
560 &pand ($D3,$MASK);
565 &pand ($D0,$MASK);
570 &pand ($D4,$MASK);
[all …]
Dpoly1305-armv4.pl445 my ($T0,$T1,$MASK) = map("q$_",(15,4,0));
1048 vorn $MASK,$MASK,$MASK @ all-ones, can be redundant
1050 vshr.u64 $MASK,$MASK,#38
1092 vorn $MASK,$MASK,$MASK @ all-ones
1094 vshr.u64 $MASK,$MASK,#38
1113 vand.i64 $D3,$D3,$MASK
1115 vand.i64 $D0,$D0,$MASK
1120 vand.i64 $D4,$D4,$MASK
1122 vand.i64 $D1,$D1,$MASK
1128 vand.i64 $D2,$D2,$MASK
[all …]
Dpoly1305-armv8.pl220 my ($T0,$T1,$MASK) = map("v$_",(29..31));
530 movi $MASK.2d,#-1
534 ushr $MASK.2d,$MASK.2d,#38
696 and $ACC0,$ACC0,$MASK.2d
835 and $ACC3,$ACC3,$MASK.2d
837 and $ACC0,$ACC0,$MASK.2d
843 and $ACC4,$ACC4,$MASK.2d
845 and $ACC1,$ACC1,$MASK.2d
851 and $ACC2,$ACC2,$MASK.2d
856 and $ACC0,$ACC0,$MASK.2d
[all …]
/third_party/lzma/C/
DPpmd7Enc.c85 #define MASK(sym) ((unsigned char *)charMask)[sym] macro
139 MASK(s->Symbol) = 0; in Ppmd7z_EncodeSymbol()
145 MASK(sym0) = 0; in Ppmd7z_EncodeSymbol()
146 MASK(sym1) = 0; in Ppmd7z_EncodeSymbol()
191 MASK(s->Symbol) = 0; in Ppmd7z_EncodeSymbol()
273 sum += (s[-2].Freq & (unsigned)(MASK(sym0))); in Ppmd7z_EncodeSymbol()
274 sum += (s[-1].Freq & (unsigned)(MASK(sym1))); in Ppmd7z_EncodeSymbol()
286 sum += (s->Freq & (unsigned)(MASK(cur))); in Ppmd7z_EncodeSymbol()
302 MASK(s->Symbol) = 0; in Ppmd7z_EncodeSymbol()
308 MASK(sym0) = 0; in Ppmd7z_EncodeSymbol()
[all …]
DPpmd7Dec.c61 #define MASK(sym) ((unsigned char *)charMask)[sym] macro
120 MASK(s->Symbol) = 0; in Ppmd7z_DecodeSymbol()
126 MASK(sym0) = 0; in Ppmd7z_DecodeSymbol()
127 MASK(sym1) = 0; in Ppmd7z_DecodeSymbol()
180 MASK(Ppmd7Context_OneState(p->MinContext)->Symbol) = 0; in Ppmd7z_DecodeSymbol()
212 hiCnt = (s->Freq & (unsigned)(MASK(s->Symbol))) & (0 - (UInt32)num); in Ppmd7z_DecodeSymbol()
221 hiCnt += (s[-2].Freq & (unsigned)(MASK(sym0))); in Ppmd7z_DecodeSymbol()
222 hiCnt += (s[-1].Freq & (unsigned)(MASK(sym1))); in Ppmd7z_DecodeSymbol()
246 count -= s->Freq & (unsigned)(MASK((s)->Symbol)); s++; if ((Int32)count < 0) break; in Ppmd7z_DecodeSymbol()
274 MASK(s->Symbol) = 0; in Ppmd7z_DecodeSymbol()
/third_party/ffmpeg/libavutil/
Davsscanf.c243 #define MASK (KMAX-1) macro
371 a = (a+1 & MASK); in decfloat()
383 for (k=(z-1 & MASK); ; k=(k-1 & MASK)) { in decfloat()
392 if (k==(z-1 & MASK) && k!=a && !x[k]) z = k; in decfloat()
397 a = (a-1 & MASK); in decfloat()
399 z = (z-1 & MASK); in decfloat()
400 x[z-1 & MASK] |= x[z]; in decfloat()
411 k = (a+i & MASK); in decfloat()
416 if (x[a+i & MASK] > th[i]) break; in decfloat()
422 for (k=a; k!=z; k=(k+1 & MASK)) { in decfloat()
[all …]
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-bit-page.hh111 unsigned int m = (*codepoint + 1) & MASK; in next()
133 unsigned int m = (*codepoint - 1) & MASK; in previous()
134 if (m == MASK) in previous()
191 static constexpr unsigned MASK = BITS - 1; member
194 elt_t &elt (hb_codepoint_t g) { return v[(g & MASK) / ELT_BITS]; } in elt()
195 const elt_t& elt (hb_codepoint_t g) const { return v[(g & MASK) / ELT_BITS]; } in elt()
/third_party/ffmpeg/libavcodec/arm/
Dmlpdsp_armv5te.S136 MASK .req ST1
143 MASK .req AC1
151 MASK .req PCO
171 MASK .req PCO
196 MASK .req ST1
228 mov MASK, ST1
239 and ST0, ST0, MASK
312 ldr MASK, [sp, #9*4 + 1*4]
330 and ST3, ST2, MASK
344 .unreq MASK
[all …]
/third_party/skia/src/core/
DSkScan_AntiPath.cpp20 #define MASK (SCALE - 1) macro
233 int fb = start & MASK; in blitH()
234 int fe = stop & MASK; in blitH()
251 (1 << (8 - SHIFT)) - (((y & MASK) + 1) >> SHIFT), in blitH()
255 fRuns.assertValid(y & MASK, (1 << (8 - SHIFT))); in blitH()
303 while ((y & MASK)) { in blitRect()
336 int xleft = x & MASK; in blitRect()
341 int xrite = (x + width) & MASK; in blitRect()
387 SkASSERT(height <= MASK); in blitRect()
562 int fb = start & MASK; in blitH()
[all …]

12345