/external/grpc-grpc/src/csharp/Grpc.Core.Tests/ |
D | ThreadingModelTest.cs | 57 return Task.FromResult("SUCCESS"); in BlockingCallInServerHandlerDoesNotDeadlock() 60 return Task.FromResult(response); in BlockingCallInServerHandlerDoesNotDeadlock() 73 … return Task.FromResult("Server handler should not run on gRPC threadpool thread."); in HandlerDoesNotRunOnGrpcThread() 75 return Task.FromResult(request); in HandlerDoesNotRunOnGrpcThread() 86 return Task.FromResult(request); in ContinuationDoesNotRunOnGrpcThread()
|
D | ClientServerTest.cs | 62 return Task.FromResult(request); in UnaryCall() 130 return Task.FromResult(""); in UnaryCall_ServerHandlerSetsStatus() 149 return Task.FromResult(""); in UnaryCall_ServerHandlerSetsStatusAndTrailers() 287 return Task.FromResult(""); in AsyncUnaryCall_EchoMetadata() 333 return Task.FromResult(""); in StatusDetailIsUtf8() 346 return Task.FromResult(context.Peer); in ServerCallContext_PeerInfoPresent() 360 return Task.FromResult("PASS"); in ServerCallContext_HostAndMethodPresent() 372 return Task.FromResult("PASS"); in ServerCallContext_AuthContextNotPopulated()
|
D | UserAgentStringTest.cs | 57 return Task.FromResult("PASS"); in DefaultUserAgentString() 77 return Task.FromResult("PASS"); in ApplicationUserAgentString()
|
D | TimeoutsTest.cs | 63 return Task.FromResult("PASS"); in InfiniteDeadline() 84 return Task.FromResult("PASS"); in DeadlineTransferredToServer()
|
D | MarshallingErrorsTest.cs | 83 return Task.FromResult("UNPARSEABLE_VALUE"); in ResponseParsingError_UnaryResponse() 109 return Task.FromResult("RESPONSE"); in RequestParsingError_UnaryRequest()
|
D | MockServiceHelper.cs | 101 return Task.FromResult(""); in MockServiceHelper() 107 return Task.FromResult(""); in MockServiceHelper()
|
D | ContextPropagationTest.cs | 113 return Task.FromResult("PASS"); in PropagateDeadline() 141 return Task.FromResult("PASS"); in SuppressDeadlinePropagation()
|
D | HalfcloseTest.cs | 67 return Task.FromResult("PASS"); in HalfcloseAfterFullclose_ClientStreamingCall()
|
D | PerformanceTest.cs | 66 return Task.FromResult(request); in UnaryCallPerformance()
|
D | CompressionTest.cs | 61 return Task.FromResult(request); in WriteOptions_Unary()
|
/external/grpc-grpc/src/csharp/Grpc.Examples.Tests/ |
D | MathClientMockableTest.cs | 59 …var fakeCall = TestCalls.AsyncUnaryCall<DivReply>(Task.FromResult(new DivReply()), Task.FromResult… in ClientBaseAsyncUnaryCallCanBeMocked() 71 …ntStreamingCall<Num, Num>(mockRequestStream.Object, Task.FromResult(new Num()), Task.FromResult(ne… in ClientBaseClientStreamingCallCanBeMocked() 83 …estCalls.AsyncServerStreamingCall<Num>(mockResponseStream.Object, Task.FromResult(new Metadata()),… in ClientBaseServerStreamingCallCanBeMocked() 96 …s, DivReply>(mockRequestStream.Object, mockResponseStream.Object, Task.FromResult(new Metadata()),… in ClientBaseDuplexStreamingCallCanBeMocked()
|
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/ |
D | WorkerServiceImpl.cs | 90 return Task.FromResult(new CoreResponse { Cores = Environment.ProcessorCount }); in CoreCount() 96 return Task.FromResult(new Void()); in QuitWorker()
|
D | BenchmarkServiceImpl.cs | 41 return Task.FromResult(response); in UnaryCall()
|
D | SslCredentialsTest.cs | 99 … return Task.FromResult(new SimpleResponse { Payload = CreateZerosPayload(request.ResponseSize) }); in UnaryCall()
|
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/Interceptors/ |
D | ClientInterceptorTest.cs | 48 return Task.FromResult("PASS"); in AddRequestHeaderInClientInterceptor() 67 return Task.FromResult("PASS"); in CheckInterceptorOrderInClientInterceptors() 97 return Task.FromResult("PASS"); in CheckNullInterceptorRegistrationFails()
|
D | ServerInterceptorTest.cs | 49 return Task.FromResult("PASS"); in AddRequestHeaderInServerInterceptor() 64 return Task.FromResult("PASS"); in VerifyInterceptorOrdering()
|
/external/grpc-grpc/src/csharp/Grpc.Core/Utils/ |
D | TaskUtils.cs | 39 return Task.FromResult<object>(null); // for .NET45, emulate the functionality
|
/external/grpc-grpc/examples/csharp/Helloworld/GreeterServer/ |
D | Program.cs | 27 return Task.FromResult(new HelloReply { Message = "Hello " + request.Name }); in SayHello()
|
/external/grpc-grpc/examples/csharp/HelloworldLegacyCsproj/GreeterServer/ |
D | Program.cs | 27 return Task.FromResult(new HelloReply { Message = "Hello " + request.Name }); in SayHello()
|
/external/grpc-grpc/src/csharp/Grpc.HealthCheck/ |
D | HealthServiceImpl.cs | 99 return Task.FromResult(new HealthCheckResponse { Status = status }); in Check()
|
/external/grpc-grpc/examples/csharp/HelloworldXamarin/iOS/ |
D | ViewController.cs | 87 return Task.FromResult(new HelloReply { Message = "Hello " + request.Name }); in SayHello()
|
/external/grpc-grpc/examples/csharp/HelloworldXamarin/Droid/ |
D | MainActivity.cs | 79 return Task.FromResult(new HelloReply { Message = "Hello " + request.Name }); in SayHello()
|
/external/grpc-grpc/src/csharp/Grpc.Examples/ |
D | MathServiceImpl.cs | 35 return Task.FromResult(DivInternal(request)); in Div()
|
/external/v8/src/heap/ |
D | local-allocator-inl.h | 93 new_space_lab_ = LocalAllocationBuffer::FromResult(heap_, result, kLabSize); in NewLocalAllocationBuffer()
|
/external/grpc-grpc/examples/csharp/RouteGuide/RouteGuideServer/ |
D | RouteGuideImpl.cs | 48 return Task.FromResult(CheckFeature(request)); in GetFeature()
|