Home
last modified time | relevance | path

Searched refs:key_slice (Results 1 – 11 of 11) sorted by relevance

/external/grpc-grpc/test/core/handshake/
Dverify_peer_options.cc55 grpc_slice ca_slice, cert_slice, key_slice; in server_thread() local
61 grpc_load_file(SSL_KEY_PATH, 1, &key_slice))); in server_thread()
65 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(key_slice); in server_thread()
107 grpc_slice_unref(key_slice); in server_thread()
129 grpc_slice ca_slice, cert_slice, key_slice; in verify_peer_options_test() local
135 grpc_load_file(SSL_KEY_PATH, 1, &key_slice))); in verify_peer_options_test()
139 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(key_slice); in verify_peer_options_test()
191 grpc_slice_unref(key_slice); in verify_peer_options_test()
Dserver_ssl_common.cc75 grpc_slice ca_slice, cert_slice, key_slice; in server_thread() local
81 grpc_load_file(SSL_KEY_PATH, 1, &key_slice))); in server_thread()
85 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(key_slice); in server_thread()
124 grpc_slice_unref(key_slice); in server_thread()
Dclient_ssl.cc241 grpc_slice ca_slice, cert_slice, key_slice; in client_ssl_test() local
247 grpc_load_file(SSL_KEY_PATH, 1, &key_slice))); in client_ssl_test()
251 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(key_slice); in client_ssl_test()
302 grpc_slice_unref(key_slice); in client_ssl_test()
/external/grpc-grpc/test/core/bad_ssl/servers/
Dcert.cc38 grpc_slice cert_slice, key_slice; in main() local
47 grpc_load_file("src/core/tsi/test_creds/badserver.key", 1, &key_slice))); in main()
49 reinterpret_cast<const char*> GRPC_SLICE_START_PTR(key_slice); in main()
60 grpc_slice_unref(key_slice); in main()
/external/grpc-grpc/test/core/security/
Dssl_server_fuzzer.cc72 grpc_slice ca_slice, cert_slice, key_slice; in LLVMFuzzerTestOneInput() local
75 key_slice = grpc_slice_from_static_string(test_server1_key); in LLVMFuzzerTestOneInput()
78 (const char*)GRPC_SLICE_START_PTR(key_slice); in LLVMFuzzerTestOneInput()
117 grpc_slice_unref(key_slice); in LLVMFuzzerTestOneInput()
/external/grpc-grpc/test/cpp/util/
Dcli_credentials.cc127 grpc_slice key_slice = grpc_empty_slice(); in GetChannelCredentials() local
130 grpc_load_file(FLAGS_ssl_client_key.c_str(), 1, &key_slice)); in GetChannelCredentials()
132 grpc::StringFromCopiedSlice(key_slice); in GetChannelCredentials()
133 grpc_slice_unref(key_slice); in GetChannelCredentials()
/external/grpc-grpc/src/core/tsi/ssl/session_cache/
Dssl_session_cache.cc127 grpc_slice key_slice = grpc_slice_from_copied_string(key); in Put() local
128 node = grpc_core::New<Node>(key_slice, std::move(session)); in Put()
146 grpc_slice key_slice = grpc_slice_from_static_string(key); in Get() local
147 Node* node = FindLocked(key_slice); in Get()
/external/grpc-grpc/src/ruby/ext/grpc/
Drb_call.c400 grpc_slice key_slice; in grpc_rb_md_ary_fill_hash_cb() local
405 key_slice = grpc_slice_from_static_string(rb_id2name(SYM2ID(key))); in grpc_rb_md_ary_fill_hash_cb()
407 key_slice = in grpc_rb_md_ary_fill_hash_cb()
415 if (!grpc_header_key_is_legal(key_slice)) { in grpc_rb_md_ary_fill_hash_cb()
416 tmp_str = grpc_slice_to_c_string(key_slice); in grpc_rb_md_ary_fill_hash_cb()
432 if (!grpc_is_binary_header(key_slice) && in grpc_rb_md_ary_fill_hash_cb()
441 md_ary->metadata[md_ary->count].key = key_slice; in grpc_rb_md_ary_fill_hash_cb()
448 if (!grpc_is_binary_header(key_slice) && in grpc_rb_md_ary_fill_hash_cb()
457 md_ary->metadata[md_ary->count].key = key_slice; in grpc_rb_md_ary_fill_hash_cb()
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dmetadata.pyx.pxi50 cdef tuple _metadatum(grpc_slice key_slice, grpc_slice value_slice): argument
51 cdef bytes key = _slice_bytes(key_slice)
Dmetadata.pxd.pxi23 cdef tuple _metadatum(grpc_slice key_slice, grpc_slice value_slice) argument
/external/grpc-grpc/src/core/lib/transport/
Dmetadata.cc336 grpc_slice key_slice = in grpc_mdelem_from_grpc_metadata() local
341 key_slice, value_slice, in grpc_mdelem_from_grpc_metadata()