/external/grpc-grpc/src/cpp/server/channelz/ |
D | channelz_service.cc | 34 char* json_str = grpc_channelz_get_top_channels(request->start_channel_id()); in GetTopChannels() local 35 if (json_str == nullptr) { in GetTopChannels() 39 google::protobuf::util::JsonStringToMessage(json_str, response); in GetTopChannels() 40 gpr_free(json_str); in GetTopChannels() 50 char* json_str = grpc_channelz_get_servers(request->start_server_id()); in GetServers() local 51 if (json_str == nullptr) { in GetServers() 55 google::protobuf::util::JsonStringToMessage(json_str, response); in GetServers() 56 gpr_free(json_str); in GetServers() 66 char* json_str = grpc_channelz_get_channel(request->channel_id()); in GetChannel() local 67 if (json_str == nullptr) { in GetChannel() [all …]
|
/external/grpc-grpc/test/core/channel/ |
D | channelz_test.cc | 88 char* json_str = ChannelzRegistry::GetTopChannels(0); in ValidateGetTopChannels() local 89 grpc::testing::ValidateGetTopChannelsResponseProtoJsonTranslation(json_str); in ValidateGetTopChannels() 90 grpc_json* parsed_json = grpc_json_parse_string(json_str); in ValidateGetTopChannels() 98 gpr_free(json_str); in ValidateGetTopChannels() 107 char* json_str = ChannelzRegistry::GetServers(0); in ValidateGetServers() local 108 grpc::testing::ValidateGetServersResponseProtoJsonTranslation(json_str); in ValidateGetServers() 109 grpc_json* parsed_json = grpc_json_parse_string(json_str); in ValidateGetServers() 117 gpr_free(json_str); in ValidateGetServers() 186 void ValidateCounters(char* json_str, validate_channel_data_args args) { in ValidateCounters() argument 187 grpc_json* json = grpc_json_parse_string(json_str); in ValidateCounters() [all …]
|
D | channel_trace_test.cc | 102 char* json_str = grpc_json_dump_to_string(json, 0); in ValidateChannelTrace() local 104 grpc::testing::ValidateChannelTraceProtoJsonTranslation(json_str); in ValidateChannelTrace() 105 grpc_json* parsed_json = grpc_json_parse_string(json_str); in ValidateChannelTrace() 109 gpr_free(json_str); in ValidateChannelTrace()
|
/external/grpc-grpc/src/core/lib/channel/ |
D | channelz_registry.cc | 110 char* json_str = grpc_json_dump_to_string(top_level_json, 0); in InternalGetTopChannels() local 112 return json_str; in InternalGetTopChannels() 146 char* json_str = grpc_json_dump_to_string(top_level_json, 0); in InternalGetServers() local 148 return json_str; in InternalGetServers() 178 char* json_str = grpc_json_dump_to_string(top_level_json, 0); in grpc_channelz_get_channel() local 180 return json_str; in grpc_channelz_get_channel() 196 char* json_str = grpc_json_dump_to_string(top_level_json, 0); in grpc_channelz_get_subchannel() local 198 return json_str; in grpc_channelz_get_subchannel()
|
D | channelz.cc | 52 char* json_str = grpc_json_dump_to_string(json, 0); in RenderJsonString() local 54 return json_str; in RenderJsonString()
|
/external/autotest/server/site_tests/autoupdate_EndToEndTest/ |
D | update_engine_performance_monitor.py | 258 json_str = monitor.run(signal.SIGTERM) variable 260 if json_str: 262 fifo.write(json_str) 277 json_str = fifo.read() variable 278 print json_str 284 json_str = monitor.run(signal.SIGINT) variable 285 if json_str: 286 print json_str
|
/external/grpc-grpc/src/core/lib/security/credentials/jwt/ |
D | json_token.cc | 167 char* json_str = nullptr; in encoded_jwt_header() local 174 json_str = grpc_json_dump_to_string(json, 0); in encoded_jwt_header() 175 result = grpc_base64_encode(json_str, strlen(json_str), 1, 0); in encoded_jwt_header() 176 gpr_free(json_str); in encoded_jwt_header() 186 char* json_str = nullptr; in encoded_jwt_claim() local 213 json_str = grpc_json_dump_to_string(json, 0); in encoded_jwt_claim() 214 result = grpc_base64_encode(json_str, strlen(json_str), 1, 0); in encoded_jwt_claim() 215 gpr_free(json_str); in encoded_jwt_claim()
|
/external/python/oauth2client/oauth2client/contrib/ |
D | devshell.py | 88 len_str, json_str = header.split('\n', 1) 89 to_read = int(len_str) - len(json_str) 91 json_str += sock.recv(to_read, socket.MSG_WAITALL).decode() 93 return CredentialInfoResponse(json_str)
|
/external/grpc-grpc/test/cpp/util/ |
D | channel_trace_proto_helper.cc | 40 std::string json_str(json_c_str); in VaidateProtoJsonTranslation() local 48 EXPECT_EQ(google::protobuf::util::JsonStringToMessage(json_str, &msg, in VaidateProtoJsonTranslation() 62 EXPECT_EQ(json_str, proto_json_str); in VaidateProtoJsonTranslation()
|
/external/autotest/client/cros/power/ |
D | power_dashboard.py | 141 json_str = json.dumps(powerlog_dict, indent=4, separators=(',', ': '), 143 json_str = utils.strip_non_printable(json_str) 145 f.write(json_str) 201 json_str = json.dumps(powerlog_dict, ensure_ascii=False) 202 data_obj = {'data': utils.strip_non_printable(json_str)}
|
/external/python/apitools/apitools/base/py/ |
D | extra_types_test.py | 178 def JtoM(class_type, json_str): argument 179 return encoding.JsonToMessage(class_type, json_str)
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | network_test.py | 591 json_str = model.to_json() 592 keras.models.model_from_json(json_str) 1050 json_str = model.to_json() 1051 keras.models.model_from_json(json_str)
|
/external/v8/src/d8/ |
D | d8.cc | 389 const char* json_str) { in FillTraceConfig() argument 396 String::NewFromUtf8(isolate, json_str).ToLocalChecked(); in FillTraceConfig() 429 v8::Isolate* isolate, const char* json_str) { in CreateTraceConfigFromJSON() argument 432 TraceConfigParser::FillTraceConfig(isolate, trace_config, json_str); in CreateTraceConfigFromJSON()
|