/external/tensorflow/tensorflow/core/framework/ |
D | cancellation_test.cc | 30 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/ |
D | cancellation_test.py | 28 self.assertFalse(manager.is_cancelled) 30 self.assertTrue(manager.is_cancelled)
|
D | cancellation.py | 33 def is_cancelled(self): member in CancellationManager
|
/external/tensorflow/tensorflow/core/kernels/ |
D | queue_base.cc | 199 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()
|
D | conditional_accumulator_base.cc | 119 if (!attempt.is_cancelled) { in Cancel() 120 attempt.is_cancelled = true; in Cancel() 143 if (takegrad_attempts_.front().is_cancelled) { in TryAttemptLocked()
|
D | conditional_accumulator_base.h | 99 bool is_cancelled; member 110 is_cancelled(false) {} in Attempt()
|
D | queue_base.h | 161 bool is_cancelled; member 175 is_cancelled(false) {} in Attempt()
|
/external/libchrome/base/ |
D | callback_internal.cc | 31 bool (*is_cancelled)(const BindStateBase*)) in BindStateBase() 34 is_cancelled_(is_cancelled) {} in BindStateBase()
|
D | callback_internal.h | 60 bool (*is_cancelled)(const BindStateBase*));
|
/external/rust/crates/tokio/src/runtime/task/ |
D | state.rs | 117 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()
|
D | error.rs | 32 pub fn is_cancelled(&self) -> bool { in is_cancelled() method
|
D | harness.rs | 406 if snapshot.is_cancelled() { in poll_future()
|
/external/grpc-grpc/examples/android/helloworld/app/src/main/cpp/ |
D | grpc-helloworld.cc | 66 jboolean is_cancelled = env->CallBooleanMethod(obj, is_cancelled_mid); in StartServer() local 67 if (is_cancelled == JNI_TRUE) { in StartServer()
|
/external/libchrome/base/files/ |
D | file_path_watcher.cc | 35 DCHECK(is_cancelled()); in ~PlatformDelegate()
|
D | file_path_watcher.h | 71 bool is_cancelled() const { in is_cancelled() function
|
D | file_path_watcher_fsevents.cc | 194 if (is_cancelled() || callback_.is_null()) { in DispatchEvents()
|
D | file_path_watcher_kqueue.cc | 287 if (!is_cancelled()) { in Cancel()
|
D | file_path_watcher_linux.cc | 485 DCHECK(!is_cancelled()); in Cancel()
|
/external/rust/crates/tokio/tests/ |
D | task_abort.rs | 77 assert!(result.unwrap_err().is_cancelled()); in test_abort_without_panic_3662()
|
D | rt_handle_block_on.rs | 185 assert!(join_err.is_cancelled());
|
/external/tensorflow/tensorflow/lite/ |
D | interpreter_test.cc | 1360 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/ |
D | cluster_coordinator_test.py | 313 self.assertTrue(initial_cm.is_cancelled)
|