Home
last modified time | relevance | path

Searched refs:is_cancelled (Results 1 – 22 of 22) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dcancellation_test.cc30 bool is_cancelled = false; in TEST() local
34 token, [&is_cancelled]() { is_cancelled = true; }); in TEST()
39 EXPECT_FALSE(is_cancelled); in TEST()
43 bool is_cancelled = false; in TEST() local
47 token, [&is_cancelled]() { is_cancelled = true; }); in TEST()
50 EXPECT_TRUE(is_cancelled); in TEST()
64 bool is_cancelled = false; in TEST() local
68 token, [&is_cancelled]() { is_cancelled = true; }); in TEST()
71 EXPECT_TRUE(is_cancelled); in TEST()
148 bool is_cancelled = false; in TEST() local
[all …]
/external/tensorflow/tensorflow/python/eager/
Dcancellation_test.py28 self.assertFalse(manager.is_cancelled)
30 self.assertTrue(manager.is_cancelled)
Dcancellation.py33 def is_cancelled(self): member in CancellationManager
/external/tensorflow/tensorflow/core/kernels/
Dqueue_base.cc199 if (!attempt.is_cancelled) { in Cancel()
200 attempt.is_cancelled = true; in Cancel()
226 if (!attempt.is_cancelled) { in CloseAndCancel()
227 attempt.is_cancelled = true; in CloseAndCancel()
272 if (attempts->front().is_cancelled) { in TryAttemptLocked()
Dconditional_accumulator_base.cc119 if (!attempt.is_cancelled) { in Cancel()
120 attempt.is_cancelled = true; in Cancel()
143 if (takegrad_attempts_.front().is_cancelled) { in TryAttemptLocked()
Dconditional_accumulator_base.h99 bool is_cancelled; member
110 is_cancelled(false) {} in Attempt()
Dqueue_base.h161 bool is_cancelled; member
175 is_cancelled(false) {} in Attempt()
/external/libchrome/base/
Dcallback_internal.cc31 bool (*is_cancelled)(const BindStateBase*)) in BindStateBase()
34 is_cancelled_(is_cancelled) {} in BindStateBase()
Dcallback_internal.h60 bool (*is_cancelled)(const BindStateBase*));
/external/rust/crates/tokio/src/runtime/task/
Dstate.rs117 if curr.is_cancelled() { in transition_to_idle()
371 pub(super) fn is_cancelled(self) -> bool { in is_cancelled() method
440 .field("is_cancelled", &self.is_cancelled()) in fmt()
Derror.rs32 pub fn is_cancelled(&self) -> bool { in is_cancelled() method
Dharness.rs406 if snapshot.is_cancelled() { in poll_future()
/external/grpc-grpc/examples/android/helloworld/app/src/main/cpp/
Dgrpc-helloworld.cc66 jboolean is_cancelled = env->CallBooleanMethod(obj, is_cancelled_mid); in StartServer() local
67 if (is_cancelled == JNI_TRUE) { in StartServer()
/external/libchrome/base/files/
Dfile_path_watcher.cc35 DCHECK(is_cancelled()); in ~PlatformDelegate()
Dfile_path_watcher.h71 bool is_cancelled() const { in is_cancelled() function
Dfile_path_watcher_fsevents.cc194 if (is_cancelled() || callback_.is_null()) { in DispatchEvents()
Dfile_path_watcher_kqueue.cc287 if (!is_cancelled()) { in Cancel()
Dfile_path_watcher_linux.cc485 DCHECK(!is_cancelled()); in Cancel()
/external/rust/crates/tokio/tests/
Dtask_abort.rs77 assert!(result.unwrap_err().is_cancelled()); in test_abort_without_panic_3662()
Drt_handle_block_on.rs185 assert!(join_err.is_cancelled());
/external/tensorflow/tensorflow/lite/
Dinterpreter_test.cc1360 bool is_cancelled = false; member
1368 return cancellation_data->is_cancelled; in CheckCancellation()
1377 void Cancel() { cancellation_data_.is_cancelled = true; } in Cancel()
1416 cancellation_data_.is_cancelled = true; in CancelOpRegistration()
1444 cancellation_data_.is_cancelled = false; in SetUp()
/external/tensorflow/tensorflow/python/distribute/coordinator/
Dcluster_coordinator_test.py313 self.assertTrue(initial_cm.is_cancelled)