Home
last modified time | relevance | path

Searched refs:WriteOptions (Results 1 – 25 of 46) sorted by relevance

12

/external/grpc-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()
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()
DCallOptionsTest.cs45 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/
DTestServerCallContext.cs37 …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/
DWriteOptions.cs45 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
DServerCallContext.cs186 public WriteOptions WriteOptions property in Grpc.Core.ServerCallContext
190 return writeOptionsHolder.WriteOptions;
195 writeOptionsHolder.WriteOptions = value;
232 WriteOptions WriteOptions { get; set; } property
DCallOptions.cs35 WriteOptions writeOptions;
50WriteOptions writeOptions = null, ContextPropagationToken propagationToken = null, CallCredentials… in CallOptions()
94 public WriteOptions WriteOptions property
174 public CallOptions WithWriteOptions(WriteOptions writeOptions) in WithWriteOptions()
DIAsyncStreamWriter.cs45 WriteOptions WriteOptions { get; set; } property
/external/grpc-grpc/include/grpcpp/impl/codegen/
Dcall.h81 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 …]
Dsync_stream.h116 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()
Dasync_stream.h139 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/
DClientRequestStream.cs28 WriteOptions writeOptions;
33 this.writeOptions = call.Details.Options.WriteOptions; in ClientRequestStream()
46 public WriteOptions WriteOptions property in Grpc.Core.Internal.ClientRequestStream
DServerResponseStream.cs31 WriteOptions writeOptions;
48 public WriteOptions WriteOptions property in Grpc.Core.Internal.ServerResponseStream
/external/tensorflow/tensorflow/lite/toco/tflite/
Doperator.cc95 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 …]
Dcustom_operator.h40 virtual void WriteOptions(const TocoOperator& op, in WriteOptions() function
51 [&]() { WriteOptions(static_cast<const TocoOperator&>(op), &fbb); }); in Serialize()
Dbuiltin_operator.h44 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/
Dcall_op_set.h79 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 …]
Dserver_callback.h227 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 …]
Dsync_stream.h115 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()
Dasync_stream.h136 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/
Dcall_op_set.h79 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 …]
Dserver_callback.h227 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 …]
Dsync_stream.h115 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()
Dasync_stream.h136 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/
DClientInterceptorTest.cs215 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/
Dmock_stream.h58 MOCK_METHOD2_T(Write, bool(const W&, const WriteOptions));
77 MOCK_METHOD2_T(Write, bool(const W&, const WriteOptions));

12