Home
last modified time | relevance | path

Searched refs:algorithm_name (Results 1 – 16 of 16) sorted by relevance

/external/grpc-grpc/src/ruby/ext/grpc/
Drb_compression_options.c161 grpc_compression_algorithm* algorithm_value, VALUE algorithm_name) { in grpc_rb_compression_options_algorithm_name_to_value_internal() argument
165 Check_Type(algorithm_name, T_SYMBOL); in grpc_rb_compression_options_algorithm_name_to_value_internal()
169 algorithm_name_as_string = rb_funcall(algorithm_name, rb_intern("to_s"), 0); in grpc_rb_compression_options_algorithm_name_to_value_internal()
198 VALUE algorithm_name) { in grpc_rb_compression_options_is_algorithm_enabled() argument
205 &internal_algorithm_value, algorithm_name); in grpc_rb_compression_options_is_algorithm_enabled()
217 grpc_compression_options* options, VALUE algorithm_name) { in grpc_rb_compression_options_set_default_algorithm() argument
219 &options->default_algorithm.algorithm, algorithm_name); in grpc_rb_compression_options_set_default_algorithm()
227 grpc_compression_options* compression_options, VALUE algorithm_name) { in grpc_rb_compression_options_disable_algorithm() argument
231 &internal_algorithm_value, algorithm_name); in grpc_rb_compression_options_disable_algorithm()
297 char* algorithm_name = NULL; in grpc_rb_compression_options_algorithm_value_to_name_internal() local
[all …]
/external/grpc-grpc/src/cpp/client/
Dclient_context.cc100 const char* algorithm_name = nullptr; in set_compression_algorithm() local
101 if (!grpc_compression_algorithm_name(algorithm, &algorithm_name)) { in set_compression_algorithm()
106 GPR_ASSERT(algorithm_name != nullptr); in set_compression_algorithm()
107 AddMetadata(GRPC_COMPRESSION_REQUEST_ALGORITHM_MD_KEY, algorithm_name); in set_compression_algorithm()
/external/rust/crates/grpcio-sys/grpc/src/cpp/client/
Dclient_context.cc136 const char* algorithm_name = nullptr; in set_compression_algorithm() local
137 if (!grpc_compression_algorithm_name(algorithm, &algorithm_name)) { in set_compression_algorithm()
142 GPR_ASSERT(algorithm_name != nullptr); in set_compression_algorithm()
143 AddMetadata(GRPC_COMPRESSION_REQUEST_ALGORITHM_MD_KEY, algorithm_name); in set_compression_algorithm()
/external/grpc-grpc/src/cpp/server/
Dserver_context.cc196 const char* algorithm_name = nullptr; in set_compression_algorithm() local
197 if (!grpc_compression_algorithm_name(algorithm, &algorithm_name)) { in set_compression_algorithm()
202 GPR_ASSERT(algorithm_name != nullptr); in set_compression_algorithm()
203 AddInitialMetadata(GRPC_COMPRESSION_REQUEST_ALGORITHM_MD_KEY, algorithm_name); in set_compression_algorithm()
/external/rust/crates/ring/tests/
Ddigest_tests.rs95 ( $file_name:ident, $algorithm_name:ident ) => {
97 mod $algorithm_name {
108 &digest::$algorithm_name,
121 &digest::$algorithm_name,
134 &digest::$algorithm_name,
/external/rust/crates/grpcio-sys/grpc/src/cpp/server/
Dserver_context.cc339 const char* algorithm_name = nullptr; in set_compression_algorithm() local
340 if (!grpc_compression_algorithm_name(algorithm, &algorithm_name)) { in set_compression_algorithm()
345 GPR_ASSERT(algorithm_name != nullptr); in set_compression_algorithm()
346 AddInitialMetadata(GRPC_COMPRESSION_REQUEST_ALGORITHM_MD_KEY, algorithm_name); in set_compression_algorithm()
/external/rust/crates/ring/src/
Ddigest.rs525 ( $algorithm_name:ident ) => {
526 mod $algorithm_name {
531 super::max_input_test(&digest::$algorithm_name);
537 super::too_long_input_test_block(&digest::$algorithm_name);
543 super::too_long_input_test_byte(&digest::$algorithm_name);
/external/grpc-grpc/test/core/compression/
Dmessage_compress_test.cc52 const char* algorithm_name; in assert_passthrough() local
55 grpc_message_compression_algorithm_name(algorithm, &algorithm_name) != 0); in assert_passthrough()
63 algorithm_name, grpc_slice_split_mode_name(uncompressed_split_mode), in assert_passthrough()
/external/avb/
Davbtool.py424 def sign(self, algorithm_name, data_to_sign, signing_helper=None, argument
444 algorithm = ALGORITHMS.get(algorithm_name)
447 .format(algorithm_name))
453 algorithm_name))
467 p = subprocess.Popen([signing_helper_with_files, algorithm_name,
477 [signing_helper, algorithm_name, self.key_path],
2894 def make_vbmeta_image(self, output, chain_partitions, algorithm_name, argument
2955 algorithm_name, key_path, public_key_metadata_path, descriptors,
2972 def _generate_vbmeta_blob(self, algorithm_name, key_path, argument
3027 alg = ALGORITHMS[algorithm_name]
[all …]
Davbtool424 def sign(self, algorithm_name, data_to_sign, signing_helper=None, argument
444 algorithm = ALGORITHMS.get(algorithm_name)
447 .format(algorithm_name))
453 algorithm_name))
467 p = subprocess.Popen([signing_helper_with_files, algorithm_name,
477 [signing_helper, algorithm_name, self.key_path],
2894 def make_vbmeta_image(self, output, chain_partitions, algorithm_name, argument
2955 algorithm_name, key_path, public_key_metadata_path, descriptors,
2972 def _generate_vbmeta_blob(self, algorithm_name, key_path, argument
3027 alg = ALGORITHMS[algorithm_name]
[all …]
Daftltool1007 algorithm_name = 'SHA256_RSA4096'
1012 raw_signature = rsa_key.sign(algorithm_name, encoded_leaf.getvalue(),
Daftltool.py1007 algorithm_name = 'SHA256_RSA4096'
1012 raw_signature = rsa_key.sign(algorithm_name, encoded_leaf.getvalue(),
/external/python/cpython2/Lib/test/
Dtest_hashlib.py196 def check_unicode(self, algorithm_name): argument
198 expected = hashlib.new(algorithm_name, str(u'spam')).hexdigest()
199 self.check(algorithm_name, u'spam', expected)
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/http/message_compress/
Dmessage_compress_filter.cc214 const char* algorithm_name; in FindCompressionAlgorithm() local
216 grpc_compression_algorithm_name(compression_algorithm, &algorithm_name)); in FindCompressionAlgorithm()
221 algorithm_name); in FindCompressionAlgorithm()
/external/python/asn1crypto/tests/
Dtest_keys.py474 def algorithm_name(self, private_key_file, public_key_file, algorithm, _): member in KeysTests
/external/python/cpython3/Lib/test/
Dtest_hashlib.py371 def check_no_unicode(self, algorithm_name): argument
373 constructors = self.constructors_to_test[algorithm_name]