Lines Matching refs:data_

61   int data_ = 0; // participates in equality  variable
89 TEST_CONSTEXPR explicit test_allocator(int data) TEST_NOEXCEPT : data_(data) {} in test_allocator()
92 : data_(data), stats_(stats) { in test_allocator()
97 TEST_CONSTEXPR explicit test_allocator(int data, int id) TEST_NOEXCEPT : data_(data), id_(id) {} in test_allocator()
100 : data_(data), id_(id), stats_(stats) { in test_allocator()
106 : data_(a.data_), id_(a.id_), stats_(a.stats_) { in test_allocator()
107 …assert(a.data_ != test_alloc_base::destructed_value && a.id_ != test_alloc_base::destructed_value … in test_allocator()
115 …TEST_CONSTEXPR_CXX14 test_allocator(test_allocator&& a) TEST_NOEXCEPT : data_(a.data_), id_(a.id_)… in test_allocator()
120 …assert(a.data_ != test_alloc_base::destructed_value && a.id_ != test_alloc_base::destructed_value … in test_allocator()
122 a.data_ = test_alloc_base::moved_value; in test_allocator()
128 : data_(a.data_), id_(a.id_), stats_(a.stats_) { in test_allocator()
136 assert(data_ != test_alloc_base::destructed_value); in ~test_allocator()
140 data_ = test_alloc_base::destructed_value; in ~test_allocator()
148 assert(data_ != test_alloc_base::destructed_value);
159 assert(data_ != test_alloc_base::destructed_value); in deallocate()
177 …nd bool operator==(const test_allocator& x, const test_allocator& y) { return x.data_ == y.data_; }
180 TEST_CONSTEXPR int get_data() const { return data_; } in get_data()
186 int data_ = 0; variable
208 : data_(i), stats_(stats) { in data_() function
215 …non_default_test_allocator(const non_default_test_allocator& a) TEST_NOEXCEPT : data_(a.data_), st… in non_default_test_allocator()
222 : data_(a.data_), stats_(a.stats_) { in non_default_test_allocator()
228 assert(data_ != test_alloc_base::destructed_value); in ~non_default_test_allocator()
231 data_ = test_alloc_base::destructed_value; in ~non_default_test_allocator()
238 assert(data_ != test_alloc_base::destructed_value);
249 assert(data_ != test_alloc_base::destructed_value); in deallocate()
258 return x.data_ == y.data_;
268 int data_ = 0; variable
291 TEST_CONSTEXPR explicit test_allocator(int data) TEST_NOEXCEPT : data_(data) {} in test_allocator()
294 : data_(data), stats_(stats) in test_allocator()
297 TEST_CONSTEXPR explicit test_allocator(int data, int id) : data_(data), id_(id) {} in test_allocator()
300 : data_(data), id_(id), stats_(stats) in test_allocator()
304 : data_(a.data_), id_(a.id_), stats_(a.stats_) in test_allocator()
309 : data_(a.data_), id_(a.id_), stats_(a.stats_) in test_allocator()
313 data_ = test_alloc_base::destructed_value; in ~test_allocator()
318 TEST_CONSTEXPR int get_data() const { return data_; } in get_data()
320 …nd bool operator==(const test_allocator& x, const test_allocator& y) { return x.data_ == y.data_; }
326 int data_ = -1; variable
335 TEST_CONSTEXPR_CXX14 explicit other_allocator(int i) : data_(i) {} in other_allocator()
338 TEST_CONSTEXPR_CXX14 other_allocator(const other_allocator<U>& a) : data_(a.data_) {} in other_allocator()
346 return x.data_ == y.data_;