Searched defs:bitmask (Results 26 - 50 of 57) sorted by relevance

123

/external/chromium_org/media/cast/net/rtcp/
H A Drtcp_utility.cc268 uint8 bitmask; local
271 !reader->ReadU8(&bitmask))
275 while (bitmask) {
277 if (bitmask & 1)
279 bitmask >>= 1;
H A Drtcp_builder.cc300 // Write frame and packet id to buffer before calculating bitmask.
305 uint8 bitmask = 0; local
311 bitmask |= (1 << shift);
317 writer_.WriteU8(bitmask);
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dlight.c570 * Given a face and pname value (ala glColorMaterial), compute a bitmask
577 GLuint bitmask = 0; local
579 /* Make a bitmask indicating what material attribute(s) we're updating */
582 bitmask |= MAT_BIT_FRONT_EMISSION | MAT_BIT_BACK_EMISSION;
585 bitmask |= MAT_BIT_FRONT_AMBIENT | MAT_BIT_BACK_AMBIENT;
588 bitmask |= MAT_BIT_FRONT_DIFFUSE | MAT_BIT_BACK_DIFFUSE;
591 bitmask |= MAT_BIT_FRONT_SPECULAR | MAT_BIT_BACK_SPECULAR;
594 bitmask |= MAT_BIT_FRONT_SHININESS | MAT_BIT_BACK_SHININESS;
597 bitmask |= MAT_BIT_FRONT_AMBIENT | MAT_BIT_BACK_AMBIENT;
598 bitmask |
711 const GLbitfield bitmask = ctx->Light._ColorMaterialBitmask; local
727 GLuint bitmask; local
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/
H A Dt_vb_light.c235 const GLuint bitmask = ctx->Light._ColorMaterialBitmask; local
237 if (bitmask & (1<<i))
/external/chromium_org/third_party/skia/third_party/lua/src/
H A Dlgc.h79 #define bitmask(b) (1<<(b)) macro
80 #define bit2mask(b1,b2) (bitmask(b1) | bitmask(b2))
81 #define l_setbit(x,b) setbits(x, bitmask(b))
82 #define resetbit(x,b) resetbits(x, bitmask(b))
83 #define testbit(x,b) testbits(x, bitmask(b))
102 (!testbits((x)->gch.marked, WHITEBITS | bitmask(BLACKBIT)))
/external/chromium_org/v8/test/cctest/
H A Dtest-declarative-accessors.cc194 static void TestBitmaskCompare(T bitmask, argument
208 static_cast<uint8_t>(bitmask),
214 static_cast<uint16_t>(bitmask),
220 static_cast<uint32_t>(bitmask),
232 helper->array_->As<T*>()[index] = compare_value & bitmask;
/external/kernel-headers/original/uapi/linux/netfilter_bridge/
H A Debt_stp.h42 __u16 bitmask; member in struct:ebt_stp_info
H A Debtables.h77 * Must be same size as ebt_entry.bitmask */
91 /* used for the bitmask of struct ebt_entry */
159 unsigned int bitmask; member in struct:ebt_entry
256 if (__entry->bitmask != 0) \
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
H A Dpatchram.cpp565 unsigned int bitmask = 0; local
570 sscanf (valueStr, "%x", &bitmask); //read system property as a hex octet
571 ALOGD ("%s: disable 0x%02X", __FUNCTION__, (UINT8) bitmask);
572 config.disableSecureElement ((UINT8) (bitmask & 0xC0));
/external/libnl/lib/route/cls/
H A Du32.c473 uint8_t bitmask, int off, int offmask)
475 uint32_t mask = 0xFFFFFFFF << (32 - bitmask);
480 uint8_t bitmask, int off, int offmask)
485 if (32 * i - bitmask <= 0) {
490 else if (32 * i - bitmask < 32) {
491 uint32_t mask = 0xFFFFFFFF << (32 * i - bitmask);
496 /* otherwise, if (32*i - bitmask >= 32) no key is generated */
472 rtnl_u32_add_key_in_addr(struct rtnl_cls *cls, struct in_addr *addr, uint8_t bitmask, int off, int offmask) argument
479 rtnl_u32_add_key_in6_addr(struct rtnl_cls *cls, struct in6_addr *addr, uint8_t bitmask, int off, int offmask) argument
/external/mesa3d/src/mesa/main/
H A Dlight.c570 * Given a face and pname value (ala glColorMaterial), compute a bitmask
577 GLuint bitmask = 0; local
579 /* Make a bitmask indicating what material attribute(s) we're updating */
582 bitmask |= MAT_BIT_FRONT_EMISSION | MAT_BIT_BACK_EMISSION;
585 bitmask |= MAT_BIT_FRONT_AMBIENT | MAT_BIT_BACK_AMBIENT;
588 bitmask |= MAT_BIT_FRONT_DIFFUSE | MAT_BIT_BACK_DIFFUSE;
591 bitmask |= MAT_BIT_FRONT_SPECULAR | MAT_BIT_BACK_SPECULAR;
594 bitmask |= MAT_BIT_FRONT_SHININESS | MAT_BIT_BACK_SHININESS;
597 bitmask |= MAT_BIT_FRONT_AMBIENT | MAT_BIT_BACK_AMBIENT;
598 bitmask |
711 const GLbitfield bitmask = ctx->Light._ColorMaterialBitmask; local
727 GLuint bitmask; local
[all...]
/external/mesa3d/src/mesa/tnl/
H A Dt_vb_light.c235 const GLuint bitmask = ctx->Light._ColorMaterialBitmask; local
237 if (bitmask & (1<<i))
/external/chromium_org/third_party/boringssl/src/ssl/
H A Dd1_both.c131 #define RSMBLY_BITMASK_MARK(bitmask, start, end) { \
134 for (ii = (start); ii < (end); ii++) bitmask[((ii) >> 3)] |= (1 << ((ii) & 7)); \
137 bitmask[((start) >> 3)] |= bitmask_start_values[((start) & 7)]; \
138 for (ii = (((start) >> 3) + 1); ii < ((((end) - 1)) >> 3); ii++) bitmask[ii] = 0xff; \
139 bitmask[(((end) - 1) >> 3)] |= bitmask_end_values[((end) & 7)]; \
142 #define RSMBLY_BITMASK_IS_COMPLETE(bitmask, msg_len, is_complete) { \
146 if (bitmask[(((msg_len) - 1) >> 3)] != bitmask_end_values[((msg_len) & 7)]) is_complete = 0; \
148 if (bitmask[ii] != 0xff) { is_complete = 0; break; } }
151 #define RSMBLY_BITMASK_PRINT(bitmask, msg_len) { \
153 printf("bitmask
180 unsigned char *bitmask = NULL; local
[all...]
/external/openssl/ssl/
H A Dd1_both.c128 #define RSMBLY_BITMASK_MARK(bitmask, start, end) { \
131 for (ii = (start); ii < (end); ii++) bitmask[((ii) >> 3)] |= (1 << ((ii) & 7)); \
134 bitmask[((start) >> 3)] |= bitmask_start_values[((start) & 7)]; \
135 for (ii = (((start) >> 3) + 1); ii < ((((end) - 1)) >> 3); ii++) bitmask[ii] = 0xff; \
136 bitmask[(((end) - 1) >> 3)] |= bitmask_end_values[((end) & 7)]; \
139 #define RSMBLY_BITMASK_IS_COMPLETE(bitmask, msg_len, is_complete) { \
143 if (bitmask[(((msg_len) - 1) >> 3)] != bitmask_end_values[((msg_len) & 7)]) is_complete = 0; \
145 if (bitmask[ii] != 0xff) { is_complete = 0; break; } }
148 #define RSMBLY_BITMASK_PRINT(bitmask, msg_len) { \
150 printf("bitmask
177 unsigned char *bitmask = NULL; local
[all...]
/external/chromium_org/chrome/browser/
H A Dabout_flags.cc95 // Adds a |StringValue| to |list| for each platform where |bitmask| indicates
97 void AddOsStrings(unsigned bitmask, base::ListValue* list) { argument
110 if (bitmask & kBitsToOs[i].bit)
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
H A Drtcp_packet.cc912 uint16_t bitmask = 0; local
916 bitmask |= (1 << shift);
924 item.BitMask = bitmask;
H A Drtcp_sender.cc1368 uint16_t bitmask = 0; local
1373 bitmask |= (1 << shift);
1379 // Write the sequence number and the bitmask to the packet.
1383 RtpUtility::AssignUWord16ToBuffer(rtcpbuffer + pos, bitmask);
/external/deqp/modules/gles31/functional/
H A Des31fTextureMultisampleTests.cpp848 const std::vector<deUint32> bitmask = genSetNthBitSampleMask(sample); local
858 const deUint32 sampleMask = (wordNdx < (int)bitmask.size()) ? (bitmask[wordNdx]) : (0);
875 const std::vector<deUint32> bitmask = genSetNthBitSampleMask(sample); local
876 DE_ASSERT((int)bitmask.size() <= m_effectiveSampleMaskWordCount);
878 m_testCtx.getLog() << tcu::TestLog::Message << "Setting sample mask to 0b" << sampleMaskToString(bitmask, m_samples) << tcu::TestLog::EndMessage;
883 const GLbitfield wordmask = (wordNdx < (int)bitmask.size()) ? ((GLbitfield)(bitmask[wordNdx])) : (0);
/external/pixman/pixman/
H A Dpixman-fast-path.c964 uint32_t bitcache, bitmask; local
992 bitmask = CREATE_BITMASK (mask_x & 31);
996 if (bitmask == 0)
999 bitmask = CREATE_BITMASK (0);
1001 if (bitcache & bitmask)
1003 bitmask = UPDATE_BITMASK (bitmask);
1019 bitmask = CREATE_BITMASK (mask_x & 31);
1023 if (bitmask == 0)
1026 bitmask
1046 uint32_t bitcache, bitmask; local
[all...]
/external/strace/
H A Dutil.c183 uint8_t bitmask; local
194 bitmask = 1 << (cur_bit & 7);
196 if (cur_byte & bitmask)
201 bitmask <<= 1;
203 if (bitmask == 0)
/external/tinyalsa/
H A Dpcm.c739 const unsigned int bitmask = (1 << bitshift) - 1; local
745 return (m->bits[element] >> (index & bitmask)) & 1;
/external/pcre/dist/sljit/
H A DsljitNativeARM_64.c418 sljit_ins bitmask; local
431 bitmask = logical_imm(simm, 16);
432 if (bitmask != 0)
433 return push_inst(compiler, (ORRI ^ W_OP) | RD(dst) | RN(TMP_ZERO) | bitmask);
436 bitmask = logical_imm(simm, 32);
437 if (bitmask != 0)
438 return push_inst(compiler, ORRI | RD(dst) | RN(TMP_ZERO) | bitmask);
/external/elfutils/0.153/src/
H A Delflint.c2027 section [%2d] '%s': bitmask size not power of 2: %u\n"),
2062 } bitmask = { .p32 = &((Elf32_Word *) data->d_buf)[4] }, local
2114 /* Set the bits in the bitmask. */
2150 if (memcmp (collected.p32, bitmask.p32, bitmask_words * sizeof (Elf32_Word)))
2152 section [%2d] '%s': bitmask does not match names in the hash table\n"),
/external/lldb/tools/debugserver/source/
H A DRNBRemote.cpp1773 QSetLogging:bitmask=LOG_ALL|LOG_RNB_REMOTE;
1778 QSetLogging:bitmask=LOG_ALL;mode=asl;
1784 int bitmask = 0; local
1787 if (strncmp (p, "bitmask=", sizeof ("bitmask=") - 1) == 0)
1789 p += sizeof ("bitmask=") - 1;
1801 // echo " bitmask |= $logname;"
1807 bitmask |= LOG_VERBOSE;
1812 bitmask |= LOG_PROCESS;
1817 bitmask |
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dbitvect.c901 N_word bitmask; local
917 bitmask = BITMASKTAB[start AND MODMASK];
918 mask = NOT (bitmask OR (bitmask - 1));
921 if ((value AND bitmask) == 0)
935 bitmask = LSB;
939 bitmask <<= 1;
943 mask = NOT (bitmask OR (bitmask - 1));
975 N_word bitmask; local
[all...]

Completed in 907 milliseconds

123