Home
last modified time | relevance | path

Searched refs:BitStringChar (Results 1 – 4 of 4) sorted by relevance

/art/libartbase/base/
Dbit_string.h27 struct BitStringChar;
28 inline std::ostream& operator<<(std::ostream& os, const BitStringChar& bc);
39 struct BitStringChar { struct
44 BitStringChar() : data_(0u), bitlength_(0u) { } in BitStringChar() function
47 BitStringChar(StorageType data, size_t bitlength) in BitStringChar() argument
78 bool operator==(const BitStringChar& other) const {
83 bool operator!=(const BitStringChar& other) const {
89 BitStringChar operator+(StorageType storage) const {
91 return BitStringChar(data_ + storage, bitlength_);
96 BitStringChar MaximumValue() const { in MaximumValue() argument
[all …]
Dbit_string_test.cc39 BitStringChar MakeBitStringChar(size_t idx, size_t val) { in MakeBitStringChar()
40 return BitStringChar(val, BitString::MaybeGetBitLengthAtPosition(idx)); in MakeBitStringChar()
43 BitStringChar MakeBitStringChar(size_t val) { in MakeBitStringChar()
44 return BitStringChar(val, MinimumBitsToStore(val)); in MakeBitStringChar()
75 … MakeBitStringChar(i, MaxInt<BitStringChar::StorageType>(BitString::kBitSizeAtPosition[i]))); in MakeBitStringMax()
/art/runtime/
Dsubtype_check_info.h231 OverwriteNextValueFromParent(/*inout*/&child, BitStringChar{}); in CreateChild()
246 BitStringChar next = GetNext(); in CreateChild()
311 BitStringChar GetNext() const { in GetNext()
318 bool MaybeGetNext(/*out*/BitStringChar* next) const { in MaybeGetNext()
330 SubtypeCheckInfo(BitString path_to_root, BitStringChar next, bool overflow, size_t depth) { in SubtypeCheckInfo()
372 void SetNext(BitStringChar next) { in SetNext()
379 void SetNextUnchecked(BitStringChar next) { in SetNextUnchecked()
391 SetNextUnchecked(BitStringChar{}); in MaybeInitNext()
436 void OverwriteNextValueFromParent(/*inout*/SubtypeCheckInfo* child, BitStringChar value) const { in OverwriteNextValueFromParent()
466 BitStringChar bc = path_to_root[i]; in DcheckInvariants()
[all …]
Dsubtype_check_info_test.cc39 BitStringChar MakeBitStringChar(size_t idx, size_t val) { in MakeBitStringChar()
40 return BitStringChar(val, BitString::MaybeGetBitLengthAtPosition(idx)); in MakeBitStringChar()
43 BitStringChar MakeBitStringChar(size_t val) { in MakeBitStringChar()
44 return BitStringChar(val, MinimumBitsToStore(val)); in MakeBitStringChar()
75 … MakeBitStringChar(i, MaxInt<BitStringChar::StorageType>(BitString::kBitSizeAtPosition[i]))); in MakeBitStringMax()
97 BitStringChar next = {},
263 /*next=*/BitStringChar{}, in TEST_F()