Searched refs:FirstBit (Results 1 – 6 of 6) sorted by relevance
/external/oboe/samples/RhythmGame/third_party/glm/gtc/ |
D | bitfield.hpp | 72 GLM_FUNC_DECL genIUType bitfieldFillOne(genIUType Value, int FirstBit, int BitCount); 78 …GLM_FUNC_DECL vecType<T, P> bitfieldFillOne(vecType<T, P> const & Value, int FirstBit, int BitCoun… 84 GLM_FUNC_DECL genIUType bitfieldFillZero(genIUType Value, int FirstBit, int BitCount); 90 …GLM_FUNC_DECL vecType<T, P> bitfieldFillZero(vecType<T, P> const & Value, int FirstBit, int BitCou…
|
D | bitfield.inl | 278 GLM_FUNC_QUALIFIER genIUType bitfieldFillOne(genIUType Value, int FirstBit, int BitCount) argument 280 return Value | static_cast<genIUType>(mask(BitCount) << FirstBit); 284 …GLM_FUNC_QUALIFIER vecType<T, P> bitfieldFillOne(vecType<T, P> const& Value, int FirstBit, int Bit… argument 286 return Value | static_cast<T>(mask(BitCount) << FirstBit); 290 GLM_FUNC_QUALIFIER genIUType bitfieldFillZero(genIUType Value, int FirstBit, int BitCount) argument 292 return Value & static_cast<genIUType>(~(mask(BitCount) << FirstBit)); 296 …GLM_FUNC_QUALIFIER vecType<T, P> bitfieldFillZero(vecType<T, P> const& Value, int FirstBit, int Bi… argument 298 return Value & static_cast<T>(~(mask(BitCount) << FirstBit));
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | Bitfields.h | 164 static_assert(Bitfield::FirstBit <= StorageBits, "Data must fit in mask"); 229 static constexpr unsigned FirstBit = Offset; 277 return A::LastBit >= B::FirstBit && B::LastBit >= A::FirstBit; 283 return A::NextBit == B::FirstBit && areContiguous<B, Others...>();
|
D | BitVector.h | 228 unsigned FirstBit = Begin % BITWORD_SIZE; variable 229 Copy &= maskTrailingZeros<BitWord>(FirstBit); 262 unsigned FirstBit = Begin % BITWORD_SIZE; in find_last_in() local 263 Copy &= maskTrailingZeros<BitWord>(FirstBit); in find_last_in() 299 unsigned FirstBit = Begin % BITWORD_SIZE; in find_last_unset_in() local 300 Copy |= maskTrailingOnes<BitWord>(FirstBit); in find_last_unset_in()
|
/external/llvm-project/llvm/unittests/ADT/ |
D | BitFieldsTest.cpp | 67 TEST(BitfieldsTest, FirstBit) { in TEST() argument 69 using FirstBit = Bitfield::Element<bool, 0, 1>; in TEST() typedef 71 Bitfield::set<FirstBit>(Storage, true); in TEST() 72 EXPECT_EQ(Bitfield::get<FirstBit>(Storage), true); in TEST() 75 Bitfield::set<FirstBit>(Storage, false); in TEST() 76 EXPECT_EQ(Bitfield::get<FirstBit>(Storage), false); in TEST()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | BitVector.h | 220 unsigned FirstBit = Begin % BITWORD_SIZE; in find_first_in() local 221 Copy &= maskTrailingZeros<BitWord>(FirstBit); in find_first_in() 254 unsigned FirstBit = Begin % BITWORD_SIZE; in find_last_in() local 255 Copy &= maskTrailingZeros<BitWord>(FirstBit); in find_last_in() 280 unsigned FirstBit = Begin % BITWORD_SIZE; in find_first_unset_in() local 281 Copy |= maskTrailingOnes<BitWord>(FirstBit); in find_first_unset_in() 316 unsigned FirstBit = Begin % BITWORD_SIZE; in find_last_unset_in() local 317 Copy |= maskTrailingOnes<BitWord>(FirstBit); in find_last_unset_in()
|