Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/framework/
Dcancellation_test.cc26 bool is_cancelled = false; in TEST() local
30 token, [&is_cancelled]() { is_cancelled = true; }); in TEST()
35 EXPECT_FALSE(is_cancelled); in TEST()
39 bool is_cancelled = false; in TEST() local
43 token, [&is_cancelled]() { is_cancelled = true; }); in TEST()
46 EXPECT_TRUE(is_cancelled); in TEST()
60 bool is_cancelled = false; in TEST() local
64 token, [&is_cancelled]() { is_cancelled = true; }); in TEST()
67 EXPECT_TRUE(is_cancelled); in TEST()
119 bool is_cancelled = false; in TEST() local
[all …]
/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.h165 bool is_cancelled; member
179 is_cancelled(false) {} in Attempt()
/external/tensorflow/tensorflow/core/util/rpc/
Dcall_container.h132 bool is_cancelled = false; in CallContainer() local
134 is_cancelled = !ctx_->cancellation_manager()->RegisterCallback( in CallContainer()
151 if (is_cancelled) { in CallContainer()
/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/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_linux.cc485 DCHECK(!is_cancelled()); in Cancel()
/external/tensorflow/tensorflow/lite/
Dinterpreter_test.cc1462 bool is_cancelled = false; member
1470 return cancellation_data->is_cancelled; in CheckCancellation()
1479 void Cancel() { cancellation_data_.is_cancelled = true; } in Cancel()
1516 cancellation_data_.is_cancelled = true; in CancelOpRegistration()
1542 cancellation_data_.is_cancelled = false; in SetUp()