Searched refs:masks (Results 1 - 25 of 46) sorted by relevance

12

/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_linkage.h35 unsigned long masks[256 / 8 / sizeof(unsigned long)]; member in struct:util_semantic_set
41 return !!(set->masks[value / (sizeof(long) * 8)] & (1 << (value / (sizeof(long) * 8))));
H A Du_linkage.c38 unsigned long *p = &set->masks[value / (sizeof(long) * 8)];
74 memset(set->masks, 0, sizeof(set->masks));
115 #define UTIL_SEMANTIC_SET_FOR_EACH(i, set) for(i = 0; i < 256; ++i) if(set->masks[i / (sizeof(long) * 8)] & (1 << (i % (sizeof(long) * 8))))
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_linkage.h35 unsigned long masks[256 / 8 / sizeof(unsigned long)]; member in struct:util_semantic_set
41 return !!(set->masks[value / (sizeof(long) * 8)] & (1 << (value / (sizeof(long) * 8))));
H A Du_linkage.c38 unsigned long *p = &set->masks[value / (sizeof(long) * 8)];
74 memset(set->masks, 0, sizeof(set->masks));
115 #define UTIL_SEMANTIC_SET_FOR_EACH(i, set) for(i = 0; i < 256; ++i) if(set->masks[i / (sizeof(long) * 8)] & (1 << (i % (sizeof(long) * 8))))
/external/chromium_org/chrome/test/functional/ispy/ispy_core/tools/
H A Dimage_tools.py110 def AddMasks(masks):
114 masks: a list of mask-images.
121 Exception: if masks is an empty list, or if masks are not the same size.
123 if not masks:
124 raise Exception('masks must be a list containing at least one image.')
125 if len(masks) > 1 and not _AreTheSameSize(masks):
126 raise Exception('masks in list must be of the same size.')
129 masks_data = [mask.getdata() for mask in masks]
[all...]
/external/chromium_org/third_party/freetype/src/pshinter/
H A Dpshrec.h108 /* masks and counters table descriptor */
113 PS_Mask masks; member in struct:PS_Mask_TableRec_
122 PS_Mask_TableRec masks; member in struct:PS_DimensionRec_
H A Dpshrec.c219 PS_Mask mask = table->masks;
225 FT_FREE( table->masks );
231 /* ensure that a mask table can contain "count" masks */
245 if ( !FT_RENEW_ARRAY( table->masks, old_max, new_max ) )
273 mask = table->masks + count - 1;
303 mask = table->masks + count - 1;
372 /* test whether two masks in a table intersect */
378 PS_Mask mask1 = table->masks + index1;
379 PS_Mask mask2 = table->masks + index2;
404 /* merge two masks, use
[all...]
/external/freetype/src/pshinter/
H A Dpshrec.h108 /* masks and counters table descriptor */
113 PS_Mask masks; member in struct:PS_Mask_TableRec_
122 PS_Mask_TableRec masks; member in struct:PS_DimensionRec_
H A Dpshrec.c219 PS_Mask mask = table->masks;
225 FT_FREE( table->masks );
231 /* ensure that a mask table can contain "count" masks */
245 if ( !FT_RENEW_ARRAY( table->masks, old_max, new_max ) )
273 mask = table->masks + count - 1;
303 mask = table->masks + count - 1;
372 /* test whether two masks in a table intersect */
378 PS_Mask mask1 = table->masks + index1;
379 PS_Mask mask2 = table->masks + index2;
404 /* merge two masks, use
[all...]
/external/tcpdump/
H A Dprint-cnfp.c77 u_int32_t masks; /* src,dst addr prefix; v6: encaps */ member in struct:nfrec
137 (EXTRACT_32BITS(&nr->masks) >> 24) & 0xff);
146 (EXTRACT_32BITS(&nr->masks) >> 16) & 0xff);
182 (EXTRACT_32BITS(&nr->masks) >> 8) & 0xff,
183 (EXTRACT_32BITS(&nr->masks)) & 0xff);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/common/
H A Dutils.c249 const uint32_t * masks; local
291 masks = masks_table_rgb[ index ];
295 masks = masks_table_rgba[ index ];
299 masks = masks_table_bgr[ index ];
303 masks = masks_table_bgra[ index ];
345 modes->redMask = masks[0];
346 modes->greenMask = masks[1];
347 modes->blueMask = masks[2];
348 modes->alphaMask = masks[3];
355 modes->accumAlphaBits = (masks[
[all...]
/external/mesa3d/src/mesa/drivers/dri/common/
H A Dutils.c249 const uint32_t * masks; local
291 masks = masks_table_rgb[ index ];
295 masks = masks_table_rgba[ index ];
299 masks = masks_table_bgr[ index ];
303 masks = masks_table_bgra[ index ];
345 modes->redMask = masks[0];
346 modes->greenMask = masks[1];
347 modes->blueMask = masks[2];
348 modes->alphaMask = masks[3];
355 modes->accumAlphaBits = (masks[
[all...]
/external/chromium_org/third_party/icu/source/i18n/
H A Drbt_rule.h60 // are used only by masks() and getIndexValue() which are called
244 * Return true if this rule masks another rule. If r1 masks r2 then
245 * r1 matches any input string that r2 matches. If r1 masks r2 and r2 masks
246 * r1 then r1 == r2. Examples: "a>x" masks "ab>y". "a>x" masks "a[b]>y".
247 * "[c]a>x" masks "[dc]a>y".
249 * @return true if this rule masks 'r2'
251 virtual UBool masks(cons
[all...]
/external/icu4c/i18n/
H A Drbt_rule.h60 // are used only by masks() and getIndexValue() which are called
244 * Return true if this rule masks another rule. If r1 masks r2 then
245 * r1 matches any input string that r2 matches. If r1 masks r2 and r2 masks
246 * r1 then r1 == r2. Examples: "a>x" masks "ab>y". "a>x" masks "a[b]>y".
247 * "[c]a>x" masks "[dc]a>y".
249 * @return true if this rule masks 'r2'
251 virtual UBool masks(cons
[all...]
/external/dropbear/
H A Drandom.c217 const unsigned char masks[] = {0xff, 0x01, 0x03, 0x07, 0x0f, 0x1f, 0x3f, 0x7f}; local
231 randbuf[0] &= masks[size_bits % 8];
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
H A Dradeon_dataflow.c655 struct branch_write_mask * masks = &d->BranchMasks[*branch_depth]; local
657 if (masks->HasElse) {
661 masks->IfWriteMask & ~masks->ElseWriteMask;
665 masks->ElseWriteMask & ~d->AliveWriteMask;
667 d->AliveWriteMask = masks->IfWriteMask
668 ^ ((masks->IfWriteMask ^ masks->ElseWriteMask)
669 & (masks->IfWriteMask ^ d->AliveWriteMask));
672 masks
[all...]
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_dataflow.c655 struct branch_write_mask * masks = &d->BranchMasks[*branch_depth]; local
657 if (masks->HasElse) {
661 masks->IfWriteMask & ~masks->ElseWriteMask;
665 masks->ElseWriteMask & ~d->AliveWriteMask;
667 d->AliveWriteMask = masks->IfWriteMask
668 ^ ((masks->IfWriteMask ^ masks->ElseWriteMask)
669 & (masks->IfWriteMask ^ d->AliveWriteMask));
672 masks
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
H A Dlp_bld_const.c401 LLVMValueRef masks[LP_MAX_VECTOR_LENGTH]; local
408 masks[j + i] = LLVMConstInt(elem_type,
414 return LLVMConstVector(masks, type.length);
H A Dlp_bld_format_aos.c156 LLVMValueRef masks[4]; local
200 masks[i] = LLVMConstNull(LLVMInt32TypeInContext(gallivm->context));
213 masks[i] = lp_build_const_int32(gallivm, mask);
230 masked = LLVMBuildAnd(builder, shifted, LLVMConstVector(masks, 4), "");
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_const.c401 LLVMValueRef masks[LP_MAX_VECTOR_LENGTH]; local
408 masks[j + i] = LLVMConstInt(elem_type,
414 return LLVMConstVector(masks, type.length);
H A Dlp_bld_format_aos.c156 LLVMValueRef masks[4]; local
200 masks[i] = LLVMConstNull(LLVMInt32TypeInContext(gallivm->context));
213 masks[i] = lp_build_const_int32(gallivm, mask);
230 masked = LLVMBuildAnd(builder, shifted, LLVMConstVector(masks, 4), "");
/external/chromium_org/third_party/WebKit/Source/core/platform/mac/
H A DWebFontCache.mm70 const NSFontTraitMask masks[] = {
83 while ((mask = masks[i++])) {
/external/libppp/src/
H A Dncpaddr.c143 const u_char masks[] = { 0x00, 0x80, 0xc0, 0xe0, 0xf0, 0xf8, 0xfc, 0xfe }; local
152 for (c = masks, m = 0; c < masks + sizeof masks; c++, m++)
520 const u_char masks[] = { 0x80, 0xc0, 0xe0, 0xf0, 0xf8, 0xfc, 0xfe, 0xff }; local
539 if ((*addrp++ ^ *rangep++) & masks[bits > 7 ? 7 : bits - 1])
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir_target_nv50.cpp513 recordLocation(uint16_t *locs, uint8_t *masks, argument
528 if (var->sn == TGSI_SEMANTIC_POSITION && masks)
529 masks[0] = var->mask;
/external/mesa3d/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir_target_nv50.cpp513 recordLocation(uint16_t *locs, uint8_t *masks, argument
528 if (var->sn == TGSI_SEMANTIC_POSITION && masks)
529 masks[0] = var->mask;

Completed in 372 milliseconds

12