/third_party/grpc/src/csharp/Grpc.Core.Api/ |
D | WriteOptions.cs | 27 public enum WriteFlags enum 52 private readonly WriteFlags flags; 58 public WriteOptions(WriteFlags flags = default(WriteFlags)) in WriteOptions() 66 public WriteFlags Flags
|
/third_party/grpc/src/csharp/Grpc.Core.Tests/ |
D | CompressionTest.cs | 60 context.WriteOptions = new WriteOptions(WriteFlags.NoCompress); in WriteOptions_Unary() 64 … var callOptions = new CallOptions(writeOptions: new WriteOptions(WriteFlags.NoCompress)); in WriteOptions_Unary() 75 context.WriteOptions = new WriteOptions(WriteFlags.NoCompress); in WriteOptions_DuplexStreaming() 84 responseStream.WriteOptions = new WriteOptions(WriteFlags.NoCompress); in WriteOptions_DuplexStreaming() 88 … var callOptions = new CallOptions(writeOptions: new WriteOptions(WriteFlags.NoCompress)); in WriteOptions_DuplexStreaming() 92 Assert.IsTrue((call.RequestStream.WriteOptions.Flags & WriteFlags.NoCompress) != 0); in WriteOptions_DuplexStreaming() 100 call.RequestStream.WriteOptions = new WriteOptions(WriteFlags.NoCompress); in WriteOptions_DuplexStreaming()
|
/third_party/grpc/src/csharp/Grpc.Core/Internal/ |
D | AsyncCallServer.cs | 81 public Task SendMessageAsync(TResponse msg, WriteFlags writeFlags) in SendMessageAsync() 135 … var writeFlags = optionalWrite.HasValue ? optionalWrite.Value.WriteFlags : default(WriteFlags); in SendStatusFromServerAsync() 256 public ResponseWithFlags(TResponse response, WriteFlags writeFlags) in ResponseWithFlags() 259 this.WriteFlags = writeFlags; in ResponseWithFlags() 263 public WriteFlags WriteFlags { get; } property
|
D | INativeCall.cs | 70 …(IUnaryResponseClientCallback callback, SliceBufferSafeHandle payload, WriteFlags writeFlags, Meta… in StartUnary() 72 …void StartUnary(BatchContextSafeHandle ctx, SliceBufferSafeHandle payload, WriteFlags writeFlags, … in StartUnary() 76 …eceivedStatusOnClientCallback callback, SliceBufferSafeHandle payload, WriteFlags writeFlags, Meta… in StartServerStreaming() 86 …ssage(ISendCompletionCallback callback, SliceBufferSafeHandle payload, WriteFlags writeFlags, bool… in StartSendMessage() 90 …rray, bool sendEmptyInitialMetadata, SliceBufferSafeHandle optionalPayload, WriteFlags writeFlags); in StartSendStatusFromServer()
|
D | CallSafeHandle.cs | 70 …(IUnaryResponseClientCallback callback, SliceBufferSafeHandle payload, WriteFlags writeFlags, Meta… in StartUnary() 80 … StartUnary(BatchContextSafeHandle ctx, SliceBufferSafeHandle payload, WriteFlags writeFlags, Meta… in StartUnary() 95 …eceivedStatusOnClientCallback callback, SliceBufferSafeHandle payload, WriteFlags writeFlags, Meta… in StartServerStreaming() 113 …ssage(ISendCompletionCallback callback, SliceBufferSafeHandle payload, WriteFlags writeFlags, bool… in StartSendMessage() 132 SliceBufferSafeHandle optionalPayload, WriteFlags writeFlags) in StartSendStatusFromServer()
|
D | ClientRequestStream.cs | 59 private WriteFlags GetWriteFlags() in GetWriteFlags() 62 return options != null ? options.Flags : default(WriteFlags); in GetWriteFlags()
|
D | ServerResponseStream.cs | 61 private WriteFlags GetWriteFlags() in GetWriteFlags() 64 return options != null ? options.Flags : default(WriteFlags); in GetWriteFlags()
|
D | NativeMethods.Generated.cs | 931 …le call, BatchContextSafeHandle ctx, SliceBufferSafeHandle sendBuffer, WriteFlags writeFlags, Meta… in grpcsharp_call_start_unary_delegate() 933 …le call, BatchContextSafeHandle ctx, SliceBufferSafeHandle sendBuffer, WriteFlags writeFlags, Meta… in grpcsharp_call_start_server_streaming_delegate() 935 …le call, BatchContextSafeHandle ctx, SliceBufferSafeHandle sendBuffer, WriteFlags writeFlags, int … in grpcsharp_call_send_message_delegate() 937 …ay, int sendEmptyInitialMetadata, SliceBufferSafeHandle optionalSendBuffer, WriteFlags writeFlags); in grpcsharp_call_send_status_from_server_delegate() 1008 …le call, BatchContextSafeHandle ctx, SliceBufferSafeHandle sendBuffer, WriteFlags writeFlags, Meta… in grpcsharp_test_call_start_unary_echo_delegate() 1097 …le call, BatchContextSafeHandle ctx, SliceBufferSafeHandle sendBuffer, WriteFlags writeFlags, Meta… in grpcsharp_call_start_unary() 1103 …le call, BatchContextSafeHandle ctx, SliceBufferSafeHandle sendBuffer, WriteFlags writeFlags, Meta… in grpcsharp_call_start_server_streaming() 1109 …le call, BatchContextSafeHandle ctx, SliceBufferSafeHandle sendBuffer, WriteFlags writeFlags, int … in grpcsharp_call_send_message() 1115 …ay, int sendEmptyInitialMetadata, SliceBufferSafeHandle optionalSendBuffer, WriteFlags writeFlags); in grpcsharp_call_send_status_from_server() 1328 …le call, BatchContextSafeHandle ctx, SliceBufferSafeHandle sendBuffer, WriteFlags writeFlags, Meta… in grpcsharp_test_call_start_unary_echo() [all …]
|
D | AsyncCall.cs | 299 public Task SendMessageAsync(TRequest msg, WriteFlags writeFlags) in SendMessageAsync() 522 private WriteFlags GetWriteFlagsForCall() in GetWriteFlagsForCall() 525 return writeOptions != null ? writeOptions.Flags : default(WriteFlags); in GetWriteFlagsForCall()
|
D | ServerCallHandler.cs | 317 public static WriteFlags GetWriteFlags(WriteOptions writeOptions) in GetWriteFlags() 319 return writeOptions != null ? writeOptions.Flags : default(WriteFlags); in GetWriteFlags()
|
D | AsyncCallBase.cs | 116 protected Task SendMessageInternalAsync(TWrite msg, WriteFlags writeFlags) in SendMessageInternalAsync()
|
/third_party/grpc/src/csharp/Grpc.Core.Tests/Internal/ |
D | FakeNativeCall.cs | 104 …(IUnaryResponseClientCallback callback, SliceBufferSafeHandle payload, WriteFlags writeFlags, Meta… in StartUnary() 110 … StartUnary(BatchContextSafeHandle ctx, SliceBufferSafeHandle payload, WriteFlags writeFlags, Meta… in StartUnary() 122 …eceivedStatusOnClientCallback callback, SliceBufferSafeHandle payload, WriteFlags writeFlags, Meta… in StartServerStreaming() 149 …ssage(ISendCompletionCallback callback, SliceBufferSafeHandle payload, WriteFlags writeFlags, bool… in StartSendMessage() 160 SliceBufferSafeHandle payload, WriteFlags writeFlags) in StartSendStatusFromServer()
|
D | AsyncCallTest.cs | 73 () => asyncCall.SendMessageAsync("abc", new WriteFlags())); in AsyncUnary_StreamingOperationsNotAllowed() 384 () => asyncCall.SendMessageAsync("abc", new WriteFlags())); in ServerStreaming_StreamingSendNotAllowed()
|
/third_party/grpc/templates/src/csharp/Grpc.Core/Internal/ |
D | native_methods.include | 29 …le call, BatchContextSafeHandle ctx, SliceBufferSafeHandle sendBuffer, WriteFlags writeFlags, Meta… 31 …le call, BatchContextSafeHandle ctx, SliceBufferSafeHandle sendBuffer, WriteFlags writeFlags, Meta… 33 …le call, BatchContextSafeHandle ctx, SliceBufferSafeHandle sendBuffer, WriteFlags writeFlags, int … 35 …y, int sendEmptyInitialMetadata, SliceBufferSafeHandle optionalSendBuffer, WriteFlags writeFlags)', 106 …le call, BatchContextSafeHandle ctx, SliceBufferSafeHandle sendBuffer, WriteFlags writeFlags, Meta…
|
/third_party/grpc/src/csharp/Grpc.Microbenchmarks/ |
D | Utf8Encode.cs | 64 …int sendEmptyInitialMetadata, SliceBufferSafeHandle optionalSendBuffer, WriteFlags writeFlags) => { in Setup() 120 …omServer(this, status, metadata, false, SliceBufferSafeHandle.NullInstance, WriteFlags.NoCompress); in SendStatus()
|
D | SendMessageBenchmark.cs | 54 var writeFlags = default(WriteFlags); in RunBody()
|
D | UnaryCallOverheadBenchmark.cs | 73 …le call, BatchContextSafeHandle ctx, SliceBufferSafeHandle sendBuffer, WriteFlags writeFlags, Meta… in Setup()
|
/third_party/grpc/src/csharp/Grpc.Core/ |
D | ForwardedTypes.cs | 78 [assembly:TypeForwardedToAttribute(typeof(WriteFlags))]
|
/third_party/grpc/src/ruby/spec/generic/ |
D | active_call_spec.rb | 23 WriteFlags = GRPC::Core::WriteFlags constant
|
/third_party/grpc/src/csharp/Grpc.IntegrationTesting/ |
D | InteropClient.cs | 693 call.RequestStream.WriteOptions = new WriteOptions(WriteFlags.NoCompress); in RunClientCompressedStreamingAsync()
|