Searched refs:mask (Results 1 - 25 of 2694) sorted by relevance

1234567891011>>

/external/libpcap/Win32/Src/
H A Dffs.c44 ffs(mask)
45 register int mask;
49 if (mask == 0)
51 for (bit = 1; !(mask & 1); bit++)
52 mask >>= 1;
/external/smali/util/src/main/java/org/jf/util/
H A DAlignmentUtils.java33 int mask = alignment - 1;
34 assert (alignment >= 0) && ((mask & alignment) == 0);
35 return (offset + mask) & ~mask;
/external/clang/test/CodeGen/
H A D2003-08-21-StmtExpr.c10 bar(({ structty mask; mask; }));
/external/valgrind/main/none/tests/ppc64/
H A Dpower6_bcmp.c35 unsigned long mask; local
37 mask = 0;
39 mask += 0xff;
41 mask += 0xff00;
43 mask += 0xff0000;
45 mask += 0xff000000;
47 mask += 0xff00000000;
49 mask += 0xff0000000000;
51 mask += 0xff000000000000;
53 mask
[all...]
/external/chromium_org/third_party/mesa/src/src/glsl/
H A Dopt_swizzle_swizzle.cpp61 if (swiz2->mask.num_components >= 1)
62 mask2[0] = swiz2->mask.x;
63 if (swiz2->mask.num_components >= 2)
64 mask2[1] = swiz2->mask.y;
65 if (swiz2->mask.num_components >= 3)
66 mask2[2] = swiz2->mask.z;
67 if (swiz2->mask.num_components >= 4)
68 mask2[3] = swiz2->mask.w;
70 if (ir->mask.num_components >= 1)
71 ir->mask
[all...]
/external/mesa3d/src/glsl/
H A Dopt_swizzle_swizzle.cpp61 if (swiz2->mask.num_components >= 1)
62 mask2[0] = swiz2->mask.x;
63 if (swiz2->mask.num_components >= 2)
64 mask2[1] = swiz2->mask.y;
65 if (swiz2->mask.num_components >= 3)
66 mask2[2] = swiz2->mask.z;
67 if (swiz2->mask.num_components >= 4)
68 mask2[3] = swiz2->mask.w;
70 if (ir->mask.num_components >= 1)
71 ir->mask
[all...]
/external/kernel-headers/original/uapi/linux/
H A Dkernel.h10 #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask))
H A Dioprio.h11 #define IOPRIO_PRIO_CLASS(mask) ((mask) >> IOPRIO_CLASS_SHIFT)
12 #define IOPRIO_PRIO_DATA(mask) ((mask) & IOPRIO_PRIO_MASK)
15 #define ioprio_valid(mask) (IOPRIO_PRIO_CLASS((mask)) != IOPRIO_CLASS_NONE)
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/genperf/
H A Dstandard.h20 #define bis(target,mask) ((target) |= (mask))
21 #define bic(target,mask) ((target) &= ~(mask))
22 #define bit(target,mask) ((target) & (mask))
/external/lldb/include/lldb/Core/
H A DFlags.h38 /// Constructs this object with \a mask as the initial value for all
41 /// @param[in] mask
109 /// @param[in] mask
113 /// The new flags after clearing all bits from \a mask.
116 Clear (ValueType mask = ~(ValueType)0)
118 m_flags &= ~mask;
124 /// Set one or more flags by logical OR'ing \a mask with the current
127 /// @param[in] mask
131 /// The new flags after setting all bits from \a mask.
134 Set (ValueType mask) argument
[all...]
/external/valgrind/main/memcheck/tests/amd64/
H A Dinsn-pmovmskb.c67 int bit = 0; ULong mask = (1UL << bit); local
68 if ((vbits_mask & mask) == 0) print(vbits, val_copy, bit, result & mask);
69 else use(bit, result & mask);
71 bit = 1; mask = (1UL << bit);
72 if ((vbits_mask & mask) == 0) print(vbits, val_copy, bit, result & mask);
73 else use(bit, result & mask);
75 bit = 2; mask = (1UL << bit);
76 if ((vbits_mask & mask)
[all...]
/external/stlport/src/
H A Dctype.cpp42 const ctype_base::mask*
45 static const ctype_base::mask _S_classic_table[table_size] = {
55 ctype_base::mask(space | cntrl) /* tab */,
56 ctype_base::mask(space | cntrl) /* LF */,
57 ctype_base::mask(space | cntrl) /* ^K */,
58 ctype_base::mask(space | cntrl) /* FF */,
59 ctype_base::mask(space | cntrl) /* ^M */,
78 ctype_base::mask(space | print) /* */,
79 ctype_base::mask(punct | print) /* ! */,
80 ctype_base::mask(punc
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkBitmapProcState_filter.h29 const uint32_t mask = 0xFF00FF; local
32 uint32_t lo = (a00 & mask) * scale;
33 uint32_t hi = ((a00 >> 8) & mask) * scale;
36 lo += (a01 & mask) * scale;
37 hi += ((a01 >> 8) & mask) * scale;
40 lo += (a10 & mask) * scale;
41 hi += ((a10 >> 8) & mask) * scale;
43 lo += (a11 & mask) * xy;
44 hi += ((a11 >> 8) & mask) * xy;
46 *dstColor = ((lo >> 8) & mask) | (h
59 const uint32_t mask = 0xFF00FF; local
89 const uint32_t mask = 0xFF00FF; local
111 const uint32_t mask = 0xFF00FF; local
[all...]
/external/skia/src/core/
H A DSkBitmapProcState_filter.h29 const uint32_t mask = 0xFF00FF; local
32 uint32_t lo = (a00 & mask) * scale;
33 uint32_t hi = ((a00 >> 8) & mask) * scale;
36 lo += (a01 & mask) * scale;
37 hi += ((a01 >> 8) & mask) * scale;
40 lo += (a10 & mask) * scale;
41 hi += ((a10 >> 8) & mask) * scale;
43 lo += (a11 & mask) * xy;
44 hi += ((a11 >> 8) & mask) * xy;
46 *dstColor = ((lo >> 8) & mask) | (h
59 const uint32_t mask = 0xFF00FF; local
89 const uint32_t mask = 0xFF00FF; local
111 const uint32_t mask = 0xFF00FF; local
[all...]
/external/valgrind/main/none/tests/ppc32/
H A Dpower6_bcmp.c36 long mask; local
38 mask = 0;
40 mask += 0xff;
42 mask += 0xff00;
44 mask += 0xff0000;
46 mask += 0xff000000;
53 a = (mask & (j * 0x1010101)) + ((~mask) & (k * 0x1010101));
56 if (result != mask) {
58 (unsigned long long) mask, (unsigne
[all...]
/external/chromium_org/third_party/smhasher/src/
H A DPlatform.cpp29 cpu_set_t mask; local
31 CPU_ZERO(&mask);
33 CPU_SET(2,&mask);
35 if( sched_setaffinity(0,sizeof(mask),&mask) == -1)
/external/lldb/tools/debugserver/source/
H A DPThreadEvent.cpp40 uint32_t mask = 1; local
41 while (mask & m_validBits)
42 mask <<= 1;
43 m_validBits |= mask;
44 return mask;
48 PThreadEvent::FreeEventBits(const uint32_t mask) argument
50 // DNBLogThreadedIf(LOG_EVENTS, "%p PThreadEvent::%s (0x%8.8x)", this, __FUNCTION__, mask);
51 if (mask)
54 m_bits &= ~mask;
55 m_validBits &= ~mask;
92 SetEvents(const uint32_t mask) argument
111 ResetEvents(const uint32_t mask) argument
133 WaitForSetEvents(const uint32_t mask, const struct timespec *timeout_abstime) const argument
181 WaitForEventsToReset(const uint32_t mask, const struct timespec *timeout_abstime) const argument
219 WaitForResetAck(const uint32_t mask, const struct timespec *timeout_abstime) const argument
[all...]
/external/openfst/src/include/fst/extensions/ngram/
H A Dnthbit.h28 uint32 mask = -(r > c); local
29 r -= c & mask;
30 shift += (32 & mask);
33 mask = -(r > c);
34 r -= c & mask;
35 shift += (16 & mask);
38 mask = -(r > c);
39 r -= c & mask;
40 shift += (8 & mask);
/external/valgrind/main/none/tests/amd64/
H A Dshrld.c162 ULong mask; local
166 mask = MASK_OSZACP;
167 if (i > 1) mask &= ~AMD64G_CC_MASK_O;
168 if (i > 0) mask &= ~AMD64G_CC_MASK_A;
174 printf("%3d 0x%016llx 0x%llx\n", i, result, flags_out & mask);
179 mask = MASK_OSZACP;
180 if (i > 1) mask &= ~AMD64G_CC_MASK_O;
181 if (i > 0) mask &= ~AMD64G_CC_MASK_A;
187 printf("%3d 0x%016llx 0x%llx\n", i, result, flags_out & mask);
193 mask
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/math/
H A Dm_clip_tmp.h65 GLuint mask; local
66 mask = (((cw < cx) << CLIP_RIGHT_SHIFT));
67 mask |= (((cw < -cx) << CLIP_LEFT_SHIFT));
68 mask |= (((cw < cy) << CLIP_TOP_SHIFT));
69 mask |= (((cw < -cy) << CLIP_BOTTOM_SHIFT));
71 mask |= (((cw < cz) << CLIP_FAR_SHIFT));
72 mask |= (((cw < -cz) << CLIP_NEAR_SHIFT));
75 GLubyte mask = 0; local
76 if (-cx + cw < 0) mask |= CLIP_RIGHT_BIT;
77 if ( cx + cw < 0) mask |
145 GLuint mask; local
155 GLubyte mask = 0; local
196 GLubyte mask = 0; local
232 GLubyte mask = 0; local
[all...]
/external/mesa3d/src/mesa/math/
H A Dm_clip_tmp.h65 GLuint mask; local
66 mask = (((cw < cx) << CLIP_RIGHT_SHIFT));
67 mask |= (((cw < -cx) << CLIP_LEFT_SHIFT));
68 mask |= (((cw < cy) << CLIP_TOP_SHIFT));
69 mask |= (((cw < -cy) << CLIP_BOTTOM_SHIFT));
71 mask |= (((cw < cz) << CLIP_FAR_SHIFT));
72 mask |= (((cw < -cz) << CLIP_NEAR_SHIFT));
75 GLubyte mask = 0; local
76 if (-cx + cw < 0) mask |= CLIP_RIGHT_BIT;
77 if ( cx + cw < 0) mask |
145 GLuint mask; local
155 GLubyte mask = 0; local
196 GLubyte mask = 0; local
232 GLubyte mask = 0; local
[all...]
/external/iptables/include/linux/netfilter/
H A Dxt_mark.h7 __u32 mark, mask; member in struct:xt_mark_tginfo2
11 __u32 mark, mask; member in struct:xt_mark_mtinfo1
/external/kernel-headers/original/uapi/linux/netfilter/
H A Dxt_mark.h7 __u32 mark, mask; member in struct:xt_mark_tginfo2
11 __u32 mark, mask; member in struct:xt_mark_mtinfo1
/external/oprofile/events/mips/1004K/
H A Dunit_masks5 0x0 No unit mask
/external/oprofile/events/mips/20K/
H A Dunit_masks5 0x0 No unit mask

Completed in 862 milliseconds

1234567891011>>