/external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/ |
D | move.pass.cpp | 27 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()
|
D | F.pass.cpp | 60 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 …]
|
D | copy.fail.cpp | 25 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/ |
D | detach.pass.cpp | 32 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()
|
D | joinable.pass.cpp | 27 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
|
D | join.pass.cpp | 30 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
|
D | get_id.pass.cpp | 27 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
|
D | swap.pass.cpp | 27 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/ |
D | move.pass.cpp | 25 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()
|
D | copy.fail.cpp | 25 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
|
D | move2.pass.cpp | 28 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/ |
D | dtor.pass.cpp | 28 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/ |
D | native_handle.pass.cpp | 29 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/ |
D | swap.pass.cpp | 27 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
|