Home
last modified time | relevance | path

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

12

/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/llvm-project/libc/utils/FPUtil/x86_64/
DFEnv.h134 uint16_t bitMask = internal::getStatusValueForExcept(excepts); in enableExcept() local
138 x87CW &= ~bitMask; in enableExcept()
145 mxcsr &= ~(bitMask << internal::MXCSRExceptionContolBitPoistion); in enableExcept()
159 uint16_t bitMask = internal::getStatusValueForExcept(excepts); in disableExcept() local
163 x87CW |= bitMask; in disableExcept()
169 mxcsr |= (bitMask << internal::MXCSRExceptionContolBitPoistion); in disableExcept()
/external/antlr/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/tool/src/main/java/org/antlr/misc/
DBitSet.java94 bits[n] |= bitMask(el); in add()
164 private static long bitMask(int bitNumber) { in bitMask() method in BitSet
180 bits[n] &= ~bitMask(el); in clear()
265 return (bits[n] & bitMask(el)) != 0; in member()
320 bits[n] ^= bitMask(i); in notInPlace()
366 s.bits[n] |= bitMask(i); in range()
403 bits[n] &= ~bitMask(el); in remove()
/external/antlr/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
238 return (bits[n] & bitMask(el)) != 0; in member()
245 bits[n] &= ~bitMask(el); in remove()
/external/angle/src/libANGLE/
DContext.inl.h95 ANGLE_INLINE angle::Result Context::syncDirtyBits(const State::DirtyBits &bitMask) in syncDirtyBits() argument
97 const State::DirtyBits &dirtyBits = (mState.getDirtyBits() & bitMask); in syncDirtyBits()
98 ANGLE_TRY(mImplementation->syncState(this, dirtyBits, bitMask)); in syncDirtyBits()
DContext.h635 angle::Result syncState(const State::DirtyBits &bitMask,
639 angle::Result syncDirtyBits(const State::DirtyBits &bitMask);
/external/angle/third_party/abseil-cpp/absl/base/internal/
Dsysinfo.cc69 DWORD Win32CountSetBits(ULONG_PTR bitMask) { in Win32CountSetBits() argument
71 if (bitMask == 0) return bitSetCount; in Win32CountSetBits()
72 bitMask &= bitMask - 1; in Win32CountSetBits()
/external/antlr/runtime/C/src/
Dantlr3bitset.c57 static ANTLR3_UINT64 bitMask (ANTLR3_UINT32 bitNumber);
389 bitset->blist.bits[word] |= bitMask(bit); in antlr3BitsetAdd()
476 bitMask(ANTLR3_UINT32 bitNumber) in bitMask() function
581 if ((bitset->blist.bits[wordNo] & bitMask(bit)) == 0) in antlr3BitsetMember()
600 bitset->blist.bits[wordNo] &= ~(bitMask(bit)); in antlr3BitsetRemove()
Dantlr3collections.c1784 static ANTLR3_UINT64 bitMask[64] = variable
1897 if (key & bitMask[nextNode->bitNum]) in intTrieGet()
1980 if (key & bitMask[nextNode->bitNum]) in intTrieAdd()
2136 if (key & bitMask[entNode->bitNum]) in intTrieAdd()
2194 if (key & bitMask[depth]) in intTrieAdd()
2210 if (key & bitMask[thisNode->bitNum] ) in intTrieAdd()
/external/antlr/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/webrtc/sdk/android/api/org/webrtc/
DPeerConnection.java391 public final Integer bitMask; field in PeerConnection.AdapterType
392 private AdapterType(Integer bitMask) { in AdapterType() argument
393 this.bitMask = bitMask; in AdapterType()
398 BY_BITMASK.put(t.bitMask, t); in BY_BITMASK.put() argument
/external/antlr/runtime/ObjC/Framework/
DANTLRBitSet.h81 - (unsigned long long) bitMask:(NSUInteger) bitNumber;
/external/llvm-project/llvm/test/Assembler/
Dthinlto-summary.ll58 ; Test TypeId with other optional fields (alignLog2/sizeM1/bitMask/inlineBits)
59 …(typeTestRes: (kind: inline, sizeM1BitWidth: 0, alignLog2: 1, sizeM1: 2, bitMask: 3, inlineBits: 4…
95 …(typeTestRes: (kind: inline, sizeM1BitWidth: 0, alignLog2: 1, sizeM1: 2, bitMask: 3, inlineBits: 4…
/external/antlr/runtime/Cpp/include/
Dantlr3collections.inl112 static ANTLR_UINT64 bitMask[64] = local
132 return bitMask;
202 const ANTLR_UINT64* bitMask = this->get_bitMask(); local
213 if (key & bitMask[nextNode->get_bitNum()])
279 const ANTLR_UINT64* bitMask = this->get_bitMask(); local
286 if (key & bitMask[nextNode->get_bitNum()])
423 if (key & bitMask[entNode->get_bitNum()])
456 if (key & bitMask[depth])
472 if (key & bitMask[thisNode->get_bitNum()] )
/external/zstd/lib/legacy/
Dzstd_v01.c703 const U32 bitMask = sizeof(bitD->bitContainer)*8 - 1; in FSE_lookBits() local
704 …return ((bitD->bitContainer << (bitD->bitsConsumed & bitMask)) >> 1) >> ((bitMask-nbBits) & bitMas… in FSE_lookBits()
709 const U32 bitMask = sizeof(bitD->bitContainer)*8 - 1; in FSE_lookBitsFast() local
710 … return (bitD->bitContainer << (bitD->bitsConsumed & bitMask)) >> (((bitMask+1)-nbBits) & bitMask); in FSE_lookBitsFast()
Dzstd_v03.c437 const U32 bitMask = sizeof(bitD->bitContainer)*8 - 1; in BIT_lookBits() local
438 …return ((bitD->bitContainer << (bitD->bitsConsumed & bitMask)) >> 1) >> ((bitMask-nbBits) & bitMas… in BIT_lookBits()
445 const U32 bitMask = sizeof(bitD->bitContainer)*8 - 1; in BIT_lookBitsFast() local
446 … return (bitD->bitContainer << (bitD->bitsConsumed & bitMask)) >> (((bitMask+1)-nbBits) & bitMask); in BIT_lookBitsFast()
Dzstd_v04.c702 const U32 bitMask = sizeof(bitD->bitContainer)*8 - 1; in BIT_lookBits() local
703 …return ((bitD->bitContainer << (bitD->bitsConsumed & bitMask)) >> 1) >> ((bitMask-nbBits) & bitMas… in BIT_lookBits()
710 const U32 bitMask = sizeof(bitD->bitContainer)*8 - 1; in BIT_lookBitsFast() local
711 … return (bitD->bitContainer << (bitD->bitsConsumed & bitMask)) >> (((bitMask+1)-nbBits) & bitMask); in BIT_lookBitsFast()
Dzstd_v02.c435 const U32 bitMask = sizeof(bitD->bitContainer)*8 - 1; in BIT_lookBits() local
436 …return ((bitD->bitContainer << (bitD->bitsConsumed & bitMask)) >> 1) >> ((bitMask-nbBits) & bitMas… in BIT_lookBits()
443 const U32 bitMask = sizeof(bitD->bitContainer)*8 - 1; in BIT_lookBitsFast() local
444 … return (bitD->bitContainer << (bitD->bitsConsumed & bitMask)) >> (((bitMask+1)-nbBits) & bitMask); in BIT_lookBitsFast()
Dzstd_v05.c828 const U32 bitMask = sizeof(bitD->bitContainer)*8 - 1; in BITv05_lookBits() local
829 …return ((bitD->bitContainer << (bitD->bitsConsumed & bitMask)) >> 1) >> ((bitMask-nbBits) & bitMas… in BITv05_lookBits()
836 const U32 bitMask = sizeof(bitD->bitContainer)*8 - 1; in BITv05_lookBitsFast() local
837 … return (bitD->bitContainer << (bitD->bitsConsumed & bitMask)) >> (((bitMask+1)-nbBits) & bitMask); in BITv05_lookBitsFast()
Dzstd_v06.c930 U32 const bitMask = sizeof(bitD->bitContainer)*8 - 1; in BITv06_lookBits() local
931 …return ((bitD->bitContainer << (bitD->bitsConsumed & bitMask)) >> 1) >> ((bitMask-nbBits) & bitMas… in BITv06_lookBits()
938 U32 const bitMask = sizeof(bitD->bitContainer)*8 - 1; in BITv06_lookBitsFast() local
939 … return (bitD->bitContainer << (bitD->bitsConsumed & bitMask)) >> (((bitMask+1)-nbBits) & bitMask); in BITv06_lookBitsFast()
/external/angle/src/compiler/translator/tree_util/
DReplaceClipCullDistanceVariable.cpp219 TIntermConstantUnion *bitMask = CreateUIntNode(0x1 << index); in assignFuncWithEnableFlags() local
220 TIntermBinary *bitwiseAnd = new TIntermBinary(EOpBitwiseAnd, enableFlags->deepCopy(), bitMask); in assignFuncWithEnableFlags()
/external/OpenCL-CTS/test_conformance/c11_atomics/
Dtest_atomics.cpp1207 HostDataType value, bitMask = (HostDataType)1 << tid%bits; in HostFunction() local
1211 value = host_atomic_fetch_or(destMemory+valueInd, bitMask, MemoryOrder()); in HostFunction()
1212 if(value & bitMask) // bit should be set to 0 in HostFunction()
1214 value = host_atomic_fetch_and(destMemory+valueInd, ~bitMask, MemoryOrder()); in HostFunction()
1215 if(!(value & bitMask)) // bit should be set to 1 in HostFunction()
1329 HostDataType value, bitMask = (HostDataType)1 << tid%bits; in HostFunction() local
1333 value = host_atomic_fetch_xor(destMemory+valueInd, bitMask, MemoryOrder()); in HostFunction()
1334 if(value & bitMask) // bit should be set to 0 in HostFunction()
1336 value = host_atomic_fetch_xor(destMemory+valueInd, bitMask, MemoryOrder()); in HostFunction()
1337 if(!(value & bitMask)) // bit should be set to 1 in HostFunction()
/external/angle/src/libANGLE/renderer/
DContextImpl.h189 const gl::State::DirtyBits &bitMask) = 0;
/external/angle/src/libANGLE/renderer/null/
DContextNULL.h178 const gl::State::DirtyBits &bitMask) override;

12