/external/grpc-grpc/src/core/lib/transport/ |
D | service_config.cc | 36 UniquePtr<ServiceConfig> ServiceConfig::Create(const char* json) { in Create() 43 return MakeUnique<ServiceConfig>(std::move(json_string), json_tree); in Create() 46 ServiceConfig::ServiceConfig(UniquePtr<char> json_string, grpc_json* json_tree) in ServiceConfig() function in grpc_core::ServiceConfig 49 ServiceConfig::~ServiceConfig() { grpc_json_destroy(json_tree_); } in ~ServiceConfig() 51 const char* ServiceConfig::GetLoadBalancingPolicyName() const { in GetLoadBalancingPolicyName() 68 int ServiceConfig::CountNamesInMethodConfig(grpc_json* json) { in CountNamesInMethodConfig() 82 UniquePtr<char> ServiceConfig::ParseJsonMethodName(grpc_json* json) { in ParseJsonMethodName()
|
D | service_config.h | 57 class ServiceConfig { 61 static UniquePtr<ServiceConfig> Create(const char* json); 63 ~ServiceConfig(); 103 ServiceConfig(UniquePtr<char> json_string, grpc_json* json_tree); 129 void ServiceConfig::ParseGlobalParams(ProcessJson<T> process_json, in ParseGlobalParams() 143 bool ServiceConfig::ParseJsonMethodConfig( in ParseJsonMethodConfig() 175 ServiceConfig::CreateMethodConfigTable(CreateValue<T> create_value) { in CreateMethodConfigTable() 225 RefCountedPtr<T> ServiceConfig::MethodConfigTableLookup( in MethodConfigTableLookup()
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/ |
D | service_config.cc | 33 RefCountedPtr<ServiceConfig> ServiceConfig::Create( in Create() 39 return MakeRefCounted<ServiceConfig>(args, std::string(json_string), in Create() 43 ServiceConfig::ServiceConfig(const grpc_channel_args* args, in ServiceConfig() function in grpc_core::ServiceConfig 66 ServiceConfig::~ServiceConfig() { in ~ServiceConfig() 72 grpc_error* ServiceConfig::ParseJsonMethodConfig(const grpc_channel_args* args, in ParseJsonMethodConfig() 133 grpc_error* ServiceConfig::ParsePerMethodParams(const grpc_channel_args* args) { in ParsePerMethodParams() 156 std::string ServiceConfig::ParseJsonMethodName(const Json& json, in ParseJsonMethodName() 206 ServiceConfig::GetMethodParsedConfigVector(const grpc_slice& path) const { in GetMethodParsedConfigVector()
|
D | service_config.h | 64 class ServiceConfig : public RefCounted<ServiceConfig> { 68 static RefCountedPtr<ServiceConfig> Create(const grpc_channel_args* args, 72 ServiceConfig(const grpc_channel_args* args, std::string json_string, 74 ~ServiceConfig() override;
|
D | service_config_call_data.h | 40 RefCountedPtr<ServiceConfig> service_config, in ServiceConfigCallData() 52 RefCountedPtr<ServiceConfig> service_config, in ServiceConfigCallData() 58 ServiceConfig* service_config() { return service_config_.get(); } in service_config() 79 RefCountedPtr<ServiceConfig> service_config_;
|
D | service_config_channel_arg_filter.cc | 40 auto service_config = ServiceConfig::Create( in ServiceConfigChannelArgChannelData() 51 RefCountedPtr<ServiceConfig> service_config() const { in service_config() 56 RefCountedPtr<ServiceConfig> service_config_; 65 RefCountedPtr<ServiceConfig> service_config = chand->service_config(); in ServiceConfigChannelArgCallData()
|
D | config_selector.h | 61 RefCountedPtr<ServiceConfig> service_config; 97 explicit DefaultConfigSelector(RefCountedPtr<ServiceConfig> service_config) in DefaultConfigSelector() 120 RefCountedPtr<ServiceConfig> service_config_;
|
D | resolver.h | 57 RefCountedPtr<ServiceConfig> service_config;
|
D | client_channel.cc | 169 RefCountedPtr<ServiceConfig> service_config() const { in service_config() 305 RefCountedPtr<ServiceConfig> service_config, 330 RefCountedPtr<ServiceConfig> default_service_config_; 344 RefCountedPtr<ServiceConfig> service_config_; 364 RefCountedPtr<ServiceConfig> saved_service_config_; 1914 ServiceConfig::Create(args->channel_args, service_config_json, error); in ChannelData() 2037 RefCountedPtr<ServiceConfig> service_config; in OnResolverResultChangedLocked() 2238 RefCountedPtr<ServiceConfig> service_config, in UpdateServiceConfigInControlPlaneLocked() 2279 RefCountedPtr<ServiceConfig> service_config = saved_service_config_; in UpdateServiceConfigInDataPlaneLocked() 2421 RefCountedPtr<ServiceConfig> service_config_to_unref; in UpdateStateAndPickerLocked()
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/xds/ |
D | xds_resolver.cc | 159 RefCountedPtr<ServiceConfig> method_config; 168 grpc_error* CreateMethodConfig(RefCountedPtr<ServiceConfig>* method_config, 181 grpc_error* CreateServiceConfig(RefCountedPtr<ServiceConfig>* service_config); 313 RefCountedPtr<ServiceConfig>* method_config, const XdsApi::Route& route) { in CreateMethodConfig() 335 ServiceConfig::Create(resolver_->args_, json.c_str(), &error); in CreateMethodConfig() 676 ServiceConfig::Create(args_, "{}", &result.service_config_error); in OnResourceDoesNotExist() 683 RefCountedPtr<ServiceConfig>* service_config) { in CreateServiceConfig() 710 *service_config = ServiceConfig::Create(args_, json.c_str(), &error); in CreateServiceConfig()
|
/external/grpc-grpc/src/core/ext/filters/message_size/ |
D | message_size_filter.cc | 224 grpc_core::ServiceConfig::MethodConfigTableLookup( in init_call_elem() 293 grpc_core::UniquePtr<grpc_core::ServiceConfig> service_config = in init_channel_elem() 294 grpc_core::ServiceConfig::Create(service_config_str); in init_channel_elem()
|
/external/rust/crates/grpcio-sys/grpc/src/cpp/common/ |
D | validate_service_config.cc | 29 grpc_core::ServiceConfig::Create(/*args=*/nullptr, in ValidateServiceConfigJSON()
|
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/ |
D | dns_resolver_ares.cc | 309 grpc_core::UniquePtr<grpc_core::ServiceConfig> service_config; in OnResolvedLocked() 321 grpc_core::ServiceConfig::Create(service_config_string); in OnResolvedLocked()
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/ |
D | dns_resolver_ares.cc | 347 result.service_config = ServiceConfig::Create( in OnResolvedLocked()
|
/external/grpc-grpc/src/core/ext/filters/client_channel/ |
D | client_channel.cc | 449 grpc_core::UniquePtr<grpc_core::ServiceConfig> service_config = in get_service_config_from_resolver_result_locked() 450 grpc_core::ServiceConfig::Create(service_config_json); in get_service_config_from_resolver_result_locked() 2877 calld->method_params = grpc_core::ServiceConfig::MethodConfigTableLookup( in apply_service_config_to_call_locked()
|