Home
last modified time | relevance | path

Searched refs:ToJson (Results 1 – 25 of 26) sorted by relevance

12

/external/protobuf/src/google/protobuf/util/
Djson_util_test.cc70 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/
Danswer_messages.h39 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;
Doffer_messages.h48 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;
Danswer_messages.cc228 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 …]
Dreceiver_message.h21 Json::Value ToJson() const;
35 Json::Value ToJson() const;
46 Json::Value ToJson() const;
77 ErrorOr<Json::Value> ToJson() const;
Dreceiver_message.cc60 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()
Doffer_messages.cc288 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()
Dsender_message.cc76 ErrorOr<Json::Value> SenderMessage::ToJson() const { in ToJson() function in openscreen::cast::SenderMessage
89 root[kOfferMessageBody] = absl::get<Offer>(body).ToJson().value(); in ToJson()
Doffer_messages_unittest.cc462 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()
Dsender_message.h42 ErrorOr<Json::Value> ToJson() const;
Dsession_messager.cc93 ErrorOr<Json::Value> jsonified = message.ToJson(); in SendOutboundMessage()
212 ErrorOr<Json::Value> message_json = message.ToJson(); in SendMessage()
Danswer_messages_unittest.cc196 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/
Dhlo_proto_to_json.cc45 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/
DDurationPartial.cs197 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()
DFieldMaskPartial.cs59 internal static string ToJson(IList<string> paths, bool diagnosticOnly) in ToJson() method in Google.Protobuf.WellKnownTypes.FieldMask
103 return ToJson(Paths, true); in ToDiagnosticString()
DTimestampPartial.cs199 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/
Drtc_stats_report.cc120 std::string RTCStatsReport::ToJson() const { in ToJson() function in webrtc::RTCStatsReport
128 sb << separator << it->ToJson(); in ToJson()
Drtc_stats_unittest.cc254 EXPECT_TRUE(Json::Reader().parse(stats.ToJson(), json_output)); in TEST()
332 std::cout << stats.ToJson() << std::endl; in TEST()
Drtc_stats.cc100 std::string RTCStats::ToJson() const { in ToJson() function in webrtc::RTCStats
/external/webrtc/pc/
Drtc_stats_collector_unittest.cc58 *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 …]
Drtc_stats_integrationtest.cc430 << 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/
Drtc_stats_report.h108 std::string ToJson() const;
Drtc_stats.h81 std::string ToJson() const;
/external/protobuf/csharp/src/Google.Protobuf/
DJsonFormatter.cs514 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/
Dexport_json_unittest.cc81 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()

12