Home
last modified time | relevance | path

Searched refs:TryParseString (Results 1 – 7 of 7) sorted by relevance

/external/openscreen/cast/streaming/
Doffer_messages.cc95 if (!json::TryParseString(value, &raw_timebase)) { in TryParseRtpTimebase()
118 if (!json::TryParseString(value, &hex_string)) { in TryParseAesHexBytes()
219 json::TryParseString(value["receiverRtcpDscp"], &out->receiver_rtcp_dscp); in TryParse()
220 json::TryParseString(value["codecParameter"], &out->codec_parameter); in TryParse()
265 !json::TryParseString(value[kCodecName], &codec_name)) { in TryParse()
304 if (!json::TryParseString(value[kCodecName], &codec_name)) { in TryParse()
322 if (json::TryParseString(value["maxFrameRate"], &raw_max_frame_rate)) { in TryParse()
330 json::TryParseString(value["profile"], &out->profile); in TryParse()
331 json::TryParseString(value["protection"], &out->protection); in TryParse()
332 json::TryParseString(value["level"], &out->level); in TryParse()
[all …]
Dreceiver_message.cc44 if (!json::TryParseString(root[kMessageType], &type)) { in GetMessageType()
56 if (!json::TryParseString(value, &c)) { in TryParseCapability()
81 !json::TryParseString(value[kErrorDescription], &description)) { in Parse()
136 if (!json::TryParseString(value[kResult], &result)) { in Parse()
174 if (json::TryParseString(value[kRpcMessageBody], &encoded_rpc) && in Parse()
Dsender_message.cc28 if (!json::TryParseString(root[kMessageType], &type)) { in GetMessageType()
64 if (json::TryParseString(value[kRpcMessageBody], &rpc_body) && in Parse()
Danswer_messages.cc125 if (!json::TryParseString(value, &aspect_ratio)) { in TryParseAspectRatioConstraint()
169 if (!json::TryParseString(value, &parsed_value)) { in TryParse()
/external/openscreen/util/json/
Djson_helpers_unittest.cc88 TEST(ParsingHelpersTest, TryParseString) { in TEST() argument
93 EXPECT_TRUE(TryParseString(kValid, &out)); in TEST()
95 EXPECT_TRUE(TryParseString(kEmptyString, &out)); in TEST()
97 EXPECT_FALSE(TryParseString(kNone, &out)); in TEST()
98 EXPECT_FALSE(TryParseString(kNotString, &out)); in TEST()
Djson_helpers.h75 inline bool TryParseString(const Json::Value& value, std::string* out) { in TryParseString() function
160 return TryParseArray<std::string>(value, TryParseString, out); in TryParseStringArray()
/external/openscreen/cast/standalone_sender/
Dlooping_file_cast_agent.cc135 if (!json::TryParseString(payload.value()[kMessageKeyReason], &reason)) { in OnMessage()
144 if (!json::TryParseString(payload.value()[kMessageKeyReason], &reason)) { in OnMessage()
168 if (!json::TryParseString(details[kMessageKeyAppId], &running_app_id) || in HandleReceiverStatus()
178 if (!json::TryParseString(details[kMessageKeySessionId], &session_id) || in HandleReceiverStatus()
206 if (!json::TryParseString(details[kMessageKeyTransportId], in HandleReceiverStatus()