Home
last modified time | relevance | path

Searched refs:json_reader (Results 1 – 4 of 4) sorted by relevance

/device/google/cuttlefish/host/frontend/webrtc/libdevice/
Ddata_channels.cpp88 std::unique_ptr<Json::CharReader> json_reader(builder.newCharReader()); in OnMessageInner() local
91 CF_EXPECTF(json_reader->parse(str, str + size, &evt, &error_message), in OnMessageInner()
165 std::unique_ptr<Json::CharReader> json_reader(builder.newCharReader()); in OnMessageInner() local
168 json_reader->parse(msg_str, msg_str + size, &evt, &error_message), in OnMessageInner()
Dstreamer.cpp83 std::unique_ptr<Json::CharReader> json_reader(builder.newCharReader()); in ParseMessage() local
85 return json_reader->parse(str, str + length, msg_out, &errorMessage); in ParseMessage()
/device/google/cuttlefish/host/frontend/webrtc_operator/
Dsignal_handler.cpp41 std::unique_ptr<Json::CharReader> json_reader(builder.newCharReader()); in OnReceive() local
44 if (!json_reader->parse(str, str + len, &json_message, &errorMessage)) { in OnReceive()
Dclient_handler.cpp230 std::unique_ptr<Json::CharReader> json_reader(builder.newCharReader()); in DoPost() local
232 if (!json_reader->parse(data.c_str(), data.c_str() + data.size(), &json_message, in DoPost()