Searched defs:mask (Results 276 - 300 of 1853) sorted by relevance

<<11121314151617181920>>

/external/mesa3d/src/mesa/vbo/
H A Dvbo_save_draw.c53 GLbitfield64 mask; local
78 mask = node->enabled & (~BITFIELD64_BIT(VBO_ATTRIB_POS));
79 while (mask) {
80 const int i = u_bit_scan64(&mask);
/external/opencv/cvaux/src/
H A Dcvbgfg_common.cpp75 CvMat mstub, *mask = cvGetMat( _mask, &mstub ); local
81 // clean up raw mask
82 cvMorphologyEx( mask, mask, 0, 0, CV_MOP_OPEN, 1 );
83 cvMorphologyEx( mask, mask, 0, 0, CV_MOP_CLOSE, 1 );
86 scanner = cvStartFindContours( mask, tempStorage,
92 double q = (mask->rows + mask->cols)/perimScale; // calculate perimeter len threshold
109 cvZero( mask );
[all...]
/external/pdfium/third_party/libpng16/
H A Dpngwtran.c37 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
[all...]
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
H A DFieldMaskTree.java77 public FieldMaskTree(FieldMask mask) { argument
78 mergeFromFieldMask(mask);
127 public FieldMaskTree mergeFromFieldMask(FieldMask mask) { argument
128 for (String path : mask.getPathsList()) {
/external/protobuf/src/google/protobuf/util/
H A Dfield_mask_util.h50 static string ToString(const FieldMask& mask);
57 static bool ToJsonString(const FieldMask& mask, string* out);
68 static bool IsValidFieldMask(const FieldMask& mask) { argument
69 for (int i = 0; i < mask.paths_size(); ++i) {
70 if (!InternalIsValidPath(T::descriptor(), mask.paths(i))) return false;
78 static void AddPathToFieldMask(StringPiece path, FieldMask* mask) { argument
80 mask->add_paths(path);
95 static void ToCanonicalForm(const FieldMask& mask, FieldMask* out);
107 static bool IsPathInFieldMask(StringPiece path, const FieldMask& mask);
111 static void MergeMessageTo(const Message& source, const FieldMask& mask,
[all...]
H A Dfield_mask_util_test.cc121 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
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/
H A Dsetobject.h41 /* 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/zlib/
H A Dinftrees.c52 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/cpython2/Objects/stringlib/
H A Dfastsearch.h31 #define STRINGLIB_BLOOM_ADD(mask, ch) \
32 ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
33 #define STRINGLIB_BLOOM(mask, ch) \
34 ((mask & (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
41 unsigned long mask; local
77 mask = 0;
85 STRINGLIB_BLOOM_ADD(mask, p[i]);
90 STRINGLIB_BLOOM_ADD(mask, p[mlast]);
110 if (!STRINGLIB_BLOOM(mask, s[i+m]))
116 if (!STRINGLIB_BLOOM(mask,
[all...]
/external/python/cpython3/Include/
H A Dsetobject.h48 /* 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:__anon19857
/external/python/cpython3/Modules/zlib/
H A Dinftrees.c52 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/
H A Dfastsearch.h30 #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, s
[all...]
H A Dfind_max_char.h71 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;
96 /* We check the new mask o
[all...]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowWindow.java37 public void setFlags(int flags, int mask) { argument
38 this.flags = (this.flags & ~mask) | (flags & mask);
39 directlyOn(realWindow, Window.class, "setFlags", ClassParameter.from(int.class, flags), ClassParameter.from(int.class, mask));
/external/selinux/libsemanage/src/
H A Dnodes_file.c29 char *mask = NULL; local
38 if (semanage_node_get_mask(handle, node, &mask) < 0)
45 (str, "nodecon %s %s %s %s\n", proto_str, addr, mask, con_str) < 0)
49 free(mask);
55 free(mask);
/external/selinux/libsepol/cil/src/
H A Dcil_symtab.h70 uint32_t mask; member in struct:cil_complex_symtab
/external/skia/bench/
H A DSkRasterPipelineBench.cpp17 static uint8_t mask[N]; // 8-bit linear variable
21 // - scale src by 8-bit mask
39 SkJumper_MemoryCtx mask_ctx = {mask, 0},
/external/skia/samplecode/
H A DSampleAAClip.cpp43 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/codec/
H A DSkMasks.cpp61 static uint8_t get_comp(uint32_t pixel, uint32_t mask, uint32_t shift, argument
63 return convert_to_8((pixel & mask) >> shift, size);
72 return get_comp(pixel, fRed.mask, fRed.shift, fRed.size);
75 return get_comp(pixel, fGreen.mask, fGreen.shift, fGreen.size);
78 return get_comp(pixel, fBlue.mask, fBlue.shift, fBlue.size);
81 return get_comp(pixel, fAlpha.mask, fAlpha.shift, fAlpha.size);
86 * Process an input mask to obtain the necessary information
89 const SkMasks::MaskInfo process_mask(uint32_t mask, uint32_t bpp) { argument
90 // Determine properties of the mask
91 uint32_t tempMask = mask;
[all...]
/external/skia/src/core/
H A DSk4x4f.h51 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))),
H A DSkBlitBWMaskTemplate.h18 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, ds
[all...]
H A DSkBlitter_A8.cpp69 void SkA8_Coverage_Blitter::blitMask(const SkMask& mask, const SkIRect& clip) { argument
70 SkASSERT(SkMask::kA8_Format == mask.fFormat);
78 const uint8_t* src = mask.getAddr8(x, y);
79 const size_t srcRB = mask.fRowBytes;
H A DSkUtils.cpp124 uint32_t mask = (uint32_t)~0x3F; local
128 mask <<= 5;
130 c &= ~mask;
147 uint32_t mask = (uint32_t)~0x3F;
160 mask <<= 5;
162 c &= ~mask;
178 uint32_t mask = (uint32_t)~0x3F;
182 mask <<= 5;
184 c &= ~mask;
/external/skia/src/opts/
H A DSkBlitMask_opts.h26 const uint8_t* SK_RESTRICT mask = (const uint8_t*)maskPtr; local
41 uint8x8_t vmask = vld1_u8(mask);
62 mask += 8;
68 unsigned aa = *mask++;
79 mask += maskRB;
85 const SkAlpha* mask, size_t maskRB,
87 D32_A8_Opaque_Color_neon<true>(dst, dstRB, mask, maskRB, color, w, h);
92 const SkAlpha* mask, size_t maskRB,
94 D32_A8_Opaque_Color_neon<false>(dst, dstRB, mask, maskRB, color, w, h);
102 const uint8_t* SK_RESTRICT mask local
84 blit_mask_d32_a8_general(SkPMColor* dst, size_t dstRB, const SkAlpha* mask, size_t maskRB, SkColor color, int w, int h) argument
91 blit_mask_d32_a8_opaque(SkPMColor* dst, size_t dstRB, const SkAlpha* mask, size_t maskRB, SkColor color, int w, int h) argument
192 blit_mask_d32_a8(SkPMColor* dst, size_t dstRB, const SkAlpha* mask, size_t maskRB, SkColor color, int w, int h) argument
[all...]
/external/skia/src/pathops/
H A DSkOpCubicHull.cpp19 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;

Completed in 1480 milliseconds

<<11121314151617181920>>