/external/protobuf/src/google/protobuf/util/ |
D | json_util_test.cc | 70 std::string ToJson(const Message& message, const JsonPrintOptions& options) { in ToJson() function in google::protobuf::util::__anon5a570d120111::JsonUtilTest 93 EXPECT_EQ("{\"messageValue\":{}}", ToJson(m, options)); in TEST_F() 99 ToJson(m, options)); in TEST_F() 105 EXPECT_EQ("{}", ToJson(m, options)); in TEST_F() 130 ToJson(m, options)); in TEST_F() 158 ToJson(m, options)); in TEST_F() 186 ToJson(m, options)); in TEST_F() 195 EXPECT_EQ("{\"message_value\":{}}", ToJson(m, options)); in TEST_F() 208 EXPECT_EQ(expected_json, ToJson(orig, print_options)); in TEST_F() 232 EXPECT_EQ(expected_json, ToJson(orig, print_options)); in TEST_F() [all …]
|
/external/openscreen/cast/streaming/ |
D | answer_messages.h | 39 Json::Value ToJson() const; 51 Json::Value ToJson() const; 61 Json::Value ToJson() const; 74 Json::Value ToJson() const; 101 Json::Value ToJson() const; 113 Json::Value ToJson() const;
|
D | offer_messages.h | 48 ErrorOr<Json::Value> ToJson() const; 69 ErrorOr<Json::Value> ToJson() const; 77 ErrorOr<Json::Value> ToJson() const; 84 ErrorOr<Json::Value> ToJson() const; 101 ErrorOr<Json::Value> ToJson() const;
|
D | answer_messages.cc | 228 Json::Value AudioConstraints::ToJson() const { in ToJson() function in openscreen::cast::AudioConstraints 260 Json::Value Dimensions::ToJson() const { in ToJson() function in openscreen::cast::Dimensions 306 Json::Value VideoConstraints::ToJson() const { in ToJson() function in openscreen::cast::VideoConstraints 309 root[kMaxDimensions] = max_dimensions.ToJson(); in ToJson() 317 root[kMinDimensions] = min_dimensions->ToJson(); in ToJson() 339 Json::Value Constraints::ToJson() const { in ToJson() function in openscreen::cast::Constraints 342 root[kAudio] = audio.ToJson(); in ToJson() 343 root[kVideo] = video.ToJson(); in ToJson() 388 Json::Value DisplayDescription::ToJson() const { in ToJson() function in openscreen::cast::DisplayDescription 396 root[kDimensions] = dimensions->ToJson(); in ToJson() [all …]
|
D | receiver_message.h | 21 Json::Value ToJson() const; 35 Json::Value ToJson() const; 46 Json::Value ToJson() const; 77 ErrorOr<Json::Value> ToJson() const;
|
D | receiver_message.cc | 60 Json::Value ReceiverError::ToJson() const { in ToJson() function in openscreen::cast::ReceiverError 90 Json::Value ReceiverCapability::ToJson() const { in ToJson() function in openscreen::cast::ReceiverCapability 118 Json::Value ReceiverWifiStatus::ToJson() const { in ToJson() function in openscreen::cast::ReceiverWifiStatus 201 ErrorOr<Json::Value> ReceiverMessage::ToJson() const { in ToJson() function in openscreen::cast::ReceiverMessage 215 root[kAnswerMessageBody] = absl::get<Answer>(body).ToJson(); in ToJson() 218 root[kErrorMessageBody] = absl::get<ReceiverError>(body).ToJson(); in ToJson() 224 root[kStatusMessageBody] = absl::get<ReceiverWifiStatus>(body).ToJson(); in ToJson() 230 absl::get<ReceiverCapability>(body).ToJson(); in ToJson()
|
D | offer_messages.cc | 288 ErrorOr<Json::Value> Stream::ToJson() const { in ToJson() function in openscreen::cast::Stream 315 ErrorOr<Json::Value> AudioStream::ToJson() const { in ToJson() function in openscreen::cast::AudioStream 321 auto error_or_stream = stream.ToJson(); in ToJson() 331 ErrorOr<Json::Value> Resolution::ToJson() const { in ToJson() function in openscreen::cast::Resolution 342 ErrorOr<Json::Value> VideoStream::ToJson() const { in ToJson() function in openscreen::cast::VideoStream 347 auto error_or_stream = stream.ToJson(); in ToJson() 363 auto eoj = resolution.ToJson(); in ToJson() 427 ErrorOr<Json::Value> Offer::ToJson() const { in ToJson() function in openscreen::cast::Offer 435 auto eoj = as.ToJson(); in ToJson() 443 auto eoj = vs.ToJson(); in ToJson()
|
D | sender_message.cc | 76 ErrorOr<Json::Value> SenderMessage::ToJson() const { in ToJson() function in openscreen::cast::SenderMessage 89 root[kOfferMessageBody] = absl::get<Offer>(body).ToJson().value(); in ToJson()
|
D | offer_messages_unittest.cc | 462 auto eoj = offer.value().ToJson(); in TEST() 479 EXPECT_TRUE(missing_audio_streams.ToJson().is_value()); in TEST() 483 EXPECT_TRUE(missing_video_streams.ToJson().is_value()); in TEST() 495 EXPECT_TRUE(video_stream_invalid.ToJson().is_error()); in TEST() 499 EXPECT_TRUE(video_stream_invalid.ToJson().is_error()); in TEST()
|
D | sender_message.h | 42 ErrorOr<Json::Value> ToJson() const;
|
D | session_messager.cc | 93 ErrorOr<Json::Value> jsonified = message.ToJson(); in SendOutboundMessage() 212 ErrorOr<Json::Value> message_json = message.ToJson(); in SendMessage()
|
D | answer_messages_unittest.cc | 196 Json::Value root = kValidAnswer.ToJson(); in TEST() 273 Json::Value root = missing_event_log.ToJson(); in TEST() 279 root = missing_rtcp_dscp.ToJson(); in TEST() 285 root = missing_extensions.ToJson(); in TEST()
|
/external/tensorflow/tensorflow/compiler/xla/tools/ |
D | hlo_proto_to_json.cc | 45 StatusOr<string> ToJson(const tensorflow::protobuf::Message& message) { in ToJson() function 65 auto statusor = ToJson(hlo_proto); in RealMain()
|
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | DurationPartial.cs | 197 internal static string ToJson(long seconds, int nanoseconds, bool diagnosticOnly) in ToJson() method in Google.Protobuf.WellKnownTypes.Duration 241 return ToJson(Seconds, Nanos, true); in ToDiagnosticString()
|
D | FieldMaskPartial.cs | 59 internal static string ToJson(IList<string> paths, bool diagnosticOnly) in ToJson() method in Google.Protobuf.WellKnownTypes.FieldMask 103 return ToJson(Paths, true); in ToDiagnosticString()
|
D | TimestampPartial.cs | 199 internal static string ToJson(long seconds, int nanoseconds, bool diagnosticOnly) in ToJson() method in Google.Protobuf.WellKnownTypes.Timestamp 341 return ToJson(Seconds, Nanos, true); in ToDiagnosticString()
|
/external/webrtc/stats/ |
D | rtc_stats_report.cc | 120 std::string RTCStatsReport::ToJson() const { in ToJson() function in webrtc::RTCStatsReport 128 sb << separator << it->ToJson(); in ToJson()
|
D | rtc_stats_unittest.cc | 254 EXPECT_TRUE(Json::Reader().parse(stats.ToJson(), json_output)); in TEST() 332 std::cout << stats.ToJson() << std::endl; in TEST()
|
D | rtc_stats.cc | 100 std::string RTCStats::ToJson() const { in ToJson() function in webrtc::RTCStats
|
/external/webrtc/pc/ |
D | rtc_stats_collector_unittest.cc | 58 *os << stats.ToJson(); in PrintTo() 62 *os << stats.ToJson(); in PrintTo() 66 *os << stats.ToJson(); in PrintTo() 70 *os << stats.ToJson(); in PrintTo() 74 *os << stats.ToJson(); in PrintTo() 78 *os << stats.ToJson(); in PrintTo() 82 *os << stats.ToJson(); in PrintTo() 86 *os << stats.ToJson(); in PrintTo() 90 *os << stats.ToJson(); in PrintTo() 94 *os << stats.ToJson(); in PrintTo() [all …]
|
D | rtc_stats_integrationtest.cc | 430 << report_->ToJson(); in VerifyReport() 1100 EXPECT_EQ(report->ToJson(), RTCStatsReportTraceListener::last_trace()); in TEST_F() 1111 EXPECT_EQ(report->ToJson(), RTCStatsReportTraceListener::last_trace()); in TEST_F() 1193 EXPECT_EQ(stats_obtainer->report()->ToJson(), in TEST_F() 1208 EXPECT_EQ(stats_obtainer->report()->ToJson(), in TEST_F()
|
/external/webrtc/api/stats/ |
D | rtc_stats_report.h | 108 std::string ToJson() const;
|
D | rtc_stats.h | 81 std::string ToJson() const;
|
/external/protobuf/csharp/src/Google.Protobuf/ |
D | JsonFormatter.cs | 514 writer.Write(Timestamp.ToJson(seconds, nanos, DiagnosticOnly)); in WriteTimestamp() 522 writer.Write(Duration.ToJson(seconds, nanos, DiagnosticOnly)); in WriteDuration() 528 writer.Write(FieldMask.ToJson(paths, DiagnosticOnly)); in WriteFieldMask()
|
/external/perfetto/src/trace_processor/ |
D | export_json_unittest.cc | 81 std::string ToJson(ArgumentFilterPredicate argument_filter = nullptr, in ToJson() function in perfetto::trace_processor::json::__anonb9efa8720111::ExportJsonTest 1652 Json::Value result = ToJsonValue(ToJson(arg_filter)); in TEST_F() 1698 Json::Value result = ToJsonValue(ToJson(nullptr, metadata_filter)); in TEST_F() 1731 ToJsonValue("[" + ToJson(nullptr, nullptr, label_filter) + "]"); in TEST_F()
|