Home
last modified time | relevance | path

Searched refs:n_alive (Results 1 – 14 of 14) sorted by relevance

/external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/
Dmove.pass.cpp27 static int n_alive; member in G
30 G() : alive_(1) {++n_alive;} in G()
31 G(const G& g) : alive_(g.alive_) {++n_alive;} in G()
32 ~G() {alive_ = 0; --n_alive;} in ~G()
37 assert(n_alive >= 1); in operator ()()
44 assert(n_alive >= 1); in operator ()()
51 int G::n_alive = 0; member in G
58 assert(G::n_alive == 1); in main()
66 assert(G::n_alive == 1); in main()
69 assert(G::n_alive == 0); in main()
DF.pass.cpp60 static int n_alive; member in G
63 G() : alive_(1) {++n_alive;} in G()
64 G(const G& g) : alive_(g.alive_) {++n_alive;} in G()
65 ~G() {alive_ = 0; --n_alive;} in ~G()
70 assert(n_alive >= 1); in operator ()()
77 assert(n_alive >= 1); in operator ()()
84 int G::n_alive = 0; member in G
158 assert(G::n_alive == 0); in main()
165 assert(G::n_alive == 0); in main()
174 assert(G::n_alive == 0); in main()
[all …]
Dcopy.fail.cpp25 static int n_alive; member in G
28 G() : alive_(1) {++n_alive;} in G()
29 G(const G& g) : alive_(g.alive_) {++n_alive;} in G()
30 ~G() {alive_ = 0; --n_alive;} in ~G()
35 assert(n_alive >= 1); in operator ()()
42 assert(n_alive >= 1); in operator ()()
49 int G::n_alive = 0; member in G
55 assert(G::n_alive == 0); in main()
63 assert(G::n_alive == 0); in main()
/external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/
Ddetach.pass.cpp32 static int n_alive; member in G
37 ++n_alive; in G()
42 ++n_alive; in G()
47 --n_alive; in ~G()
54 assert(n_alive >= 1); in operator ()()
60 int G::n_alive = 0; member in G
75 assert(G::n_alive == 1); in main()
77 assert(G::n_alive == 0); in main()
Djoinable.pass.cpp27 static int n_alive; member in G
30 G() : alive_(1) {++n_alive;} in G()
31 G(const G& g) : alive_(g.alive_) {++n_alive;} in G()
32 ~G() {alive_ = 0; --n_alive;} in ~G()
37 assert(n_alive >= 1); in operator ()()
42 int G::n_alive = 0; member in G
Djoin.pass.cpp30 static int n_alive; member in G
33 G() : alive_(1) {++n_alive;} in G()
34 G(const G& g) : alive_(g.alive_) {++n_alive;} in G()
35 ~G() {alive_ = 0; --n_alive;} in ~G()
40 assert(n_alive >= 1); in operator ()()
45 int G::n_alive = 0; member in G
Dget_id.pass.cpp27 static int n_alive; member in G
30 G() : alive_(1) {++n_alive;} in G()
31 G(const G& g) : alive_(g.alive_) {++n_alive;} in G()
32 ~G() {alive_ = 0; --n_alive;} in ~G()
37 assert(n_alive >= 1); in operator ()()
42 int G::n_alive = 0; member in G
Dswap.pass.cpp27 static int n_alive; member in G
30 G() : alive_(1) {++n_alive;} in G()
31 G(const G& g) : alive_(g.alive_) {++n_alive;} in G()
32 ~G() {alive_ = 0; --n_alive;} in ~G()
37 assert(n_alive >= 1); in operator ()()
42 int G::n_alive = 0; member in G
/external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.assign/
Dmove.pass.cpp25 static int n_alive; member in G
28 G() : alive_(1) {++n_alive;} in G()
29 G(const G& g) : alive_(g.alive_) {++n_alive;} in G()
30 ~G() {alive_ = 0; --n_alive;} in ~G()
35 assert(n_alive >= 1); in operator ()()
42 int G::n_alive = 0; member in G
48 assert(G::n_alive == 0); in main()
60 assert(G::n_alive == 0); in main()
Dcopy.fail.cpp25 static int n_alive; member in G
28 G() : alive_(1) {++n_alive;} in G()
29 G(const G& g) : alive_(g.alive_) {++n_alive;} in G()
30 ~G() {alive_ = 0; --n_alive;} in ~G()
35 assert(n_alive >= 1); in operator ()()
41 int G::n_alive = 0; member in G
Dmove2.pass.cpp28 static int n_alive; member in G
31 G() : alive_(1) {++n_alive;} in G()
32 G(const G& g) : alive_(g.alive_) {++n_alive;} in G()
33 ~G() {alive_ = 0; --n_alive;} in ~G()
40 assert(n_alive >= 1); in operator ()()
47 int G::n_alive = 0; member in G
/external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.destr/
Ddtor.pass.cpp28 static int n_alive; member in G
31 G() : alive_(1) {++n_alive;} in G()
32 G(const G& g) : alive_(g.alive_) {++n_alive;} in G()
33 ~G() {alive_ = 0; --n_alive;} in ~G()
38 assert(n_alive >= 1); in operator ()()
43 int G::n_alive = 0; member in G
55 assert(G::n_alive == 0); in main()
/external/libcxx/test/libcxx/thread/thread.threads/thread.thread.class/thread.thread.member/
Dnative_handle.pass.cpp29 static int n_alive; member in G
32 G() : alive_(1) {++n_alive;} in G()
33 G(const G& g) : alive_(g.alive_) {++n_alive;} in G()
34 ~G() {alive_ = 0; --n_alive;} in ~G()
39 assert(n_alive >= 1); in operator ()()
44 int G::n_alive = 0; member in G
/external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.algorithm/
Dswap.pass.cpp27 static int n_alive; member in G
30 G() : alive_(1) {++n_alive;} in G()
31 G(const G& g) : alive_(g.alive_) {++n_alive;} in G()
32 ~G() {alive_ = 0; --n_alive;} in ~G()
37 assert(n_alive >= 1); in operator ()()
42 int G::n_alive = 0; member in G