/external/python/cpython3/Modules/_ctypes/libffi_msvc/ |
H A D | 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/ |
H A D | syslogmodule.c | 46 - Fix setlogmask() to return previous mask value. 212 if (!PyArg_ParseTuple(args, "l;mask for priority", &maskpri)) 221 long mask; local 225 mask = LOG_MASK(pri); 226 return PyLong_FromLong(mask); 232 long mask; local 236 mask = LOG_UPTO(pri); 237 return PyLong_FromLong(mask);
|
/external/selinux/libsepol/cil/src/ |
H A D | cil_symtab.c | 150 void cil_complex_symtab_hash(struct cil_complex_symtab_key *ckey, int mask, intptr_t *hash) argument 153 *hash = (intptr_t)((sum >> 2) & mask); 162 symtab->mask = size - 1; 180 cil_complex_symtab_hash(ckey, symtab->mask, &hash); 230 cil_complex_symtab_hash(ckey, symtab->mask, &hash); 285 symtab->mask = 0;
|
/external/selinux/libsepol/src/ |
H A D | node_record.c | 14 /* Network address and mask */ 18 char *mask; member in struct:sepol_node 30 /* Network address and mask */ 34 char *mask; member in struct:sepol_node_key 226 const char *mask, 241 if (node_alloc_addr(handle, proto, &tmp_key->mask, &tmp_key->mask_sz) < 244 if (node_parse_addr(handle, mask, proto, tmp_key->mask) < 0) 258 addr, mask, sepol_node_get_proto_str(proto)); 265 const char **addr, const char **mask, in 224 sepol_node_key_create(sepol_handle_t * handle, const char *addr, const char *mask, int proto, sepol_node_key_t ** key_ptr) argument [all...] |
H A D | 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, mask 238 const char *addr, *mask; local 305 const char *addr, *mask; local [all...] |
/external/skia/bench/ |
H A D | 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/gm/ |
H A D | simpleaaclip.cpp | 18 SkMask mask; local 21 clip.copyToMask(&mask); 23 SkAutoMaskFreeImage amfi(mask.fImage); 25 bm.installMaskPixels(mask); 33 SK_Scalar1 * mask.fBounds.fLeft, 34 SK_Scalar1 * mask.fBounds.fTop, 107 // create the clip mask with the supplied boolean op 118 // draw a rect that will entirely cover the clip mask area
|
/external/skia/src/core/ |
H A D | 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);
|
H A D | SkArenaAlloc.h | 165 uintptr_t mask = alignment - 1; local 166 uintptr_t alignedOffset = (~reinterpret_cast<uintptr_t>(fCursor) + 1) & mask; 173 alignedOffset = (~reinterpret_cast<uintptr_t>(fCursor) + 1) & mask;
|
H A D | SkCpu.h | 55 inline bool SkCpu::Supports(uint32_t mask) { argument 58 // If we mask in compile-time known lower limits, the compiler can 110 return (features & mask) == mask;
|
H A D | SkMaskCache.cpp | 40 RRectBlurRec(RRectBlurKey key, const SkMask& mask, SkCachedData* data) argument 43 fValue.fMask = mask; 78 const SkRRect& rrect, SkMask* mask, SkResourceCache* localCache) { 85 *mask = result.fMask; 86 mask->fImage = (uint8_t*)(result.fData->data()); 91 const SkRRect& rrect, const SkMask& mask, SkCachedData* data, 94 return CHECK_LOCAL(localCache, add, Add, new RRectBlurRec(key, mask, data)); 134 RectsBlurRec(RectsBlurKey key, const SkMask& mask, SkCachedData* data) argument 137 fValue.fMask = mask; 172 const SkRect rects[], int count, SkMask* mask, 77 FindAndRef(SkScalar sigma, SkBlurStyle style, SkBlurQuality quality, const SkRRect& rrect, SkMask* mask, SkResourceCache* localCache) argument 90 Add(SkScalar sigma, SkBlurStyle style, SkBlurQuality quality, const SkRRect& rrect, const SkMask& mask, SkCachedData* data, SkResourceCache* localCache) argument 171 FindAndRef(SkScalar sigma, SkBlurStyle style, SkBlurQuality quality, const SkRect rects[], int count, SkMask* mask, SkResourceCache* localCache) argument 185 Add(SkScalar sigma, SkBlurStyle style, SkBlurQuality quality, const SkRect rects[], int count, const SkMask& mask, SkCachedData* data, SkResourceCache* localCache) argument [all...] |
H A D | SkMathPriv.h | 117 static inline int SkCLZ(uint32_t mask) { argument 118 if (mask) { 120 _BitScanReverse(&index, mask); 130 static inline int SkCLZ(uint32_t mask) { argument 132 return mask ? __builtin_clz(mask) : 32;
|
/external/skia/src/effects/ |
H A D | SkEmbossMask.cpp | 46 void SkEmbossMask::Emboss(SkMask* mask, const SkEmbossMaskFilter::Light& light) { argument 47 SkASSERT(mask->fFormat == SkMask::k3D_Format); 57 size_t planeSize = mask->computeImageSize(); 58 uint8_t* alpha = mask->fImage; 62 int rowBytes = mask->fRowBytes; 63 int maxy = mask->fBounds.height() - 1; 64 int maxx = mask->fBounds.width() - 1;
|
/external/skia/tests/ |
H A D | DeviceLooperTest.cpp | 71 // mask-bits are interpreted as the areas where the clip is visible 75 static void make_rgn(SkRegion* rgn, int w, int h, unsigned mask) { argument 85 if (mask & bit) { 117 // mask-bits are interpreted as the areas where the clip is visible 121 for (int mask = 0; mask <= 15; ++mask) { 123 make_rgn(&rgn, w, h, mask);
|
/external/skqp/bench/ |
H A D | 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/ |
H A D | 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); 15 draw_masked_image(SkCanvas* canvas, const SkImage* image, SkScalar x, SkScalar y, const SkImage* mask, sk_sp<SkMaskFilter> outer = nullptr) argument
|
H A D | simpleaaclip.cpp | 18 SkMask mask; local 21 clip.copyToMask(&mask); 23 SkAutoMaskFreeImage amfi(mask.fImage); 25 bm.installMaskPixels(mask); 33 SK_Scalar1 * mask.fBounds.fLeft, 34 SK_Scalar1 * mask.fBounds.fTop, 107 // create the clip mask with the supplied boolean op 118 // draw a rect that will entirely cover the clip mask area
|
/external/skqp/src/core/ |
H A D | 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);
|
H A D | SkArenaAlloc.h | 158 uintptr_t mask = alignment - 1; local 159 uintptr_t alignedOffset = (~reinterpret_cast<uintptr_t>(fCursor) + 1) & mask; 166 alignedOffset = (~reinterpret_cast<uintptr_t>(fCursor) + 1) & mask;
|
H A D | SkCpu.h | 55 inline bool SkCpu::Supports(uint32_t mask) { argument 58 // If we mask in compile-time known lower limits, the compiler can 110 return (features & mask) == mask;
|
H A D | SkMaskCache.cpp | 40 RRectBlurRec(RRectBlurKey key, const SkMask& mask, SkCachedData* data) argument 43 fValue.fMask = mask; 78 const SkRRect& rrect, SkMask* mask, SkResourceCache* localCache) { 85 *mask = result.fMask; 86 mask->fImage = (uint8_t*)(result.fData->data()); 91 const SkRRect& rrect, const SkMask& mask, SkCachedData* data, 94 return CHECK_LOCAL(localCache, add, Add, new RRectBlurRec(key, mask, data)); 134 RectsBlurRec(RectsBlurKey key, const SkMask& mask, SkCachedData* data) argument 137 fValue.fMask = mask; 172 const SkRect rects[], int count, SkMask* mask, 77 FindAndRef(SkScalar sigma, SkBlurStyle style, SkBlurQuality quality, const SkRRect& rrect, SkMask* mask, SkResourceCache* localCache) argument 90 Add(SkScalar sigma, SkBlurStyle style, SkBlurQuality quality, const SkRRect& rrect, const SkMask& mask, SkCachedData* data, SkResourceCache* localCache) argument 171 FindAndRef(SkScalar sigma, SkBlurStyle style, SkBlurQuality quality, const SkRect rects[], int count, SkMask* mask, SkResourceCache* localCache) argument 185 Add(SkScalar sigma, SkBlurStyle style, SkBlurQuality quality, const SkRect rects[], int count, const SkMask& mask, SkCachedData* data, SkResourceCache* localCache) argument [all...] |
H A D | SkMathPriv.h | 117 static inline int SkCLZ(uint32_t mask) { argument 118 if (mask) { 120 _BitScanReverse(&index, mask); 130 static inline int SkCLZ(uint32_t mask) { argument 132 return mask ? __builtin_clz(mask) : 32;
|
/external/skqp/src/effects/ |
H A D | SkEmbossMask.cpp | 46 void SkEmbossMask::Emboss(SkMask* mask, const SkEmbossMaskFilter::Light& light) { argument 47 SkASSERT(mask->fFormat == SkMask::k3D_Format); 57 size_t planeSize = mask->computeImageSize(); 58 uint8_t* alpha = mask->fImage; 62 int rowBytes = mask->fRowBytes; 63 int maxy = mask->fBounds.height() - 1; 64 int maxx = mask->fBounds.width() - 1;
|
/external/skqp/tests/ |
H A D | DeviceLooperTest.cpp | 71 // mask-bits are interpreted as the areas where the clip is visible 75 static void make_rgn(SkRegion* rgn, int w, int h, unsigned mask) { argument 85 if (mask & bit) { 117 // mask-bits are interpreted as the areas where the clip is visible 121 for (int mask = 0; mask <= 15; ++mask) { 123 make_rgn(&rgn, w, h, mask);
|
/external/speex/libspeex/ |
H A D | filterbank.c | 202 void filterbank_psy_smooth(FilterBank *bank, float *ps, float *mask) argument 224 filterbank_compute_psd(bank, bark, mask);
|