Home
last modified time | relevance | path

Searched refs:default_algorithm (Results 1 – 5 of 5) sorted by relevance

/external/grpc-grpc/src/ruby/spec/
Dcompression_options_spec.rb48 expect(options.default_algorithm).to be nil
55 default_algorithm: :identity,
65 expect(options.default_algorithm).to be(:identity)
72 default_algorithm: :gzip,
81 expect(options.default_algorithm).to be(:gzip)
88 default_algorithm: :identity,
97 expect(options.default_algorithm).to be(:identity)
118 expect(options.default_algorithm).to be(nil)
/external/grpc-grpc/src/ruby/ext/grpc/
Drb_compression_options.c219 &options->default_algorithm.algorithm, algorithm_name); in grpc_rb_compression_options_set_default_algorithm()
220 options->default_algorithm.is_set = 1; in grpc_rb_compression_options_set_default_algorithm()
257 if (compression_options->default_algorithm.is_set) { in grpc_rb_compression_options_to_hash()
259 value = INT2NUM((int)compression_options->default_algorithm.algorithm); in grpc_rb_compression_options_to_hash()
315 if (wrapper->wrapped->default_algorithm.is_set) { in grpc_rb_compression_options_get_default_algorithm()
316 internal_value = wrapper->wrapped->default_algorithm.algorithm; in grpc_rb_compression_options_get_default_algorithm()
378 VALUE default_algorithm = Qnil; in grpc_rb_compression_options_init() local
399 default_algorithm = in grpc_rb_compression_options_init()
401 if (default_algorithm != Qnil) { in grpc_rb_compression_options_init()
403 default_algorithm); in grpc_rb_compression_options_init()
/external/grpc-grpc/include/grpc/impl/codegen/
Dcompression_types.h100 } default_algorithm; member
/external/grpc-grpc/src/core/lib/surface/
Dchannel.cc132 channel->compression_options.default_algorithm.is_set = true; in grpc_channel_create_with_builder()
133 channel->compression_options.default_algorithm.algorithm = in grpc_channel_create_with_builder()
/external/grpc-grpc/src/ruby/pb/test/
Dclient.rb105 GRPC::Core::CompressionOptions.new(default_algorithm: :gzip)