Home
last modified time | relevance | path

Searched refs:alive_ (Results 1 – 19 of 19) 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/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 ()()
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 ()()
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 ()()
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/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.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/tensorflow/tensorflow/core/framework/
Dvariant_test.cc53 MaybeAlive() : alive_(false) {} in MaybeAlive()
55 explicit MaybeAlive(bool alive) : alive_(alive) { in MaybeAlive()
60 if (alive_) --live_counter_; in ~MaybeAlive()
63 MaybeAlive(const MaybeAlive& rhs) : alive_(rhs.alive_) { in MaybeAlive()
64 if (alive_) ++live_counter_; in MaybeAlive()
69 if (alive_) --live_counter_; in operator =()
70 alive_ = rhs.alive_; in operator =()
71 if (alive_) ++live_counter_; in operator =()
75 MaybeAlive(MaybeAlive&& rhs) : alive_(false) { in MaybeAlive()
76 alive_ = std::move(rhs.alive_); in MaybeAlive()
[all …]
/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
/external/pdfium/testing/
Dpseudo_retainable.h14 alive_ = false; in Release()
16 bool alive() const { return alive_; } in alive()
21 bool alive_ = true;
/external/v8/src/compiler/
Dserializer-for-background-compilation.cc847 bool IsDead() const { return !alive_; } in IsDead()
851 alive_ = false; in Kill()
857 alive_ = true; in Resurrect()
880 bool alive_ = true; member in v8::internal::compiler::SerializerForBackgroundCompilation::Environment