Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/gcs/
Dcleanup.h55 Cleanup() : released_(true), f_() {} in Cleanup()
62 : released_(src.is_released()), f_(src.release()) {} in Cleanup()
69 : released_(src.is_released()), f_(src.release()) {} in Cleanup()
75 if (!released_) f_();
76 released_ = src.released_;
82 if (!released_) f_(); in ~Cleanup()
88 released_ = true; in release()
92 bool is_released() const { return released_; } in is_released()
97 bool released_ = false; variable
/external/tensorflow/tensorflow/core/lib/gtl/
Dcleanup.h58 Cleanup() : released_(true), f_() {} in Cleanup()
65 : released_(src.is_released()), f_(src.release()) {} in Cleanup()
72 : released_(src.is_released()), f_(src.release()) {} in Cleanup()
78 if (!released_) f_();
79 released_ = src.released_;
85 if (!released_) f_(); in ~Cleanup()
91 released_ = true; in release()
95 bool is_released() const { return released_; } in is_released()
100 bool released_ = false; variable
/external/conscrypt/common/src/jni/main/include/conscrypt/
Dssl_error.h34 SslError() : sslError_(SSL_ERROR_NONE), released_(false) {} in SslError()
36 SslError(SSL* ssl, int returnCode) : sslError_(SSL_ERROR_NONE), released_(false) { in SslError()
41 if (!released_ && sslError_ != SSL_ERROR_NONE) { in ~SslError()
59 released_ = true; in release()
65 bool released_; variable
/external/rust/crates/grpcio-sys/grpc/src/core/lib/gprpp/
Dsync.h74 if (!released_) gpr_mu_unlock(mu_); in ~ReleasableMutexLock()
81 GPR_DEBUG_ASSERT(released_); in Lock()
83 released_ = false; in Lock()
87 GPR_DEBUG_ASSERT(!released_); in Unlock()
88 released_ = true; in Unlock()
94 bool released_ = false; variable
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/impl/codegen/
Dsync.h95 if (!released_) g_core_codegen_interface->gpr_mu_unlock(mu_); in ~ReleasableMutexLock()
102 GPR_DEBUG_ASSERT(released_); in Lock()
104 released_ = false; in Lock()
108 GPR_DEBUG_ASSERT(!released_); in Unlock()
109 released_ = true; in Unlock()
115 bool released_ = false; variable
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/impl/codegen/
Dsync.h95 if (!released_) g_core_codegen_interface->gpr_mu_unlock(mu_); in ~ReleasableMutexLock()
102 GPR_DEBUG_ASSERT(released_); in Lock()
104 released_ = false; in Lock()
108 GPR_DEBUG_ASSERT(!released_); in Unlock()
109 released_ = true; in Unlock()
115 bool released_ = false; variable
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.cc83 released_.SignalAll(); in Unlock()
96 mu->released_.SignalAll(); in Wait()
101 mu->released_.SignalAll(); in WaitWithDeadline()
142 released_.SignalAll(); in Unlock()
164 mu->released_.SignalAll(); in Wait()
170 mu->released_.SignalAll(); in WaitWithDeadline()
182 released_.SignalAll(); in Await()
184 released_.Wait(this); in Await()
190 released_.SignalAll(); in AwaitWithDeadline()
192 if (released_.WaitWithDeadline(this, deadline)) return false; in AwaitWithDeadline()
Dmutex_nonprod.inc105 CondVarImpl released_;
/external/webrtc/third_party/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.cc78 released_.SignalAll(); in Unlock()
91 mu->released_.SignalAll(); in Wait()
96 mu->released_.SignalAll(); in WaitWithDeadline()
137 released_.SignalAll(); in Unlock()
159 mu->released_.SignalAll(); in Wait()
165 mu->released_.SignalAll(); in WaitWithDeadline()
177 released_.SignalAll(); in Await()
179 released_.Wait(this); in Await()
185 released_.SignalAll(); in AwaitWithDeadline()
187 if (released_.WaitWithDeadline(this, deadline)) return false; in AwaitWithDeadline()
Dmutex_nonprod.inc105 CondVarImpl released_;
/external/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.cc78 released_.SignalAll(); in Unlock()
91 mu->released_.SignalAll(); in Wait()
96 mu->released_.SignalAll(); in WaitWithDeadline()
137 released_.SignalAll(); in Unlock()
159 mu->released_.SignalAll(); in Wait()
165 mu->released_.SignalAll(); in WaitWithDeadline()
177 released_.SignalAll(); in Await()
179 released_.Wait(this); in Await()
185 released_.SignalAll(); in AwaitWithDeadline()
187 if (released_.WaitWithDeadline(this, deadline)) return false; in AwaitWithDeadline()
Dmutex_nonprod.inc105 CondVarImpl released_;
/external/tensorflow/tensorflow/compiler/xla/
Dutil.h573 Cleanup() : released_(true), f_() {} in Cleanup()
578 Cleanup(Cleanup&& src) : released_(src.is_released()), f_(src.release()) {} in Cleanup()
584 Cleanup(Cleanup<G>&& src) : released_(src.is_released()), f_(src.release()) {} in Cleanup()
589 if (!released_) std::move(f_)();
590 released_ = src.released_;
596 if (!released_) std::move(f_)(); in ~Cleanup()
602 released_ = true; in release()
606 bool is_released() const { return released_; } in is_released()
611 bool released_ = false; variable
/external/libchrome/base/threading/
Dsimple_thread_unittest.cc41 released_(WaitableEvent::ResetPolicy::MANUAL, in ControlledRunner()
51 released_.Signal(); in ReleaseAndWaitUntilDone()
58 released_.Wait(); in Run()
63 WaitableEvent released_; member in base::__anon8a840edf0111::ControlledRunner
/external/webrtc/video/
Dvideo_send_stream_tests.cc2485 released_(false), in TEST_F()
2490 return released_; in TEST_F()
2519 released_ = false; in TEST_F()
2542 EXPECT_FALSE(released_); in TEST_F()
2545 released_ = true; in TEST_F()
2592 bool released_ RTC_GUARDED_BY(mutex_); in TEST_F()
/external/libtextclassifier/abseil-cpp/absl/synchronization/internal/
Dmutex_nonprod.inc105 CondVarImpl released_;