Home
last modified time | relevance | path

Searched refs:IsCancelled (Results 1 – 25 of 35) sorted by relevance

12

/third_party/grpc/test/cpp/end2end/
Dtest_service_impl.cc108 EXPECT_FALSE(context->IsCancelled()); in ServerTryCancel()
112 while (!context->IsCancelled()) { in ServerTryCancel()
119 EXPECT_FALSE(context->IsCancelled()); in ServerTryCancelNonblocking()
140 async_cancel_check_ = std::thread([this] { (void)ctx_->IsCancelled(); }); in Echo()
177 EXPECT_TRUE(ctx_->IsCancelled()); in Echo()
186 EXPECT_EQ(ctx_->IsCancelled(), on_cancel_invoked_); in Echo()
204 EXPECT_TRUE(ctx_->IsCancelled()); in Echo()
225 EXPECT_FALSE(ctx_->IsCancelled()); in Echo()
252 EXPECT_FALSE(ctx_->IsCancelled()); in Echo()
302 cancel_cv_.wait(l, [this] { return ctx_->IsCancelled(); }); in Echo()
[all …]
Dasync_end2end_test.cc397 EXPECT_FALSE(srv_ctx.IsCancelled()); in TEST_P()
1264 EXPECT_TRUE(srv_ctx.IsCancelled()); in TEST_P()
1298 EXPECT_FALSE(srv_ctx.IsCancelled()); in TEST_P()
1388 EXPECT_TRUE(srv_ctx.IsCancelled()); in TestClientStreamingServerCancel()
1450 EXPECT_TRUE(srv_ctx.IsCancelled()); in TestClientStreamingServerCancel()
1472 EXPECT_TRUE(srv_ctx.IsCancelled()); in TestClientStreamingServerCancel()
1549 EXPECT_TRUE(srv_ctx.IsCancelled()); in TestServerStreamingServerCancel()
1600 EXPECT_TRUE(srv_ctx.IsCancelled()); in TestServerStreamingServerCancel()
1620 EXPECT_TRUE(srv_ctx.IsCancelled()); in TestServerStreamingServerCancel()
1715 EXPECT_TRUE(srv_ctx.IsCancelled()); in TestBidiStreamingServerCancel()
[all …]
Dtest_health_check_service_impl.cc45 while (!context->IsCancelled()) { in Watch()
Dshutdown_test.cc52 while (!context->IsCancelled()) { in Echo()
Dtest_service_impl.h171 while (!context->IsCancelled()) { in Echo()
187 EXPECT_FALSE(context->IsCancelled()); in Echo()
/third_party/grpc/src/csharp/Grpc.Core.Tests/Internal/
DFakeNativeCall.cs77 public bool IsCancelled property in Grpc.Core.Internal.Tests.FakeNativeCall
91 IsCancelled = true; in Cancel()
96 IsCancelled = true; in CancelWithStatus()
DAsyncCallTest.cs357 Assert.IsTrue(fakeCall.IsCancelled); in ClientStreaming_WriteAfterCancellationRequestThrowsTaskCanceledException()
577 Assert.IsTrue(fakeCall.IsCancelled); in DuplexStreaming_WriteAfterCancellationRequestThrowsTaskCanceledException()
596 Assert.IsTrue(fakeCall.IsCancelled); in DuplexStreaming_ReadAfterCancellationRequestCanSucceed()
618 Assert.IsTrue(fakeCall.IsCancelled); in DuplexStreaming_ReadStartedBeforeCancellationRequestCanSucceed()
/third_party/grpc/test/cpp/interop/
Dserver_helper.cc76 bool InteropServerContextInspector::IsCancelled() const { in IsCancelled() function in grpc::testing::InteropServerContextInspector
77 return context_.IsCancelled(); in IsCancelled()
Dserver_helper.h44 bool IsCancelled() const;
/third_party/cef/libcef_dll/base/
Dcef_callback_internal.cc71 bool CallbackBase::IsCancelled() const { in IsCancelled() function in base::internal::CallbackBase
73 return bind_state_->IsCancelled(); in IsCancelled()
/third_party/cef/include/base/internal/
Dcef_callback_internal.h114 bool IsCancelled() const { in IsCancelled() function
157 bool IsCancelled() const;
Dcef_bind_internal.h802 return CallbackCancellationTraits<Functor, BoundArgsTuple>::IsCancelled(
1355 static bool IsCancelled(const Functor&,
1376 static bool IsCancelled(const Functor& functor, const BoundArgs&...) {
1377 return functor.IsCancelled();
1392 static bool IsCancelled(const Functor& functor, const BoundArgs&...) {
1393 return functor.IsCancelled();
/third_party/libusb/libusb/os/
Dhaiku_usb.h96 bool IsCancelled();
Dhaiku_usb_raw.cpp162 if (transfer->IsCancelled()) { in haiku_handle_transfer_completion()
Dhaiku_usb_backend.cpp59 USBTransfer::IsCancelled() in IsCancelled() function in USBTransfer
/third_party/grpc/include/grpcpp/impl/codegen/
Dserver_context_impl.h188 bool IsCancelled() const;
534 using ServerContextBase::IsCancelled;
576 using ServerContextBase::IsCancelled;
Dserver_context.h196 bool IsCancelled() const;
560 using ServerContextBase::IsCancelled;
603 using ServerContextBase::IsCancelled;
/third_party/cef/include/base/
Dcef_cancelable_callback.h116 bool IsCancelled() const { return callback_.is_null(); } in IsCancelled() function
/third_party/grpc/src/cpp/server/
Dserver_context.cc322 bool ServerContextBase::IsCancelled() const { in IsCancelled() function in grpc::ServerContextBase
/third_party/abseil-cpp/absl/status/
Dstatus.h629 ABSL_MUST_USE_RESULT bool IsCancelled(const Status& status);
Dstatus.cc388 bool IsCancelled(const Status& status) { in IsCancelled() function
/third_party/grpc/src/cpp/server/load_reporter/
Dload_reporter_async_service_impl.cc324 if (ctx_.IsCancelled()) { in OnDoneNotified()
/third_party/skia/third_party/externals/abseil-cpp/absl/status/
Dstatus.h691 ABSL_MUST_USE_RESULT bool IsCancelled(const Status& status);
Dstatus.cc387 bool IsCancelled(const Status& status) { in IsCancelled() function
/third_party/grpc/src/cpp/server/health/
Ddefault_health_check_service.cc500 service_, this, static_cast<int>(ctx_.IsCancelled())); in OnDoneNotified()

12