/external/grpc-grpc/src/core/lib/transport/ |
D | transport_op_string.cc | 38 gpr_strvec_add(b, gpr_strdup("key=")); in put_metadata() 42 gpr_strvec_add(b, gpr_strdup(" value=")); in put_metadata() 50 if (m != md.list.head) gpr_strvec_add(b, gpr_strdup(", ")); in put_metadata_list() 69 gpr_strvec_add(&b, gpr_strdup(" ")); in grpc_transport_stream_op_batch_string() 70 gpr_strvec_add(&b, gpr_strdup("SEND_INITIAL_METADATA{")); in grpc_transport_stream_op_batch_string() 73 gpr_strvec_add(&b, gpr_strdup("}")); in grpc_transport_stream_op_batch_string() 77 gpr_strvec_add(&b, gpr_strdup(" ")); in grpc_transport_stream_op_batch_string() 86 gpr_strdup("SEND_MESSAGE(flag and length unknown, already orphaned)"); in grpc_transport_stream_op_batch_string() 92 gpr_strvec_add(&b, gpr_strdup(" ")); in grpc_transport_stream_op_batch_string() 93 gpr_strvec_add(&b, gpr_strdup("SEND_TRAILING_METADATA{")); in grpc_transport_stream_op_batch_string() [all …]
|
/external/grpc-grpc/src/core/lib/http/ |
D | format_request.cc | 35 gpr_strvec_add(buf, gpr_strdup(request->http.path)); in fill_common_header() 36 gpr_strvec_add(buf, gpr_strdup(" HTTP/1.0\r\n")); in fill_common_header() 38 gpr_strvec_add(buf, gpr_strdup("Host: ")); in fill_common_header() 39 gpr_strvec_add(buf, gpr_strdup(request->host)); in fill_common_header() 40 gpr_strvec_add(buf, gpr_strdup("\r\n")); in fill_common_header() 42 gpr_strvec_add(buf, gpr_strdup("Connection: close\r\n")); in fill_common_header() 44 gpr_strdup("User-Agent: " GRPC_HTTPCLI_USER_AGENT "\r\n")); in fill_common_header() 47 gpr_strvec_add(buf, gpr_strdup(request->http.hdrs[i].key)); in fill_common_header() 48 gpr_strvec_add(buf, gpr_strdup(": ")); in fill_common_header() 49 gpr_strvec_add(buf, gpr_strdup(request->http.hdrs[i].value)); in fill_common_header() [all …]
|
/external/grpc-grpc/test/core/channel/ |
D | minimal_stack_is_minimal_test.cc | 144 if (v.count != 0) gpr_strvec_add(&v, gpr_strdup(", ")); in check_stack() 145 gpr_strvec_add(&v, gpr_strdup(a)); in check_stack() 158 if (v.count != 0) gpr_strvec_add(&v, gpr_strdup(", ")); in check_stack() 159 gpr_strvec_add(&v, gpr_strdup(name)); in check_stack() 169 gpr_strvec_add(&v, gpr_strdup("{")); in check_stack() 171 if (i > 0) gpr_strvec_add(&v, gpr_strdup(", ")); in check_stack() 172 gpr_strvec_add(&v, gpr_strdup(channel_args->args[i].key)); in check_stack() 173 gpr_strvec_add(&v, gpr_strdup("=")); in check_stack() 182 gpr_strvec_add(&v, gpr_strdup(channel_args->args[i].value.string)); in check_stack() 192 gpr_strvec_add(&v, gpr_strdup("}")); in check_stack()
|
/external/grpc-grpc/src/core/lib/surface/ |
D | call_log_batch.cc | 33 gpr_strvec_add(b, gpr_strdup("(nil)")); in add_metadata() 37 gpr_strvec_add(b, gpr_strdup("\nkey=")); in add_metadata() 40 gpr_strvec_add(b, gpr_strdup(" value=")); in add_metadata() 55 gpr_strvec_add(&b, gpr_strdup("SEND_INITIAL_METADATA")); in grpc_op_string() 65 gpr_strvec_add(&b, gpr_strdup("SEND_CLOSE_FROM_CLIENT")); in grpc_op_string() 76 gpr_strvec_add(&b, gpr_strdup("(null)")); in grpc_op_string()
|
D | event_string.cc | 47 if (ev == nullptr) return gpr_strdup("null"); in grpc_event_string() 53 gpr_strvec_add(&buf, gpr_strdup("QUEUE_TIMEOUT")); in grpc_event_string() 56 gpr_strvec_add(&buf, gpr_strdup("QUEUE_SHUTDOWN")); in grpc_event_string() 59 gpr_strvec_add(&buf, gpr_strdup("OP_COMPLETE: ")); in grpc_event_string()
|
/external/grpc-grpc/src/core/lib/security/credentials/ssl/ |
D | ssl_credentials.cc | 97 config->pem_root_certs = gpr_strdup(pem_root_certs); in ssl_build_config() 105 gpr_strdup(pem_key_cert_pair->cert_chain); in ssl_build_config() 107 gpr_strdup(pem_key_cert_pair->private_key); in ssl_build_config() 176 tsi_pairs[i].cert_chain = gpr_strdup(pem_key_cert_pairs[i].cert_chain); in grpc_convert_grpc_to_tsi_cert_pairs() 177 tsi_pairs[i].private_key = gpr_strdup(pem_key_cert_pairs[i].private_key); in grpc_convert_grpc_to_tsi_cert_pairs() 189 config->pem_root_certs = gpr_strdup(pem_root_certs); in ssl_build_server_config() 204 config->pem_root_certs = gpr_strdup(pem_root_certs); in grpc_ssl_server_certificate_config_create() 216 gpr_strdup(pem_key_cert_pairs[i].cert_chain); in grpc_ssl_server_certificate_config_create() 218 gpr_strdup(pem_key_cert_pairs[i].private_key); in grpc_ssl_server_certificate_config_create()
|
/external/grpc-grpc/src/core/lib/security/credentials/alts/ |
D | alts_credentials.cc | 82 ? gpr_strdup(GRPC_ALTS_HANDSHAKER_SERVICE_URL) in grpc_alts_credentials_create_customized() 83 : gpr_strdup(handshaker_service_url); in grpc_alts_credentials_create_customized() 101 ? gpr_strdup(GRPC_ALTS_HANDSHAKER_SERVICE_URL) in grpc_alts_server_credentials_create_customized() 102 : gpr_strdup(handshaker_service_url); in grpc_alts_server_credentials_create_customized()
|
/external/grpc-grpc/src/core/lib/gpr/ |
D | string_util_windows.cc | 63 LPSTR gpr_tchar_to_char(LPCTSTR input) { return (LPSTR)gpr_strdup(input); } in gpr_tchar_to_char() 65 LPTSTR gpr_char_to_tchar(LPCTSTR input) { return (LPTSTR)gpr_strdup(input); } in gpr_char_to_tchar() 76 if (status == 0) return gpr_strdup("Unable to retrieve error string"); in gpr_format_message()
|
D | env_posix.cc | 39 return result == nullptr ? result : gpr_strdup(result); in gpr_getenv()
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | resolve_address_windows.cc | 83 port = gpr_strdup(default_port); in windows_blocking_resolve_address() 157 r->name = gpr_strdup(name); in windows_resolve_address() 158 r->default_port = gpr_strdup(default_port); in windows_resolve_address()
|
D | resolve_address_posix.cc | 77 port = gpr_strdup(default_port); in posix_blocking_resolve_address() 172 r->name = gpr_strdup(name); in posix_resolve_address() 173 r->default_port = gpr_strdup(default_port); in posix_resolve_address()
|
D | tcp_server_utils_posix_ifaddrs.cc | 135 addr_str = gpr_strdup("<error>"); in grpc_tcp_server_add_all_local_addrs() 153 err_str = gpr_strdup("Failed to add listener"); in grpc_tcp_server_add_all_local_addrs()
|
D | resolve_address_custom.cc | 53 r->port = gpr_strdup(svc[i][1]); in retry_named_port_failure() 110 *port = gpr_strdup(default_port); in try_split_host_port()
|
/external/grpc-grpc/src/core/ext/filters/client_channel/ |
D | resolver_registry.cc | 35 RegistryState() : default_prefix_(gpr_strdup("dns:///")) {} in RegistryState() 40 default_prefix_.reset(gpr_strdup(default_resolver_prefix)); in SetDefaultPrefix() 174 return UniquePtr<char>(canonical_target == nullptr ? gpr_strdup(target) in AddDefaultPrefixIfNeeded()
|
D | retry_throttle.cc | 122 return gpr_strdup(static_cast<const char*>(key)); in copy_server_name() 180 g_avl = grpc_avl_add(g_avl, gpr_strdup(server_name), in GetDataForServer()
|
D | lb_policy_factory.cc | 51 gpr_strdup(new_addresses->addresses[i].balancer_name); in grpc_lb_addresses_copy() 71 target->balancer_name = gpr_strdup(balancer_name); in grpc_lb_addresses_set_address()
|
/external/grpc-grpc/src/core/lib/debug/ |
D | stats.cc | 148 gpr_strvec_add(&v, gpr_strdup("{")); in grpc_stats_data_as_json() 171 gpr_strvec_add(&v, gpr_strdup("]")); in grpc_stats_data_as_json() 174 gpr_strvec_add(&v, gpr_strdup("}")); in grpc_stats_data_as_json()
|
/external/grpc-grpc/src/core/lib/security/credentials/jwt/ |
D | jwt_credentials.cc | 90 c->cached.service_url = gpr_strdup(context.service_url); in jwt_get_request_metadata() 146 char* json_copy = gpr_strdup(json_key); in redact_private_key() 150 return gpr_strdup("<Json failed to parse.>"); in redact_private_key()
|
D | jwt_verifier.cc | 360 ctx->audience = gpr_strdup(audience); in verifier_cb_ctx_create() 697 req.host = gpr_strdup(jwks_uri); in on_openid_config_retrieved() 743 mapping->key_url_prefix = gpr_strdup(key_url_prefix); in verifier_put_mapping() 746 v->mappings[v->num_mappings].email_domain = gpr_strdup(email_domain); in verifier_put_mapping() 747 v->mappings[v->num_mappings].key_url_prefix = gpr_strdup(key_url_prefix); in verifier_put_mapping() 807 req.host = gpr_strdup(mapping->key_url_prefix); in retrieve_key_and_verify() 819 req.host = gpr_strdup(strstr(iss, "https://") == iss ? iss + 8 : iss); in retrieve_key_and_verify() 822 req.http.path = gpr_strdup(GRPC_OPENID_CONFIG_URL_SUFFIX); in retrieve_key_and_verify()
|
/external/grpc-grpc/test/core/slice/ |
D | slice_weak_hash_table_test.cc | 50 table->Add(key, UniquePtr<char>(gpr_strdup("value"))); in TEST() 81 table->Add(key, UniquePtr<char>(gpr_strdup(oss.str().c_str()))); in TEST()
|
/external/grpc-grpc/test/core/json/ |
D | json_test.cc | 144 char* scratchpad = gpr_strdup(pair->input); in test_pairs() 172 char* scratchpad = gpr_strdup("[[],[],[]]"); in test_atypical()
|
/external/grpc-grpc/src/core/lib/security/context/ |
D | security_context.cc | 282 prop->name = gpr_strdup(name); 298 prop->name = gpr_strdup(name); 299 prop->value = gpr_strdup(value);
|
/external/grpc-grpc/include/grpc/support/ |
D | string_util.h | 34 GPRAPI char* gpr_strdup(const char* src);
|
/external/grpc-grpc/test/core/http/ |
D | httpcli_test.cc | 172 root = gpr_strdup("."); in main() 177 args[0] = gpr_strdup(argv[1]); in main()
|
D | httpscli_test.cc | 172 root = gpr_strdup("."); in main() 177 args[0] = gpr_strdup(argv[1]); in main()
|