Searched refs:bytes_used_ (Results 1 – 4 of 4) sorted by relevance
44 explicit CountingAllocator(int64_t* bytes_used) : bytes_used_(bytes_used) {} in CountingAllocator()46 : bytes_used_(bytes_used), instance_count_(instance_count) {} in CountingAllocator()50 : bytes_used_(x.bytes_used_), instance_count_(x.instance_count_) {} in CountingAllocator()57 if (bytes_used_ != nullptr) {58 *bytes_used_ += n * sizeof(T);66 if (bytes_used_ != nullptr) { in deallocate()67 *bytes_used_ -= n * sizeof(T); in deallocate()97 return a.bytes_used_ == b.bytes_used_ &&106 int64_t* bytes_used_ = nullptr; variable
661 : Base(other.bytes_used_) {} in PropagatingCountingAlloc()
662 : Base(other.bytes_used_) {} in PropagatingCountingAlloc()