Lines Matching refs:data_

238         data_(nullptr),  in HashSet()
254 data_(nullptr), in HashSet()
259 ElementForIndex(i) = other.data_[i]; in HashSet()
274 data_(other.data_), in HashSet()
281 other.data_ = nullptr; in HashSet()
312 data_(buffer), in HashSet()
339 data_ = const_cast<T*>(reinterpret_cast<const T*>(ptr + offset)); in HashSet()
340 offset += sizeof(*data_) * num_buckets_; in HashSet()
346 offset = ReadFromBytes(ptr, offset, &data_[i]); in HashSet()
365 offset = WriteToBytes(ptr, offset, data_[i]); in WriteToMemory()
534 data_[index] = std::forward<U>(element); in InsertWithHash()
557 data_[index] = std::forward<U>(element); in PutWithHash()
568 std::swap(data_, other.data_); in swap()
625 T& element = data_[i]; in Verify()
678 DCHECK(data_ != nullptr); in ElementForIndex()
679 return data_[index]; in ElementForIndex()
684 DCHECK(data_ != nullptr); in ElementForIndex()
685 return data_[index]; in ElementForIndex()
745 data_ = allocfn_.allocate(num_buckets_); in AllocateStorage()
748 std::allocator_traits<allocator_type>::construct(allocfn_, std::addressof(data_[i])); in AllocateStorage()
749 emptyfn_.MakeEmpty(data_[i]); in AllocateStorage()
756 std::allocator_traits<allocator_type>::destroy(allocfn_, std::addressof(data_[i])); in DeallocateStorage()
758 if (data_ != nullptr) { in DeallocateStorage()
759 allocfn_.deallocate(data_, NumBuckets()); in DeallocateStorage()
763 data_ = nullptr; in DeallocateStorage()
780 T* const old_data = data_; in Resize()
788 data_[FirstAvailableSlot(IndexForHash(hashfn_(element)))] = std::move(element); in Resize()
805 while (!emptyfn_.IsEmpty(data_[index])) { in FirstAvailableSlot()
848 T* data_; // Backing storage. variable