Home
last modified time | relevance | path

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

12345

/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/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/flutter/skia/third_party/externals/spirv-tools/test/
Dtext_to_binary.image_test.cpp49 #define MASK(NAME) SpvImageOperands##NAME##Mask macro
58 {" Bias %5", {MASK(Bias), 5}},
59 {" Lod %5", {MASK(Lod), 5}},
60 {" Grad %5 %6", {MASK(Grad), 5, 6}},
61 {" ConstOffset %5", {MASK(ConstOffset), 5}},
62 {" Offset %5", {MASK(Offset), 5}},
63 {" ConstOffsets %5", {MASK(ConstOffsets), 5}},
64 {" Sample %5", {MASK(Sample), 5}},
65 {" MinLod %5", {MASK(MinLod), 5}},
67 #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/boost/boost/sort/common/util/
Dcircular_buffer.hpp53 const size_t MASK = (NMAX - 1); member
197 return (ptr[(first_pos + nelem - 1) & MASK]); in back()
210 return (ptr[(first_pos + nelem - 1) & MASK]); in back()
224 return ptr[(first_pos + pos) & MASK]; in operator []()
239 return ptr[(first_pos + pos) & MASK]; in operator []()
253 first_pos = ((first_pos + MASK) & MASK); in push_front()
269 first_pos = ((first_pos + MASK) & MASK); in push_front()
283 ptr[(first_pos + (nelem++)) & MASK] = val; in push_back()
296 ptr[(first_pos + (nelem++)) & MASK] = std::move(val); in push_back()
309 (++first_pos) &= MASK; in pop_front()
[all …]
/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/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/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/pixman/pixman/
Dpixman-arm-simd-asm.S66 WK6 .req MASK
119 mov MASK, SRC
127 mov MASK, SRC
136 mov MASK, SRC
143 WK6 .req MASK
217 ldr MASK, =0x07E007E0
225 and SCRATCH, WK&reg1, MASK @ 00000GGGGGG0000000000gggggg00000
226 bic WK&reg2, WK&reg1, MASK @ RRRRR000000BBBBBrrrrr000000bbbbb
263 bic SCRATCH, WK&reg, MASK @ 0000000000000000rrrrr000000bbbbb
264 and WK&reg, WK&reg, MASK @ 000000000000000000000gggggg00000
[all …]
Dpixman-combine32.h2 #define MASK 0xff macro
18 #define RED_8(x) (((x) >> R_SHIFT) & MASK)
19 #define GREEN_8(x) (((x) >> G_SHIFT) & MASK)
20 #define BLUE_8(x) ((x) & MASK)
71 (((uint16_t) (a) * MASK + ((b) / 2)) / (b))
118 t = (x & MASK) * (a & MASK); \
119 t |= (x & R_MASK) * ((a >> R_SHIFT) & MASK); \
Dpixman-arm-neon-asm.h445 pld [MASK, #(PREFETCH_DISTANCE_SIMPLE * mask_bpp / 8)]
452 (mask_basereg - pixblock_size * mask_bpp / 64), MASK
475 pixld (lowbit * 8 / dst_w_bpp), mask_bpp, mask_basereg, MASK
537 pixld chunk_size, mask_bpp, mask_basereg, MASK
591 add MASK, MASK, MASK_STRIDE, lsl #mask_bpp_shift
600 sub MASK, MASK, W, lsl #mask_bpp_shift
682 MASK .req r7 /* mask pointer */
777 ldr MASK, [sp, #48]
806 PF mov PF_MASK, MASK
838 (mask_basereg - pixblock_size * mask_bpp / 64), MASK
[all …]
/third_party/openssl/crypto/poly1305/asm/
Dpoly1305-x86_64.pl342 my ($H0,$H1,$H2,$H3,$H4, $T0,$T1,$T2,$T3,$T4, $D0,$D1,$D2,$D3,$D4, $MASK) =
811 vmovdqa 64(%rcx),$MASK # .Lmask26
821 vpand $MASK,$T0,$T0 # 0
823 vpand $MASK,$T1,$T1 # 1
825 vpand $MASK,$T2,$T2 # 2
826 vpand $MASK,$T3,$T3 # 3
975 vpand $MASK,$H0,$H0 # 0
977 vpand $MASK,$H1,$H1 # 1
980 vpand $MASK,$H2,$H2 # 2
981 vpand $MASK,$H3,$H3 # 3
[all …]
Dpoly1305-x86.pl394 my $MASK=$T2; # borrow and keep in mind
405 &movq ($MASK,&QWP(64,"ebx"));
411 &pand ($D0,$MASK); # -> base 2^26
414 &pand ($D1,$MASK);
418 &pand ($D2,$MASK);
419 &pand ($D3,$MASK);
543 &movdqa ($MASK,&QWP(64,"ebx"));
561 &pand ($D3,$MASK);
566 &pand ($D0,$MASK);
571 &pand ($D4,$MASK);
[all …]
Dpoly1305-armv4.pl450 my ($T0,$T1,$MASK) = map("q$_",(15,4,0));
1053 vorn $MASK,$MASK,$MASK @ all-ones, can be redundant
1055 vshr.u64 $MASK,$MASK,#38
1097 vorn $MASK,$MASK,$MASK @ all-ones
1099 vshr.u64 $MASK,$MASK,#38
1118 vand.i64 $D3,$D3,$MASK
1120 vand.i64 $D0,$D0,$MASK
1125 vand.i64 $D4,$D4,$MASK
1127 vand.i64 $D1,$D1,$MASK
1133 vand.i64 $D2,$D2,$MASK
[all …]
Dpoly1305-armv8.pl219 my ($T0,$T1,$MASK) = map("v$_",(29..31));
528 movi $MASK.2d,#-1
532 ushr $MASK.2d,$MASK.2d,#38
694 and $ACC0,$ACC0,$MASK.2d
833 and $ACC3,$ACC3,$MASK.2d
835 and $ACC0,$ACC0,$MASK.2d
841 and $ACC4,$ACC4,$MASK.2d
843 and $ACC1,$ACC1,$MASK.2d
849 and $ACC2,$ACC2,$MASK.2d
854 and $ACC0,$ACC0,$MASK.2d
[all …]
/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/flutter/skia/third_party/externals/wuffs/script/
Dwuffs-deflate-decoder-decode-huffman.c218 #define MASK(n) wuffs_base__width_to_mask_table[n] macro
281 uint32_t lmask = MASK(self->private_impl.f_n_huffs_bits[0]); in c_wuffs_deflate__decoder__decode_huffman_fast()
282 uint32_t dmask = MASK(self->private_impl.f_n_huffs_bits[1]); in c_wuffs_deflate__decoder__decode_huffman_fast()
341 uint32_t mask = MASK((table_entry >> 4) & 0x0F); in c_wuffs_deflate__decoder__decode_huffman_fast()
356 length += bits & MASK(n); in c_wuffs_deflate__decoder__decode_huffman_fast()
388 uint32_t mask = MASK((table_entry >> 4) & 0x0F); in c_wuffs_deflate__decoder__decode_huffman_fast()
406 dist_minus_1 += bits & MASK(n); in c_wuffs_deflate__decoder__decode_huffman_fast()
495 bits &= MASK(n_bits); in c_wuffs_deflate__decoder__decode_huffman_fast()
/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/ltp/testcases/kernel/hotplug/cpu_hotplug/include/
Dcpuhotplug_hotplug.sh28 MASK=$((1<<${CPU}))
31 echo $MASK > /proc/irq/${irq}/smp_affinity || \
56 MASK=$((1<<${CPU_TO_TEST}))
57 `taskset -p ${MASK} ${PID} > /dev/null 2>&1`

12345