Home
last modified time | relevance | path

Searched refs:kBitSizeAtPosition (Results 1 – 5 of 5) sorted by relevance

/art/libartbase/base/
Dbit_string_test.cc24 constexpr size_t BitString::kBitSizeAtPosition[BitString::kCapacity]; member in art::BitString
75 … MakeBitStringChar(i, MaxInt<BitStringChar::StorageType>(BitString::kBitSizeAtPosition[i]))); in MakeBitStringMax()
95 EXPECT_EQ(BitString::kBitSizeAtPosition[0u], BitString::GetLsbForPosition(1u)); in TEST()
96 EXPECT_EQ(BitString::kBitSizeAtPosition[0u] + BitString::kBitSizeAtPosition[1u], in TEST()
134 ASSERT_EQ(MinimumBitsToStore(max_bitstring_ints[i]), BitString::kBitSizeAtPosition[i]) << i; in TEST()
149 return MaxInt<BitString::StorageType>(BitString::kBitSizeAtPosition[kPos]); in MaxForPos()
159 EXPECT_EQ((MaxForPos<0>() << 0) | (MaxForPos<1>() << BitString::kBitSizeAtPosition[0]), in TEST()
Dbit_string.h148 static constexpr size_t kBitSizeAtPosition[] = {12, 4, 11}; // len[] from header docs. member
149 static constexpr size_t kCapacity = arraysize(kBitSizeAtPosition); // MaxBitstringLen above.
156 sum += kBitSizeAtPosition[idx]; in GetBitLengthTotalAtPosition()
177 return kBitSizeAtPosition[position]; in MaybeGetBitLengthAtPosition()
185 StorageType data = BitFieldExtract(storage_, GetLsbForPosition(idx), kBitSizeAtPosition[idx]);
187 return BitStringChar(data, kBitSizeAtPosition[idx]);
195 DCHECK_LE(bitchar.GetBitLength(), kBitSizeAtPosition[idx]); in SetAt()
201 kBitSizeAtPosition[idx]); in SetAt()
/art/runtime/
Dsubtype_check_info_test.cc24 constexpr size_t BitString::kBitSizeAtPosition[BitString::kCapacity]; member in art::BitString
75 … MakeBitStringChar(i, MaxInt<BitStringChar::StorageType>(BitString::kBitSizeAtPosition[i]))); in MakeBitStringMax()
272 ASSERT_EQ(12u, BitString::kBitSizeAtPosition[0]); in TEST_F()
273 ASSERT_EQ(4u, BitString::kBitSizeAtPosition[1]); in TEST_F()
274 ASSERT_EQ(11u, BitString::kBitSizeAtPosition[2]); in TEST_F()
283 ((pos1) << BitString::kBitSizeAtPosition[0]) | \ in TEST_F()
284 ((pos2) << (BitString::kBitSizeAtPosition[0] + BitString::kBitSizeAtPosition[1]))) in TEST_F()
392 if (cur_next == MaxInt<BitString::StorageType>(BitString::kBitSizeAtPosition[0u])) { in TEST_F()
Dsubtype_check_test.cc24 constexpr size_t BitString::kBitSizeAtPosition[BitString::kCapacity]; member in art::BitString
811 return MaxInt<size_t>(BitString::kBitSizeAtPosition[depth - 1]); in MaxWidthCutOff()
/art/runtime/mirror/
Dclass.cc49 constexpr size_t BitString::kBitSizeAtPosition[BitString::kCapacity]; member in art::BitString