OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:gConstructed
(Results
1 - 10
of
10
) sorted by null
/external/libcxx/test/support/
Counter.h
15
struct Counter_base { static int
gConstructed
; };
21
Counter() : data_() { ++
gConstructed
; }
22
Counter(const T &data) : data_(data) { ++
gConstructed
; }
23
Counter(const Counter& rhs) : data_(rhs.data_) { ++
gConstructed
; }
24
Counter& operator=(const Counter& rhs) { ++
gConstructed
; data_ = rhs.data_; return *this; }
26
Counter(Counter&& rhs) : data_(std::move(rhs.data_)) { ++
gConstructed
; }
27
Counter& operator=(Counter&& rhs) { ++
gConstructed
; data_ = std::move(rhs.data_); return *this; }
29
~Counter() { --
gConstructed
; }
40
int Counter_base::
gConstructed
= 0;
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/support/
Counter.h
15
struct Counter_base { static int
gConstructed
; };
21
Counter() : data_() { ++
gConstructed
; }
22
Counter(const T &data) : data_(data) { ++
gConstructed
; }
23
Counter(const Counter& rhs) : data_(rhs.data_) { ++
gConstructed
; }
24
Counter& operator=(const Counter& rhs) { ++
gConstructed
; data_ = rhs.data_; return *this; }
26
Counter(Counter&& rhs) : data_(std::move(rhs.data_)) { ++
gConstructed
; }
27
Counter& operator=(Counter&& rhs) { ++
gConstructed
; data_ = std::move(rhs.data_); return *this; }
29
~Counter() { --
gConstructed
; }
40
int Counter_base::
gConstructed
= 0;
/external/libcxx/test/std/containers/associative/multiset/multiset.cons/
move_alloc.pass.cpp
147
Counter_base::
gConstructed
= 0;
162
assert(Counter_base::
gConstructed
== num);
165
assert(Counter_base::
gConstructed
== 2*num);
169
assert(Counter_base::
gConstructed
== 3*num);
174
assert(Counter_base::
gConstructed
== 3*num);
178
assert(Counter_base::
gConstructed
== 3*num);
182
assert(Counter_base::
gConstructed
== 2*num);
184
assert(Counter_base::
gConstructed
== 0);
/external/libcxx/test/std/containers/associative/set/set.cons/
move_alloc.pass.cpp
147
Counter_base::
gConstructed
= 0;
162
assert(Counter_base::
gConstructed
== num);
165
assert(Counter_base::
gConstructed
== 3+num);
169
assert(Counter_base::
gConstructed
== 6+num);
174
assert(Counter_base::
gConstructed
== 6+num);
178
assert(Counter_base::
gConstructed
== 6+num);
182
assert(Counter_base::
gConstructed
== 3+num);
184
assert(Counter_base::
gConstructed
== 0);
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/containers/associative/map/map.cons/
move_alloc.pass.cpp
153
Counter_base::
gConstructed
= 0;
168
assert(Counter_base::
gConstructed
== num);
171
assert(Counter_base::
gConstructed
== num+3);
175
assert(Counter_base::
gConstructed
== num+6);
180
assert(Counter_base::
gConstructed
== num+6);
184
assert(Counter_base::
gConstructed
== num+6);
188
assert(Counter_base::
gConstructed
== num+3);
190
assert(Counter_base::
gConstructed
== 0);
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/containers/associative/multimap/multimap.cons/
move_alloc.pass.cpp
153
Counter_base::
gConstructed
= 0;
168
assert(Counter_base::
gConstructed
== num);
171
assert(Counter_base::
gConstructed
== 2*num);
175
assert(Counter_base::
gConstructed
== 3*num);
180
assert(Counter_base::
gConstructed
== 3*num);
184
assert(Counter_base::
gConstructed
== 3*num);
188
assert(Counter_base::
gConstructed
== 2*num);
190
assert(Counter_base::
gConstructed
== 0);
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/containers/associative/multiset/multiset.cons/
move_alloc.pass.cpp
147
Counter_base::
gConstructed
= 0;
162
assert(Counter_base::
gConstructed
== num);
165
assert(Counter_base::
gConstructed
== 2*num);
169
assert(Counter_base::
gConstructed
== 3*num);
174
assert(Counter_base::
gConstructed
== 3*num);
178
assert(Counter_base::
gConstructed
== 3*num);
182
assert(Counter_base::
gConstructed
== 2*num);
184
assert(Counter_base::
gConstructed
== 0);
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/containers/associative/set/set.cons/
move_alloc.pass.cpp
147
Counter_base::
gConstructed
= 0;
162
assert(Counter_base::
gConstructed
== num);
165
assert(Counter_base::
gConstructed
== 3+num);
169
assert(Counter_base::
gConstructed
== 6+num);
174
assert(Counter_base::
gConstructed
== 6+num);
178
assert(Counter_base::
gConstructed
== 6+num);
182
assert(Counter_base::
gConstructed
== 3+num);
184
assert(Counter_base::
gConstructed
== 0);
/external/libcxx/test/std/containers/associative/map/map.cons/
move_alloc.pass.cpp
153
Counter_base::
gConstructed
= 0;
168
assert(Counter_base::
gConstructed
== num);
171
assert(Counter_base::
gConstructed
== num+3);
175
assert(Counter_base::
gConstructed
== num+6);
180
assert(Counter_base::
gConstructed
== num+6);
184
assert(Counter_base::
gConstructed
== num+6);
188
assert(Counter_base::
gConstructed
== num+3);
190
assert(Counter_base::
gConstructed
== 0);
/external/libcxx/test/std/containers/associative/multimap/multimap.cons/
move_alloc.pass.cpp
153
Counter_base::
gConstructed
= 0;
168
assert(Counter_base::
gConstructed
== num);
171
assert(Counter_base::
gConstructed
== 2*num);
175
assert(Counter_base::
gConstructed
== 3*num);
180
assert(Counter_base::
gConstructed
== 3*num);
184
assert(Counter_base::
gConstructed
== 3*num);
188
assert(Counter_base::
gConstructed
== 2*num);
190
assert(Counter_base::
gConstructed
== 0);
Completed in 284 milliseconds