Home
last modified time | relevance | path

Searched refs:Cancelled (Results 1 – 25 of 41) sorted by relevance

12

/external/grpc-grpc/src/csharp/Grpc.Core.Tests/
DCallCancellationTest.cs83 Assert.AreEqual(StatusCode.Cancelled, ex.Status.StatusCode); in ClientStreamingCall_CancelAfterBegin()
120 Assert.AreEqual(StatusCode.Cancelled, ex.Status.StatusCode); in ClientStreamingCall_ServerSideReadAfterCancelNotificationReturnsNull()
146 Assert.AreEqual(StatusCode.Cancelled, ex.Status.StatusCode); in ClientStreamingCall_CancelServerSideRead()
178 Assert.AreEqual(StatusCode.Cancelled, ex.Status.StatusCode); in ServerStreamingCall_CancelClientSideRead()
/external/tensorflow/tensorflow/core/kernels/
Dfifo_queue.cc65 errors::Cancelled("FIFOQueue '", name_, "' is closed.")); in TryEnqueue()
82 ctx->SetStatus(errors::Cancelled("Enqueue operation was cancelled")); in TryEnqueue()
123 errors::Cancelled("FIFOQueue '", name_, "' is closed.")); in TryEnqueueMany()
150 ctx->SetStatus(errors::Cancelled("Enqueue operation was cancelled")); in TryEnqueueMany()
190 ctx->SetStatus(errors::Cancelled("Dequeue operation was cancelled")); in TryDequeue()
353 ctx->SetStatus(errors::Cancelled("Dequeue operation was cancelled")); in TryDequeueMany()
Dpriority_queue.cc86 errors::Cancelled("PriorityQueue '", name_, "' is closed.")); in TryEnqueue()
111 ctx->SetStatus(errors::Cancelled("Enqueue operation was cancelled")); in TryEnqueue()
151 errors::Cancelled("PriorityQueue '", name_, "' is closed.")); in TryEnqueueMany()
192 ctx->SetStatus(errors::Cancelled("Enqueue operation was cancelled")); in TryEnqueueMany()
233 ctx->SetStatus(errors::Cancelled("Dequeue operation was cancelled")); in TryDequeue()
383 ctx->SetStatus(errors::Cancelled("Dequeue operation was cancelled")); in TryDequeueMany()
Drandom_shuffle_queue_op.cc141 attempt->context->SetStatus(errors::Cancelled( in TryEnqueue()
159 ctx->SetStatus(errors::Cancelled("Enqueue operation was cancelled")); in TryEnqueue()
199 attempt->context->SetStatus(errors::Cancelled( in TryEnqueueMany()
227 ctx->SetStatus(errors::Cancelled("Enqueue operation was cancelled")); in TryEnqueueMany()
269 ctx->SetStatus(errors::Cancelled("Dequeue operation was cancelled")); in TryDequeue()
431 ctx->SetStatus(errors::Cancelled("Dequeue operation was cancelled")); in TryDequeueMany()
Dqueue_base.cc203 errors::Cancelled("Enqueue operation was cancelled")); in Cancel()
206 errors::Cancelled("Dequeue operation was cancelled")); in Cancel()
229 errors::Cancelled("Enqueue operation was cancelled")); in CloseAndCancel()
253 errors::Cancelled("Queue '", name_, "' is already closed.")); in Close()
Dconditional_accumulator_base.cc101 ctx->SetStatus(errors::Cancelled("TakeGrad operation was cancelled")); in TryTakeGrad()
122 errors::Cancelled("TakeGrad operation was cancelled")); in Cancel()
Dmutex_ops.cc126 fn(errors::Cancelled("Lock acquisition cancelled."), in AcquireAsync()
151 fn_(errors::Cancelled("Lock acquisition cancelled."), in AcquireAsync()
Dbarrier_ops.cc117 errors::Cancelled( in TryInsertMany()
260 errors::Cancelled("Barrier '", name_, "' is already closed.")); in Close()
318 return errors::Cancelled( in InsertOneLocked()
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/Internal/
DAsyncCallTest.cs359 CreateClientSideStatus(StatusCode.Cancelled), in ClientStreaming_WriteAfterCancellationRequestThrowsTaskCanceledException()
363 AssertUnaryResponseError(asyncCall, fakeCall, resultTask, StatusCode.Cancelled); in ClientStreaming_WriteAfterCancellationRequestThrowsTaskCanceledException()
580 …tatusOnClientCallback.OnReceivedStatusOnClient(true, CreateClientSideStatus(StatusCode.Cancelled)); in DuplexStreaming_WriteAfterCancellationRequestThrowsTaskCanceledException()
582 AssertStreamingResponseError(asyncCall, fakeCall, readTask, StatusCode.Cancelled); in DuplexStreaming_WriteAfterCancellationRequestThrowsTaskCanceledException()
601 …tatusOnClientCallback.OnReceivedStatusOnClient(true, CreateClientSideStatus(StatusCode.Cancelled)); in DuplexStreaming_ReadAfterCancellationRequestCanSucceed()
603 AssertStreamingResponseError(asyncCall, fakeCall, readTask2, StatusCode.Cancelled); in DuplexStreaming_ReadAfterCancellationRequestCanSucceed()
622 …tatusOnClientCallback.OnReceivedStatusOnClient(true, CreateClientSideStatus(StatusCode.Cancelled)); in DuplexStreaming_ReadStartedBeforeCancellationRequestCanSucceed()
624 AssertStreamingResponseError(asyncCall, fakeCall, readTask2, StatusCode.Cancelled); in DuplexStreaming_ReadStartedBeforeCancellationRequestCanSucceed()
/external/grpc-grpc/src/ruby/lib/grpc/
Derrors.rb57 codes[CANCELLED] = Cancelled
91 class Cancelled < BadStatus class
/external/grpc-grpc/src/csharp/Grpc.Core/
DStatusCode.cs31 Cancelled = 1, enumerator
DStatus.cs34 public static readonly Status DefaultCancelled = new Status(StatusCode.Cancelled, "");
/external/tensorflow/tensorflow/core/distributed_runtime/
Dcancellable_call.h51 done(errors::Cancelled("RPC Request was cancelled")); in Start()
/external/tensorflow/tensorflow/core/framework/
Dreader_op_kernel.h63 context->SetStatus(errors::Cancelled("read operation was cancelled")); in Compute()
/external/tensorflow/tensorflow/core/lib/core/
Derrors.h103 DECLARE_ERROR(Cancelled, CANCELLED) in DECLARE_ERROR() argument
Dstatus_test.cc115 const Status cancelled(errors::Cancelled("Cancelled after 10 steps.")); in TEST()
/external/tensorflow/tensorflow/core/util/rpc/
Dcall_container.h152 ctx_->SetStatus(errors::Cancelled("Operation has been cancelled.")); in CallContainer()
/external/grpc-grpc/src/csharp/Grpc.Examples.Tests/
DMathClientServerTests.cs127 Assert.AreEqual(StatusCode.Cancelled, e.Status.StatusCode); in FibWithCancel()
/external/python/cpython2/Demo/tkinter/guido/
Dsortvisu.py85 Cancelled = "Array.Cancelled" # Exception variable in Array
104 raise Array.Cancelled
600 except Array.Cancelled:
/external/python/cpython3/Tools/demo/
Dsortvisu.py31 class Cancelled(BaseException): class in Array
102 raise Array.Cancelled
601 except Array.Cancelled:
/external/tensorflow/tensorflow/compiler/xla/
Dutil.h242 Status Cancelled(const absl::FormatSpec<Args...>& format, const Args&... args) { in Cancelled() function
244 tensorflow::errors::Cancelled(absl::StrFormat(format, args...))); in Cancelled()
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DInteropClient.cs412 Assert.AreEqual(StatusCode.Cancelled, ex.Status.StatusCode); in RunCancelAfterBeginAsync()
443 Assert.AreEqual(StatusCode.Cancelled, ex.Status.StatusCode); in RunCancelAfterFirstResponseAsync()
/external/tensorflow/tensorflow/core/kernels/data/
Dmulti_device_iterator_ops.cc186 elem.status = errors::Cancelled("Cancelled Multidevice iterator"); in GetNextFromShard()
246 errors::Cancelled("Cancelled and buffer not filled."); in RunPendingCallbacks()
/external/tensorflow/tensorflow/stream_executor/lib/
Dstatusor_test.cc88 StatusOr<NoDefaultConstructor> statusor(tensorflow::errors::Cancelled("")); in TEST()
111 StatusOr<std::unique_ptr<int>> thing(tensorflow::errors::Cancelled("")); in TEST()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_transfer_manager.cc117 b->Done(Cancelled("Failed to infeed buffer to device.")); in TransferLiteralToInfeed()

12