Home
last modified time | relevance | path

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

123

/external/crosvm/devices/src/usb/host_backend/
Dutils.rs25 if status == TransferStatus::Cancelled { in update_transfer_state()
26 *state = XhciTransferState::Cancelled; in update_transfer_state()
32 *state = XhciTransferState::Cancelled; in update_transfer_state()
59 match mem::replace(&mut *state, XhciTransferState::Cancelled) { in submit_transfer()
82 XhciTransferState::Cancelled => { in submit_transfer()
84 TransferStatus::Cancelled in submit_transfer()
Dusb_endpoint.rs149 XhciTransferState::Cancelled => { in do_handle_transfer()
153 .on_transfer_complete(&TransferStatus::Cancelled, 0) in do_handle_transfer()
204 XhciTransferState::Cancelled => { in do_handle_transfer()
208 .on_transfer_complete(&TransferStatus::Cancelled, 0) in do_handle_transfer()
Dhost_device.rs199 XhciTransferState::Cancelled => { in execute_control_transfer()
203 .on_transfer_complete(&TransferStatus::Cancelled, 0) in execute_control_transfer()
/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.cc94 fn(errors::Cancelled("Lock acquisition cancelled."), in AcquireAsync()
119 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/tensorflow/tensorflow/core/framework/
Dlocal_rendezvous.cc100 StartAbort(errors::Cancelled("LocalRendezvous deleted")); in ~LocalRendezvous()
218 errors::Cancelled("RecvAsync is cancelled.")), in RecvAsync()
227 errors::Cancelled("RecvAsync is cancelled.")), in RecvAsync()
Dreader_op_kernel.h63 context->SetStatus(errors::Cancelled("read operation was cancelled")); in Compute()
/external/grpc-grpc/src/csharp/Grpc.Core/
DStatusCode.cs31 Cancelled = 1, enumerator
DStatus.cs34 public static readonly Status DefaultCancelled = new Status(StatusCode.Cancelled, "");
/external/crosvm/devices/src/usb/xhci/
Dxhci_transfer.rs73 Cancelled, enumerator
91 *self = XhciTransferState::Cancelled; in try_cancel()
296 TransferStatus::Cancelled => { in on_transfer_complete()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dcancellable_call.h51 done(errors::Cancelled("RPC Request was cancelled")); in Start()
Dbase_rendezvous_mgr.cc439 call->StartAbort(errors::Cancelled("RecvFromRemoteAsync is cancelled.")); in RegisterCall()
445 call->StartAbort(errors::Cancelled("RecvFromRemoteAsync is cancelled.")); in RegisterCall()
/external/crosvm/usb_util/src/
Dusb_transfer.rs25 Cancelled, enumerator
37 LIBUSB_TRANSFER_CANCELLED => TransferStatus::Cancelled, in from()
/external/tensorflow/tensorflow/core/platform/
Derrors.h104 DECLARE_ERROR(Cancelled, CANCELLED) in DECLARE_ERROR() argument
/external/tensorflow/tensorflow/core/util/rpc/
Dcall_container.h152 ctx_->SetStatus(errors::Cancelled("Operation has been cancelled.")); in CallContainer()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dsleep_dataset_op.cc132 return errors::Cancelled("Operation was cancelled"); in GetNextInternal()
/external/grpc-grpc/src/csharp/Grpc.Examples.Tests/
DMathClientServerTests.cs127 Assert.AreEqual(StatusCode.Cancelled, e.Status.StatusCode); in FibWithCancel()

123