/ohos5.0/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/src/ |
H A D | nativetoken_oper_test.cpp | 84 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 D | disc_coap_parser_test.cpp | 99 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 D | service_unittest.cpp | 74 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 D | group_unittest.cpp | 226 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 D | b_json_clear_data_config.cpp | 94 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 D | b_json_service_disposal_config.cpp | 89 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 D | softbus_message_open_channel_test.cpp | 170 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 D | dsched_continue_event.cpp | 69 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 D | device_manager_impl_lite_m.c | 111 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 D | nativetoken_oper_test.cpp | 79 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 D | hnp_json.c | 135 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 D | capability_utils.h | 56 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 D | usb_event_test.cpp | 145 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 D | cJsonMock.h | 31 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 D | usb_event_mock_test.cpp | 188 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 D | json_parser.cpp | 37 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 D | trans_udp_nego_test.cpp | 188 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 D | update_notify.cpp | 74 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 D | cJsonMock.cpp | 112 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 D | json_node.cpp | 38 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 D | b_json_service_disposal_config_other_test.cpp | 178 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 D | av_trans_meta.cpp | 65 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 D | custom_utd_json_parser.cpp | 45 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 D | cjson_serializer.cpp | 22 dataObj = cJSON_Parse(jsonString.c_str()); in Deserialize()
|
/ohos5.0/base/customization/enterprise_device_management/test/unittest/interface/plugin_kits/utils/ |
H A D | cjson_serializer_test.cpp | 47 cJSON* root = cJSON_Parse(TEST_POLICY_DATA.c_str());
|