/third_party/grpc/src/core/ext/filters/client_channel/ |
D | resolver_result_parsing.cc | 78 auto it = json.object_value().find("maxAttempts"); in ParseRetryPolicy() 79 if (it != json.object_value().end()) { in ParseRetryPolicy() 98 if (ParseJsonObjectFieldAsDuration(json.object_value(), "initialBackoff", in ParseRetryPolicy() 106 if (ParseJsonObjectFieldAsDuration(json.object_value(), "maxBackoff", in ParseRetryPolicy() 113 it = json.object_value().find("backoffMultiplier"); in ParseRetryPolicy() 114 if (it != json.object_value().end()) { in ParseRetryPolicy() 130 it = json.object_value().find("retryableStatusCodes"); in ParseRetryPolicy() 131 if (it != json.object_value().end()) { in ParseRetryPolicy() 182 auto it = json.object_value().find("maxTokens"); in ParseRetryThrottling() 183 if (it == json.object_value().end()) { in ParseRetryThrottling() [all …]
|
D | service_config.cc | 88 auto it = json.object_value().find("name"); in ParseJsonMethodConfig() 89 if (it != json.object_value().end()) { in ParseJsonMethodConfig() 135 auto it = json_.object_value().find("methodConfig"); in ParsePerMethodParams() 136 if (it != json_.object_value().end()) { in ParsePerMethodParams() 165 auto it = json.object_value().find("service"); in ParseJsonMethodName() 166 if (it != json.object_value().end() && in ParseJsonMethodName() 179 it = json.object_value().find("method"); in ParseJsonMethodName() 180 if (it != json.object_value().end() && in ParseJsonMethodName()
|
D | lb_policy_registry.cc | 137 if (lb_config.object_value().empty()) { in ParseLoadBalancingConfigHelper() 141 if (lb_config.object_value().size() > 1) { in ParseLoadBalancingConfigHelper() 144 auto it = lb_config.object_value().begin(); in ParseLoadBalancingConfigHelper()
|
/third_party/grpc/src/core/lib/security/credentials/external/ |
D | external_account_credentials.cc | 75 auto it = json.object_value().find("type"); in Create() 76 if (it == json.object_value().end()) { in Create() 91 it = json.object_value().find("audience"); in Create() 92 if (it == json.object_value().end()) { in Create() 103 it = json.object_value().find("subject_token_type"); in Create() 104 if (it == json.object_value().end()) { in Create() 115 it = json.object_value().find("service_account_impersonation_url"); in Create() 116 if (it != json.object_value().end()) { in Create() 119 it = json.object_value().find("token_url"); in Create() 120 if (it == json.object_value().end()) { in Create() [all …]
|
D | file_external_account_credentials.cc | 44 auto it = options.credential_source.object_value().find("file"); in FileExternalAccountCredentials() 45 if (it == options.credential_source.object_value().end()) { in FileExternalAccountCredentials() 55 it = options.credential_source.object_value().find("format"); in FileExternalAccountCredentials() 56 if (it != options.credential_source.object_value().end()) { in FileExternalAccountCredentials() 63 auto format_it = format_json.object_value().find("type"); in FileExternalAccountCredentials() 64 if (format_it == format_json.object_value().end()) { in FileExternalAccountCredentials() 76 format_it = format_json.object_value().find("subject_token_field_name"); in FileExternalAccountCredentials() 77 if (format_it == format_json.object_value().end()) { in FileExternalAccountCredentials() 118 content_json.object_value().find(format_subject_token_field_name_); in RetrieveSubjectToken() 119 if (content_it == content_json.object_value().end()) { in RetrieveSubjectToken()
|
D | url_external_account_credentials.cc | 42 auto it = options.credential_source.object_value().find("url"); in UrlExternalAccountCredentials() 43 if (it == options.credential_source.object_value().end()) { in UrlExternalAccountCredentials() 65 it = options.credential_source.object_value().find("headers"); in UrlExternalAccountCredentials() 66 if (it != options.credential_source.object_value().end()) { in UrlExternalAccountCredentials() 72 for (auto const& header : it->second.object_value()) { in UrlExternalAccountCredentials() 76 it = options.credential_source.object_value().find("format"); in UrlExternalAccountCredentials() 77 if (it != options.credential_source.object_value().end()) { in UrlExternalAccountCredentials() 84 auto format_it = format_json.object_value().find("type"); in UrlExternalAccountCredentials() 85 if (format_it == format_json.object_value().end()) { in UrlExternalAccountCredentials() 97 format_it = format_json.object_value().find("subject_token_field_name"); in UrlExternalAccountCredentials() [all …]
|
D | aws_external_account_credentials.cc | 74 auto it = options.credential_source.object_value().find("environment_id"); in AwsExternalAccountCredentials() 75 if (it == options.credential_source.object_value().end()) { in AwsExternalAccountCredentials() 90 it = options.credential_source.object_value().find("region_url"); in AwsExternalAccountCredentials() 91 if (it == options.credential_source.object_value().end()) { in AwsExternalAccountCredentials() 102 it = options.credential_source.object_value().find("url"); in AwsExternalAccountCredentials() 103 if (it != options.credential_source.object_value().end() && in AwsExternalAccountCredentials() 107 it = options.credential_source.object_value().find( in AwsExternalAccountCredentials() 109 if (it == options.credential_source.object_value().end()) { in AwsExternalAccountCredentials() 313 auto it = json.object_value().find("AccessKeyId"); in OnRetrieveSigningKeysInternal() 314 if (it != json.object_value().end() && in OnRetrieveSigningKeysInternal() [all …]
|
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/xds/ |
D | xds_routing.cc | 730 auto it = json.object_value().find("actions"); in ParseLoadBalancingConfig() 731 if (it == json.object_value().end()) { in ParseLoadBalancingConfig() 738 for (const auto& p : it->second.object_value()) { in ParseLoadBalancingConfig() 767 it = json.object_value().find("routes"); in ParseLoadBalancingConfig() 768 if (it == json.object_value().end()) { in ParseLoadBalancingConfig() 821 auto it = json.object_value().find("childPolicy"); in ParseChildConfig() 822 if (it == json.object_value().end()) { in ParseChildConfig() 853 auto it = json.object_value().find("prefix"); in ParseRoute() 854 if (it != json.object_value().end()) { in ParseRoute() 865 it = json.object_value().find("path"); in ParseRoute() [all …]
|
D | lrs.cc | 388 auto it = json.object_value().find("childPolicy"); in ParseLoadBalancingConfig() 389 if (it == json.object_value().end()) { in ParseLoadBalancingConfig() 406 it = json.object_value().find("clusterName"); in ParseLoadBalancingConfig() 407 if (it == json.object_value().end()) { in ParseLoadBalancingConfig() 418 it = json.object_value().find("edsServiceName"); in ParseLoadBalancingConfig() 419 if (it != json.object_value().end()) { in ParseLoadBalancingConfig() 429 it = json.object_value().find("locality"); in ParseLoadBalancingConfig() 430 if (it == json.object_value().end()) { in ParseLoadBalancingConfig() 443 it = json.object_value().find("lrsLoadReportingServerName"); in ParseLoadBalancingConfig() 444 if (it == json.object_value().end()) { in ParseLoadBalancingConfig() [all …]
|
D | xds_cluster_impl.cc | 643 auto it = json.object_value().find("childPolicy"); in ParseLoadBalancingConfig() 644 if (it == json.object_value().end()) { in ParseLoadBalancingConfig() 661 it = json.object_value().find("clusterName"); in ParseLoadBalancingConfig() 662 if (it == json.object_value().end()) { in ParseLoadBalancingConfig() 673 it = json.object_value().find("edsServiceName"); in ParseLoadBalancingConfig() 674 if (it != json.object_value().end()) { in ParseLoadBalancingConfig() 684 it = json.object_value().find("lrsLoadReportingServerName"); in ParseLoadBalancingConfig() 685 if (it != json.object_value().end()) { in ParseLoadBalancingConfig() 695 it = json.object_value().find("maxConcurrentRequests"); in ParseLoadBalancingConfig() 696 if (it != json.object_value().end()) { in ParseLoadBalancingConfig() [all …]
|
D | xds_cluster_resolver.cc | 881 const auto& xds_lb_policy = config_->xds_lb_policy().object_value(); in CreateChildPolicyConfigLocked() 929 Json::Object ring_hash_experimental_policy = it->second.object_value(); in CreateChildPolicyConfigLocked() 1130 auto it = json.object_value().find("discoveryMechanisms"); in ParseLoadBalancingConfig() 1131 if (it == json.object_value().end()) { in ParseLoadBalancingConfig() 1163 it = json.object_value().find("xdsLbPolicy"); in ParseLoadBalancingConfig() 1164 if (it != json.object_value().end()) { in ParseLoadBalancingConfig() 1176 const Json::Object& policy = array[i].object_value(); in ParseLoadBalancingConfig() 1194 const Json::Object& ring_hash = policy_it->second.object_value(); in ParseLoadBalancingConfig() 1272 auto it = json.object_value().find("clusterName"); in ParseDiscoveryMechanism() 1273 if (it == json.object_value().end()) { in ParseDiscoveryMechanism() [all …]
|
D | eds.cc | 810 auto it = json.object_value().find("edsServiceName"); in ParseLoadBalancingConfig() 811 if (it != json.object_value().end()) { in ParseLoadBalancingConfig() 821 it = json.object_value().find("clusterName"); in ParseLoadBalancingConfig() 822 if (it == json.object_value().end()) { in ParseLoadBalancingConfig() 833 it = json.object_value().find("lrsLoadReportingServerName"); in ParseLoadBalancingConfig() 834 if (it != json.object_value().end()) { in ParseLoadBalancingConfig() 844 it = json.object_value().find("localityPickingPolicy"); in ParseLoadBalancingConfig() 845 if (it == json.object_value().end()) { in ParseLoadBalancingConfig() 867 it = json.object_value().find("endpointPickingPolicy"); in ParseLoadBalancingConfig() 868 if (it == json.object_value().end()) { in ParseLoadBalancingConfig()
|
D | xds_cluster_manager.cc | 633 auto it = json.object_value().find("children"); in ParseLoadBalancingConfig() 634 if (it == json.object_value().end()) { in ParseLoadBalancingConfig() 641 for (const auto& p : it->second.object_value()) { in ParseLoadBalancingConfig() 688 auto it = json.object_value().find("childPolicy"); in ParseChildConfig() 689 if (it == json.object_value().end()) { in ParseChildConfig()
|
/third_party/grpc/src/core/ext/xds/ |
D | google_mesh_ca_certificate_provider_factory.cc | 207 if (ParseJsonObjectField(config_json.object_value(), "server", &server, in Parse() 217 config_json.object_value(), "certificate_lifetime", in Parse() 222 config_json.object_value(), "renewal_grace_period", in Parse() 227 if (ParseJsonObjectField(config_json.object_value(), "key_type", &key_type, in Parse() 234 if (!ParseJsonObjectField(config_json.object_value(), "key_size", in Parse() 238 if (!ParseJsonObjectField(config_json.object_value(), "location", in Parse()
|
D | file_watcher_certificate_provider_factory.cc | 75 ParseJsonObjectField(config_json.object_value(), "certificate_file", in Parse() 77 ParseJsonObjectField(config_json.object_value(), "private_key_file", in Parse() 85 ParseJsonObjectField(config_json.object_value(), "ca_certificate_file", in Parse() 93 config_json.object_value(), "refresh_interval", in Parse()
|
/third_party/grpc/src/core/lib/security/credentials/jwt/ |
D | jwt_verifier.cc | 142 it = json.object_value().find("alg"); in jose_header_from_json() 143 if (it == json.object_value().end()) { in jose_header_from_json() 160 it = json.object_value().find("typ"); in jose_header_from_json() 161 if (it != json.object_value().end()) { in jose_header_from_json() 166 it = json.object_value().find("kid"); in jose_header_from_json() 167 if (it != json.object_value().end()) { in jose_header_from_json() 248 for (const auto& p : claims->json->object_value()) { in grpc_jwt_claims_from_json() 426 auto it = json.object_value().find(name); in find_property_by_name() 427 if (it == json.object_value().end()) { in find_property_by_name() 519 it = json.object_value().find("n"); in pkey_from_jwk() [all …]
|
/third_party/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/ |
D | dns_resolver_ares.cc | 247 auto it = choice.object_value().find("clientLanguage"); in ChooseServiceConfig() 248 if (it != choice.object_value().end()) { in ChooseServiceConfig() 257 it = choice.object_value().find("clientHostname"); in ChooseServiceConfig() 258 if (it != choice.object_value().end()) { in ChooseServiceConfig() 271 it = choice.object_value().find("percentage"); in ChooseServiceConfig() 272 if (it != choice.object_value().end()) { in ChooseServiceConfig() 288 it = choice.object_value().find("serviceConfig"); in ChooseServiceConfig() 289 if (it == choice.object_value().end()) { in ChooseServiceConfig()
|
/third_party/grpc/src/core/lib/security/util/ |
D | json_util.cc | 41 auto it = json.object_value().find(prop_name); in grpc_json_get_string_property() 42 if (it == json.object_value().end()) { in grpc_json_get_string_property()
|
/third_party/grpc/test/core/channel/ |
D | channelz_test.cc | 69 const Json::Object& object = value.object_value(); in GetUuidListFromArray() 75 const Json::Object& ref_object = it->second.object_value(); in GetUuidListFromArray() 95 auto it = json.object_value().find("end"); in ValidateJsonEnd() 97 ASSERT_NE(it, json.object_value().end()); in ValidateJsonEnd() 100 ASSERT_EQ(it, json.object_value().end()); in ValidateJsonEnd() 217 ValidateChildInteger(data.object_value(), "callsStarted", args.calls_started); in ValidateCounters() 218 ValidateChildInteger(data.object_value(), "callsFailed", args.calls_failed); in ValidateCounters() 219 ValidateChildInteger(data.object_value(), "callsSucceeded", in ValidateCounters()
|
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/weighted_target/ |
D | weighted_target.cc | 648 auto it = json.object_value().find("targets"); in ParseLoadBalancingConfig() 649 if (it == json.object_value().end()) { in ParseLoadBalancingConfig() 656 for (const auto& p : it->second.object_value()) { in ParseLoadBalancingConfig() 692 auto it = json.object_value().find("weight"); in ParseChildConfig() 693 if (it == json.object_value().end()) { in ParseChildConfig() 712 it = json.object_value().find("childPolicy"); in ParseChildConfig() 713 if (it != json.object_value().end()) { in ParseChildConfig()
|
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/priority/ |
D | priority.cc | 802 auto it = json.object_value().find("children"); in ParseLoadBalancingConfig() 803 if (it == json.object_value().end()) { in ParseLoadBalancingConfig() 810 const Json::Object& object = it->second.object_value(); in ParseLoadBalancingConfig() 820 auto it2 = element.object_value().find("config"); in ParseLoadBalancingConfig() 821 if (it2 == element.object_value().end()) { in ParseLoadBalancingConfig() 834 element.object_value().find("ignore_reresolution_requests"); in ParseLoadBalancingConfig() 835 if (it3 != element.object_value().end()) { in ParseLoadBalancingConfig() 863 it = json.object_value().find("priorities"); in ParseLoadBalancingConfig() 864 if (it == json.object_value().end()) { in ParseLoadBalancingConfig()
|
/third_party/grpc/src/core/ext/filters/message_size/ |
D | message_size_filter.cc | 75 auto it = json.object_value().find("maxRequestMessageBytes"); in ParsePerMethodParams() 76 if (it != json.object_value().end()) { in ParsePerMethodParams() 92 it = json.object_value().find("maxResponseMessageBytes"); in ParsePerMethodParams() 93 if (it != json.object_value().end()) { in ParsePerMethodParams()
|
/third_party/grpc/src/core/lib/security/credentials/oauth2/ |
D | oauth2_credentials.cc | 181 it = json.object_value().find("access_token"); in grpc_oauth2_token_fetcher_credentials_parse_server_response() 182 if (it == json.object_value().end() || in grpc_oauth2_token_fetcher_credentials_parse_server_response() 189 it = json.object_value().find("token_type"); in grpc_oauth2_token_fetcher_credentials_parse_server_response() 190 if (it == json.object_value().end() || in grpc_oauth2_token_fetcher_credentials_parse_server_response() 197 it = json.object_value().find("expires_in"); in grpc_oauth2_token_fetcher_credentials_parse_server_response() 198 if (it == json.object_value().end() || in grpc_oauth2_token_fetcher_credentials_parse_server_response()
|
/third_party/json/doc/examples/ |
D | basic_json__CompatibleType.cpp | 20 json::object_t object_value = { {"one", 1}, {"two", 2} }; in main() local 21 json j_object_t(object_value); in main()
|
/third_party/grpc/test/core/json/ |
D | json_test.cc | 67 ValidateObject(actual.object_value(), expected.object_value()); in ValidateValue()
|