OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:gConstructed
(Results
1 - 5
of
5
) sorted by null
/external/libcxx/test/std/containers/associative/multiset/multiset.cons/
move_alloc.pass.cpp
148
Counter_base::
gConstructed
= 0;
163
assert(Counter_base::
gConstructed
== num);
166
assert(Counter_base::
gConstructed
== 2*num);
170
assert(Counter_base::
gConstructed
== 3*num);
175
assert(Counter_base::
gConstructed
== 3*num);
179
assert(Counter_base::
gConstructed
== 3*num);
183
assert(Counter_base::
gConstructed
== 2*num);
185
assert(Counter_base::
gConstructed
== 0);
/external/libcxx/test/std/containers/associative/set/set.cons/
move_alloc.pass.cpp
148
Counter_base::
gConstructed
= 0;
163
assert(Counter_base::
gConstructed
== num);
166
assert(Counter_base::
gConstructed
== 3+num);
170
assert(Counter_base::
gConstructed
== 6+num);
175
assert(Counter_base::
gConstructed
== 6+num);
179
assert(Counter_base::
gConstructed
== 6+num);
183
assert(Counter_base::
gConstructed
== 3+num);
185
assert(Counter_base::
gConstructed
== 0);
/external/libcxx/test/std/containers/associative/map/map.cons/
move_alloc.pass.cpp
154
Counter_base::
gConstructed
= 0;
169
assert(Counter_base::
gConstructed
== num);
172
assert(Counter_base::
gConstructed
== num+3);
176
assert(Counter_base::
gConstructed
== num+6);
181
assert(Counter_base::
gConstructed
== num+6);
185
assert(Counter_base::
gConstructed
== num+6);
189
assert(Counter_base::
gConstructed
== num+3);
191
assert(Counter_base::
gConstructed
== 0);
/external/libcxx/test/std/containers/associative/multimap/multimap.cons/
move_alloc.pass.cpp
154
Counter_base::
gConstructed
= 0;
169
assert(Counter_base::
gConstructed
== num);
172
assert(Counter_base::
gConstructed
== 2*num);
176
assert(Counter_base::
gConstructed
== 3*num);
181
assert(Counter_base::
gConstructed
== 3*num);
185
assert(Counter_base::
gConstructed
== 3*num);
189
assert(Counter_base::
gConstructed
== 2*num);
191
assert(Counter_base::
gConstructed
== 0);
/external/libcxx/test/support/
Counter.h
17
struct Counter_base { static int
gConstructed
; };
23
Counter() : data_() { ++
gConstructed
; }
24
Counter(const T &data) : data_(data) { ++
gConstructed
; }
25
Counter(const Counter& rhs) : data_(rhs.data_) { ++
gConstructed
; }
28
Counter(Counter&& rhs) : data_(std::move(rhs.data_)) { ++
gConstructed
; }
29
Counter& operator=(Counter&& rhs) { ++
gConstructed
; data_ = std::move(rhs.data_); return *this; }
31
~Counter() { --
gConstructed
; }
42
int Counter_base::
gConstructed
= 0;
Completed in 693 milliseconds