/external/grpc-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() 81 responseStream.WriteOptions = null; 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() 94 call.RequestStream.WriteOptions = new WriteOptions(); in WriteOptions_DuplexStreaming() 97 call.RequestStream.WriteOptions = null; in WriteOptions_DuplexStreaming() 100 call.RequestStream.WriteOptions = new WriteOptions(WriteFlags.NoCompress); in WriteOptions_DuplexStreaming()
|
D | CallOptionsTest.cs | 45 var writeOptions = new WriteOptions(); in WithMethods() 46 Assert.AreSame(writeOptions, options.WithWriteOptions(writeOptions).WriteOptions); in WithMethods() 62 Assert.IsNull(options.WriteOptions); in WithMethods()
|
/external/grpc-grpc/src/csharp/Grpc.Core.Testing/ |
D | TestServerCallContext.cs | 37 …Func<Metadata, Task> writeHeadersFunc, Func<WriteOptions> writeOptionsGetter, Action<WriteOptions>… in Create() 46 Func<WriteOptions> writeOptionsGetter; 47 Action<WriteOptions> writeOptionsSetter; 49 …public WriteOptionsHolder(Func<WriteOptions> writeOptionsGetter, Action<WriteOptions> writeOptions… in WriteOptionsHolder() 55 …public WriteOptions WriteOptions { get => writeOptionsGetter(); set => writeOptionsSetter(value); } property in Grpc.Core.Testing.TestServerCallContext.WriteOptionsHolder
|
/external/grpc-grpc/src/csharp/Grpc.Core/ |
D | WriteOptions.cs | 45 public class WriteOptions class 50 public static readonly WriteOptions Default = new WriteOptions(); 58 public WriteOptions(WriteFlags flags = default(WriteFlags)) in WriteOptions() method in Grpc.Core.WriteOptions
|
D | ServerCallContext.cs | 186 public WriteOptions WriteOptions property in Grpc.Core.ServerCallContext 190 return writeOptionsHolder.WriteOptions; 195 writeOptionsHolder.WriteOptions = value; 232 WriteOptions WriteOptions { get; set; } property
|
D | CallOptions.cs | 35 WriteOptions writeOptions; 50 …WriteOptions writeOptions = null, ContextPropagationToken propagationToken = null, CallCredentials… in CallOptions() 94 public WriteOptions WriteOptions property 174 public CallOptions WithWriteOptions(WriteOptions writeOptions) in WithWriteOptions()
|
D | IAsyncStreamWriter.cs | 45 WriteOptions WriteOptions { get; set; } property
|
/external/grpc-grpc/include/grpcpp/impl/codegen/ |
D | call.h | 81 class WriteOptions { 83 WriteOptions() : flags_(0), last_message_(false) {} in WriteOptions() function 84 WriteOptions(const WriteOptions& other) in WriteOptions() function 96 inline WriteOptions& set_no_compression() { in set_no_compression() 104 inline WriteOptions& clear_no_compression() { in clear_no_compression() 121 inline WriteOptions& set_buffer_hint() { in set_buffer_hint() 130 inline WriteOptions& clear_buffer_hint() { in clear_buffer_hint() 143 inline WriteOptions& set_corked() { in set_corked() 148 inline WriteOptions& clear_corked() { in clear_corked() 160 inline WriteOptions& set_last_message() { in set_last_message() [all …]
|
D | sync_stream.h | 116 virtual bool Write(const W& msg, WriteOptions options) = 0; 124 inline bool Write(const W& msg) { return Write(msg, WriteOptions()); } in Write() 140 void WriteLast(const W& msg, WriteOptions options) { in WriteLast() 319 bool Write(const W& msg, WriteOptions options) override { in Write() 490 bool Write(const W& msg, WriteOptions options) override { in Write() 654 bool Write(const W& msg, WriteOptions options) override { in Write() 733 bool Write(const W& msg, WriteOptions options) { in Write() 791 bool Write(const W& msg, WriteOptions options) override { in Write() 853 bool Write(const ResponseType& response, WriteOptions options) override { in Write() 918 bool Write(const ResponseType& response, WriteOptions options) override { in Write()
|
D | async_stream.h | 139 virtual void Write(const W& msg, WriteOptions options, void* tag) = 0; 159 void WriteLast(const W& msg, WriteOptions options, void* tag) { in WriteLast() 392 void Write(const W& msg, WriteOptions options, void* tag) override { in Write() 569 void Write(const W& msg, WriteOptions options, void* tag) override { in Write() 839 virtual void WriteAndFinish(const W& msg, WriteOptions options, 879 void Write(const W& msg, WriteOptions options, void* tag) override { in Write() 901 void WriteAndFinish(const W& msg, WriteOptions options, const Status& status, in WriteAndFinish() 1002 virtual void WriteAndFinish(const W& msg, WriteOptions options, 1051 void Write(const W& msg, WriteOptions options, void* tag) override { in Write() 1072 void WriteAndFinish(const W& msg, WriteOptions options, const Status& status, in WriteAndFinish()
|
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/ |
D | ClientRequestStream.cs | 28 WriteOptions writeOptions; 33 this.writeOptions = call.Details.Options.WriteOptions; in ClientRequestStream() 46 public WriteOptions WriteOptions property in Grpc.Core.Internal.ClientRequestStream
|
D | ServerResponseStream.cs | 31 WriteOptions writeOptions; 48 public WriteOptions WriteOptions property in Grpc.Core.Internal.ServerResponseStream
|
/external/tensorflow/tensorflow/lite/toco/tflite/ |
D | operator.cc | 95 flatbuffers::Offset<TfLiteOptions> WriteOptions( in WriteOptions() function in toco::tflite::AveragePool 124 flatbuffers::Offset<TfLiteOptions> WriteOptions( in WriteOptions() function in toco::tflite::Convolution 155 flatbuffers::Offset<TfLiteOptions> WriteOptions( in WriteOptions() function in toco::tflite::DepthwiseConvolution 197 flatbuffers::Offset<TfLiteOptions> WriteOptions( in WriteOptions() function in toco::tflite::Add 217 flatbuffers::Offset<TfLiteOptions> WriteOptions( in WriteOptions() function in toco::tflite::AddN 234 flatbuffers::Offset<TfLiteOptions> WriteOptions( in WriteOptions() function in toco::tflite::SpaceToBatchND 259 flatbuffers::Offset<TfLiteOptions> WriteOptions( in WriteOptions() function in toco::tflite::Sub 296 flatbuffers::Offset<TfLiteOptions> WriteOptions( in WriteOptions() function in toco::tflite::Div 335 flatbuffers::Offset<TfLiteOptions> WriteOptions( in WriteOptions() function in toco::tflite::BatchToSpaceND 359 flatbuffers::Offset<TfLiteOptions> WriteOptions( in WriteOptions() function in toco::tflite::Cast [all …]
|
D | custom_operator.h | 40 virtual void WriteOptions(const TocoOperator& op, in WriteOptions() function 51 [&]() { WriteOptions(static_cast<const TocoOperator&>(op), &fbb); }); in Serialize()
|
D | builtin_operator.h | 44 virtual flatbuffers::Offset<TfLiteOptions> WriteOptions( 55 auto options = WriteOptions(static_cast<const TocoOperator&>(op), builder); in Serialize()
|
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/impl/codegen/ |
D | call_op_set.h | 79 class WriteOptions { 81 WriteOptions() : flags_(0), last_message_(false) {} in WriteOptions() function 92 inline WriteOptions& set_no_compression() { in set_no_compression() 100 inline WriteOptions& clear_no_compression() { in clear_no_compression() 117 inline WriteOptions& set_buffer_hint() { in set_buffer_hint() 126 inline WriteOptions& clear_buffer_hint() { in clear_buffer_hint() 139 inline WriteOptions& set_corked() { in set_corked() 144 inline WriteOptions& clear_corked() { in clear_corked() 156 inline WriteOptions& set_last_message() { in set_last_message() 163 inline WriteOptions& clear_last_message() { in clear_last_message() [all …]
|
D | server_callback.h | 227 virtual void Write(const Response* msg, ::grpc::WriteOptions options) = 0; 228 virtual void WriteAndFinish(const Response* msg, ::grpc::WriteOptions options, 245 virtual void Write(const Response* msg, ::grpc::WriteOptions options) = 0; 246 virtual void WriteAndFinish(const Response* msg, ::grpc::WriteOptions options, 314 StartWrite(resp, ::grpc::WriteOptions()); in StartWrite() 323 void StartWrite(const Response* resp, ::grpc::WriteOptions options) { in StartWrite() 351 void StartWriteAndFinish(const Response* resp, ::grpc::WriteOptions options, in StartWriteAndFinish() 377 void StartWriteLast(const Response* resp, ::grpc::WriteOptions options) { in StartWriteLast() 476 ::grpc::WriteOptions write_options_wanted; 591 StartWrite(resp, ::grpc::WriteOptions()); in StartWrite() [all …]
|
D | sync_stream.h | 115 virtual bool Write(const W& msg, ::grpc::WriteOptions options) = 0; 123 inline bool Write(const W& msg) { return Write(msg, ::grpc::WriteOptions()); } in Write() 139 void WriteLast(const W& msg, ::grpc::WriteOptions options) { in WriteLast() 320 bool Write(const W& msg, ::grpc::WriteOptions options) override { in Write() 493 bool Write(const W& msg, ::grpc::WriteOptions options) override { in Write() 660 bool Write(const W& msg, ::grpc::WriteOptions options) override { in Write() 740 bool Write(const W& msg, ::grpc::WriteOptions options) { in Write() 798 bool Write(const W& msg, ::grpc::WriteOptions options) override { in Write() 861 ::grpc::WriteOptions options) override { in Write() 927 ::grpc::WriteOptions options) override { in Write()
|
D | async_stream.h | 136 virtual void Write(const W& msg, ::grpc::WriteOptions options, void* tag) = 0; 156 void WriteLast(const W& msg, ::grpc::WriteOptions options, void* tag) { in WriteLast() 389 void Write(const W& msg, ::grpc::WriteOptions options, void* tag) override { in Write() 566 void Write(const W& msg, ::grpc::WriteOptions options, void* tag) override { in Write() 837 virtual void WriteAndFinish(const W& msg, ::grpc::WriteOptions options, 877 void Write(const W& msg, ::grpc::WriteOptions options, void* tag) override { in Write() 899 void WriteAndFinish(const W& msg, ::grpc::WriteOptions options, in WriteAndFinish() 1000 virtual void WriteAndFinish(const W& msg, ::grpc::WriteOptions options, 1049 void Write(const W& msg, ::grpc::WriteOptions options, void* tag) override { in Write() 1070 void WriteAndFinish(const W& msg, ::grpc::WriteOptions options, in WriteAndFinish()
|
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/impl/codegen/ |
D | call_op_set.h | 79 class WriteOptions { 81 WriteOptions() : flags_(0), last_message_(false) {} in WriteOptions() function 92 inline WriteOptions& set_no_compression() { in set_no_compression() 100 inline WriteOptions& clear_no_compression() { in clear_no_compression() 117 inline WriteOptions& set_buffer_hint() { in set_buffer_hint() 126 inline WriteOptions& clear_buffer_hint() { in clear_buffer_hint() 139 inline WriteOptions& set_corked() { in set_corked() 144 inline WriteOptions& clear_corked() { in clear_corked() 156 inline WriteOptions& set_last_message() { in set_last_message() 163 inline WriteOptions& clear_last_message() { in clear_last_message() [all …]
|
D | server_callback.h | 227 virtual void Write(const Response* msg, ::grpc::WriteOptions options) = 0; 228 virtual void WriteAndFinish(const Response* msg, ::grpc::WriteOptions options, 245 virtual void Write(const Response* msg, ::grpc::WriteOptions options) = 0; 246 virtual void WriteAndFinish(const Response* msg, ::grpc::WriteOptions options, 314 StartWrite(resp, ::grpc::WriteOptions()); in StartWrite() 323 void StartWrite(const Response* resp, ::grpc::WriteOptions options) { in StartWrite() 351 void StartWriteAndFinish(const Response* resp, ::grpc::WriteOptions options, in StartWriteAndFinish() 377 void StartWriteLast(const Response* resp, ::grpc::WriteOptions options) { in StartWriteLast() 476 ::grpc::WriteOptions write_options_wanted; 591 StartWrite(resp, ::grpc::WriteOptions()); in StartWrite() [all …]
|
D | sync_stream.h | 115 virtual bool Write(const W& msg, ::grpc::WriteOptions options) = 0; 123 inline bool Write(const W& msg) { return Write(msg, ::grpc::WriteOptions()); } in Write() 139 void WriteLast(const W& msg, ::grpc::WriteOptions options) { in WriteLast() 320 bool Write(const W& msg, ::grpc::WriteOptions options) override { in Write() 493 bool Write(const W& msg, ::grpc::WriteOptions options) override { in Write() 660 bool Write(const W& msg, ::grpc::WriteOptions options) override { in Write() 740 bool Write(const W& msg, ::grpc::WriteOptions options) { in Write() 798 bool Write(const W& msg, ::grpc::WriteOptions options) override { in Write() 861 ::grpc::WriteOptions options) override { in Write() 927 ::grpc::WriteOptions options) override { in Write()
|
D | async_stream.h | 136 virtual void Write(const W& msg, ::grpc::WriteOptions options, void* tag) = 0; 156 void WriteLast(const W& msg, ::grpc::WriteOptions options, void* tag) { in WriteLast() 389 void Write(const W& msg, ::grpc::WriteOptions options, void* tag) override { in Write() 566 void Write(const W& msg, ::grpc::WriteOptions options, void* tag) override { in Write() 837 virtual void WriteAndFinish(const W& msg, ::grpc::WriteOptions options, 877 void Write(const W& msg, ::grpc::WriteOptions options, void* tag) override { in Write() 899 void WriteAndFinish(const W& msg, ::grpc::WriteOptions options, in WriteAndFinish() 1000 virtual void WriteAndFinish(const W& msg, ::grpc::WriteOptions options, 1049 void Write(const W& msg, ::grpc::WriteOptions options, void* tag) override { in Write() 1070 void WriteAndFinish(const W& msg, ::grpc::WriteOptions options, in WriteAndFinish()
|
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/Interceptors/ |
D | ClientInterceptorTest.cs | 215 public WriteOptions WriteOptions property in Grpc.Core.Interceptors.Tests.ClientInterceptorTest.WrappedClientStreamWriter 219 return writer.WriteOptions; 223 writer.WriteOptions = value;
|
/external/grpc-grpc/include/grpcpp/test/ |
D | mock_stream.h | 58 MOCK_METHOD2_T(Write, bool(const W&, const WriteOptions)); 77 MOCK_METHOD2_T(Write, bool(const W&, const WriteOptions));
|