Home
last modified time | relevance | path

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

123

/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/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()
/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/tensorflow/tensorflow/lite/toco/tflite/
Doperator.cc106 flatbuffers::Offset<TfLiteOptions> WriteOptions( in WriteOptions() function in toco::tflite::AveragePool
135 flatbuffers::Offset<TfLiteOptions> WriteOptions( in WriteOptions() function in toco::tflite::Convolution
166 flatbuffers::Offset<TfLiteOptions> WriteOptions( in WriteOptions() function in toco::tflite::DepthwiseConvolution
209 flatbuffers::Offset<TfLiteOptions> WriteOptions( in WriteOptions() function in toco::tflite::Add
229 flatbuffers::Offset<TfLiteOptions> WriteOptions( in WriteOptions() function in toco::tflite::AddN
246 flatbuffers::Offset<TfLiteOptions> WriteOptions( in WriteOptions() function in toco::tflite::SpaceToBatchND
267 flatbuffers::Offset<TfLiteOptions> WriteOptions( in WriteOptions() function in toco::tflite::Sub
293 flatbuffers::Offset<TfLiteOptions> WriteOptions( in WriteOptions() function in toco::tflite::Div
321 flatbuffers::Offset<TfLiteOptions> WriteOptions( in WriteOptions() function in toco::tflite::BatchToSpaceND
341 flatbuffers::Offset<TfLiteOptions> WriteOptions( in WriteOptions() function in toco::tflite::Cast
[all …]
/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/leveldb/db/
Dcorruption_test.cc65 WriteOptions options; in Build()
219 s = db_->Write(WriteOptions(), &batch); in TEST_F()
272 ASSERT_LEVELDB_OK(db_->Put(WriteOptions(), "foo", "v1")); in TEST_F()
273 ASSERT_LEVELDB_OK(db_->Put(WriteOptions(), "foo", "v2")); in TEST_F()
274 ASSERT_LEVELDB_OK(db_->Put(WriteOptions(), "foo", "v3")); in TEST_F()
275 ASSERT_LEVELDB_OK(db_->Put(WriteOptions(), "foo", "v4")); in TEST_F()
276 ASSERT_LEVELDB_OK(db_->Put(WriteOptions(), "foo", "v5")); in TEST_F()
284 ASSERT_LEVELDB_OK(db_->Put(WriteOptions(), "foo", "v6")); in TEST_F()
293 ASSERT_LEVELDB_OK(db_->Put(WriteOptions(), "foo", "hello")); in TEST_F()
341 Status s = db_->Put(WriteOptions(), Key(5, &tmp1), Value(5, &tmp2)); in TEST_F()
[all …]
/external/leveldb/include/leveldb/
Ddb.h23 struct WriteOptions;
66 virtual Status Put(const WriteOptions& options, const Slice& key,
73 virtual Status Delete(const WriteOptions& options, const Slice& key) = 0;
78 virtual Status Write(const WriteOptions& options, WriteBatch* updates) = 0;
Doptions.h165 struct LEVELDB_EXPORT WriteOptions { struct
166 WriteOptions() = default;
/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.h228 virtual void Write(const Response* msg, ::grpc::WriteOptions options) = 0;
229 virtual void WriteAndFinish(const Response* msg, ::grpc::WriteOptions options,
246 virtual void Write(const Response* msg, ::grpc::WriteOptions options) = 0;
247 virtual void WriteAndFinish(const Response* msg, ::grpc::WriteOptions options,
320 StartWrite(resp, ::grpc::WriteOptions()); in StartWrite()
329 void StartWrite(const Response* resp, ::grpc::WriteOptions options) in StartWrite()
358 void StartWriteAndFinish(const Response* resp, ::grpc::WriteOptions options, in StartWriteAndFinish()
384 void StartWriteLast(const Response* resp, ::grpc::WriteOptions options) { in StartWriteLast()
483 ::grpc::WriteOptions write_options_wanted;
599 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()
/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.h228 virtual void Write(const Response* msg, ::grpc::WriteOptions options) = 0;
229 virtual void WriteAndFinish(const Response* msg, ::grpc::WriteOptions options,
246 virtual void Write(const Response* msg, ::grpc::WriteOptions options) = 0;
247 virtual void WriteAndFinish(const Response* msg, ::grpc::WriteOptions options,
320 StartWrite(resp, ::grpc::WriteOptions()); in StartWrite()
329 void StartWrite(const Response* resp, ::grpc::WriteOptions options) in StartWrite()
358 void StartWriteAndFinish(const Response* resp, ::grpc::WriteOptions options, in StartWriteAndFinish()
384 void StartWriteLast(const Response* resp, ::grpc::WriteOptions options) { in StartWriteLast()
483 ::grpc::WriteOptions write_options_wanted;
599 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()
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/test/
Dmock_stream.h58 MOCK_METHOD2_T(Write, bool(const W&, const WriteOptions));
78 MOCK_METHOD2_T(Write, bool(const W&, const WriteOptions));
125 MOCK_METHOD3_T(Write, void(const W&, ::grpc::WriteOptions, void*));
144 MOCK_METHOD3_T(Write, void(const W&, ::grpc::WriteOptions, void*));
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/test/
Dmock_stream.h58 MOCK_METHOD2_T(Write, bool(const W&, const WriteOptions));
78 MOCK_METHOD2_T(Write, bool(const W&, const WriteOptions));
125 MOCK_METHOD3_T(Write, void(const W&, ::grpc::WriteOptions, void*));
144 MOCK_METHOD3_T(Write, void(const W&, ::grpc::WriteOptions, void*));
/external/leveldb/issues/
Dissue178_test.cc46 ASSERT_LEVELDB_OK(db->Write(leveldb::WriteOptions(), &batch)); in TEST()
53 ASSERT_LEVELDB_OK(db->Write(leveldb::WriteOptions(), &batch)); in TEST()
60 ASSERT_LEVELDB_OK(db->Write(leveldb::WriteOptions(), &batch)); in TEST()
/external/pigweed/pw_bluetooth/public/pw_bluetooth/gatt/
Dclient.h103 struct WriteOptions { struct
176 WriteOptions options,
212 WriteOptions options,

123