Home
last modified time | relevance | path

Searched refs:jsonstr (Results 1 - 14 of 14) sorted by relevance

/foundation/distributedhardware/distributed_camera/services/channel/src/
H A Ddcamera_low_latency.cpp47 char *jsonstr = cJSON_Print(rootValue); in EnableLowLatency() local
48 if (jsonstr == nullptr) { in EnableLowLatency()
52 dHFwkKit->PublishMessage(DHTopic::TOPIC_LOW_LATENCY, std::string(jsonstr)); in EnableLowLatency()
56 cJSON_free(jsonstr); in EnableLowLatency()
83 char *jsonstr = cJSON_Print(rootValue); in DisableLowLatency() local
84 if (jsonstr == nullptr) { in DisableLowLatency()
88 dHFwkKit->PublishMessage(DHTopic::TOPIC_LOW_LATENCY, std::string(jsonstr)); in DisableLowLatency()
92 cJSON_free(jsonstr); in DisableLowLatency()
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_control_center/services/src/
H A Dav_sync_manager.cpp197 char *jsonstr = cJSON_PrintUnformatted(masterStr); in MergeGroupInfoInner() local
198 if (jsonstr == nullptr) { in MergeGroupInfoInner()
202 groupInfoSet.insert(std::string(jsonstr)); in MergeGroupInfoInner()
204 cJSON_free(jsonstr); in MergeGroupInfoInner()
214 char *jsonstr = cJSON_PrintUnformatted(slaveStr); in MergeGroupInfoInner() local
215 if (jsonstr == nullptr) { in MergeGroupInfoInner()
219 groupInfoSet.insert(std::string(jsonstr)); in MergeGroupInfoInner()
221 cJSON_free(jsonstr); in MergeGroupInfoInner()
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/
H A Dav_trans_meta.cpp57 std::string jsonstr(data); in MarshalAudioMeta()
60 return jsonstr; in MarshalAudioMeta()
132 std::string jsonstr(data); in MarshalVideoMeta()
135 return jsonstr; in MarshalVideoMeta()
H A Dav_trans_message.cpp54 std::string jsonstr(data); in MarshalMessage()
57 return jsonstr; in MarshalMessage()
H A Dav_trans_utils.cpp84 std::string jsonstr(data); in BuildChannelDescription()
87 return jsonstr; in BuildChannelDescription()
H A Dav_sync_utils.cpp283 std::string jsonstr(data);
286 return jsonstr;
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/interface/src/
H A Dresult_set.cpp153 char *jsonstr = new char[jsonData.size() + 1]; in GetValue() local
154 if (jsonstr == nullptr) { in GetValue()
158 int err = strcpy_s(jsonstr, jsonData.size() + 1, jsonData.c_str()); in GetValue()
161 delete[] jsonstr; in GetValue()
164 *value = jsonstr; in GetValue()
/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/handler/src/
H A Ddcamera_handler.cpp209 char *jsonstr = cJSON_Print(root); in CreateMetaDHItem() local
210 if (jsonstr == nullptr) { in CreateMetaDHItem()
214 item.attrs = jsonstr; in CreateMetaDHItem()
215 cJSON_free(jsonstr); in CreateMetaDHItem()
265 char *jsonstr = cJSON_Print(root); in CreateDHItem() local
266 CHECK_AND_FREE_RETURN_RET_LOG(jsonstr == nullptr, DCAMERA_BAD_VALUE, root, "jsonstr is null"); in CreateDHItem()
268 item.attrs = jsonstr; in CreateDHItem()
269 cJSON_free(jsonstr); in CreateDHItem()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcamera/
H A Ddistributed_camera_source_service.cpp179 char *jsonstr = cJSON_Print(root); in GetCodecInfo() local
180 if (jsonstr == nullptr) { in GetCodecInfo()
184 sourceAttrs = jsonstr; in GetCodecInfo()
185 cJSON_free(jsonstr); in GetCodecInfo()
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler_network.h52 static void SendRSTreeDumpJSON(const std::string& jsonstr);
H A Drs_profiler_network.cpp173 void Network::SendRSTreeDumpJSON(const std::string& jsonstr) in SendRSTreeDumpJSON() argument
177 packet.Write(jsonstr); in SendRSTreeDumpJSON()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/
H A Ddcamera_source_dev.cpp410 char *jsonstr = cJSON_Print(abilityRootValue); in ParseEnableParam() local
411 if (jsonstr == nullptr) { in ParseEnableParam()
415 ability = jsonstr; in ParseEnableParam()
417 cJSON_free(jsonstr); in ParseEnableParam()
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Dfocus_hub.cpp2792 std::string jsonstr = DumpLog::GetInstance().FormatDumpInfo(json->ToString(), depth);
2794 DumpLog::GetInstance().PrintJson(prefix + jsonstr);
2844 std::string jsonstr = DumpLog::GetInstance().FormatDumpInfo(json->ToString(), depth);
2846 DumpLog::GetInstance().PrintJson(prefix + jsonstr);
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dui_node.cpp931 std::string jsonstr = DumpLog::GetInstance().FormatDumpInfo(json->ToString(), depth); in DumpTree() local
933 DumpLog::GetInstance().Append(prefix + jsonstr); in DumpTree()

Completed in 14 milliseconds