Lines Matching refs:src
51 BitVector::BitVector(const BitVector& src, in BitVector() argument
56 src.storage_size_, in BitVector()
57 static_cast<uint32_t*>(allocator->Alloc(src.storage_size_ * kWordBytes))) { in BitVector()
59 Copy(&src); in BitVector()
66 bool BitVector::SameBitsSet(const BitVector *src) const { in SameBitsSet()
68 int src_highest = src->GetHighestBitSet(); in SameBitsSet()
89 return (memcmp(storage_, src->GetRawStorage(), our_highest_index * kWordBytes) == 0); in SameBitsSet()
118 void BitVector::Intersect(const BitVector* src) { in Intersect() argument
119 uint32_t src_storage_size = src->storage_size_; in Intersect()
126 storage_[idx] &= src->GetRawStorageWord(idx); in Intersect()
138 bool BitVector::Union(const BitVector* src) { in Union() argument
140 int highest_bit = src->GetHighestBitSet(); in Union()
163 uint32_t update = existing | src->GetRawStorageWord(idx); in Union()
217 void BitVector::Subtract(const BitVector *src) { in Subtract() argument
218 uint32_t src_size = src->storage_size_; in Subtract()
228 storage_[idx] &= (~(src->GetRawStorageWord(idx))); in Subtract()
290 void BitVector::Copy(const BitVector *src) { in Copy() argument
292 int highest_bit = src->GetHighestBitSet(); in Copy()
305 memcpy(storage_, src->GetRawStorage(), kWordBytes * size); in Copy()