Home
last modified time | relevance | path

Searched refs:alive_ (Results 1 – 16 of 16) sorted by relevance

/external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/
Dcopy.fail.cpp23 int 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()
34 assert(alive_ == 1); in operator ()()
41 assert(alive_ == 1); in operator ()()
Dmove.pass.cpp25 int 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()
36 assert(alive_ == 1); in operator ()()
43 assert(alive_ == 1); in operator ()()
DF.pass.cpp58 int 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()
69 assert(alive_ == 1); in operator ()()
76 assert(alive_ == 1); in operator ()()
/external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.assign/
Dcopy.fail.cpp23 int 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()
34 assert(alive_ == 1); in operator ()()
Dmove2.pass.cpp26 int 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()
39 assert(alive_ == 1); in operator ()()
Dmove.pass.cpp23 int 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()
34 assert(alive_ == 1); in operator ()()
/external/libcxx/test/libcxx/thread/thread.threads/thread.thread.class/thread.thread.member/
Dnative_handle.pass.cpp27 int 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()
38 assert(alive_ == 1); in operator ()()
/external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.member/
Djoinable.pass.cpp25 int 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()
36 assert(alive_ == 1); in operator ()()
Dget_id.pass.cpp25 int 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()
36 assert(alive_ == 1); in operator ()()
Djoin.pass.cpp28 int 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()
39 assert(alive_ == 1); in operator ()()
Dswap.pass.cpp25 int 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()
36 assert(alive_ == 1); in operator ()()
Ddetach.pass.cpp29 int alive_; member in G
35 G() : alive_(1), done_(false) in G()
40 G(const G& g) : alive_(g.alive_), done_(false) in G()
46 alive_ = 0; in ~G()
53 assert(alive_ == 1); in operator ()()
/external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.destr/
Ddtor.pass.cpp26 int 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()
37 assert(alive_ == 1); in operator ()()
/external/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.algorithm/
Dswap.pass.cpp25 int 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()
36 assert(alive_ == 1); in operator ()()
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_test_util_posix.cc138 : alive_() in Mutex()
143 CHECK(!alive_); in ~Mutex()
147 CHECK(!alive_); in Init()
148 alive_ = true; in Init()
162 CHECK(!alive_); in StaticInit()
164 alive_ = true; in StaticInit()
170 CHECK(alive_); in Destroy()
171 alive_ = false; in Destroy()
183 CHECK(alive_); in Lock()
195 CHECK(alive_); in TryLock()
[all …]
Dtsan_test_util.h60 bool alive_; variable