Home
last modified time | relevance | path

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

1234

/external/libvpx/libvpx/third_party/libyuv/source/
Drow_any.cc26 #define ANY41C(NAMEANY, ANY_SIMD, UVSHIFT, DUVSHIFT, BPP, MASK) \ argument
32 int r = width & MASK; \
33 int n = width & ~MASK; \
42 yuvconstants, MASK + 1); \
59 #define ANY31(NAMEANY, ANY_SIMD, UVSHIFT, DUVSHIFT, BPP, MASK) \ argument
64 int r = width & MASK; \
65 int n = width & ~MASK; \
72 ANY_SIMD(temp, temp + 64, temp + 128, temp + 192, MASK + 1); \
97 #define ANY31C(NAMEANY, ANY_SIMD, UVSHIFT, DUVSHIFT, BPP, MASK) \ argument
103 int r = width & MASK; \
[all …]
Dscale_any.cc22 #define CANY(NAMEANY, TERP_SIMD, TERP_C, BPP, MASK) \ argument
25 int n = dst_width & ~MASK; \
30 dst_width & MASK, x + n * dx, dx); \
46 #define SDANY(NAMEANY, SCALEROWDOWN_SIMD, SCALEROWDOWN_C, FACTOR, BPP, MASK) \ argument
49 int r = (int)((unsigned int)dst_width % (MASK + 1)); \
61 #define SDODD(NAMEANY, SCALEROWDOWN_SIMD, SCALEROWDOWN_C, FACTOR, BPP, MASK) \ argument
64 int r = (int)((unsigned int)(dst_width - 1) % (MASK + 1)); \
167 #define SDAANY(NAMEANY, SCALEROWDOWN_SIMD, SCALEROWDOWN_C, BPP, MASK) \ argument
170 int r = (int)((unsigned int)dst_width % (MASK + 1)); \
193 #define SAANY(NAMEANY, SCALEADDROW_SIMD, SCALEADDROW_C, MASK) \ argument
[all …]
Drotate_any.cc21 #define TANY(NAMEANY, TPOS_SIMD, MASK) \ argument
24 int r = width & MASK; \
46 #define TUVANY(NAMEANY, TPOS_SIMD, MASK) \ argument
50 int r = width & MASK; \
/external/libyuv/files/source/
Drow_any.cc34 #define ANY41C(NAMEANY, ANY_SIMD, UVSHIFT, DUVSHIFT, BPP, MASK) \ argument
40 int r = width & MASK; \
41 int n = width & ~MASK; \
50 yuvconstants, MASK + 1); \
70 #define ANY31(NAMEANY, ANY_SIMD, UVSHIFT, DUVSHIFT, BPP, MASK) \ argument
75 int r = width & MASK; \
76 int n = width & ~MASK; \
83 ANY_SIMD(temp, temp + 64, temp + 128, temp + 192, MASK + 1); \
114 #define ANY31C(NAMEANY, ANY_SIMD, UVSHIFT, DUVSHIFT, BPP, MASK) \ argument
120 int r = width & MASK; \
[all …]
Dscale_any.cc22 #define CANY(NAMEANY, TERP_SIMD, TERP_C, BPP, MASK) \ argument
25 int n = dst_width & ~MASK; \
29 TERP_C(dst_ptr + n * BPP, src_ptr, dst_width & MASK, x + n * dx, dx); \
48 #define SDANY(NAMEANY, SCALEROWDOWN_SIMD, SCALEROWDOWN_C, FACTOR, BPP, MASK) \ argument
51 int r = (int)((unsigned int)dst_width % (MASK + 1)); \
63 #define SDODD(NAMEANY, SCALEROWDOWN_SIMD, SCALEROWDOWN_C, FACTOR, BPP, MASK) \ argument
66 int r = (int)((unsigned int)(dst_width - 1) % (MASK + 1)); \
353 #define SDAANY(NAMEANY, SCALEROWDOWN_SIMD, SCALEROWDOWN_C, BPP, MASK) \ argument
356 int r = (int)((unsigned int)dst_width % (MASK + 1)); \
403 #define SAANY(NAMEANY, SCALEADDROW_SIMD, SCALEADDROW_C, MASK) \ argument
[all …]
Drotate_any.cc21 #define TANY(NAMEANY, TPOS_SIMD, MASK) \ argument
24 int r = width & MASK; \
49 #define TUVANY(NAMEANY, TPOS_SIMD, MASK) \ argument
52 int r = width & MASK; \
/external/llvm/test/Transforms/InstCombine/
Dicmp-logical.ll5 ; CHECK: [[MASK:%.*]] = and i32 %A, 7
6 ; CHECK: icmp ne i32 [[MASK]], 0
22 ; CHECK: [[MASK:%.*]] = and i32 %A, 7
23 ; CHECK: icmp eq i32 [[MASK]], 0
39 ; CHECK: [[MASK:%.*]] = and i32 %A, 7
40 ; CHECK: icmp ne i32 [[MASK]], 7
56 ; CHECK: [[MASK:%.*]] = and i32 %A, 7
57 ; CHECK: icmp eq i32 [[MASK]], 7
73 ; CHECK: [[MASK:%.*]] = and i32 %A, 39
74 ; CHECK: icmp ne i32 [[MASK]], %A
[all …]
/external/llvm/test/CodeGen/AArch64/
Darm64-neon-select_cc.ll8 ; CHECK: cmeq [[MASK:v[0-9]+]].8b, v[[LHS]].8b, v[[RHS]].8b
9 ; CHECK: dup [[DUPMASK:v[0-9]+]].8b, [[MASK]].b[0]
18 ; CHECK: fcmeq [[MASK:v[0-9]+]].2s, v0.2s, v1.2s
19 ; CHECK-NEXT: dup [[DUPMASK:v[0-9]+]].2s, [[MASK]].s[0]
28 ; CHECK: fcmeq d[[MASK:[0-9]+]], d0, d1
29 ; CHECK-NEXT: bsl v[[MASK]].8b, v2.8b, v3.8b
39 ; CHECK: cmeq [[MASK:v[0-9]+]].16b, v[[LHS]].16b, v[[RHS]].16b
40 ; CHECK: dup [[DUPMASK:v[0-9]+]].16b, [[MASK]].b[0]
49 ; CHECK: fcmeq [[MASK:v[0-9]+]].4s, v0.4s, v1.4s
50 ; CHECK-NEXT: dup [[DUPMASK:v[0-9]+]].4s, [[MASK]].s[0]
[all …]
Dfast-isel-cmp-vec.ll14 ; CHECK-NEXT: movi.2s [[MASK:v[0-9]+]], #1
15 ; CHECK-NEXT: and.8b v0, [[CMP]], [[MASK]]
29 ; CHECK-NEXT: movi.2s [[MASK:v[0-9]+]], #1
30 ; CHECK-NEXT: and.8b v0, v[[CMP]], [[MASK]]
45 ; CHECK-NEXT: movi.4h [[MASK:v[0-9]+]], #1
46 ; CHECK-NEXT: and.8b [[ZEXT:v[0-9]+]], [[CMPV4I16]], [[MASK]]
61 ; CHECK-NEXT: movi.4h [[MASK:v[0-9]+]], #1
62 ; CHECK-NEXT: and.8b [[ZEXT:v[0-9]+]], v[[CMP]], [[MASK]]
77 ; CHECK-NEXT: movi.16b [[MASK:v[0-9]+]], #1
78 ; CHECK-NEXT: and.16b v0, [[CMP]], [[MASK]]
[all …]
Dcomplex-int-to-fp.ll43 ; CHECK: movi d[[MASK:[0-9]+]], #0x00ffff0000ffff
44 ; CHECK: and.8b [[VAL32:v[0-9]+]], v0, v[[MASK]]
64 ; CHECK: movi d[[MASK:[0-9]+]], #0x0000ff000000ff
65 ; CHECK: and.8b [[VAL32:v[0-9]+]], v0, v[[MASK]]
101 ; CHECK: movi d[[MASK:[0-9]+]], #0x00ffff0000ffff
102 ; CHECK: and.8b [[VAL32:v[0-9]+]], v0, v[[MASK]]
120 ; CHECK: movi d[[MASK:[0-9]+]], #0x0000ff000000ff
121 ; CHECK: and.8b [[VAL32:v[0-9]+]], v0, v[[MASK]]
Dtbi.ll16 ; load (r & MASK) + 4
59 ; load (x1 + x2) & MASK
71 ; load (r1 & MASK) + r2
83 ; load (r1 & MASK) | r2
/external/skia/third_party/lua/src/
Dlctype.h46 #define MASK(B) (1 << (B)) macro
57 #define lislalpha(c) testprop(c, MASK(ALPHABIT))
58 #define lislalnum(c) testprop(c, (MASK(ALPHABIT) | MASK(DIGITBIT)))
59 #define lisdigit(c) testprop(c, MASK(DIGITBIT))
60 #define lisspace(c) testprop(c, MASK(SPACEBIT))
61 #define lisprint(c) testprop(c, MASK(PRINTBIT))
62 #define lisxdigit(c) testprop(c, MASK(XDIGITBIT))
/external/syslinux/com32/lua/src/
Dlctype.h46 #define MASK(B) (1 << (B)) macro
57 #define lislalpha(c) testprop(c, MASK(ALPHABIT))
58 #define lislalnum(c) testprop(c, (MASK(ALPHABIT) | MASK(DIGITBIT)))
59 #define lisdigit(c) testprop(c, MASK(DIGITBIT))
60 #define lisspace(c) testprop(c, MASK(SPACEBIT))
61 #define lisprint(c) testprop(c, MASK(PRINTBIT))
62 #define lisxdigit(c) testprop(c, MASK(XDIGITBIT))
/external/lzma/C/
DPpmd7Enc.c77 #define MASK(sym) ((signed char *)charMask)[sym] macro
112 MASK(s->Symbol) = 0; in Ppmd7_EncodeSymbol()
114 do { MASK((--s)->Symbol) = 0; } while (--i); in Ppmd7_EncodeSymbol()
135 MASK(s->Symbol) = 0; in Ppmd7_EncodeSymbol()
168 sum += (s->Freq & (int)(MASK(s->Symbol))); in Ppmd7_EncodeSymbol()
178 sum += (s->Freq & (int)(MASK(cur))); in Ppmd7_EncodeSymbol()
179 MASK(cur) = 0; in Ppmd7_EncodeSymbol()
DPpmd7Dec.c79 #define MASK(sym) ((signed char *)charMask)[sym] macro
118 MASK(s->Symbol) = 0; in Ppmd7_DecodeSymbol()
120 do { MASK((--s)->Symbol) = 0; } while (--i); in Ppmd7_DecodeSymbol()
136 MASK(Ppmd7Context_OneState(p->MinContext)->Symbol) = 0; in Ppmd7_DecodeSymbol()
159 int k = (int)(MASK(s->Symbol)); in Ppmd7_DecodeSymbol()
187 do { MASK(ps[--i]->Symbol) = 0; } while (i != 0); in Ppmd7_DecodeSymbol()
/external/llvm/test/CodeGen/X86/
Dvec_uint_to_fp.ll43 ; SSE: movdqa [[MASKCSTADDR]](%rip), [[MASK:%xmm[0-9]+]]
44 ; SSE-NEXT: pand %xmm0, [[MASK]]
45 ; After this instruction, MASK will have the value of the low parts
47 ; SSE-NEXT: por [[LOWCSTADDR]](%rip), [[MASK]]
51 ; SSE-NEXT: addps [[MASK]], %xmm0
102 ; SSE: movdqa {{.*#+}} [[MASK:xmm[0-9]+]] = [65535,65535,65535,65535]
104 ; SSE-NEXT: pand %[[MASK]], [[VECLOW]]
113 ; MASK is the low vector of the second part after this point.
114 ; SSE-NEXT: pand %xmm1, %[[MASK]]
115 ; SSE-NEXT: por %[[LOWCST]], %[[MASK]]
[all …]
/external/libcap-ng/libcap-ng-0.7/src/
Dcap-ng.c55 #define MASK(x) (1U << (x)) macro
351 *data |= MASK(capability); in v1_update()
353 *data &= ~(MASK(capability)); in v1_update()
360 m.data.v3[idx].effective |= MASK(capability); in update_effective()
362 m.data.v3[idx].effective &= ~(MASK(capability)); in update_effective()
369 m.data.v3[idx].permitted |= MASK(capability); in update_permitted()
371 m.data.v3[idx].permitted &= ~(MASK(capability)); in update_permitted()
378 m.data.v3[idx].inheritable |= MASK(capability); in update_inheritable()
380 m.data.v3[idx].inheritable &= ~(MASK(capability)); in update_inheritable()
388 m.bounds[idx] |= MASK(capability); in update_bounding_set()
[all …]
/external/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`
/external/skia/src/core/
DSkScan_AntiPath.cpp18 #define MASK (SCALE - 1) macro
231 int fb = start & MASK; in blitH()
232 int fe = stop & MASK; in blitH()
249 (1 << (8 - SHIFT)) - (((y & MASK) + 1) >> SHIFT), in blitH()
253 fRuns.assertValid(y & MASK, (1 << (8 - SHIFT))); in blitH()
301 while ((y & MASK)) { in blitRect()
334 int xleft = x & MASK; in blitRect()
339 int xrite = (x + width) & MASK; in blitRect()
385 SkASSERT(height <= MASK); in blitRect()
560 int fb = start & MASK; in blitH()
[all …]
/external/openssh/openbsd-compat/
Dpwcache.c44 #define MASK (NCACHE - 1) /* bits to store with */ macro
59 cp = c_uid + (uid & MASK); in user_from_uid()
94 cp = c_gid + (gid & MASK); in group_from_gid()
/external/ltp/testcases/kernel/syscalls/fstat/
Dfstat02.c39 #define MASK 0777 macro
80 if ((stat_buf.st_mode & MASK) != FILE_MODE) { in verify()
82 (stat_buf.st_mode & MASK), FILE_MODE); in verify()
/external/ltp/testcases/kernel/syscalls/stat/
Dstat01.c39 #define MASK 0777 macro
80 if ((stat_buf.st_mode & MASK) != FILE_MODE) { in verify()
82 (stat_buf.st_mode & MASK), FILE_MODE); in verify()
/external/harfbuzz_ng/src/
Dhb-set-private.hh334 static const unsigned int MASK = BITS - 1; member
340 elt_t mask (hb_codepoint_t g) const { return elt_t (1) << (g & MASK); } in mask()
352 static const unsigned int MASK = hb_set_t::MASK; member
366 start = min & ~MASK; in init()
394 elt_t mask (hb_codepoint_t g) const { return elt_t (1) << (g & MASK); } in mask()
/external/ltp/testcases/kernel/fs/acl/
Dtacl_xattr.sh573 MASK=`umask`
576 umask $MASK > /dev/null
601 MASK=`umask`
604 umask $MASK > /dev/null
628 MASK=`umask`
631 umask $MASK > /dev/null
655 MASK=`umask`
659 umask $MASK > /dev/null
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DLongArray.java951 int MASK = 0xF; in modMultiplyLD() local
962 int u = aVal & MASK; in modMultiplyLD()
963 int v = (aVal >>> 4) & MASK; in modMultiplyLD()
974 int u = aVal & MASK; in modMultiplyLD()
975 int v = (aVal >>> 4) & MASK; in modMultiplyLD()
1083 int MASK = 0xF; in modMultiply() local
1095 int u = (int)aVal & MASK; in modMultiply()
1097 int v = (int)aVal & MASK; in modMultiply()
1261 int MASK = (1 << width) - 1; in modMultiplyAlt() local
1273 int index = (int)(aVal) & MASK; in modMultiplyAlt()
[all …]

1234