Searched refs:StorageType (Results 1 – 10 of 10) sorted by relevance
/art/libartbase/base/ |
D | bit_string.h | 40 using StorageType = uint32_t; member 41 static_assert(std::is_unsigned_v<StorageType>, "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 …]
|
D | bit_struct.h | 113 typename StorageType> 123 typename = std::enable_if_t<std::is_same_v<T, StorageType>, _>> 124 explicit operator StorageType() const { in StorageType() function 174 using ConversionType = typename ValueConverter::StorageType; 176 std::make_signed_t<StorageType>, 177 StorageType>; 179 StorageType storage_; 188 template <typename T, size_t kBitOffset, size_t kBitWidth, typename StorageType> 189 struct BitStructNumber : public BitStructField<T, kBitOffset, kBitWidth, StorageType> { 207 StorageType operator++(int) { [all …]
|
D | bit_struct_detail.h | 61 using StorageType = typename MinimumTypeHelper<T, sizeof(T) * kBitsPerByte>::type; member 63 static constexpr StorageType ToUnderlyingStorage(T value) { in ToUnderlyingStorage() 69 static constexpr T FromUnderlyingStorage(StorageType storage) { in FromUnderlyingStorage() 78 StorageType val_;
|
D | bit_string_test.cc | 75 … 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/ |
D | subtype_check_info.h | 177 BitString::StorageType source_value = GetEncodedPathToRoot(); in IsSubtypeOf() 178 BitString::StorageType target_value = target.GetEncodedPathToRoot(); in IsSubtypeOf() 179 BitString::StorageType target_mask = target.GetEncodedPathToRootMask(); in IsSubtypeOf() 297 BitString::StorageType GetEncodedPathToRoot() const { in GetEncodedPathToRoot() 298 BitString::StorageType data = static_cast<BitString::StorageType>(GetPathToRoot()); in GetEncodedPathToRoot() 305 BitString::StorageType GetEncodedPathToRootMask() const { in GetEncodedPathToRootMask() 308 return MaskLeastSignificant<BitString::StorageType>(bitlength); in GetEncodedPathToRootMask()
|
D | subtype_check_bits_and_status.h | 70 BITSTRUCT_DEFINE_START(SubtypeCheckBitsAndStatus, BitSizeOf<BitString::StorageType>()) 77 BITSTRUCT_INT(/*lsb=*/ 0, /*width=*/ BitSizeOf<BitString::StorageType>()) int32_alias_;
|
D | subtype_check_info_test.cc | 75 … 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()
|
D | subtype_check.h | 306 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()
|
D | subtype_check_test.cc | 246 BitString::StorageType GetEncodedPathToRootForSource() const in GetEncodedPathToRootForSource() 252 BitString::StorageType GetEncodedPathToRootForTarget() const in GetEncodedPathToRootForTarget() 258 BitString::StorageType GetEncodedPathToRootMask() const in GetEncodedPathToRootMask()
|
/art/compiler/optimizing/ |
D | graph_checker.cc | 625 BitString::StorageType expected_path_to_root = 0u; in HandleTypeCheckInstruction() 626 BitString::StorageType expected_mask = 0u; in HandleTypeCheckInstruction()
|