Home
last modified time | relevance | path

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

/third_party/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)
/third_party/grpc/src/ruby/ext/grpc/
Drb_compression_options.c221 &options->default_algorithm.algorithm, algorithm_name); in grpc_rb_compression_options_set_default_algorithm()
222 options->default_algorithm.is_set = 1; in grpc_rb_compression_options_set_default_algorithm()
259 if (compression_options->default_algorithm.is_set) { in grpc_rb_compression_options_to_hash()
261 value = INT2NUM((int)compression_options->default_algorithm.algorithm); in grpc_rb_compression_options_to_hash()
317 if (wrapper->wrapped->default_algorithm.is_set) { in grpc_rb_compression_options_get_default_algorithm()
318 internal_value = wrapper->wrapped->default_algorithm.algorithm; in grpc_rb_compression_options_get_default_algorithm()
380 VALUE default_algorithm = Qnil; in grpc_rb_compression_options_init() local
401 default_algorithm = in grpc_rb_compression_options_init()
403 if (default_algorithm != Qnil) { in grpc_rb_compression_options_init()
405 default_algorithm); in grpc_rb_compression_options_init()
/third_party/grpc/src/core/lib/compression/
Dcompression_args.cc43 grpc_compression_algorithm default_algorithm = in grpc_channel_args_get_channel_default_compression_algorithm() local
45 return default_algorithm < GRPC_COMPRESS_ALGORITHMS_COUNT in grpc_channel_args_get_channel_default_compression_algorithm()
46 ? default_algorithm in grpc_channel_args_get_channel_default_compression_algorithm()
/third_party/grpc/include/grpc/impl/codegen/
Dcompression_types.h101 } default_algorithm; member
/third_party/grpc/src/core/lib/surface/
Dchannel.cc111 channel->compression_options.default_algorithm.is_set = true; in grpc_channel_create_with_builder()
112 channel->compression_options.default_algorithm.algorithm = in grpc_channel_create_with_builder()
/third_party/grpc/src/ruby/pb/test/
Dclient.rb105 GRPC::Core::CompressionOptions.new(default_algorithm: :gzip)