OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:n_alive
(Results
26 - 27
of
27
) sorted by null
1
2
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.assign/
move.pass.cpp
25
static int
n_alive
;
member in class:G
28
G() : alive_(1) {++
n_alive
;}
29
G(const G& g) : alive_(g.alive_) {++
n_alive
;}
30
~G() {alive_ = 0; --
n_alive
;}
35
assert(
n_alive
>= 1);
42
assert(
n_alive
>= 1);
49
int G::
n_alive
= 0;
member in class:G
62
assert(G::
n_alive
== 0);
71
assert(G::
n_alive
== 0);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.constr/
move.pass.cpp
25
static int
n_alive
;
member in class:G
28
G() : alive_(1) {++
n_alive
;}
29
G(const G& g) : alive_(g.alive_) {++
n_alive
;}
30
~G() {alive_ = 0; --
n_alive
;}
35
assert(
n_alive
>= 1);
42
assert(
n_alive
>= 1);
49
int G::
n_alive
= 0;
member in class:G
56
assert(G::
n_alive
== 0);
64
assert(G::
n_alive
== 0);
Completed in 91 milliseconds
1
2