Home
last modified time | relevance | path

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

/art/runtime/base/
Dbit_vector.cc46 storage_(storage) { in BitVector()
47 COMPILE_ASSERT(sizeof(*storage_) == kWordBytes, check_word_bytes); in BitVector()
48 COMPILE_ASSERT(sizeof(*storage_) * 8u == kWordBits, check_word_bits); in BitVector()
49 if (storage_ == nullptr) { in BitVector()
51 storage_ = static_cast<uint32_t*>(allocator_->Alloc(storage_size_ * kWordBytes)); in BitVector()
56 allocator_->Free(storage_); in ~BitVector()
69 return IsBitSet(storage_, num); in IsBitSet()
74 memset(storage_, 0, storage_size_ * kWordBytes); in ClearAllBits()
91 memcpy(new_storage, storage_, storage_size_ * kWordBytes); in SetBit()
95 storage_ = new_storage; in SetBit()
[all …]
Dbit_vector.h172 (memcmp(storage_, src->GetRawStorage(), storage_size_ * sizeof(uint32_t)) == 0); in Equal()
192 uint32_t GetRawStorageWord(size_t idx) const { return storage_[idx]; } in GetRawStorageWord()
193 uint32_t* GetRawStorage() { return storage_; } in GetRawStorage()
194 const uint32_t* GetRawStorage() const { return storage_; } in GetRawStorage()
249 uint32_t* storage_; variable