/external/grpc-grpc/test/core/handshake/ |
D | verify_peer_options.cc | 55 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()
|
D | server_ssl_common.cc | 75 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()
|
D | client_ssl.cc | 241 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/ |
D | cert.cc | 38 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/ |
D | ssl_server_fuzzer.cc | 72 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/ |
D | cli_credentials.cc | 127 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/ |
D | ssl_session_cache.cc | 127 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/ |
D | rb_call.c | 400 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/ |
D | metadata.pyx.pxi | 50 cdef tuple _metadatum(grpc_slice key_slice, grpc_slice value_slice): argument 51 cdef bytes key = _slice_bytes(key_slice)
|
D | metadata.pxd.pxi | 23 cdef tuple _metadatum(grpc_slice key_slice, grpc_slice value_slice) argument
|
/external/grpc-grpc/src/core/lib/transport/ |
D | metadata.cc | 336 grpc_slice key_slice = in grpc_mdelem_from_grpc_metadata() local 341 key_slice, value_slice, in grpc_mdelem_from_grpc_metadata()
|