Home
last modified time | relevance | path

Searched refs:storage_size_ (Results 1 – 2 of 2) sorted by relevance

/art/runtime/base/
Dbit_vector.cc45 storage_size_(storage_size), in BitVector()
50 storage_size_ = BitsToWords(start_bits); in BitVector()
51 storage_ = static_cast<uint32_t*>(allocator_->Alloc(storage_size_ * kWordBytes)); in BitVector()
64 if (num >= storage_size_ * kWordBits) { in IsBitSet()
74 memset(storage_, 0, storage_size_ * kWordBytes); in ClearAllBits()
83 if (num >= storage_size_ * kWordBits) { in SetBit()
88 DCHECK_GT(new_size, storage_size_); in SetBit()
91 memcpy(new_storage, storage_, storage_size_ * kWordBytes); in SetBit()
93 memset(&new_storage[storage_size_], 0, (new_size - storage_size_) * kWordBytes); in SetBit()
96 storage_size_ = new_size; in SetBit()
[all …]
Dbit_vector.h53 DCHECK_EQ(storage_size_, other.storage_size_);
89 storage_size_(bit_vector->storage_size_), in IndexIterator()
94 storage_size_(bit_vector->storage_size_), in IndexIterator()
98 return storage_size_ * kWordBits; in BitSize()
104 if (UNLIKELY(word_index == storage_size_)) { in FindIndex()
112 if (UNLIKELY(word_index == storage_size_)) { in FindIndex()
121 const uint32_t storage_size_; // Size of vector in words. variable
170 return (storage_size_ == src->GetStorageSize()) && in Equal()
172 (memcmp(storage_, src->GetRawStorage(), storage_size_ * sizeof(uint32_t)) == 0); in Equal()
190 uint32_t GetStorageSize() const { return storage_size_; } in GetStorageSize()
[all …]