Searched refs:storage_size_ (Results 1 – 3 of 3) sorted by relevance
/art/libartbase/base/ |
D | bit_vector.cc | 32 storage_size_(storage_size), in BitVector() 52 src.storage_size_, in BitVector() 53 static_cast<uint32_t*>(allocator->Alloc(src.storage_size_ * kWordBytes))) { in BitVector() 118 uint32_t src_storage_size = src->storage_size_; in Intersect() 121 uint32_t min_size = (storage_size_ < src_storage_size) ? storage_size_ : src_storage_size; in Intersect() 132 for (; idx < storage_size_; idx++) { in Intersect() 151 if (storage_size_ < src_size) { in Union() 157 DCHECK_LT(static_cast<uint32_t> (highest_bit), storage_size_ * kWordBits); in Union() 185 if (storage_size_ < union_with_size) { in UnionIfNotIn() 189 DCHECK_LT(static_cast<uint32_t> (highest_bit), storage_size_ * kWordBits); in UnionIfNotIn() [all …]
|
D | bit_vector-inl.h | 30 DCHECK_EQ(storage_size_, other.storage_size_); 54 if (UNLIKELY(word_index == storage_size_)) { in FindIndex() 62 if (UNLIKELY(word_index == storage_size_)) { in FindIndex() 72 storage_size_(bit_vector->storage_size_), in IndexIterator() 77 storage_size_(bit_vector->storage_size_), in IndexIterator() 89 memset(storage_, 0, storage_size_ * kWordBytes); in ClearAllBits() 93 return (storage_size_ == src->GetStorageSize()) && in Equal() 95 (memcmp(storage_, src->GetRawStorage(), storage_size_ * sizeof(uint32_t)) == 0); in Equal()
|
D | bit_vector.h | 89 return storage_size_ * kWordBits; in BitSize() 94 const uint32_t storage_size_; // Size of vector in words. variable 121 storage_size_(other.storage_size_), in BitVector() 125 other.storage_size_ = 0u; in BitVector() 154 if (idx >= storage_size_ * kWordBits) { in SetBit() 163 if (idx < storage_size_ * kWordBits) { in ClearBit() 173 return (idx < (storage_size_ * kWordBits)) && IsBitSet(storage_, idx); in IsBitSet() 218 return storage_size_; in GetStorageSize() 238 return storage_size_ * kWordBytes; in GetSizeOf() 242 return storage_size_ * kWordBits; in GetBitSizeOf() [all …]
|