Home
last modified time | relevance | path

Searched refs:GRPC_JSON_STRING (Results 1 – 16 of 16) sorted by relevance

/external/grpc-grpc/src/core/lib/channel/
Dchannel_trace.cc141 GRPC_JSON_STRING, true); in RenderTraceEvent()
144 GRPC_JSON_STRING, false); in RenderTraceEvent()
147 GRPC_JSON_STRING, true); in RenderTraceEvent()
159 GRPC_JSON_STRING, true); in RenderTraceEvent()
175 gpr_format_timespec(time_created_), GRPC_JSON_STRING, true); in RenderJson()
Dchannelz.cc88 gpr_format_timespec(ts), GRPC_JSON_STRING, true); in PopulateCallCounts()
127 GRPC_JSON_STRING, false); in RenderJson()
/external/grpc-grpc/src/core/lib/security/credentials/jwt/
Djson_token.cc170 child = create_child(nullptr, json, "alg", algorithm, GRPC_JSON_STRING); in encoded_jwt_header()
171 child = create_child(child, json, "typ", GRPC_JWT_TYPE, GRPC_JSON_STRING); in encoded_jwt_header()
172 create_child(child, json, "kid", key_id, GRPC_JSON_STRING); in encoded_jwt_header()
200 GRPC_JSON_STRING); in encoded_jwt_claim()
202 child = create_child(child, json, "scope", scope, GRPC_JSON_STRING); in encoded_jwt_claim()
206 GRPC_JSON_STRING); in encoded_jwt_claim()
209 child = create_child(child, json, "aud", audience, GRPC_JSON_STRING); in encoded_jwt_claim()
Djwt_verifier.cc101 if (json->type != GRPC_JSON_STRING) { in validate_string_field()
145 if (cur->type != GRPC_JSON_STRING || strncmp(cur->value, "RS", 2) || in jose_header_from_json()
580 key_prop->type == GRPC_JSON_STRING) { in find_verification_key()
583 key_prop->type == GRPC_JSON_STRING) { in find_verification_key()
586 key_prop->type == GRPC_JSON_STRING) { in find_verification_key()
Djwt_credentials.cc155 if (current->type == GRPC_JSON_STRING && in redact_private_key()
/external/grpc-grpc/test/core/security/
Djson_token_test.cc248 GPR_ASSERT(alg->type == GRPC_JSON_STRING); in check_jwt_header()
252 GPR_ASSERT(typ->type == GRPC_JSON_STRING); in check_jwt_header()
256 GPR_ASSERT(kid->type == GRPC_JSON_STRING); in check_jwt_header()
291 GPR_ASSERT(iss->type == GRPC_JSON_STRING); in check_jwt_claim()
301 GPR_ASSERT(scope->type == GRPC_JSON_STRING); in check_jwt_claim()
307 GPR_ASSERT(sub->type == GRPC_JSON_STRING); in check_jwt_claim()
312 GPR_ASSERT(aud->type == GRPC_JSON_STRING); in check_jwt_claim()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dclient_channel_channelz.cc66 grpc_connectivity_state_name(state), GRPC_JSON_STRING, in PopulateConnectivityState()
135 grpc_connectivity_state_name(state), GRPC_JSON_STRING, in PopulateConnectivityState()
160 GRPC_JSON_STRING, false); in RenderJson()
Dmethod_params.cc56 if (field->type != GRPC_JSON_STRING) return false; in ParseDuration()
129 if (element->type != GRPC_JSON_STRING) return nullptr; in ParseRetryPolicy()
/external/grpc-grpc/src/core/lib/transport/
Dservice_config.cc61 if (field->type != GRPC_JSON_STRING) return nullptr; in GetLoadBalancingPolicyName()
88 if (child->type != GRPC_JSON_STRING) return nullptr; in ParseJsonMethodName()
/external/grpc-grpc/src/core/lib/json/
Djson_common.h26 GRPC_JSON_STRING, enumerator
Djson_string.cc248 grpc_json* json = json_create_and_link(userdata, GRPC_JSON_STRING); in json_reader_set_string()
328 case GRPC_JSON_STRING: in json_dump_recursive()
Djson.cc95 return grpc_json_create_child(it, parent, name, num_str, GRPC_JSON_STRING, in grpc_json_add_number_string_child()
/external/grpc-grpc/src/core/lib/security/util/
Djson_util.cc38 if (child == nullptr || child->type != GRPC_JSON_STRING) { in grpc_json_get_string_property()
/external/grpc-grpc/src/core/ext/filters/message_size/
Dmessage_size_filter.cc72 if (field->type != GRPC_JSON_STRING && field->type != GRPC_JSON_NUMBER) { in CreateFromJson()
79 if (field->type != GRPC_JSON_STRING && field->type != GRPC_JSON_NUMBER) { in CreateFromJson()
/external/grpc-grpc/src/core/lib/security/credentials/oauth2/
Doauth2_credentials.cc170 if (access_token == nullptr || access_token->type != GRPC_JSON_STRING) { in grpc_oauth2_token_fetcher_credentials_parse_server_response()
175 if (token_type == nullptr || token_type->type != GRPC_JSON_STRING) { in grpc_oauth2_token_fetcher_credentials_parse_server_response()
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Ddns_resolver_ares.cc227 if (entry->type == GRPC_JSON_STRING && strcmp(entry->value, value) == 0) { in ValueInJsonArray()