/external/skia/src/codec/ |
H A D | SkMasks.cpp | 95 // Count trailing zeros on masks 111 // Truncate masks greater than 8 bits 126 * Create the masks object 129 SkMasks* SkMasks::CreateMasks(InputMasks masks, uint32_t bitsPerPixel) { argument 130 // Trim the input masks according to bitsPerPixel 132 masks.red &= (1 << bitsPerPixel) - 1; 133 masks.green &= (1 << bitsPerPixel) - 1; 134 masks.blue &= (1 << bitsPerPixel) - 1; 135 masks.alpha &= (1 << bitsPerPixel) - 1; 138 // Check that masks d [all...] |
H A D | SkMaskSwizzler.cpp | 13 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, 16 // Use the masks to decode to the destination 21 uint8_t red = masks->getRed(p); 22 uint8_t green = masks->getGreen(p); 23 uint8_t blue = masks->getBlue(p); 30 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, 33 // Use the masks to decode to the destination 38 uint8_t red = masks->getRed(p); 39 uint8_t green = masks->getGreen(p); 40 uint8_t blue = masks 12 swizzle_mask16_to_rgba_opaque( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 29 swizzle_mask16_to_bgra_opaque( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 46 swizzle_mask16_to_rgba_unpremul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 64 swizzle_mask16_to_bgra_unpremul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 82 swizzle_mask16_to_rgba_premul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 100 swizzle_mask16_to_bgra_premul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 120 swizzle_mask16_to_565( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 137 swizzle_mask24_to_rgba_opaque( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 154 swizzle_mask24_to_bgra_opaque( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 171 swizzle_mask24_to_rgba_unpremul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 189 swizzle_mask24_to_bgra_unpremul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 207 swizzle_mask24_to_rgba_premul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 225 swizzle_mask24_to_bgra_premul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 243 swizzle_mask24_to_565( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 260 swizzle_mask32_to_rgba_opaque( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 277 swizzle_mask32_to_bgra_opaque( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 294 swizzle_mask32_to_rgba_unpremul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 312 swizzle_mask32_to_bgra_unpremul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 330 swizzle_mask32_to_rgba_premul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 348 swizzle_mask32_to_bgra_premul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 366 swizzle_mask32_to_565( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 387 CreateMaskSwizzler(const SkImageInfo& dstInfo, const SkImageInfo& srcInfo, SkMasks* masks, uint32_t bitsPerPixel, const SkCodec::Options& options) argument 537 SkMaskSwizzler(SkMasks* masks, RowProc proc, int srcOffset, int subsetWidth) argument [all...] |
H A D | SkMaskSwizzler.h | 17 * Used to swizzle images whose pixel components are extracted by bit masks 26 * @param masks Unowned pointer to helper class 30 SkMasks* masks, 61 SkMasks* masks, uint32_t startX, uint32_t sampleX); 63 SkMaskSwizzler(SkMasks* masks, RowProc proc, int subsetWidth, int srcOffset);
|
H A D | SkBmpMaskCodec.h | 17 * This class implements the decoding for bmp images using bit masks 31 * @param masks color masks for certain bmp formats 35 uint16_t bitsPerPixel, SkMasks* masks,
|
H A D | SkMasks.h | 22 * Input bit masks format 45 * Create the masks object 48 static SkMasks* CreateMasks(InputMasks masks, uint32_t bpp);
|
H A D | SkBmpMaskCodec.cpp | 17 uint16_t bitsPerPixel, SkMasks* masks, 20 , fMasks(masks) 15 SkBmpMaskCodec(int width, int height, const SkEncodedInfo& info, std::unique_ptr<SkStream> stream, uint16_t bitsPerPixel, SkMasks* masks, SkCodec::SkScanlineOrder rowOrder) argument
|
/external/skqp/src/codec/ |
H A D | SkMasks.cpp | 95 // Count trailing zeros on masks 111 // Truncate masks greater than 8 bits 126 * Create the masks object 129 SkMasks* SkMasks::CreateMasks(InputMasks masks, uint32_t bitsPerPixel) { argument 130 // Trim the input masks according to bitsPerPixel 132 masks.red &= (1 << bitsPerPixel) - 1; 133 masks.green &= (1 << bitsPerPixel) - 1; 134 masks.blue &= (1 << bitsPerPixel) - 1; 135 masks.alpha &= (1 << bitsPerPixel) - 1; 138 // Check that masks d [all...] |
H A D | SkMaskSwizzler.cpp | 13 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, 16 // Use the masks to decode to the destination 21 uint8_t red = masks->getRed(p); 22 uint8_t green = masks->getGreen(p); 23 uint8_t blue = masks->getBlue(p); 30 void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, 33 // Use the masks to decode to the destination 38 uint8_t red = masks->getRed(p); 39 uint8_t green = masks->getGreen(p); 40 uint8_t blue = masks 12 swizzle_mask16_to_rgba_opaque( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 29 swizzle_mask16_to_bgra_opaque( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 46 swizzle_mask16_to_rgba_unpremul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 64 swizzle_mask16_to_bgra_unpremul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 82 swizzle_mask16_to_rgba_premul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 100 swizzle_mask16_to_bgra_premul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 120 swizzle_mask16_to_565( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 137 swizzle_mask24_to_rgba_opaque( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 154 swizzle_mask24_to_bgra_opaque( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 171 swizzle_mask24_to_rgba_unpremul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 189 swizzle_mask24_to_bgra_unpremul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 207 swizzle_mask24_to_rgba_premul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 225 swizzle_mask24_to_bgra_premul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 243 swizzle_mask24_to_565( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 260 swizzle_mask32_to_rgba_opaque( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 277 swizzle_mask32_to_bgra_opaque( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 294 swizzle_mask32_to_rgba_unpremul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 312 swizzle_mask32_to_bgra_unpremul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 330 swizzle_mask32_to_rgba_premul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 348 swizzle_mask32_to_bgra_premul( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 366 swizzle_mask32_to_565( void* dstRow, const uint8_t* srcRow, int width, SkMasks* masks, uint32_t startX, uint32_t sampleX) argument 387 CreateMaskSwizzler(const SkImageInfo& dstInfo, const SkImageInfo& srcInfo, SkMasks* masks, uint32_t bitsPerPixel, const SkCodec::Options& options) argument 537 SkMaskSwizzler(SkMasks* masks, RowProc proc, int srcOffset, int subsetWidth) argument [all...] |
H A D | SkMaskSwizzler.h | 17 * Used to swizzle images whose pixel components are extracted by bit masks 26 * @param masks Unowned pointer to helper class 30 SkMasks* masks, 61 SkMasks* masks, uint32_t startX, uint32_t sampleX); 63 SkMaskSwizzler(SkMasks* masks, RowProc proc, int subsetWidth, int srcOffset);
|
H A D | SkBmpMaskCodec.h | 17 * This class implements the decoding for bmp images using bit masks 31 * @param masks color masks for certain bmp formats 35 uint16_t bitsPerPixel, SkMasks* masks,
|
H A D | SkMasks.h | 22 * Input bit masks format 45 * Create the masks object 48 static SkMasks* CreateMasks(InputMasks masks, uint32_t bpp);
|
H A D | SkBmpMaskCodec.cpp | 17 uint16_t bitsPerPixel, SkMasks* masks, 20 , fMasks(masks) 15 SkBmpMaskCodec(int width, int height, const SkEncodedInfo& info, std::unique_ptr<SkStream> stream, uint16_t bitsPerPixel, SkMasks* masks, SkCodec::SkScanlineOrder rowOrder) argument
|
/external/toybox/toys/other/ |
H A D | inotifyd.c | 53 char *path = *ss, *masks = strchr(*ss, ':'); local 56 if (!masks) mask = 0xfff; // default to all 58 *masks++ = 0; 59 for (*masks++ = 0; *masks; masks++) { 60 i = stridx(masklist, *masks);; 61 if (i == -1) error_exit("bad mask '%c'", *masks);
|
/external/tensorflow/tensorflow/contrib/model_pruning/python/layers/ |
H A D | layers_test.py | 50 masks = ops.get_collection(core_layers.MASK_COLLECTION) 51 self.assertEqual(len(masks), 1) 52 self.assertListEqual(masks[0].get_shape().as_list(), 75 masks = ops.get_collection(core_layers.MASK_COLLECTION) 76 self.assertEqual(len(masks), number_of_layers) 78 self.assertListEqual(masks[ix].get_shape().as_list(), [ 99 masks = ops.get_collection(core_layers.MASK_COLLECTION) 100 self.assertEqual(len(masks), 1) 101 self.assertListEqual(masks[0].get_shape().as_list(), 123 masks [all...] |
/external/tensorflow/tensorflow/contrib/labeled_tensor/python/ops/ |
H A D | sugar_test.py | 49 self.masks = [False, True] 53 len(self.channels) * len(self.masks)) 56 len(self.masks) 63 self.mask_axis = ('mask', self.masks) 84 ('depth', len(self.channels) * len(self.masks)) 92 depth_axis = core.Axis('depth', range(len(self.channels) * len(self.masks)))
|
/external/strace/tests/ |
H A D | fanotify_mark.c | 108 static const struct strval64 masks[] = { local 157 for (k = 0; k < ARRAY_SIZE(masks); k++) { 163 masks[k].val, 164 masks[k].str,
|
/external/strace/tests-m32/ |
H A D | fanotify_mark.c | 108 static const struct strval64 masks[] = { local 157 for (k = 0; k < ARRAY_SIZE(masks); k++) { 163 masks[k].val, 164 masks[k].str,
|
/external/strace/tests-mx32/ |
H A D | fanotify_mark.c | 108 static const struct strval64 masks[] = { local 157 for (k = 0; k < ARRAY_SIZE(masks); k++) { 163 masks[k].val, 164 masks[k].str,
|
/external/freetype/src/pshinter/ |
H A D | pshrec.h | 104 /* masks and counters table descriptor */ 109 PS_Mask masks; member in struct:PS_Mask_TableRec_ 118 PS_Mask_TableRec masks; member in struct:PS_DimensionRec_
|
H A D | pshrec.c | 216 PS_Mask mask = table->masks; 222 FT_FREE( table->masks ); 228 /* ensure that a mask table can contain "count" masks */ 242 if ( !FT_RENEW_ARRAY( table->masks, old_max, new_max ) ) 270 mask = table->masks + count - 1; 300 mask = table->masks + count - 1; 369 /* test whether two masks in a table intersect */ 375 PS_Mask mask1 = table->masks + index1; 376 PS_Mask mask2 = table->masks + index2; 401 /* merge two masks, use [all...] |
/external/mesa3d/src/mesa/drivers/dri/common/ |
H A D | utils.c | 182 const uint32_t * masks; local 196 masks = masks_table[0]; 200 masks = masks_table[1]; 204 masks = masks_table[2]; 207 masks = masks_table[5]; 210 masks = masks_table[6]; 213 masks = masks_table[3]; 216 masks = masks_table[4]; 263 modes->redMask = masks[0]; 264 modes->greenMask = masks[ [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | rbt_rule.h | 62 // are used only by masks() and getIndexValue() which are called 246 * Return true if this rule masks another rule. If r1 masks r2 then 247 * r1 matches any input string that r2 matches. If r1 masks r2 and r2 masks 248 * r1 then r1 == r2. Examples: "a>x" masks "ab>y". "a>x" masks "a[b]>y". 249 * "[c]a>x" masks "[dc]a>y". 251 * @return true if this rule masks 'r2' 253 virtual UBool masks(cons [all...] |
/external/harfbuzz_ng/src/ |
H A D | hb-ot-shape-complex-use.cc | 259 /* We cannot setup masks here. We save information about characters 260 * and setup masks later on in a pause-callback. */ 296 hb_mask_t masks[4], all_masks = 0; local 299 masks[i] = plan->map.get_1_mask (arabic_features[i]); 300 if (masks[i] == plan->map.get_global_mask ()) 301 masks[i] = 0; 302 all_masks |= masks[i]; 336 info[i].mask = (info[i].mask & other_masks) | masks[last_form]; 342 info[i].mask = (info[i].mask & other_masks) | masks[last_form];
|
/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/ |
H A D | LZWEncoder.java | 103 int masks[] = {0x0000, 0x0001, 0x0003, 0x0007, 0x000F, 0x001F, 0x003F, 0x007F, 0x00FF, 0x01FF, field in class:LZWEncoder 256 cur_accum &= masks[cur_bits];
|
/external/tensorflow/tensorflow/contrib/model_pruning/python/ |
H A D | pruning.py | 296 masks = get_masks() 297 return [nn_impl.zero_fraction(mask) for mask in masks] 316 How often should the masks be updated? (in # of global_steps) 399 # List of tensorflow assignments ops for new masks and thresholds 402 # Tensorflow variable keeping track of the last global step when the masks 585 masks = get_masks() 589 if len(masks) != len(thresholds): 591 'Number of masks %s and number of thresholds %s mismatch' % 592 (len(masks), len(thresholds))) 594 for index, mask in enumerate(masks) [all...] |