Home
last modified time | relevance | path

Searched refs:WriteFlags (Results 1 – 20 of 20) sorted by relevance

/third_party/grpc/src/csharp/Grpc.Core.Api/
DWriteOptions.cs27 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/
DCompressionTest.cs60 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/
DAsyncCallServer.cs81 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
DINativeCall.cs70 …(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()
DCallSafeHandle.cs70 …(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()
DClientRequestStream.cs59 private WriteFlags GetWriteFlags() in GetWriteFlags()
62 return options != null ? options.Flags : default(WriteFlags); in GetWriteFlags()
DServerResponseStream.cs61 private WriteFlags GetWriteFlags() in GetWriteFlags()
64 return options != null ? options.Flags : default(WriteFlags); in GetWriteFlags()
DNativeMethods.Generated.cs931 …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 …]
DAsyncCall.cs299 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()
DServerCallHandler.cs317 public static WriteFlags GetWriteFlags(WriteOptions writeOptions) in GetWriteFlags()
319 return writeOptions != null ? writeOptions.Flags : default(WriteFlags); in GetWriteFlags()
DAsyncCallBase.cs116 protected Task SendMessageInternalAsync(TWrite msg, WriteFlags writeFlags) in SendMessageInternalAsync()
/third_party/grpc/src/csharp/Grpc.Core.Tests/Internal/
DFakeNativeCall.cs104 …(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()
DAsyncCallTest.cs73 () => 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/
Dnative_methods.include29 …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/
DUtf8Encode.cs64 …int sendEmptyInitialMetadata, SliceBufferSafeHandle optionalSendBuffer, WriteFlags writeFlags) => { in Setup()
120 …omServer(this, status, metadata, false, SliceBufferSafeHandle.NullInstance, WriteFlags.NoCompress); in SendStatus()
DSendMessageBenchmark.cs54 var writeFlags = default(WriteFlags); in RunBody()
DUnaryCallOverheadBenchmark.cs73 …le call, BatchContextSafeHandle ctx, SliceBufferSafeHandle sendBuffer, WriteFlags writeFlags, Meta… in Setup()
/third_party/grpc/src/csharp/Grpc.Core/
DForwardedTypes.cs78 [assembly:TypeForwardedToAttribute(typeof(WriteFlags))]
/third_party/grpc/src/ruby/spec/generic/
Dactive_call_spec.rb23 WriteFlags = GRPC::Core::WriteFlags constant
/third_party/grpc/src/csharp/Grpc.IntegrationTesting/
DInteropClient.cs693 call.RequestStream.WriteOptions = new WriteOptions(WriteFlags.NoCompress); in RunClientCompressedStreamingAsync()