/external/rust/crates/grpcio-sys/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()
|
/external/libcups/cups/ |
D | testsnmp.c | 132 packet->object_value.boolean ? "TRUE" : "FALSE"); in print_packet() 136 printf("INTEGER %d\n", packet->object_value.integer); in print_packet() 141 (char *)packet->object_value.string.bytes); in print_packet() 146 (char *)packet->object_value.string.bytes); in print_packet() 154 printf("OID %s\n", _cupsSNMPOIDToString(packet->object_value.oid, in print_packet() 160 for (i = 0; i < packet->object_value.string.num_bytes; i ++) in print_packet() 161 printf(" %02X", packet->object_value.string.bytes[i]); in print_packet() 166 printf("Counter %d\n", packet->object_value.counter); in print_packet() 170 printf("Gauge %u\n", packet->object_value.gauge); in print_packet() 175 packet->object_value.timeticks / 8640000, in print_packet() [all …]
|
D | snmp.c | 1024 packet->object_value.boolean = in asn1_decode_snmp() 1029 packet->object_value.integer = in asn1_decode_snmp() 1039 packet->object_value.string.num_bytes = length; in asn1_decode_snmp() 1041 (char *)packet->object_value.string.bytes, in asn1_decode_snmp() 1042 sizeof(packet->object_value.string.bytes)); in asn1_decode_snmp() 1047 packet->object_value.oid, CUPS_SNMP_MAX_OID); in asn1_decode_snmp() 1051 packet->object_value.counter = in asn1_decode_snmp() 1056 packet->object_value.gauge = in asn1_decode_snmp() 1061 packet->object_value.timeticks = in asn1_decode_snmp() 1114 valuelen = asn1_size_integer(packet->object_value.boolean); in asn1_encode_snmp() [all …]
|
/external/rust/crates/grpcio-sys/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 …]
|
/external/libcups/backend/ |
D | snmp-supplies.c | 361 if (packet.object_value.string.num_bytes == 2) in backendSNMPSupplies() 362 new_state = (packet.object_value.string.bytes[0] << 8) | in backendSNMPSupplies() 363 packet.object_value.string.bytes[1]; in backendSNMPSupplies() 364 else if (packet.object_value.string.num_bytes == 1) in backendSNMPSupplies() 365 new_state = (packet.object_value.string.bytes[0] << 8); in backendSNMPSupplies() 404 *printer_state = packet.object_value.integer; in backendSNMPSupplies() 422 *page_count = packet.object_value.counter; in backendSNMPSupplies() 547 strlcpy(description, (char *)packet.object_value.string.bytes, in backend_init_supplies() 627 packet.object_value.integer); in backend_init_supplies() 630 oid[prtLocalizationCharacterSetOffset - 2] = packet.object_value.integer; in backend_init_supplies() [all …]
|
D | network.c | 228 snprintf(dataptr, sizeof(data) - (size_t)(dataptr - data), "%d", packet.object_value.boolean); in backendNetworkSideCB() 234 packet.object_value.integer); in backendNetworkSideCB() 240 if (packet.object_value.string.num_bytes < (sizeof(data) - (size_t)(dataptr - data))) in backendNetworkSideCB() 241 i = packet.object_value.string.num_bytes; in backendNetworkSideCB() 245 memcpy(dataptr, packet.object_value.string.bytes, i); in backendNetworkSideCB() 251 _cupsSNMPOIDToString(packet.object_value.oid, dataptr, in backendNetworkSideCB() 258 i < packet.object_value.string.num_bytes && in backendNetworkSideCB() 261 sprintf(dataptr, "%02X", packet.object_value.string.bytes[i]); in backendNetworkSideCB() 266 snprintf(dataptr, sizeof(data) - (size_t)(dataptr - data), "%u", packet.object_value.counter); in backendNetworkSideCB() 271 snprintf(dataptr, sizeof(data) - (size_t)(dataptr - data), "%u", packet.object_value.gauge); in backendNetworkSideCB() [all …]
|
D | snmp.c | 987 if (strchr((char *)packet.object_value.string.bytes, ':') && in read_snmp_response() 988 strchr((char *)packet.object_value.string.bytes, ';')) in read_snmp_response() 996 for (ptr = (char *)packet.object_value.string.bytes; *ptr; ptr ++) in read_snmp_response() 1000 device->id = strdup((char *)packet.object_value.string.bytes); in read_snmp_response() 1002 backendGetMakeModel((char *)packet.object_value.string.bytes, in read_snmp_response() 1016 fix_make_model(make_model, (char *)packet.object_value.string.bytes, in read_snmp_response() 1022 device->info = strdup((char *)packet.object_value.string.bytes); in read_snmp_response() 1033 strlen(device->id) < packet.object_value.string.num_bytes)) in read_snmp_response() 1042 for (ptr = (char *)packet.object_value.string.bytes; *ptr; ptr ++) in read_snmp_response() 1048 device->id = strdup((char *)packet.object_value.string.bytes); in read_snmp_response() [all …]
|
/external/rust/crates/grpcio-sys/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()
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/xds/ |
D | xds_cluster_impl.cc | 645 auto it = json.object_value().find("childPolicy"); in ParseLoadBalancingConfig() 646 if (it == json.object_value().end()) { in ParseLoadBalancingConfig() 663 it = json.object_value().find("clusterName"); in ParseLoadBalancingConfig() 664 if (it == json.object_value().end()) { in ParseLoadBalancingConfig() 675 it = json.object_value().find("edsServiceName"); in ParseLoadBalancingConfig() 676 if (it != json.object_value().end()) { in ParseLoadBalancingConfig() 686 it = json.object_value().find("lrsLoadReportingServerName"); in ParseLoadBalancingConfig() 687 if (it != json.object_value().end()) { in ParseLoadBalancingConfig() 697 it = json.object_value().find("maxConcurrentRequests"); in ParseLoadBalancingConfig() 698 if (it != json.object_value().end()) { in ParseLoadBalancingConfig() [all …]
|
D | xds_cluster_resolver.cc | 1054 auto it = json.object_value().find("discoveryMechanisms"); in ParseLoadBalancingConfig() 1055 if (it == json.object_value().end()) { in ParseLoadBalancingConfig() 1082 it = json.object_value().find("localityPickingPolicy"); in ParseLoadBalancingConfig() 1083 if (it == json.object_value().end()) { in ParseLoadBalancingConfig() 1105 it = json.object_value().find("endpointPickingPolicy"); in ParseLoadBalancingConfig() 1106 if (it == json.object_value().end()) { in ParseLoadBalancingConfig() 1150 auto it = json.object_value().find("clusterName"); in ParseDiscoveryMechanism() 1151 if (it == json.object_value().end()) { in ParseDiscoveryMechanism() 1161 it = json.object_value().find("lrsLoadReportingServerName"); in ParseDiscoveryMechanism() 1162 if (it != json.object_value().end()) { in ParseDiscoveryMechanism() [all …]
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/jwt/ |
D | jwt_verifier.cc | 145 it = json.object_value().find("alg"); in jose_header_from_json() 146 if (it == json.object_value().end()) { in jose_header_from_json() 163 it = json.object_value().find("typ"); in jose_header_from_json() 164 if (it != json.object_value().end()) { in jose_header_from_json() 169 it = json.object_value().find("kid"); in jose_header_from_json() 170 if (it != json.object_value().end()) { in jose_header_from_json() 251 for (const auto& p : claims->json->object_value()) { in grpc_jwt_claims_from_json() 429 auto it = json.object_value().find(name); in find_property_by_name() 430 if (it == json.object_value().end()) { in find_property_by_name() 522 it = json.object_value().find("n"); in pkey_from_jwk() [all …]
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/ |
D | dns_resolver_ares.cc | 256 auto it = choice.object_value().find("clientLanguage"); in ChooseServiceConfig() 257 if (it != choice.object_value().end()) { in ChooseServiceConfig() 266 it = choice.object_value().find("clientHostname"); in ChooseServiceConfig() 267 if (it != choice.object_value().end()) { in ChooseServiceConfig() 280 it = choice.object_value().find("percentage"); in ChooseServiceConfig() 281 if (it != choice.object_value().end()) { in ChooseServiceConfig() 297 it = choice.object_value().find("serviceConfig"); in ChooseServiceConfig() 298 if (it == choice.object_value().end()) { in ChooseServiceConfig()
|
/external/rust/crates/grpcio-sys/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()
|
/external/rust/crates/grpcio-sys/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()
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/priority/ |
D | priority.cc | 800 auto it = json.object_value().find("children"); in ParseLoadBalancingConfig() 801 if (it == json.object_value().end()) { in ParseLoadBalancingConfig() 808 const Json::Object& object = it->second.object_value(); in ParseLoadBalancingConfig() 818 auto it2 = element.object_value().find("config"); in ParseLoadBalancingConfig() 819 if (it2 == element.object_value().end()) { in ParseLoadBalancingConfig() 832 element.object_value().find("ignore_reresolution_requests"); in ParseLoadBalancingConfig() 833 if (it3 != element.object_value().end()) { in ParseLoadBalancingConfig() 861 it = json.object_value().find("priorities"); in ParseLoadBalancingConfig() 862 if (it == json.object_value().end()) { in ParseLoadBalancingConfig()
|
/external/rust/crates/grpcio-sys/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()
|
/external/rust/crates/grpcio-sys/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()
|
/external/oss-fuzz/projects/jsoncpp/ |
D | json.proto | 26 required JsonObject object_value = 2; field 42 JsonObject object_value = 1; field
|
/external/python/apitools/apitools/base/py/ |
D | extra_types.py | 135 return JsonValue(object_value=_PythonValueToJsonObject(py_value)) 168 object_value = messages.MessageField('JsonObject', 6) variable in JsonValue 238 return JsonValue(object_value=result)
|