Searched refs:BitString (Results 1 – 10 of 10) sorted by relevance
/art/libartbase/base/ |
D | bit_string_test.cc | 24 constexpr size_t BitString::kBitSizeAtPosition[BitString::kCapacity]; 25 constexpr size_t BitString::kCapacity; 33 std::string Stringify(BitString bit_string) { in Stringify() 40 return BitStringChar(val, BitString::MaybeGetBitLengthAtPosition(idx)); in MakeBitStringChar() 47 BitString MakeBitString(std::initializer_list<size_t> values = {}) { in MakeBitString() 48 CHECK_GE(BitString::kCapacity, values.size()); 50 BitString bs{}; 69 template <size_t kCount = BitString::kCapacity> 70 BitString MakeBitStringMax() { in MakeBitStringMax() 71 BitString bs{}; in MakeBitStringMax() [all …]
|
D | bit_string.h | 142 struct BitString { struct 235 BitString() = default; argument 238 bool operator==(const BitString& other) const { 243 bool operator!=(const BitString& other) const { 249 return (*this) == BitString{}; in IsEmpty() argument 255 BitString Truncate(size_t end) { in Truncate() argument 257 BitString copy = *this; in Truncate() 270 friend std::ostream& operator<<(std::ostream& os, const BitString& bit_string); 277 static_assert(BitSizeOf<BitString::StorageType>() >= argument 278 BitString::GetBitLengthTotalAtPosition(BitString::kCapacity), [all …]
|
/art/runtime/ |
D | subtype_check_info_test.cc | 24 constexpr size_t BitString::kBitSizeAtPosition[BitString::kCapacity]; 25 constexpr size_t BitString::kCapacity; 33 std::string Stringify(BitString bit_string) { in Stringify() 40 return BitStringChar(val, BitString::MaybeGetBitLengthAtPosition(idx)); in MakeBitStringChar() 47 BitString MakeBitString(std::initializer_list<size_t> values = {}) { in MakeBitString() 48 CHECK_GE(BitString::kCapacity, values.size()); 50 BitString bs{}; 69 template <size_t kCount = BitString::kCapacity> 70 BitString MakeBitStringMax() { in MakeBitStringMax() 71 BitString bs{}; in MakeBitStringMax() [all …]
|
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() 282 BitString path_to_root = GetPathToRoot(); in GetState() 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() 307 size_t bitlength = BitString::GetBitLengthTotalAtPosition(num_bitchars); in GetEncodedPathToRootMask() 308 return MaskLeastSignificant<BitString::StorageType>(bitlength); in GetEncodedPathToRootMask() 331 SubtypeCheckInfo(BitString path_to_root, BitStringChar next, bool overflow, size_t depth) { in SubtypeCheckInfo() [all …]
|
D | subtype_check_bits.h | 59 BITSTRUCT_DEFINE_START(SubtypeCheckBits, /*size=*/ BitString::BitStructSizeOf() + 1u) 60 BITSTRUCT_FIELD(BitString, /*lsb=*/ 0, /*width=*/ BitString::BitStructSizeOf()) bitstring_; 61 BITSTRUCT_UINT(/*lsb=*/ BitString::BitStructSizeOf(), /*width=*/ 1) overflow_;
|
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_test.cc | 24 constexpr size_t BitString::kBitSizeAtPosition[BitString::kCapacity]; 25 constexpr size_t BitString::kCapacity; 246 BitString::StorageType GetEncodedPathToRootForSource() const in GetEncodedPathToRootForSource() 252 BitString::StorageType GetEncodedPathToRootForTarget() const in GetEncodedPathToRootForTarget() 258 BitString::StorageType GetEncodedPathToRootMask() const in GetEncodedPathToRootMask() 307 CreateRootedTree(BitString::kCapacity + 2u, BitString::kCapacity + 2u); in SetUp() 693 constexpr size_t kMaxDepthForThisTest = BitString::kCapacity; in TEST_F() 765 constexpr size_t kMaxDepthForThisTest = BitString::kCapacity + 1u; in TEST_F() 772 if (kls->Depth() > BitString::kCapacity) { in TEST_F() 789 constexpr size_t kMaxDepthForThisTest = BitString::kCapacity + 2u; in TEST_F() [all …]
|
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()
|
/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()
|
/art/runtime/mirror/ |
D | class.cc | 63 constexpr size_t BitString::kBitSizeAtPosition[BitString::kCapacity]; 64 constexpr size_t BitString::kCapacity;
|