Home
last modified time | relevance | path

Searched refs:StorageType (Results 1 – 9 of 9) sorted by relevance

/art/libartbase/base/
Dbit_string.h40 using StorageType = uint32_t; member
41 …static_assert(std::is_unsigned<StorageType>::value, "BitStringChar::StorageType must be unsigned");
47 BitStringChar(StorageType data, size_t bitlength) in BitStringChar()
65 explicit operator StorageType() const { in StorageType() function
69 bool operator==(StorageType storage) const {
73 bool operator!=(StorageType storage) const {
89 BitStringChar operator+(StorageType storage) const {
97 StorageType maximimum_data = MaxInt<StorageType>(bitlength_); in MaximumValue()
102 StorageType data_; // Unused bits (outside of bitlength) are 0.
110 << static_cast<BitStringChar::StorageType>(bc) << ")";
[all …]
Dbit_struct.h110 … typename StorageType = typename detail::MinimumTypeUnsignedHelper<kBitOffset + kBitWidth>::type>
120 typename = std::enable_if_t<std::is_same<T, StorageType>::value, _>>
121 explicit operator StorageType() const { in StorageType() function
173 StorageType GetStorage() const { in GetStorage()
180 StorageType val_;
207 using StorageType = T; member
226 StorageType operator++(int) {
235 StorageType operator--(int) {
Dbit_string_test.cc75 … MakeBitStringChar(i, MaxInt<BitStringChar::StorageType>(BitString::kBitSizeAtPosition[i]))); in MakeBitStringMax()
149 return MaxInt<BitString::StorageType>(BitString::kBitSizeAtPosition[kPos]); in MaxForPos()
155 BitString::StorageType as_int = static_cast<BitString::StorageType>(bs); in TEST()
/art/runtime/
Dsubtype_check_bits_and_status.h70 BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf<BitString::StorageType>())
75 BitStructInt</*lsb=*/ 0, /*width=*/ BitSizeOf<BitString::StorageType>()> int32_alias_;
Dsubtype_check_info.h176 BitString::StorageType source_value = GetEncodedPathToRoot(); in IsSubtypeOf()
177 BitString::StorageType target_value = target.GetEncodedPathToRoot(); in IsSubtypeOf()
178 BitString::StorageType target_mask = target.GetEncodedPathToRootMask(); in IsSubtypeOf()
296 BitString::StorageType GetEncodedPathToRoot() const { in GetEncodedPathToRoot()
297 BitString::StorageType data = static_cast<BitString::StorageType>(GetPathToRoot()); in GetEncodedPathToRoot()
304 BitString::StorageType GetEncodedPathToRootMask() const { in GetEncodedPathToRootMask()
307 return MaskLeastSignificant<BitString::StorageType>(bitlength); in GetEncodedPathToRootMask()
Dsubtype_check_info_test.cc75 … MakeBitStringChar(i, MaxInt<BitStringChar::StorageType>(BitString::kBitSizeAtPosition[i]))); in MakeBitStringMax()
259 using StorageType = BitString::StorageType; in TEST_F() typedef
267 EXPECT_EQ(MaxInt<StorageType>(LenForPos()), sci.GetEncodedPathToRoot()); in TEST_F()
286 EXPECT_EQ(MAKE_ENCODED_PATH(MaxInt<BitString::StorageType>(12), 0b1111, 0b0), in TEST_F()
288 EXPECT_EQ(MAKE_ENCODED_PATH(MaxInt<BitString::StorageType>(12), 0b1111, 0b11111111111), in TEST_F()
296 EXPECT_EQ(MAKE_ENCODED_PATH(MaxInt<BitString::StorageType>(12), 0b1111, 0b0), in TEST_F()
298 EXPECT_EQ(MAKE_ENCODED_PATH(MaxInt<BitString::StorageType>(12), 0b1111, 0b0), in TEST_F()
307 EXPECT_EQ(MAKE_ENCODED_PATH(MaxInt<BitString::StorageType>(12), 0b0000, 0b0), in TEST_F()
392 if (cur_next == MaxInt<BitString::StorageType>(BitString::kBitSizeAtPosition[0u])) { in TEST_F()
Dsubtype_check.h306 static BitString::StorageType GetEncodedPathToRootForSource(ClassPtr klass) in GetEncodedPathToRootForSource()
319 static BitString::StorageType GetEncodedPathToRootForTarget(ClassPtr klass) in GetEncodedPathToRootForTarget()
333 static BitString::StorageType GetEncodedPathToRootMask(ClassPtr klass) in GetEncodedPathToRootMask()
Dsubtype_check_test.cc246 BitString::StorageType GetEncodedPathToRootForSource() const in GetEncodedPathToRootForSource()
252 BitString::StorageType GetEncodedPathToRootForTarget() const in GetEncodedPathToRootForTarget()
258 BitString::StorageType GetEncodedPathToRootMask() const in GetEncodedPathToRootMask()
/art/compiler/optimizing/
Dgraph_checker.cc619 BitString::StorageType expected_path_to_root = 0u; in HandleTypeCheckInstruction()
620 BitString::StorageType expected_mask = 0u; in HandleTypeCheckInstruction()