Home
last modified time | relevance | path

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

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.constr/
DF.pass.cpp47 static int n_alive; member in G
50 G() : alive_(1) {++n_alive;} in G()
51 G(const G& g) : alive_(g.alive_) {++n_alive;} in G()
52 ~G() {alive_ = 0; --n_alive;} in ~G()
57 assert(n_alive >= 1); in operator ()()
64 assert(n_alive >= 1); in operator ()()
71 int G::n_alive = 0; member in G
112 assert(G::n_alive == 0); in main()
116 assert(G::n_alive == 0); in main()
124 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()
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 assert(n_alive >= 1); in operator ()()
49 int G::n_alive = 0; member in G
56 assert(G::n_alive == 0); in main()
64 assert(G::n_alive == 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.member/
Ddetach.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 ()()
40 int G::n_alive = 0; member in G
52 assert(G::n_alive == 0); in main()
Djoinable.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 ()()
40 int G::n_alive = 0; member in G
Dnative_handle.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 ()()
40 int G::n_alive = 0; member in G
Djoin.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 ()()
40 int G::n_alive = 0; member in G
Dswap.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 ()()
40 int G::n_alive = 0; member in G
Dget_id.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 ()()
40 int G::n_alive = 0; member in G
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.destr/
Ddtor.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 ()()
40 int G::n_alive = 0; member in G
52 assert(G::n_alive == 0); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/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 assert(n_alive >= 1); in operator ()()
49 int G::n_alive = 0; member in G
62 assert(G::n_alive == 0); in main()
71 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
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.algorithm/
Dswap.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 ()()
40 int G::n_alive = 0; member in G