Searched refs:mask (Results 226 - 250 of 2473) sorted by relevance

1234567891011>>

/external/pixman/test/
H A Dcomposite.c230 image_t *mask,
237 if (mask)
239 pixman_image_set_component_alpha (mask->image, component_alpha);
241 pixman_image_composite (op, src->image, mask->image, dst->image,
256 if (mask)
258 tmsk = *mask->color;
261 /* It turns out that by construction all source, mask etc. colors are
284 if (mask && mask->size)
286 if (PIXMAN_FORMAT_TYPE (mask
227 composite_test(image_t *dst, pixman_op_t op, image_t *src, image_t *mask, pixman_bool_t component_alpha, int testno) argument
450 image_t src, mask, dst; local
[all...]
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestcursor.c111 Uint8 mask[4*32]; local
119 mask[i] <<= 1;
122 data[i] = mask[i] = 0;
127 mask[i] |= 0x01;
130 mask[i] |= 0x01;
138 return SDL_CreateCursor(data, mask, 32, 32, hot_x, hot_y);
H A Dthreadwin.c28 Uint8 *mask; local
55 /* Create the mask */
62 mask = (Uint8 *)malloc(mlen/8);
63 if ( mask == NULL ) {
68 memset(mask, 0, mlen/8);
71 mask[i/8] |= 0x01;
74 mask[i/8] <<= 1;
76 *maskp = mask;
134 Uint32 mask; local
137 mask
171 Uint32 mask; local
[all...]
/external/skia/include/core/
H A DSkMath.h47 static inline int SkCLZ(uint32_t mask) { argument
48 if (mask) {
50 _BitScanReverse(&index, mask);
57 static inline int SkCLZ(uint32_t mask) { argument
59 return mask ? __builtin_clz(mask) : 32;
/external/srec/srec/cfront/
H A Dlog_tabl.c53 logtab->mask = 0x01;
56 logtab->mask = (logtab->mask << 1) | 0x01;
57 logtab->mask = ~logtab->mask;
91 while ((operand & logtab->mask))
/external/chromium_org/third_party/libwebp/dsp/
H A Ddec_sse2.c329 const __m128i* q1, int thresh, __m128i *mask) {
331 *mask = _mm_set1_epi8(0xFE);
332 t1 = _mm_and_si128(t1, *mask); // set lsb of each byte to zero
335 *mask = MM_ABS(*p0, *q0); // abs(p0 - q0)
336 *mask = _mm_adds_epu8(*mask, *mask); // abs(p0 - q0) * 2
337 *mask = _mm_adds_epu8(*mask, t1); // abs(p0 - q0) * 2 + abs(p1 - q1) / 2
340 *mask
328 NeedsFilter(const __m128i* p1, const __m128i* p0, const __m128i* q0, const __m128i* q1, int thresh, __m128i *mask) argument
350 __m128i a, mask; local
369 DoFilter4(__m128i* p1, __m128i *p0, __m128i* q0, __m128i* q1, const __m128i* mask, int hev_thresh) argument
416 DoFilter6(__m128i *p2, __m128i* p1, __m128i *p0, __m128i* q0, __m128i* q1, __m128i *q2, const __m128i* mask, int hev_thresh) argument
692 __m128i mask; local
717 __m128i mask; local
738 __m128i mask; local
767 __m128i mask; local
792 __m128i mask; local
817 __m128i mask; local
837 __m128i mask; local
863 __m128i mask; local
[all...]
/external/iproute2/tc/
H A Df_u32.c117 static int pack_key(struct tc_u32_sel *sel, __u32 key, __u32 mask, argument
123 key &= mask;
127 __u32 intersect = mask&sel->keys[i].mask;
132 sel->keys[i].mask |= mask;
142 sel->keys[hwm].mask = mask;
149 static int pack_key32(struct tc_u32_sel *sel, __u32 key, __u32 mask, argument
153 mask
157 pack_key16(struct tc_u32_sel *sel, __u32 key, __u32 mask, int off, int offmask) argument
174 pack_key8(struct tc_u32_sel *sel, __u32 key, __u32 mask, int off, int offmask) argument
233 __u32 mask; local
265 __u32 mask; local
296 __u32 mask; local
331 __u32 mask; local
392 __u32 mask = htonl(0xFFFFFFFF << (32 - (plen -i ))); local
412 __u32 mask; local
768 __u16 mask; local
801 __u32 mask; local
[all...]
H A Df_tcindex.c20 fprintf(stderr," Usage: ... tcindex [ hash SIZE ] [ mask MASK ]"
56 else if (!strcmp(*argv,"mask")) {
57 __u16 mask; local
60 mask = strtoul(*argv,&end,0);
65 addattr_l(n,4096,TCA_TCINDEX_MASK,&mask,sizeof(mask));
141 __u16 mask; local
143 if (RTA_PAYLOAD(tb[TCA_TCINDEX_MASK]) < sizeof(mask))
145 mask = rta_getattr_u16(tb[TCA_TCINDEX_MASK]);
146 fprintf(f,"mask
[all...]
/external/webp/src/dsp/
H A Ddec_sse2.c329 const __m128i* q1, int thresh, __m128i *mask) {
331 *mask = _mm_set1_epi8(0xFE);
332 t1 = _mm_and_si128(t1, *mask); // set lsb of each byte to zero
335 *mask = MM_ABS(*p0, *q0); // abs(p0 - q0)
336 *mask = _mm_adds_epu8(*mask, *mask); // abs(p0 - q0) * 2
337 *mask = _mm_adds_epu8(*mask, t1); // abs(p0 - q0) * 2 + abs(p1 - q1) / 2
340 *mask
328 NeedsFilter(const __m128i* p1, const __m128i* p0, const __m128i* q0, const __m128i* q1, int thresh, __m128i *mask) argument
350 __m128i a, mask; local
369 DoFilter4(__m128i* p1, __m128i *p0, __m128i* q0, __m128i* q1, const __m128i* mask, int hev_thresh) argument
416 DoFilter6(__m128i *p2, __m128i* p1, __m128i *p0, __m128i* q0, __m128i* q1, __m128i *q2, const __m128i* mask, int hev_thresh) argument
692 __m128i mask; local
717 __m128i mask; local
738 __m128i mask; local
767 __m128i mask; local
792 __m128i mask; local
817 __m128i mask; local
837 __m128i mask; local
863 __m128i mask; local
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/
H A DOAEPEncoding.java174 // mask the message block.
176 byte[] mask = maskGeneratorFunction1(seed, 0, seed.length, block.length - defHash.length);
180 block[i] ^= mask[i - defHash.length];
189 // mask the seed.
191 mask = maskGeneratorFunction1(
196 block[i] ^= mask[i];
239 byte[] mask = maskGeneratorFunction1(
244 block[i] ^= mask[i];
250 mask = maskGeneratorFunction1(block, 0, defHash.length, block.length - defHash.length);
254 block[i] ^= mask[
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dcompiler.h415 static GLuint mask = DEFAULT_X86_FPU; \
417 __asm__ ( "fldcw %0" : : "m" (mask) ); \
422 static GLuint mask = FAST_X86_FPU; \
424 __asm__ ( "fldcw %0" : : "m" (mask) ); \
438 void _watcom_start_fast_math(unsigned short *x,unsigned short *mask);
453 static GLushort mask = DEFAULT_X86_FPU; \
454 _watcom_start_fast_math(&x,&mask); \
459 static GLushort mask = FAST_X86_FPU; \
460 _watcom_start_fast_math(&x,&mask); \
470 static GLuint mask
[all...]
/external/iptables/extensions/
H A Dlibxt_MARK.c75 " --set-xmark value[/mask] Clear bits in mask and XOR value into nfmark\n"
76 " --set-mark value[/mask] Clear bits in mask and OR value into nfmark\n"
79 " --xor-mask bits Binary XOR the nfmark with bits\n"
134 info->mask = cb->val.mask;
138 info->mask = cb->val.mark | cb->val.mask;
142 info->mask
[all...]
/external/kernel-headers/original/linux/
H A Dirq.h72 * @disable: disable the interrupt (defaults to chip->mask if NULL)
74 * @mask: mask an interrupt source
75 * @mask_ack: ack and mask an interrupt source
95 void (*mask)(unsigned int irq); member in struct:irq_chip
193 static inline void set_native_irq_info(int irq, cpumask_t mask) argument
195 irq_desc[irq].affinity = mask;
198 static inline void set_native_irq_info(int irq, cpumask_t mask) argument
207 void set_pending_irq(unsigned int irq, cpumask_t mask);
222 static inline void set_irq_info(int irq, cpumask_t mask) argument
233 set_irq_info(int irq, cpumask_t mask) argument
250 set_pending_irq(unsigned int irq, cpumask_t mask) argument
254 set_irq_info(int irq, cpumask_t mask) argument
271 set_balance_irq_affinity(unsigned int irq, cpumask_t mask) argument
[all...]
/external/mesa3d/src/mesa/main/
H A Dcompiler.h415 static GLuint mask = DEFAULT_X86_FPU; \
417 __asm__ ( "fldcw %0" : : "m" (mask) ); \
422 static GLuint mask = FAST_X86_FPU; \
424 __asm__ ( "fldcw %0" : : "m" (mask) ); \
438 void _watcom_start_fast_math(unsigned short *x,unsigned short *mask);
453 static GLushort mask = DEFAULT_X86_FPU; \
454 _watcom_start_fast_math(&x,&mask); \
459 static GLushort mask = FAST_X86_FPU; \
460 _watcom_start_fast_math(&x,&mask); \
470 static GLuint mask
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
H A Dlp_bld_logic.c389 * Return (mask & a) | (~mask & b);
393 LLVMValueRef mask,
414 a = LLVMBuildAnd(builder, a, mask, "");
421 b = LLVMBuildAnd(builder, b, LLVMBuildNot(builder, mask, ""), "");
435 * Return mask ? a : b;
437 * mask is a bitwise mask, composed of 0 or ~0 for each element. Any other value
442 LLVMValueRef mask,
458 mask
392 lp_build_select_bitwise(struct lp_build_context *bld, LLVMValueRef mask, LLVMValueRef a, LLVMValueRef b) argument
441 lp_build_select(struct lp_build_context *bld, LLVMValueRef mask, LLVMValueRef a, LLVMValueRef b) argument
560 lp_build_select_aos(struct lp_build_context *bld, unsigned mask, LLVMValueRef a, LLVMValueRef b) argument
[all...]
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_logic.c389 * Return (mask & a) | (~mask & b);
393 LLVMValueRef mask,
414 a = LLVMBuildAnd(builder, a, mask, "");
421 b = LLVMBuildAnd(builder, b, LLVMBuildNot(builder, mask, ""), "");
435 * Return mask ? a : b;
437 * mask is a bitwise mask, composed of 0 or ~0 for each element. Any other value
442 LLVMValueRef mask,
458 mask
392 lp_build_select_bitwise(struct lp_build_context *bld, LLVMValueRef mask, LLVMValueRef a, LLVMValueRef b) argument
441 lp_build_select(struct lp_build_context *bld, LLVMValueRef mask, LLVMValueRef a, LLVMValueRef b) argument
560 lp_build_select_aos(struct lp_build_context *bld, unsigned mask, LLVMValueRef a, LLVMValueRef b) argument
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkMaskFilter.cpp39 static void blitClippedMask(SkBlitter* blitter, const SkMask& mask, argument
43 blitter->blitMask(mask, r);
55 static void dump(const SkMask& mask) {
56 for (int y = mask.fBounds.top(); y < mask.fBounds.bottom(); ++y) {
57 for (int x = mask.fBounds.left(); x < mask.fBounds.right(); ++x) {
58 SkDebugf("%02X", *mask.getAddr8(x, y));
66 static void draw_nine_clipped(const SkMask& mask, const SkIRect& outerR, argument
74 m.fBounds = mask
180 draw_nine(const SkMask& mask, const SkIRect& outerR, const SkIPoint& center, bool fillCenter, const SkRasterClip& clip, SkBounder* bounder, SkBlitter* blitter) argument
[all...]
H A DSkScalerContext.cpp32 void SkGlyph::toMask(SkMask* mask) const {
33 SkASSERT(mask);
35 mask->fImage = (uint8_t*)fImage;
36 mask->fBounds.set(fLeft, fTop, fLeft + fWidth, fTop + fHeight);
37 mask->fRowBytes = this->rowBytes();
38 mask->fFormat = static_cast<SkMask::Format>(fMaskFormat);
329 SkMask mask; local
332 fMaskFilter, &mask,
334 glyph->fLeft = mask.fBounds.fLeft;
335 glyph->fTop = mask
413 applyLUTToA8Mask(const SkMask& mask, const uint8_t* lut) argument
540 packA8ToA1(const SkMask& mask, const uint8_t* src, size_t srcRB) argument
571 generateMask(const SkMask& mask, const SkPath& path, const SkMaskGamma::PreBlend& maskPreBlend) argument
718 SkMask mask; local
[all...]
/external/skia/src/core/
H A DSkMaskFilter.cpp39 static void blitClippedMask(SkBlitter* blitter, const SkMask& mask, argument
43 blitter->blitMask(mask, r);
55 static void dump(const SkMask& mask) {
56 for (int y = mask.fBounds.top(); y < mask.fBounds.bottom(); ++y) {
57 for (int x = mask.fBounds.left(); x < mask.fBounds.right(); ++x) {
58 SkDebugf("%02X", *mask.getAddr8(x, y));
66 static void draw_nine_clipped(const SkMask& mask, const SkIRect& outerR, argument
74 m.fBounds = mask
180 draw_nine(const SkMask& mask, const SkIRect& outerR, const SkIPoint& center, bool fillCenter, const SkRasterClip& clip, SkBounder* bounder, SkBlitter* blitter) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
H A DScrollbarTheme.h61 void invalidateParts(ScrollbarThemeClient* scrollbar, ScrollbarControlPartMask mask) argument
63 if (mask & BackButtonStartPart)
65 if (mask & ForwardButtonStartPart)
67 if (mask & BackTrackPart)
69 if (mask & ThumbPart)
71 if (mask & ForwardTrackPart)
73 if (mask & BackButtonEndPart)
75 if (mask & ForwardButtonEndPart)
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_bld_depth.h63 struct lp_build_mask_context *mask,
81 struct lp_build_mask_context *mask,
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
H A Ds_alpha.c44 mask[i] &= (ALPHA < ref); \
50 mask[i] &= (ALPHA <= ref); \
56 mask[i] &= (ALPHA >= ref); \
62 mask[i] &= (ALPHA > ref); \
68 mask[i] &= (ALPHA != ref); \
74 mask[i] &= (ALPHA == ref); \
88 * For pixels that fail the test, mask[i] will be set to 0.
96 GLubyte *mask = span->array->mask; local
158 /* XXX examine mask[] value
[all...]
/external/e2fsprogs/lib/e2p/
H A Dpercent.c22 unsigned int mask = ~((1 << (sizeof(unsigned int) - 1) * 8) - 1); local
28 if (mask & base)
/external/eigen/Eigen/src/Geometry/arch/
H A DGeometry_SSE.h23 const __m128 mask = _mm_castsi128_ps(_mm_setr_epi32(0,0,0,0x80000000)); local
28 vec4f_swizzle1(b,2,0,1,2)),mask);
30 vec4f_swizzle1(b,0,1,2,1)),mask);
64 const Packet2d mask = _mm_castsi128_pd(_mm_set_epi32(0x0,0x0,0x80000000,0x0)); local
87 EIGEN_UNUSED_VARIABLE(mask)
90 pstore(&res.x(), padd(t1, pxor(mask,preverse(t2))));
101 EIGEN_UNUSED_VARIABLE(mask)
104 pstore(&res.z(), psub(t1, pxor(mask,preverse(t2))));
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_bld_depth.h63 struct lp_build_mask_context *mask,
81 struct lp_build_mask_context *mask,

Completed in 1766 milliseconds

1234567891011>>