/external/libnetfilter_conntrack/src/conntrack/ |
filter.c | 38 filter->l3proto[0][filter->l3proto_elems[0]].mask = this->mask; 50 filter->l3proto[1][filter->l3proto_elems[1]].mask = this->mask; 63 memcpy(filter->l3proto_ipv6[0][filter->l3proto_elems_ipv6[0]].mask, 64 this->mask, sizeof(uint32_t)*4); 77 memcpy(filter->l3proto_ipv6[1][filter->l3proto_elems_ipv6[1]].mask, 78 this->mask, sizeof(uint32_t)*4); 90 filter->mark[filter->mark_elems].mask = this->mask; [all...] |
/external/libvpx/libvpx/vp8/encoder/x86/ |
vp8_quantize_ssse3.c | 20 static int bsr(int mask) { 22 _BitScanReverse(&eob, mask); 24 if (mask == 0) eob = 0; 28 static int bsr(int mask) { 31 __asm__ __volatile__("bsr %1, %0" : "=r"(eob) : "r"(mask) : "flags"); 33 asm volatile("bsr %1, %0" : "=r"(eob) : "r"(mask) : "flags"); 36 if (mask == 0) eob = 0; 42 int eob, mask; local 109 mask = _mm_movemask_epi8(x); 111 eob = bsr(mask); [all...] |
/external/opencv/cvaux/src/ |
cvbgfg_common.cpp | 75 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/protobuf/src/google/protobuf/util/ |
field_mask_util.h | 50 static string ToString(const FieldMask& mask); 57 static bool ToJsonString(const FieldMask& mask, string* out); 68 static bool IsValidFieldMask(const FieldMask& mask) { 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) { 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...] |
/external/skia/src/codec/ |
SkMasks.cpp | 61 static uint8_t get_comp(uint32_t pixel, uint32_t mask, uint32_t shift, 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) { 90 // Determine properties of the mask 91 uint32_t tempMask = mask; [all...] |
/external/skqp/src/codec/ |
SkMasks.cpp | 61 static uint8_t get_comp(uint32_t pixel, uint32_t mask, uint32_t shift, 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) { 90 // Determine properties of the mask 91 uint32_t tempMask = mask; [all...] |
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/util/ |
field_mask_util.h | 50 static string ToString(const FieldMask& mask); 57 static bool ToJsonString(const FieldMask& mask, string* out); 68 static bool IsValidFieldMask(const FieldMask& mask) { 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) { 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...] |
/external/ltp/testcases/kernel/syscalls/inotify/ |
inotify02.c | 73 unsigned int mask; member in struct:event_t 99 event_set[tst_count].mask = IN_ISDIR | IN_ATTRIB; 108 event_set[tst_count].mask = IN_CREATE; 111 event_set[tst_count].mask = IN_OPEN; 116 event_set[tst_count].mask = IN_CLOSE_WRITE; 121 event_set[tst_count].mask = IN_MOVED_FROM; 124 event_set[tst_count].mask = IN_MOVED_TO; 135 event_set[tst_count].mask = IN_MOVE_SELF; 140 event_set[tst_count].mask = IN_DELETE; 154 event_set[tst_count].mask = IN_MOVE_SELF [all...] |
/prebuilts/go/darwin-x86/src/runtime/ |
os_linux_mips64x.go | 52 func sigaddset(mask *sigset, i int) { 53 (*mask)[(i-1)/64] |= 1 << ((uint32(i) - 1) & 63) 56 func sigdelset(mask *sigset, i int) { 57 (*mask)[(i-1)/64] &^= 1 << ((uint32(i) - 1) & 63) 60 func sigfillset(mask *[2]uint64) { 61 (*mask)[0], (*mask)[1] = ^uint64(0), ^uint64(0)
|
/prebuilts/go/linux-x86/src/runtime/ |
os_linux_mips64x.go | 52 func sigaddset(mask *sigset, i int) { 53 (*mask)[(i-1)/64] |= 1 << ((uint32(i) - 1) & 63) 56 func sigdelset(mask *sigset, i int) { 57 (*mask)[(i-1)/64] &^= 1 << ((uint32(i) - 1) & 63) 60 func sigfillset(mask *[2]uint64) { 61 (*mask)[0], (*mask)[1] = ^uint64(0), ^uint64(0)
|
/external/skia/src/opts/ |
SkBlitRow_opts_SSE2.cpp | 106 // The following (left) shifts cause the top 5 bits of the mask components to 108 // Note that the mask's RGB16 order may differ from the SkPMColor order. 138 __m128i &mask, __m128i &srcA) { 139 // In the following comments, the components of src, dst and mask are 150 // mask stores 16-bit values (compressed three channels) interleaved with zeros. 152 // mask = (m0RGBLo, m0RGBHi, 0, 0, m1RGBLo, m1RGBHi, 0, 0, 155 // Get the R,G,B of each 16bit mask pixel, we want all of them in 5 bits. 157 __m128i r = _mm_and_si128(SkPackedR16x5ToUnmaskedR32x5_SSE2(mask), 161 __m128i g = _mm_and_si128(SkPackedG16x5ToUnmaskedG32x5_SSE2(mask), 165 __m128i b = _mm_and_si128(SkPackedB16x5ToUnmaskedB32x5_SSE2(mask), [all...] |
/external/skia/tests/ |
BlitMaskClip.cpp | 49 SkMask mask; local 50 mask.fFormat = SkMask::kBW_Format; 51 mask.fBounds = b; 52 mask.fImage = (uint8_t*)bits; 53 mask.fRowBytes = rowBytes; 55 TestBlitter tb(mask.fBounds, reporter); 62 tb.blitMask(mask, clipRect);
|
/external/skqp/src/opts/ |
SkBlitRow_opts_SSE2.cpp | 106 // The following (left) shifts cause the top 5 bits of the mask components to 108 // Note that the mask's RGB16 order may differ from the SkPMColor order. 138 __m128i &mask, __m128i &srcA) { 139 // In the following comments, the components of src, dst and mask are 150 // mask stores 16-bit values (compressed three channels) interleaved with zeros. 152 // mask = (m0RGBLo, m0RGBHi, 0, 0, m1RGBLo, m1RGBHi, 0, 0, 155 // Get the R,G,B of each 16bit mask pixel, we want all of them in 5 bits. 157 __m128i r = _mm_and_si128(SkPackedR16x5ToUnmaskedR32x5_SSE2(mask), 161 __m128i g = _mm_and_si128(SkPackedG16x5ToUnmaskedG32x5_SSE2(mask), 165 __m128i b = _mm_and_si128(SkPackedB16x5ToUnmaskedB32x5_SSE2(mask), [all...] |
/external/skqp/tests/ |
BlitMaskClip.cpp | 49 SkMask mask; local 50 mask.fFormat = SkMask::kBW_Format; 51 mask.fBounds = b; 52 mask.fImage = (uint8_t*)bits; 53 mask.fRowBytes = rowBytes; 55 TestBlitter tb(mask.fBounds, reporter); 62 tb.blitMask(mask, clipRect);
|
/external/toybox/toys/other/ |
inotifyd.c | 14 usage: inotifyd PROG FILE[:MASK] ... 16 When a filesystem event matching MASK occurs to a FILE, run PROG as: 54 int i, mask = 0; local 56 if (!masks) mask = 0xfff; // default to all 61 if (i == -1) error_exit("bad mask '%c'", *masks); 62 mask |= 1<<i; 68 if (inotify_add_watch(fds.fd, path, mask) < 0) perror_exit_raw(path); 93 if (event->mask) { 97 if (event->mask & (1<<(m-masklist))) *s++ = *m; 110 if (event->mask & IN_IGNORED) [all...] |
/external/brotli/c/enc/ |
literal_cost.c | 36 static size_t DecideMultiByteStatsLevel(size_t pos, size_t len, size_t mask, 43 size_t c = data[(pos + i) & mask]; 56 static void EstimateBitCostsForLiteralsUTF8(size_t pos, size_t len, size_t mask, 60 const size_t max_utf8 = DecideMultiByteStatsLevel(pos, len, mask, data); 71 size_t c = data[(pos + i) & mask]; 84 i < window_half + 1 ? 0 : data[(pos + i - window_half - 1) & mask]; 86 i < window_half + 2 ? 0 : data[(pos + i - window_half - 2) & mask]; 88 --histogram[utf8_pos2][data[(pos + i - window_half) & mask]]; 93 size_t c = data[(pos + i + window_half - 1) & mask]; 94 size_t last_c = data[(pos + i + window_half - 2) & mask]; [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_bitmask.c | 164 util_bitmask_word mask; local 171 mask = 1 << bit; 174 if(!(bm->words[word] & mask)) 178 mask <<= 1; 182 mask = 1; 190 assert(!(bm->words[word] & mask)); 191 bm->words[word] |= mask; 203 util_bitmask_word mask; local 213 mask = 1 << bit; 215 bm->words[word] |= mask; 229 util_bitmask_word mask; local 252 util_bitmask_word mask = 1 << bit; local 279 util_bitmask_word mask = 1 << bit; local [all...] |
/external/valgrind/VEX/priv/ |
s390_disasm.c | 110 cab_operand(const HChar *base, UInt mask) 129 for (from = suffix[mask >> 1]; *from; ++from, ++to) { 139 mask. */ 141 construct_mnemonic(const HChar *prefix, const HChar *suffix, UInt mask) 164 for (from = mask_id[mask]; *from; ++from, ++to) { 223 cls_operand(Int kind, UInt mask) 238 return construct_mnemonic(prefix, "", mask); 329 UInt mask, kind; local 338 mask = va_arg(args, UInt); 339 mnm = kind == S390_XMNM_BCR ? bcr_operand(mask) : bc_operand(mask) 450 UInt mask; local [all...] |
/toolchain/binutils/binutils-2.27/intl/ |
l10nflist.c | 188 _nl_make_l10nflist (l10nfile_list, dirlist, dirlist_len, mask, language, 194 int mask; 222 + ((mask & TERRITORY) != 0 224 + ((mask & XPG_CODESET) != 0 226 + ((mask & XPG_NORM_CODESET) != 0 228 + (((mask & XPG_MODIFIER) != 0 229 || (mask & CEN_AUDIENCE) != 0) 231 + ((mask & CEN_SPECIAL) != 0 233 + (((mask & CEN_SPONSOR) != 0 234 || (mask & CEN_REVISION) != 0 [all...] |
/external/iproute2/tc/ |
em_u32.c | 30 "Usage: u32(ALIGN VALUE MASK at [ nexthdr+ ] OFFSET)\n" \ 41 unsigned long key, mask, offmask = 0, offset; local 69 return PARSE_ERR(a, "u32: missing mask"); 71 mask = bstrtoul(a); 72 if (mask == ULONG_MAX) 73 return PARSE_ERR(a, "u32: invalid mask, must be numeric"); 108 if (mask > 0xFF) 109 return PARSE_ERR(a, "Illegal mask (>0xFF)"); 112 mask <<= 24 - ((offset & 3) * 8); 119 if (mask > 0xFFFF [all...] |
/external/libnetfilter_conntrack/utils/ |
expect_create_nat.c | 19 struct nf_conntrack *master, *expected, *mask, *nat; local 77 mask = nfct_new(); 78 if (!mask) { 85 nfct_set_attr_u8(mask, ATTR_L3PROTO, AF_INET); 86 nfct_set_attr_u32(mask, ATTR_IPV4_SRC, 0xffffffff); 87 nfct_set_attr_u32(mask, ATTR_IPV4_DST, 0xffffffff); 89 nfct_set_attr_u8(mask, ATTR_L4PROTO, IPPROTO_TCP); 90 nfct_set_attr_u16(mask, ATTR_PORT_SRC, 0x0000); 91 nfct_set_attr_u16(mask, ATTR_PORT_DST, 0xffff); 96 nfct_destroy(mask); [all...] |
/art/runtime/arch/arm64/ |
memcmp16_arm64.S | 45 #define mask x13 define 79 mov mask, #~0 80 lsl mask, mask, limit 81 bic data1, data1, mask 82 bic data2, data2, mask 91 // Mask off 0xF to have shift amount. Why does ARM64 not have BIC with immediate?!?! 93 // Create a 16b mask 94 mov mask, #0xFFFF 98 // Mask the lowest half-word [all...] |
/art/dex2oat/linker/ |
index_bss_mapping_encoder.h | 52 uint32_t mask = entry_.GetMask(index_bits_); local 53 if ((mask & ~(static_cast<uint32_t>(-1) << diff)) != 0u) { 58 mask = ((mask << index_bits_) >> diff) | (static_cast<uint32_t>(1u) << (32 - diff)); 59 entry_.index_and_mask = mask | index; 66 entry_.index_and_mask = method_index; // Mask bits set to 0.
|
/bionic/libc/bionic/ |
abort.cpp | 63 sigset64_t mask; local 64 sigfillset64(&mask); 65 sigdelset64(&mask, SIGABRT); 67 sigprocmask64(SIG_SETMASK, &mask, nullptr); 75 sigprocmask64(SIG_SETMASK, &mask, nullptr);
|
/external/guava/guava/src/com/google/common/collect/ |
RegularImmutableSet.java | 34 private final transient int mask; field in class:RegularImmutableSet 38 Object[] elements, int hashCode, Object[] table, int mask) { 41 this.mask = mask; 50 Object candidate = table[i & mask];
|