/ohos5.0/foundation/graphic/graphic_2d/frameworks/bootanimation/src/ |
H A D | util.cpp | 92 if (custPicPath != nullptr && cJSON_IsString(custPicPath)) { in ParseOldConfigFile() 97 if (custSoundPath != nullptr && cJSON_IsString(custSoundPath)) { in ParseOldConfigFile() 102 if (custVideoDefaultPath != nullptr && cJSON_IsString(custVideoDefaultPath)) { in ParseOldConfigFile() 107 if (custVideoExtraPath != nullptr && cJSON_IsString(custVideoExtraPath)) { in ParseOldConfigFile() 112 if (rotateScreenJson != nullptr && cJSON_IsString(rotateScreenJson)) { in ParseOldConfigFile() 117 if (rotateDegreeJson != nullptr && cJSON_IsString(rotateDegreeJson)) { in ParseOldConfigFile() 141 if (screenIdJson != nullptr && cJSON_IsString(screenIdJson)) { in ParseNewConfigFile() 146 if (custPicPath != nullptr && cJSON_IsString(custPicPath)) { in ParseNewConfigFile() 151 if (custSoundPath != nullptr && cJSON_IsString(custSoundPath)) { in ParseNewConfigFile() 180 if (extraPath != nullptr && cJSON_IsString(extraPath)) { in ParseVideoExtraPath() [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/src/ |
H A D | convert_utils.cpp | 617 … if (cJSON_IsString(item) && !BundleInfoUtils::SetBundleInfoLabel(bundleInfo, item->valuestring)) { in ConvertJsonToBundleInfo() 625 …if (!cJSON_IsString(item) || !BundleInfoUtils::SetBundleInfoCodePath(bundleInfo, item->valuestring… in ConvertJsonToBundleInfo() 629 …if (!cJSON_IsString(item) || !BundleInfoUtils::SetBundleInfoDataPath(bundleInfo, item->valuestring… in ConvertJsonToBundleInfo() 633 …if (cJSON_IsString(item) && !BundleInfoUtils::SetBundleInfoVendor(bundleInfo, item->valuestring)) { in ConvertJsonToBundleInfo() 637 …if (!cJSON_IsString(item) || !BundleInfoUtils::SetBundleInfoAppId(bundleInfo, item->valuestring)) { in ConvertJsonToBundleInfo() 704 if (!cJSON_IsString(deviceTypeItem)) { in ConvertJsonToDeviceType() 741 if (cJSON_IsString(item) && in ConvertJsonToModuleInfos() 746 if (!cJSON_IsString(item) || in ConvertJsonToModuleInfos() 751 if (!cJSON_IsString(item) || in ConvertJsonToModuleInfos() 782 …if (!cJSON_IsString(item) || !AbilityInfoUtils::SetAbilityInfoName(abilityInfo, item->valuestring)… in ConvertJsonToAbilityInfo() [all …]
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/continue/ |
H A D | dsched_continue_event.cpp | 95 if (item == nullptr || !cJSON_IsString(item) || (item->valuestring == nullptr)) { in Unmarshal() 107 if (item == nullptr || !cJSON_IsString(item) || (item->valuestring == nullptr)) { in Unmarshal() 162 if (baseCmd == nullptr || !cJSON_IsString(baseCmd) || (baseCmd->valuestring == nullptr)) { in Unmarshal() 359 if (baseCmd == nullptr || !cJSON_IsString(baseCmd) || (baseCmd->valuestring == nullptr)) { in Unmarshal() 416 if (wantStr == nullptr || !cJSON_IsString(wantStr) || (wantStr->valuestring == nullptr)) { in UnmarshalParcel() 478 if (item == nullptr || !cJSON_IsString(item) || (item->valuestring == nullptr)) { in UnmarshalCallerInfo() 581 if (groupId == nullptr || !cJSON_IsString(groupId) || (groupId->valuestring == nullptr)) { in UnmarshalAccountInfo() 591 if (accountId == nullptr || !cJSON_IsString(accountId)) { in UnmarshalAccountInfo() 645 if (baseCmd == nullptr || !cJSON_IsString(baseCmd) || (baseCmd->valuestring == nullptr)) { in Unmarshal() 672 if (reason == nullptr || !cJSON_IsString(reason) || (reason->valuestring == nullptr)) { in Unmarshal() [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/base/src/ |
H A D | dcamera_open_info_cmd.cpp | 61 if (type == nullptr || !cJSON_IsString(type) || (type->valuestring == nullptr)) { in Unmarshal() 67 if (dhId == nullptr || !cJSON_IsString(dhId) || (dhId->valuestring == nullptr)) { in Unmarshal() 73 if (command == nullptr || !cJSON_IsString(command) || (command->valuestring == nullptr)) { in Unmarshal() 84 …if (sourceDevId == nullptr || !cJSON_IsString(sourceDevId) || (sourceDevId->valuestring == nullptr… in Unmarshal()
|
H A D | dcamera_channel_info_cmd.cpp | 77 if (type == nullptr || !cJSON_IsString(type) || (type->valuestring == nullptr)) { in Unmarshal() 83 if (dhId == nullptr || !cJSON_IsString(dhId) || (dhId->valuestring == nullptr)) { in Unmarshal() 89 if (command == nullptr || !cJSON_IsString(command) || (command->valuestring == nullptr)) { in Unmarshal() 100 …if (sourceDevId == nullptr || !cJSON_IsString(sourceDevId) || (sourceDevId->valuestring == nullptr… in Unmarshal() 126 if (dataSessionFlag == nullptr || !cJSON_IsString(dataSessionFlag) || in UnmarshalDetails()
|
H A D | dcamera_event_cmd.cpp | 63 if (type == nullptr || !cJSON_IsString(type) || (type->valuestring == nullptr) || in Unmarshal() 64 dhId == nullptr || !cJSON_IsString(dhId) || (dhId->valuestring == nullptr)) { in Unmarshal() 71 if (command == nullptr || !cJSON_IsString(command) || (command->valuestring == nullptr)) { in Unmarshal() 95 …if (eventContent == nullptr || !cJSON_IsString(eventContent) || (eventContent->valuestring == null… in Unmarshal()
|
H A D | dcamera_metadata_setting_cmd.cpp | 70 if (type == nullptr || !cJSON_IsString(type) || (type->valuestring == nullptr)) { in Unmarshal() 76 if (dhId == nullptr || !cJSON_IsString(dhId) || (dhId->valuestring == nullptr)) { in Unmarshal() 82 if (command == nullptr || !cJSON_IsString(command) || (command->valuestring == nullptr)) { in Unmarshal() 100 …if (settingValue == nullptr || !cJSON_IsString(settingValue) || (settingValue->valuestring == null… in Unmarshal()
|
H A D | dcamera_info_cmd.cpp | 61 if (type == nullptr || !cJSON_IsString(type) || (type->valuestring == nullptr)) { in Unmarshal() 67 if (dhId == nullptr || !cJSON_IsString(dhId) || (dhId->valuestring == nullptr)) { in Unmarshal() 73 if (command == nullptr || !cJSON_IsString(command) || (command->valuestring == nullptr)) { in Unmarshal()
|
H A D | dcamera_capture_info_cmd.cpp | 84 if (type == nullptr || !cJSON_IsString(type) || (type->valuestring == nullptr)) { in Unmarshal() 91 if (dhId == nullptr || !cJSON_IsString(dhId) || (dhId->valuestring == nullptr)) { in Unmarshal() 98 if (command == nullptr || !cJSON_IsString(command) || (command->valuestring == nullptr)) { in Unmarshal() 175 if (settingValue == nullptr || !cJSON_IsString(settingValue) || in UmarshalSettings()
|
/ohos5.0/foundation/communication/netmanager_ext/services/netfirewallmanager/src/ |
H A D | netfirewall_default_rule_parser.cpp | 29 if (ruleName != nullptr && cJSON_IsString(ruleName)) { in ConvertFirewallRuleToConfig() 34 if (ruleDescription != nullptr && cJSON_IsString(ruleDescription)) { in ConvertFirewallRuleToConfig() 161 if (address != nullptr && cJSON_IsString(address)) { in ConvertIpParamToConfig() 178 if (startIp != nullptr && cJSON_IsString(startIp)) { in ConvertIpParamToConfig() 188 if (endIp != nullptr && cJSON_IsString(endIp)) { in ConvertIpParamToConfig() 221 if (domain != nullptr && cJSON_IsString(domain)) { in ConvertDomainParamToConfig() 230 if (primaryDns != nullptr && cJSON_IsString(primaryDns)) { in ConvertDnsParamToConfig() 235 if (standbyDns != nullptr && cJSON_IsString(standbyDns)) { in ConvertDnsParamToConfig()
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/ |
H A D | json_payload.c | 188 if (!cJSON_IsString(item) || !strlen(item->valuestring)) { in ParseDeviceJsonData() 197 if (!cJSON_IsString(item) || !strlen(item->valuestring)) { in ParseDeviceJsonData() 221 if (!cJSON_IsString(item) || !strlen(item->valuestring)) { in ParseDeviceJsonData() 237 if (cJSON_IsString(item)) { in ParseWifiApJsonData() 277 if (!cJSON_IsString(item) || !strlen(item->valuestring)) { in ParseDeviceHashData() 295 if (!cJSON_IsString(item)) { in ParseServiceDataJsonData() 318 if (!cJSON_IsString(item)) { in ParseExtendServiceDataJsonData() 383 if (!cJSON_IsString(item)) { in ParseBusinessDataJsonData() 534 if (cJSON_IsString(item)) { in ParseServiceDiscoverEx() 608 if (!cJSON_IsString(item)) { in ParseServiceNotification()
|
/ohos5.0/foundation/communication/nfc/services/src/tag/ |
H A D | isodep_card_handler.cpp | 64 if (value == nullptr || !cJSON_IsString(value)) { in GetCheckApduFromJson() 86 if (value == nullptr || !cJSON_IsString(value)) { in GetBalanceApduFromJson() 107 if (name == nullptr || !cJSON_IsString(name)) { in GetEachCardInfoFromJson() 114 if (aid == nullptr || !cJSON_IsString(aid)) { in GetEachCardInfoFromJson() 131 if (rspContains == nullptr || !cJSON_IsString(rspContains)) { in GetEachCardInfoFromJson()
|
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/src/init/ |
H A D | json_parser_utils.cpp | 61 if (jsonValue != NULL && cJSON_IsString(jsonValue)) { in GetJsonString() 90 if (item != NULL && cJSON_IsString(item)) { in GetJsonStringVec() 122 if (item != NULL && cJSON_IsString(item)) { in ParseJsonToMap()
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_handler/histreamer_ability_querier/src/ |
H A D | histreamer_ability_querier.cpp | 179 if (mimeObj == nullptr || !cJSON_IsString(mimeObj)) { in FromJson() 218 if (mimeObj == nullptr || !cJSON_IsString(mimeObj)) { in FromJson() 296 if (nameObj == nullptr || !cJSON_IsString(nameObj)) { in FromJson() 401 if (mimeObj == nullptr || !cJSON_IsString(mimeObj)) { in FromJson() 442 if (mimeObj == nullptr || !cJSON_IsString(mimeObj)) { in FromJson() 506 if (nameObj == nullptr || !cJSON_IsString(nameObj)) { in FromJson() 612 if (mimeObj == nullptr || !cJSON_IsString(mimeObj)) { in FromJson() 648 if (mimeObj == nullptr || !cJSON_IsString(mimeObj)) { in FromJson() 701 if (nameObj == nullptr || !cJSON_IsString(nameObj)) { in FromJson() 810 if (mimeObj == nullptr || !cJSON_IsString(mimeObj)) { in FromJson() [all …]
|
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/contentsensormanager/ |
H A D | dms_info_collector.cpp | 55 if (!cJSON_IsString(item)) { in ConvertToProfile() 62 if (!cJSON_IsString(item)) { in ConvertToProfile()
|
H A D | switch_status_collector.cpp | 112 if (!cJSON_IsString(abilityKeyItem) || abilityKeyItem->valuestring == NULL) { in GenerateSwitchProfiles() 117 if (!cJSON_IsString(abilityValueItem)) { in GenerateSwitchProfiles()
|
/ohos5.0/base/startup/appspawn/service/hnp/base/ |
H A D | hnp_json.c | 191 …if ((hapJson != NULL) && (cJSON_IsString(hapJson)) && (strcmp(hapJson->valuestring, hnpPackageName… in HnpInstallHapExistCheck() 237 … ((cJSON_IsString(nameItem)) && (strcmp(nameItem->valuestring, hnpCfg->name) != 0))) { in HnpPackageVersionUpdateAll() 454 if (name == NULL || version == NULL || !cJSON_IsString(name) || !cJSON_IsString(version)) { in HnpPackageInfoGet() 563 if ((nameItem != NULL) && (versionItem != NULL) && (cJSON_IsString(nameItem)) && in HnpInstallHnpVersionGet() 564 (cJSON_IsString(versionItem)) && (strcmp(nameItem->valuestring, name) == 0)) { in HnpInstallHnpVersionGet()
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/ |
H A D | av_trans_message.cpp | 78 if (contentObj == nullptr || !cJSON_IsString(contentObj)) { in UnmarshalMessage() 98 return (keyObj != nullptr) && cJSON_IsString(keyObj) && in IsString()
|
/ohos5.0/foundation/multimodalinput/input/service/key_command/src/ |
H A D | key_command_handler_util.cpp | 36 if (!cJSON_IsString(businessId)) { in GetBusinessId() 86 if (!cJSON_IsString(trigger)) { in GetTrigger() 144 if (cJSON_IsString(valueJson)) { in GetKeyVal() 166 if (!cJSON_IsString(entity)) { in GetEntities() 197 if (!cJSON_IsString(key)) { in GetParams() 202 if (!cJSON_IsString(value)) { in GetParams()
|
/ohos5.0/base/hiviewdfx/hitrace/frameworks/native/ |
H A D | common_utils.cpp | 138 if (cJSON_IsString(sysFile)) { in ParseSysFiles() 154 if (description != nullptr && cJSON_IsString(description)) { in ParseTagCategory() 182 if (cJSON_IsString(tag)) { in ParseTagGroups()
|
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/staticcapabilityloader/ |
H A D | static_capability_loader.cpp | 220 if (!cJSON_IsString(versionItem) || versionItem->valuestring == NULL) { in GetStaticInfoJsonByVersion() 242 if (!cJSON_IsString(dpVersionJson) || dpVersionJson->valuestring == NULL) { in GetStaticVersion() 274 if (!cJSON_IsString(abilityKeyItem) || abilityKeyItem->valuestring == NULL) { in GenerateStaticProfiles() 399 if (!cJSON_IsString(nameItem) || nameItem->valuestring == NULL) { in SetStaticCapability() 404 if (!cJSON_IsString(locItem) || locItem->valuestring == NULL) { in SetStaticCapability()
|
/ohos5.0/base/hiviewdfx/hiview/base/utility/ |
H A D | cjson_util.cpp | 66 if (str == nullptr || !cJSON_IsString(str)) { in GetStringValue() 87 if (strItem == nullptr || !cJSON_IsString(strItem)) { in GetStringArray()
|
/ohos5.0/base/sensors/miscdevice/utils/common/src/ |
H A D | json_parser.cpp | 96 if ((!cJSON_IsString(val)) || (val->valuestring == nullptr)) { in ParseJsonArray() 143 if (!cJSON_IsString(json)) { in GetStringValue()
|
/ohos5.0/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/mini/ |
H A D | device_manager_impl_lite_m.c | 117 if (pkgNameObj == NULL || !cJSON_IsString(pkgNameObj)) { in StartAdvertising() 155 if (pkgNameObj == NULL || !cJSON_IsString(pkgNameObj)) { in StartDiscovering()
|
/ohos5.0/base/security/access_token/interfaces/innerkits/nativetoken/src/ |
H A D | nativetoken_json_oper.c | 35 if (!cJSON_IsString(processNameJson) || (processNameJson->valuestring == NULL) || in GetProcessNameFromJson() 94 if ((item == NULL) || (!cJSON_IsString(item)) || (item->valuestring == NULL)) { in GetInfoArrFromJson() 288 …if ((processNameJson == NULL) || (!cJSON_IsString(processNameJson)) || (processNameJson->valuestri… in UpdateGoalItemFromRecord()
|