Home
last modified time | relevance | path

Searched refs:grpc_load_file (Results 1 – 17 of 17) sorted by relevance

/external/grpc-grpc/test/core/iomgr/
Dload_file_test.cc50 error = grpc_load_file(tmp_name, 0, &slice); in test_load_empty_file()
54 error = grpc_load_file(tmp_name, 1, &slice_with_null_term); in test_load_empty_file()
79 error = grpc_load_file(tmp_name, 0, &slice); in test_load_failure()
103 error = grpc_load_file(tmp_name, 0, &slice); in test_load_small_file()
108 error = grpc_load_file(tmp_name, 1, &slice_with_null_term); in test_load_small_file()
140 error = grpc_load_file(tmp_name, 0, &slice); in test_load_big_file()
/external/grpc-grpc/test/core/handshake/
Dverify_peer_options.cc57 grpc_load_file(SSL_CA_PATH, 1, &ca_slice))); in server_thread()
59 grpc_load_file(SSL_CERT_PATH, 1, &cert_slice))); in server_thread()
61 grpc_load_file(SSL_KEY_PATH, 1, &key_slice))); in server_thread()
131 grpc_load_file(SSL_CA_PATH, 1, &ca_slice))); in verify_peer_options_test()
133 grpc_load_file(SSL_CERT_PATH, 1, &cert_slice))); in verify_peer_options_test()
135 grpc_load_file(SSL_KEY_PATH, 1, &key_slice))); in verify_peer_options_test()
238 grpc_load_file(SSL_CERT_PATH, 1, &cert_slice))); in main()
Dserver_ssl_common.cc77 grpc_load_file(SSL_CA_PATH, 1, &ca_slice))); in server_thread()
79 grpc_load_file(SSL_CERT_PATH, 1, &cert_slice))); in server_thread()
81 grpc_load_file(SSL_KEY_PATH, 1, &key_slice))); in server_thread()
Dclient_ssl.cc243 grpc_load_file(SSL_CA_PATH, 1, &ca_slice))); in client_ssl_test()
245 grpc_load_file(SSL_CERT_PATH, 1, &cert_slice))); in client_ssl_test()
247 grpc_load_file(SSL_KEY_PATH, 1, &key_slice))); in client_ssl_test()
/external/grpc-grpc/test/core/bad_ssl/servers/
Dcert.cc44 grpc_load_file("src/core/tsi/test_creds/badserver.pem", 1, &cert_slice))); in main()
47 grpc_load_file("src/core/tsi/test_creds/badserver.key", 1, &key_slice))); in main()
/external/grpc-grpc/test/cpp/util/
Dcli_credentials.cc121 grpc_load_file(FLAGS_ssl_client_cert.c_str(), 1, &cert_slice)); in GetChannelCredentials()
130 grpc_load_file(FLAGS_ssl_client_key.c_str(), 1, &key_slice)); in GetChannelCredentials()
/external/grpc-grpc/src/core/lib/iomgr/
Dload_file.h32 grpc_error* grpc_load_file(const char* filename, int add_null_terminator,
Dload_file.cc33 grpc_error* grpc_load_file(const char* filename, int add_null_terminator, in grpc_load_file() function
/external/grpc-grpc/test/core/util/
Done_corpus_entry_fuzzer.cc40 GRPC_LOG_IF_ERROR("load_file", grpc_load_file(argv[1], 0, &buffer))); in main()
Dfuzzer_corpus_test.cc55 grpc_load_file(GetParam().c_str(), 0, &buffer))); in TEST_P()
/external/grpc-grpc/test/core/security/
Dlinux_system_roots_test.cc71 grpc_load_file("test/core/security/etc/bundle.pem", 1, &roots_bundle)); in TEST()
Dfetch_oauth2.cc39 grpc_load_file(json_refresh_token_file_path, 1, &refresh_token))); in create_refresh_token_creds()
Dcreate_jwt.cc37 "load_file", grpc_load_file(json_key_file_path, 1, &json_key_data))); in create_jwt()
/external/grpc-grpc/src/core/lib/security/security_connector/
Dload_system_roots_linux.cc63 grpc_load_file(kLinuxCertFiles[i], 1, &valid_bundle_slice); in GetSystemRootCerts()
Dsecurity_connector.cc1204 grpc_load_file(default_root_certs_path, 1, &result));
1228 grpc_load_file(installed_roots_path, 1, &result));
/external/grpc-grpc/src/core/lib/security/credentials/google_default/
Dgoogle_default_credentials.cc129 error = grpc_load_file(creds_path, 0, &creds_data); in create_default_creds_from_path()
/external/grpc-grpc/test/core/tsi/
Dssl_transport_security_test.cc381 GPR_ASSERT(grpc_load_file(file_path, 1, &slice) == GRPC_ERROR_NONE); in load_file()