Home
last modified time | relevance | path

Searched refs:bitMask (Results 1 – 18 of 18) sorted by relevance

/external/caliper/examples/src/main/java/examples/
DBitSetBenchmark.java117 long bitMask = 0L; in setMaskX64() local
119 bitMask |= 1 << (i & 0x3F); in setMaskX64()
121 return bitMask; in setMaskX64()
153 long bitMask = 0; in charsToMask() local
158 bitMask |= m; in charsToMask()
160 bitMask &= ~m; in charsToMask()
164 return bitMask; in charsToMask()
/external/pdfium/core/fxcrt/
Dfx_basic_util.cpp239 int bitMask; in GetBits32() local
244 bitMask = (1 << nbits) - 1; in GetBits32()
249 bitMask = (1 << std::min(bitOffset, nbits)) - 1; in GetBits32()
253 static_cast<uint32_t>((*dataPtr++ >> bitShift & bitMask) << dstShift); in GetBits32()
260 bitMask = (1 << dstShift) - 1; in GetBits32()
261 result |= *dataPtr++ >> bitShift & bitMask; in GetBits32()
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
DBitSet.js65 bitMask: function(bitNumber) { method
121 s.bits[n] |= org.antlr.runtime.BitSet.bitMask(i);
171 this.bits[n] |= org.antlr.runtime.BitSet.bitMask(el);
257 this.bits[n] &= ~org.antlr.runtime.BitSet.bitMask(el);
373 return (this.bits[n] & org.antlr.runtime.BitSet.bitMask(el)) !== 0;
450 this.bits[n] ^= org.antlr.runtime.BitSet.bitMask(i);
503 this.bits[n] &= ~org.antlr.runtime.BitSet.bitMask(el);
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
DBitSet.java93 bits[n] |= bitMask(el); in add()
168 private final static long bitMask(int bitNumber) { in bitMask() method in BitSet
184 bits[n] &= ~bitMask(el); in clear()
265 return (bits[n] & bitMask(el)) != 0; in member()
317 bits[n] ^= bitMask(i); in notInPlace()
365 s.bits[n] |= bitMask(i); in range()
400 bits[n] &= ~bitMask(el); in remove()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DBitSet.java122 bits[n] |= bitMask(el); in add()
161 private final static long bitMask(int bitNumber) { in bitMask() method in BitSet
236 return (bits[n] & bitMask(el)) != 0; in member()
243 bits[n] &= ~bitMask(el); in remove()
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3bitset.c57 static ANTLR3_UINT64 bitMask (ANTLR3_UINT32 bitNumber);
390 bitset->blist.bits[word] |= bitMask(bit); in antlr3BitsetAdd()
477 bitMask(ANTLR3_UINT32 bitNumber) in bitMask() function
582 if ((bitset->blist.bits[wordNo] & bitMask(bit)) == 0) in antlr3BitsetMember()
601 bitset->blist.bits[wordNo] &= ~(bitMask(bit)); in antlr3BitsetRemove()
Dantlr3collections.c1743 static ANTLR3_UINT64 bitMask[64] = variable
1856 if (key & bitMask[nextNode->bitNum]) in intTrieGet()
1940 if (key & bitMask[nextNode->bitNum]) in intTrieAdd()
2096 if (key & bitMask[entNode->bitNum]) in intTrieAdd()
2154 if (key & bitMask[depth]) in intTrieAdd()
2170 if (key & bitMask[thisNode->bitNum] ) in intTrieAdd()
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
DBitSet.as85 bits[n] |= bitMask(el);
119 private static function bitMask(bitNumber:int):int { method in org.antlr.runtime.BitSet
186 return (bits[n] & bitMask(el)) != 0;
193 bits[n] &= ~bitMask(el);
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRBitSet.h80 - (unsigned long long) bitMask:(NSUInteger) bitNumber;
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRBitSet.h81 - (unsigned long long) bitMask:(NSUInteger) bitNumber;
DANTLRBitSet.m258 - (unsigned long long) bitMask:(NSUInteger) bitNumber
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRBitSet.h80 - (unsigned long long) bitMask:(NSUInteger) bitNumber;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRBitSet.h80 - (unsigned long long) bitMask:(NSUInteger) bitNumber;
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtcp_receiver.cc836 uint16_t bitMask = rtcpPacket.NACKItem.BitMask; in HandleNACKItem() local
837 if (bitMask) { in HandleNACKItem()
839 if (bitMask & 0x01) { in HandleNACKItem()
843 bitMask = bitMask >>1; in HandleNACKItem()
/external/dng_sdk/source/
Ddng_read_image.cpp1356 uint32 bitMask = (1 << bitDepth) - 1; in ReadUncompressed() local
1376 p [j] = (uint16) ((bitBuffer >> (bufferBits - bitDepth)) & bitMask); in ReadUncompressed()
1395 uint32 bitMask = ((uint32) 1 << bitDepth) - 1; in ReadUncompressed() local
1415 p [j] = ((uint32) (bitBuffer >> (bufferBits - bitDepth))) & bitMask; in ReadUncompressed()
Ddng_lossless_jpeg.cpp126 const uint32 bitMask [] = in FixHuffTbl() local
250 int32 ul = (size < 8 ? ll | bitMask [24 + size] in FixHuffTbl()
/external/deqp/modules/glshared/
DglsTextureBufferCase.cpp94 const deUint8 bitMask = deUint8((0x1u << bits) - 1); in genRandomCoords() local
100 const deUint8 xBits = deUint8(rng.getUint32() & bitMask); in genRandomCoords()
/external/protobuf/objectivec/
DGPBUtilities.m114 uint32_t bitMask = (1 << (idx % 32));
116 (self->messageStorage_->_has_storage_[byteIndex] & bitMask) ? YES : NO;
138 uint32_t bitMask = (1 << (idx % 32));
140 has_storage[byte] |= bitMask;
142 has_storage[byte] &= ~bitMask;