Home
last modified time | relevance | path

Searched refs:kWordBytes (Results 1 – 3 of 3) sorted by relevance

/art/libartbase/base/
Dbit_vector.cc37 static_assert(sizeof(*storage_) == kWordBytes, "word bytes"); in BitVector()
47 static_cast<uint32_t*>(allocator->Alloc(BitsToWords(start_bits) * kWordBytes))) { in BitVector()
57 static_cast<uint32_t*>(allocator->Alloc(src.storage_size_ * kWordBytes))) { in BitVector()
89 return (memcmp(storage_, src->GetRawStorage(), our_highest_index * kWordBytes) == 0); in SameBitsSet()
305 memcpy(storage_, src->GetRawStorage(), kWordBytes * size); in Copy()
311 memset(storage_ + size, 0, kWordBytes * left); in Copy()
356 static_cast<uint32_t*>(allocator_->Alloc(new_size * kWordBytes)); in EnsureSize()
357 memcpy(new_storage, storage_, storage_size_ * kWordBytes); in EnsureSize()
359 memset(&new_storage[storage_size_], 0, (new_size - storage_size_) * kWordBytes); in EnsureSize()
Dbit_vector.h226 return storage_size_ * kWordBytes; in GetSizeOf()
284 static constexpr uint32_t kWordBytes = sizeof(uint32_t); variable
285 static constexpr uint32_t kWordBits = kWordBytes * 8;
Dbit_vector-inl.h89 memset(storage_, 0, storage_size_ * kWordBytes); in ClearAllBits()