Searched refs:kWordBytes (Results 1 – 3 of 3) sorted by relevance
/art/runtime/base/ |
D | bit_vector.cc | 37 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()
|
D | bit_vector.h | 238 return storage_size_ * kWordBytes; in GetSizeOf() 296 static constexpr uint32_t kWordBytes = sizeof(uint32_t); variable 297 static constexpr uint32_t kWordBits = kWordBytes * 8;
|
D | bit_vector-inl.h | 69 memset(storage_, 0, storage_size_ * kWordBytes); in ClearAllBits()
|