Lines Matching defs:stats_
69 test_allocator_statistics* stats_ = nullptr;
90 TEST_CONSTEXPR_CXX14 explicit test_allocator(test_allocator_statistics* stats) TEST_NOEXCEPT : stats_(stats) {
91 if (stats_ != nullptr)
92 ++stats_->count;
99 stats_(stats) {
101 ++stats_->count;
109 stats_(stats) {
110 if (stats_ != nullptr)
111 ++stats_->count;
117 stats_(a.stats_) {
120 if (stats_ != nullptr) {
121 ++stats_->count;
122 ++stats_->copied;
126 TEST_CONSTEXPR_CXX14 test_allocator(test_allocator&& a) TEST_NOEXCEPT : data_(a.data_), id_(a.id_), stats_(a.stats_) {
127 if (stats_ != nullptr) {
128 ++stats_->count;
129 ++stats_->moved;
140 stats_(a.stats_) {
141 if (stats_ != nullptr) {
142 ++stats_->count;
143 ++stats_->converted;
150 if (stats_ != nullptr)
151 --stats_->count;
161 if (stats_ != nullptr) {
162 if (stats_->time_to_throw >= stats_->throw_after)
164 ++stats_->time_to_throw;
165 ++stats_->alloc_count;
166 stats_->allocated_size += n;
173 if (stats_ != nullptr) {
174 --stats_->alloc_count;
175 stats_->allocated_size -= s;
184 if (stats_ != nullptr)
185 ++stats_->construct_count;
194 if (stats_ != nullptr)
195 ++stats_->destroy_count;
209 test_allocator_statistics* stats_ = nullptr;
228 TEST_CONSTEXPR_CXX14 explicit test_allocator(test_allocator_statistics* stats) TEST_NOEXCEPT : stats_(stats) {}
234 stats_(stats) {}
241 stats_(stats) {}
246 stats_(a.stats_) {}
252 stats_(a.stats_) {}