Searched refs:IsCancelled (Results 1 - 17 of 17) sorted by relevance

/external/libchrome/base/
H A Dcancelable_callback_unittest.cc109 EXPECT_FALSE(cancelable.IsCancelled());
115 EXPECT_TRUE(cancelable.IsCancelled());
137 EXPECT_FALSE(cancelable.IsCancelled());
157 EXPECT_TRUE(cancelable.IsCancelled());
162 EXPECT_FALSE(cancelable.IsCancelled());
165 EXPECT_TRUE(cancelable.IsCancelled());
H A Dcallback_internal.cc67 bool CallbackBase<CopyMode::MoveOnly>::IsCancelled() const { function in class:base::internal::CallbackBase
69 return bind_state_->IsCancelled();
H A Dcallback_internal.h72 bool IsCancelled() const { function in class:base::internal::BindStateBase
111 bool IsCancelled() const;
H A Dcancelable_callback.h85 bool IsCancelled() const { function in class:base::CancelableCallback
H A Dcallback_unittest.cc25 FakeBindState() : BindStateBase(&NopInvokeFunc, &Destroy, &IsCancelled) {}
32 static bool IsCancelled(const internal::BindStateBase*) { function in struct:base::FakeBindState
H A Dbind_unittest.cc1281 EXPECT_FALSE(cb4.IsCancelled());
1285 EXPECT_FALSE(cb.IsCancelled());
1286 EXPECT_FALSE(cb2.IsCancelled());
1287 EXPECT_FALSE(cb3.IsCancelled());
1288 EXPECT_FALSE(cb5.IsCancelled());
1295 EXPECT_TRUE(cb.IsCancelled());
1296 EXPECT_TRUE(cb2.IsCancelled());
1297 EXPECT_TRUE(cb3.IsCancelled());
1298 EXPECT_TRUE(cb5.IsCancelled());
H A Dbind_helpers.h529 // set is_cancellable = true and implement an IsCancelled() that returns if the
547 static bool IsCancelled(const Functor&, function in struct:base::CallbackCancellationTraits
564 static bool IsCancelled(const Functor& functor, const BoundArgs&...) { function in struct:base::CallbackCancellationTraits
565 return functor.IsCancelled();
H A Dbind_internal.h395 return CallbackCancellationTraits<Functor, BoundArgsTuple>::IsCancelled(
442 // CallbackCancellationTraits<>::IsCancelled returns always false.
/external/tensorflow/tensorflow/core/framework/
H A Dcancellation.h57 bool IsCancelled() { return is_cancelled_.load(std::memory_order_acquire); } function in class:tensorflow::CancellationManager
H A Dcancellation_test.cc98 TEST(Cancellation, IsCancelled) {
105 while (!cm->IsCancelled()) {
/external/libusb/libusb/os/
H A Dhaiku_usb.h95 bool IsCancelled();
H A Dhaiku_usb_raw.cpp168 if (transfer->IsCancelled()) {
H A Dhaiku_usb_backend.cpp59 USBTransfer::IsCancelled() function in class:USBTransfer
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
H A Dgrpc_call.h170 if (ctx_.IsCancelled()) {
/external/tensorflow/tensorflow/core/common_runtime/
H A Dfunction.cc754 if (opts.cancellation_manager && opts.cancellation_manager->IsCancelled()) {
828 if (opts.cancellation_manager && opts.cancellation_manager->IsCancelled()) {
H A Ddirect_session_test.cc826 while (!cm->IsCancelled()) {
/external/tensorflow/tensorflow/core/distributed_runtime/
H A Dmaster_session.cc1643 } else if (errors::IsCancelled(s)) {

Completed in 368 milliseconds