/external/mesa3d/src/mesa/main/ |
clear.c | 134 * \param mask bit-mask indicating the buffers to be cleared. 143 _mesa_Clear( GLbitfield mask ) 151 _mesa_debug(ctx, "glClear 0x%x\n", mask); 153 if (mask & ~(GL_COLOR_BUFFER_BIT | 158 _mesa_error( ctx, GL_INVALID_VALUE, "glClear(0x%x)", mask); 165 if ((mask & GL_ACCUM_BUFFER_BIT) != 0 188 if (!ctx->Depth.Mask) 189 mask &= ~GL_DEPTH_BUFFER_BIT; 197 if (mask & GL_COLOR_BUFFER_BIT) 242 GLbitfield mask = 0x0; local 365 const GLbitfield mask = make_color_buffer_mask(ctx, drawbuffer); local 436 const GLbitfield mask = make_color_buffer_mask(ctx, drawbuffer); local 534 const GLbitfield mask = make_color_buffer_mask(ctx, drawbuffer); local 595 GLbitfield mask = 0; local [all...] |
pixel.c | 608 GLuint mask = 0; local 614 mask |= IMAGE_SCALE_BIAS_BIT; 617 mask |= IMAGE_SHIFT_OFFSET_BIT; 620 mask |= IMAGE_MAP_COLOR_BIT; 622 ctx->_ImageTransferState = mask;
|
/external/mesa3d/src/mesa/vbo/ |
vbo_save_draw.c | 53 GLbitfield64 mask; local 78 mask = node->enabled & (~BITFIELD64_BIT(VBO_ATTRIB_POS)); 79 while (mask) { 80 const int i = u_bit_scan64(&mask);
|
/external/pdfium/third_party/libpng16/ |
pngwtran.c | 37 int mask, v; local 43 mask = 0x80; 49 v |= mask; 53 if (mask > 1) 54 mask >>= 1; 58 mask = 0x80; 65 if (mask != 0x80) 216 unsigned int mask; local 220 mask = 0x55; 223 mask = 0x11 [all...] |
/external/protobuf/java/util/src/test/java/com/google/protobuf/util/ |
FieldMaskUtilTest.java | 82 FieldMask mask = FieldMask.newBuilder().addPaths("foo").build(); local 83 assertEquals("foo", FieldMaskUtil.toString(mask)); 84 mask = FieldMask.newBuilder().addPaths("foo").addPaths("bar").build(); 85 assertEquals("foo,bar", FieldMaskUtil.toString(mask)); 88 mask = FieldMask.newBuilder().addPaths("").addPaths("foo").addPaths(""). 90 assertEquals("foo,bar", FieldMaskUtil.toString(mask)); 94 FieldMask mask = FieldMaskUtil.fromString(""); local 95 assertEquals(0, mask.getPathsCount()); 96 mask = FieldMaskUtil.fromString("foo"); 97 assertEquals(1, mask.getPathsCount()) 123 FieldMask mask = FieldMaskUtil.fromFieldNumbers(TestAllTypes.class); local [all...] |
/external/protobuf/src/google/protobuf/util/ |
field_mask_util_test.cc | 121 FieldMask mask; local 122 EXPECT_EQ("", FieldMaskUtil::ToString(mask)); 123 mask.add_paths("foo_bar"); 124 EXPECT_EQ("foo_bar", FieldMaskUtil::ToString(mask)); 125 mask.add_paths("baz_quz"); 126 EXPECT_EQ("foo_bar,baz_quz", FieldMaskUtil::ToString(mask)); 128 FieldMaskUtil::FromString("", &mask); 129 EXPECT_EQ(0, mask.paths_size()); 130 FieldMaskUtil::FromString("fooBar", &mask); 131 EXPECT_EQ(1, mask.paths_size()) 140 FieldMask mask; local 175 FieldMask mask; local 185 FieldMask mask; local 329 FieldMask mask; local 417 FieldMask mask; local [all...] |
/external/python/cpython2/Include/ |
setobject.h | 41 /* The table contains mask + 1 slots, and that's a power of 2. 42 * We store the mask instead of the size because the mask is more 45 Py_ssize_t mask; member in struct:_setobject
|
/external/python/cpython2/Modules/_ctypes/libffi_msvc/ |
ffi.c | 412 int mask = 0; local 436 mask |= 1; 440 mask |= 2; 444 mask |= 4; 448 mask |= 8; 450 /* 41 BB ---- mov r11d,mask */ 451 BYTES("\x41\xBB"); INT(mask);
|
/external/python/cpython2/Modules/zlib/ |
inftrees.c | 52 unsigned mask; /* mask for low root bits */ local 208 mask = used - 1; /* mask for comparing low */ 260 if (len > root && (huff & mask) != low) { 285 low = huff & mask;
|
/external/python/cpython3/Include/ |
setobject.h | 48 /* The table contains mask + 1 slots, and that's a power of 2. 49 * We store the mask instead of the size because the mask is more 52 Py_ssize_t mask; member in struct:__anon33189
|
/external/python/cpython3/Modules/_ctypes/libffi_msvc/ |
ffi.c | 441 int mask = 0; local 465 mask |= 1; 469 mask |= 2; 473 mask |= 4; 477 mask |= 8; 479 /* 41 BB ---- mov r11d,mask */ 480 BYTES("\x41\xBB"); INT(mask);
|
/external/python/cpython3/Modules/zlib/ |
inftrees.c | 52 unsigned mask; /* mask for low root bits */ local 206 mask = used - 1; /* mask for comparing low */ 258 if (len > root && (huff & mask) != low) { 283 low = huff & mask;
|
/external/python/cpython3/Objects/stringlib/ |
fastsearch.h | 30 #define STRINGLIB_BLOOM_ADD(mask, ch) \ 31 ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1))))) 32 #define STRINGLIB_BLOOM(mask, ch) \ 33 ((mask & (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1))))) 134 unsigned long mask; local 166 mask = 0; 176 STRINGLIB_BLOOM_ADD(mask, p[i]); 181 STRINGLIB_BLOOM_ADD(mask, p[mlast]); 201 if (!STRINGLIB_BLOOM(mask, ss[i+1])) 207 if (!STRINGLIB_BLOOM(mask, ss[i+1]) [all...] |
find_max_char.h | 7 /* Mask to quickly check whether a C 'long' contains a 71 Py_UCS4 mask; local 78 mask = MASK_ASCII; 81 if (bits & mask) { 82 if (mask == mask_limit) { 86 if (mask == MASK_ASCII) { 88 mask = MASK_UCS1; 91 /* mask can't be MASK_UCS2 because of mask_limit above */ 92 assert(mask == MASK_UCS1); 94 mask = MASK_UCS2 [all...] |
/external/selinux/libsepol/cil/src/ |
cil_symtab.h | 70 uint32_t mask; member in struct:cil_complex_symtab
|
/external/selinux/libsepol/src/ |
nodes.c | 40 memcpy(&tmp_node->u.node.mask, mask_buf, mask_bsize); 44 memcpy(tmp_node->u.node6.mask, mask_buf, mask_bsize); 107 (const char *)&node->u.node.mask, 119 (const char *)&node->u.node6.mask, 178 const char *addr, *mask; local 179 sepol_node_key_unpack(key, &addr, &mask, &proto); 188 unsigned int *mask2 = &c->u.node.mask; 191 !memcmp(mask, mask2, 4)) { 204 unsigned int *mask2 = c->u.node6.mask; 207 !memcmp(mask, mask2, 16)) 238 const char *addr, *mask; local 305 const char *addr, *mask; local [all...] |
/external/skia/bench/ |
BlurRectBench.cpp | 92 SkMask mask; variable 94 &mask, r, kNormal_SkBlurStyle)) { 97 SkMask::FreeImage(mask.fImage); 146 SkMask mask; variable 147 if (!SkBlurMask::BoxBlur(&mask, fSrcMask, SkBlurMask::ConvertRadiusToSigma(this->radius()), 151 SkMask::FreeImage(mask.fImage); 174 SkMask mask; variable 176 &mask, fSrcMask, kNormal_SkBlurStyle)) { 179 SkMask::FreeImage(mask.fImage);
|
/external/skia/samplecode/ |
SampleAAClip.cpp | 43 SkMask mask; local 46 clip.copyToMask(&mask); 47 SkAutoMaskFreeImage amfi(mask.fImage); 49 bm.installMaskPixels(mask); 53 SK_Scalar1 * mask.fBounds.fLeft, 54 SK_Scalar1 * mask.fBounds.fTop,
|
/external/skia/src/core/ |
Sk4x4f.h | 51 auto mask = _mm_set1_epi32(0xFF); local 52 auto r = _mm_cvtepi32_ps(_mm_and_si128(mask, (b16 ))), 53 g = _mm_cvtepi32_ps(_mm_and_si128(mask, _mm_srli_epi32(b16, 8))), 54 b = _mm_cvtepi32_ps(_mm_and_si128(mask, _mm_srli_epi32(b16, 16))),
|
SkArenaAlloc.cpp | 136 uint32_t mask = allocationSize > (1 << 15) ? (1 << 12) - 1 : 16 - 1; local 137 SkASSERT_RELEASE(allocationSize <= maxSize - mask); 138 allocationSize = (allocationSize + mask) & ~mask; 156 uintptr_t mask = alignment - 1; local 164 char* objStart = (char*)((uintptr_t)(fCursor + skipOverhead + mask) & ~mask);
|
SkBlitBWMaskTemplate.h | 18 SK_BLITBWMASK_NAME name of function(const SkBitmap& bitmap, const SkMask& mask, const SkIRect& clip, SK_BLITBWMASK_ARGS) 49 U8CPU mask = *bits++; local 50 SK_BLITBWMASK_BLIT8(mask, dst); 65 rite_mask &= 0xFF; // only want low-8 bits of mask 68 // check for empty right mask, so we don't read off the end (or go slower than we need to) 87 U8CPU mask = *bits & left_mask; local 88 SK_BLITBWMASK_BLIT8(mask, device); 99 U8CPU mask; local 101 mask = *b++ & left_mask; 102 SK_BLITBWMASK_BLIT8(mask, dst) [all...] |
/external/skia/src/pathops/ |
SkOpCubicHull.cpp | 19 int mask = other_two(index, zero); local 20 int side1 = index ^ mask; 21 int side2 = zero ^ mask; 76 int mask = other_two(yMin, index); local 77 int side1 = yMin ^ mask; 78 int side2 = index ^ mask; 129 int mask = other_two(yMin, midX); local 130 int least = yMin ^ mask; 131 int most = midX ^ mask;
|
/external/skqp/bench/ |
BlurRectBench.cpp | 92 SkMask mask; variable 94 &mask, r, kNormal_SkBlurStyle)) { 97 SkMask::FreeImage(mask.fImage); 146 SkMask mask; variable 147 if (!SkBlurMask::BoxBlur(&mask, fSrcMask, SkBlurMask::ConvertRadiusToSigma(this->radius()), 151 SkMask::FreeImage(mask.fImage); 174 SkMask mask; variable 176 &mask, fSrcMask, kNormal_SkBlurStyle)) { 179 SkMask::FreeImage(mask.fImage);
|
/external/skqp/gm/ |
shadermaskfilter.cpp | 16 const SkImage* mask, sk_sp<SkMaskFilter> outer = nullptr) { 17 SkMatrix matrix = SkMatrix::MakeScale(SkIntToScalar(image->width()) / mask->width(), 18 SkIntToScalar(image->height() / mask->height())); 20 auto mf = SkShaderMaskFilter::Make(mask->makeShader(&matrix)); 58 auto mask = GetResourceAsImage("images/color_wheel.png"); local 62 canvas->drawImage(mask, 10 + image->width() + 10.f, 10, nullptr); 64 draw_masked_image(canvas, image.get(), 10, 10 + image->height() + 10.f, mask.get()); 66 mask.get(), blurmf);
|
/external/skqp/samplecode/ |
SampleAAClip.cpp | 43 SkMask mask; local 46 clip.copyToMask(&mask); 47 SkAutoMaskFreeImage amfi(mask.fImage); 49 bm.installMaskPixels(mask); 53 SK_Scalar1 * mask.fBounds.fLeft, 54 SK_Scalar1 * mask.fBounds.fTop,
|