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/
DF.pass.cpp51 static int n_alive; member in G
54 G() : alive_(1) {++n_alive;} in G()
55 G(const G& g) : alive_(g.alive_) {++n_alive;} in G()
56 ~G() {alive_ = 0; --n_alive;} in ~G()
61 assert(n_alive >= 1); in operator ()()
68 assert(n_alive >= 1); in operator ()()
75 int G::n_alive = 0; member in G
116 assert(G::n_alive == 0); in main()
120 assert(G::n_alive == 0); in main()
128 assert(G::n_alive == 0); in main()
[all …]
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
59 assert(G::n_alive == 1); in main()
67 assert(G::n_alive == 1); in main()
70 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 ()()
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.cpp29 static int n_alive; member in G
34 ++n_alive; in G()
39 ++n_alive; in G()
44 --n_alive; in ~G()
51 assert(n_alive >= 1); in operator ()()
57 int G::n_alive = 0; member in G
70 assert(G::n_alive == 1); in main()
72 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.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
Dnative_handle.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
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
49 assert(G::n_alive == 0); in main()
61 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.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
57 assert(G::n_alive == 0); in main()
/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