/external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/ |
D | F.pass.cpp | 51 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 …]
|
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 59 assert(G::n_alive == 1); in main() 67 assert(G::n_alive == 1); in main() 70 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 ()() 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 | 29 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()
|
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 | 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 | native_handle.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 | 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 49 assert(G::n_alive == 0); in main() 61 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 | 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 57 assert(G::n_alive == 0); in main()
|
/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
|