Home
last modified time | relevance | path

Searched refs:cJSON_Parse (Results 1 – 25 of 179) sorted by relevance

12345678

/ohos5.0/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/src/
H A Dnativetoken_oper_test.cpp84 jsonroot = cJSON_Parse(stringJson1.c_str());
97 jsonroot = cJSON_Parse(stringJson1.c_str());
114 cJSON* jsonroot = cJSON_Parse(stringJson1);
143 cJSON* jsonroot = cJSON_Parse(stringJson1);
149 jsonroot = cJSON_Parse(stringJson2);
156 jsonroot = cJSON_Parse(stringJson3);
163 jsonroot = cJSON_Parse(stringJson4);
193 jsonroot = cJSON_Parse(stringJson1);
200 jsonroot = cJSON_Parse(stringJson1);
234 jsonroot = cJSON_Parse(stringJson3);
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/core/discovery/coap/common/unittest/
H A Ddisc_coap_parser_test.cpp99 cJSON *dataJson = cJSON_Parse(dataStr.c_str());
161 cJSON *dataJson = cJSON_Parse(dataStr.c_str());
175 dataJson = cJSON_Parse(dataStr.c_str());
180 dataJson = cJSON_Parse(dataStr.c_str());
194 cJSON *dataJson = cJSON_Parse(dataStr.c_str());
198 dataJson = cJSON_Parse(dataStr.c_str());
213 cJSON *dataJson = cJSON_Parse(dataStr.c_str());
/ohos5.0/base/startup/init/test/unittest/init/
H A Dservice_unittest.cpp74 cJSON *jobJson = cJSON_Parse(JOB_INFO_JSONSTR); in LoadJobs()
113 cJSON* jobItem = cJSON_Parse(SERVICE_INFO_JSONSTR);
145 cJSON* jobItem = cJSON_Parse(jsonStr);
188 cJSON* jobItem = cJSON_Parse(jsonStr);
244 cJSON* jobItem = cJSON_Parse(serviceStr);
322 cJSON* jobItem = cJSON_Parse(jsonStr);
334 jobItem = cJSON_Parse(jsonStr1);
382 cJSON *fileRoot = cJSON_Parse(serviceStr);
H A Dgroup_unittest.cpp226 cJSON *fileRoot = cJSON_Parse(serviceStr);
285 cJSON *fileRoot = cJSON_Parse(serviceStr);
319 cJSON *fileRoot = cJSON_Parse(serviceStr);
342 cJSON* jobItem = cJSON_Parse(jsonStr);
/ohos5.0/foundation/filemanagement/app_file_service/utils/src/b_json/
H A Db_json_clear_data_config.cpp94 cJSON *jsonObjectDis = cJSON_Parse(jsonString.c_str()); in HasClearBundleRecord()
125 cJSON *jsonObjectDis = cJSON_Parse(jsonString.c_str()); in FindClearBundleRecord()
164 cJSON *jsonObjectDis = cJSON_Parse(jsonString.c_str()); in InsertClearBundleRecord()
212 cJSON *jsonObjectDis = cJSON_Parse(jsonString.c_str()); in DeleteClearBundleRecord()
266 cJSON *jsonObjectDis = cJSON_Parse(jsonString.c_str()); in GetAllClearBundleRecords()
315 cJSON *jsonObjectDis = cJSON_Parse(jsonString.c_str()); in WriteClearBundleRecord()
H A Db_json_service_disposal_config.cpp89 cJSON *jsonObjectDis = cJSON_Parse(jsonString.c_str()); in AppendIntoDisposalConfigFile()
144 cJSON *jsonObjectDis = cJSON_Parse(jsonString.c_str()); in DeleteFromDisposalConfigFile()
198 cJSON *jsonObjectDis = cJSON_Parse(jsonString.c_str()); in IfBundleNameInDisposalConfigFile()
242 cJSON *jsonObjectDis = cJSON_Parse(jsonString.c_str()); in GetBundleNameFromConfigFile()
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/common/softbus_message_open_channel_test/
H A Dsoftbus_message_open_channel_test.cpp170 cJSON *json = cJSON_Parse(mag);
235 cJSON *json = cJSON_Parse(mag);
267 cJSON *json = cJSON_Parse(mag);
291 cJSON *json = cJSON_Parse(mag);
338 cJSON *json = cJSON_Parse(data);
348 cJSON *json1 = cJSON_Parse(mag);
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/continue/
H A Ddsched_continue_event.cpp69 cJSON *rootValue = cJSON_Parse(jsonStr.c_str()); in Unmarshal()
156 cJSON *rootValue = cJSON_Parse(jsonStr.c_str()); in Unmarshal()
353 cJSON *rootValue = cJSON_Parse(jsonStr.c_str()); in Unmarshal()
409 cJSON *rootValue = cJSON_Parse(jsonStr.c_str()); in UnmarshalParcel()
463 cJSON *rootValue = cJSON_Parse(jsonStr.c_str()); in UnmarshalCallerInfo()
515 cJSON *rootValue = cJSON_Parse(jsonStr.c_str()); in UnmarshalCallerInfoExtra()
540 cJSON *extraInfoValue = cJSON_Parse(extraInfo->valuestring); in UnmarshalCallerInfoExtra()
563 cJSON *rootValue = cJSON_Parse(jsonStr.c_str()); in UnmarshalAccountInfo()
639 cJSON *rootValue = cJSON_Parse(jsonStr.c_str()); in Unmarshal()
711 cJSON *rootValue = cJSON_Parse(jsonStr.c_str()); in Unmarshal()
/ohos5.0/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/mini/
H A Ddevice_manager_impl_lite_m.c111 cJSON *obj = cJSON_Parse(advParam); in StartAdvertising()
149 cJSON *obj = cJSON_Parse(discoverParam); in StartDiscovering()
194 cJSON *obj = cJSON_Parse(bindParam); in BindTarget()
/ohos5.0/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/mock/
H A Dnativetoken_oper_test.cpp79 cJSON* jsonRoot = cJSON_Parse(stringJson1.c_str());
110 cJSON* jsonRoot = cJSON_Parse(stringJson1.c_str());
141 cJSON* jsonRoot = cJSON_Parse(stringJson1.c_str());
176 cJSON* jsonRoot = cJSON_Parse(stringJson1.c_str());
222 cJSON* json = cJSON_Parse(stringJson1.c_str());
/ohos5.0/base/startup/appspawn/service/hnp/base/
H A Dhnp_json.c135 json = cJSON_Parse(cfgStream); in ParseHnpCfgFile()
157 json = cJSON_Parse(cfgStream); in HnpCfgGetFromSteam()
343 json = cJSON_Parse(infoStream); in HnpInstallInfoJsonWrite()
436 cJSON *json = cJSON_Parse(infoStream); in HnpPackageInfoGet()
495 cJSON *json = cJSON_Parse(infoStream); in HnpPackageInfoHnpDelete()
536 cJSON *json = cJSON_Parse(infoStream); in HnpPackageInfoDelete()
584 cJSON *json = cJSON_Parse(infoStream); in HnpPackgeHnpVersionGet()
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/include/resourcemanager/
H A Dcapability_utils.h56 cJSON *firstJson = cJSON_Parse(firstData.c_str()); in IsCapInfoJsonEqual()
63 cJSON *lastJson = cJSON_Parse(lastData.c_str()); in IsCapInfoJsonEqual()
/ohos5.0/base/usb/usb_manager/test/native/service_unittest/src/
H A Dusb_event_test.cpp145 cJSON* deviceJson = cJSON_Parse(deviceStr.c_str());
198 cJSON* deviceJson = cJSON_Parse(deviceStr.c_str());
233 cJSON* portJson = cJSON_Parse(portStr.c_str());
267 cJSON* portJson = cJSON_Parse(portStr.c_str());
/ohos5.0/foundation/filemanagement/app_file_service/tests/mock/cJson/include/
H A DcJsonMock.h31 virtual cJSON *cJSON_Parse(const char *value) = 0;
53 MOCK_METHOD1(cJSON_Parse, cJSON *(const char *value));
/ohos5.0/base/usb/usb_manager/test/native/mock/src/
H A Dusb_event_mock_test.cpp188 cJSON* deviceJson = cJSON_Parse(deviceStr.c_str());
244 cJSON* deviceJson = cJSON_Parse(deviceStr.c_str());
279 cJSON* portJson = cJSON_Parse(portStr.c_str());
313 cJSON* portJson = cJSON_Parse(portStr.c_str());
/ohos5.0/base/sensors/miscdevice/utils/common/src/
H A Djson_parser.cpp37 cJson_ = cJSON_Parse(jsonStr.c_str()); in JsonParser()
47 cJson_ = cJSON_Parse(jsonStr.c_str()); in JsonParser()
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/udp_negotiation/
H A Dtrans_udp_nego_test.cpp188 cJSON *msg = cJSON_Parse((char *)msgStr.c_str());
204 cJSON *msg = cJSON_Parse((char *)msgStr.c_str());
226 cJSON *replyMsg = cJSON_Parse((char *)msg.c_str());
284 cJSON *msg = cJSON_Parse(data);
320 cJSON *msg = cJSON_Parse(msgStr.c_str());
345 cJSON *msg = cJSON_Parse(data);
369 cJSON *msg = cJSON_Parse(msgStr.c_str());
892 cJSON *msg = cJSON_Parse(msgStr.c_str());
/ohos5.0/base/update/updateservice/services/engine/src/
H A Dupdate_notify.cpp74 cJSON_AddItemToObject(root, "EventInfo", cJSON_Parse(eventInfo.c_str())); in ConnectToAppService()
75 cJSON_AddItemToObject(root, "SubscribeInfo", cJSON_Parse(subscribeInfo.c_str())); in ConnectToAppService()
/ohos5.0/foundation/filemanagement/app_file_service/tests/mock/cJson/src/
H A DcJsonMock.cpp112 CJSON_PUBLIC(cJSON *) cJSON_Parse(const char *value) in cJSON_Parse() function
114 …son::cJsonPtr == nullptr) ? cJSON_ParseWithOpts(value, 0, 0) : CJson::cJsonPtr->cJSON_Parse(value); in cJSON_Parse()
/ohos5.0/base/update/updater/utils/json/
H A Djson_node.cpp38 JsonNode::JsonNode(const std::string &str, bool needDelete) : JsonNode(cJSON_Parse(str.c_str()), ne… in JsonNode()
57 cJSON *root = cJSON_Parse(content.c_str()); in JsonNode()
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_json/
H A Db_json_service_disposal_config_other_test.cpp178 EXPECT_CALL(*cJsonMock, cJSON_Parse(_)).WillOnce(Return(reinterpret_cast<cJSON *>(&cjson)));
218 EXPECT_CALL(*cJsonMock, cJSON_Parse(_)).WillOnce(Return(nullptr));
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/
H A Dav_trans_meta.cpp65 cJSON *metaJson = cJSON_Parse(jsonStr.c_str()); in UnmarshalAudioMeta()
140 cJSON *metaJson = cJSON_Parse(jsonStr.c_str()); in UnmarshalVideoMeta()
/ohos5.0/foundation/distributeddatamgr/udmf/framework/common/
H A Dcustom_utd_json_parser.cpp45 cJSON* jsonRoot = cJSON_Parse(jsonData.c_str()); in ParseStoredCustomUtdJson()
61 cJSON* jsonRoot = cJSON_Parse(jsonData.c_str()); in ParseUserCustomUtdJson()
/ohos5.0/base/customization/enterprise_device_management/interfaces/inner_api/plugin_kits/src/utils/
H A Dcjson_serializer.cpp22 dataObj = cJSON_Parse(jsonString.c_str()); in Deserialize()
/ohos5.0/base/customization/enterprise_device_management/test/unittest/interface/plugin_kits/utils/
H A Dcjson_serializer_test.cpp47 cJSON* root = cJSON_Parse(TEST_POLICY_DATA.c_str());

12345678