Home
last modified time | relevance | path

Searched refs:cJSON_IsString (Results 1 – 17 of 17) sorted by relevance

/base/security/access_token/interfaces/innerkits/nativetoken/test/mock/include/
DcJSON.h54 cJSON_bool cJSON_IsString(const cJSON* const item);
/base/security/access_token/interfaces/innerkits/nativetoken/src/
Dnativetoken_json_oper.c34 if (!cJSON_IsString(processNameJson) || (processNameJson->valuestring == NULL) || in GetProcessNameFromJson()
93 if ((item == NULL) || (!cJSON_IsString(item)) || (item->valuestring == NULL)) { in GetInfoArrFromJson()
287 …if ((processNameJson == NULL) || (!cJSON_IsString(processNameJson)) || (processNameJson->valuestri… in UpdateGoalItemFromRecord()
/base/startup/init/services/init/
Dinit_config.c81 if (!cJSON_IsString(importItem)) { in ParseAllImports()
Dinit_capability.c115 } else if (cJSON_IsString(capJson)) { in InitServiceCaps()
Dinit_service_manager.c243 if (cJSON_IsString(json)) { in GetUid()
259 if (cJSON_IsString(json)) { in GetGid()
396 INIT_CHECK_RETURN_VALUE(cJSON_IsString(typeItem), SERVICE_FAILURE); in ParseSocketOption()
493 if (!cJSON_IsString(json) || !cJSON_GetStringValue(json)) { in AddServiceFile()
Dinit_common_cmds.c699 if (!cJSON_IsString(line)) { in GetCmdLinesFromJson()
/base/sensors/miscdevice/utils/src/
Djson_parser.cpp85 if ((!cJSON_IsString(val)) || (val->valuestring == nullptr)) { in ParseJsonArray()
/base/startup/appspawn/lite/
Dappspawn_message.c65 if (strItem == NULL || !cJSON_IsString(strItem)) { in ReadStringItem()
/base/msdp/device_status/services/interaction/coordination/src/
Dcoordination_softbus_adapter.cpp55 if (!cJSON_IsString(deviceId) || !cJSON_IsBool(buttonIsPressed)) { in ResponseStartRemoteCoordination()
69 … if (!cJSON_IsBool(result) || !cJSON_IsString(dhid) || !cJSON_IsNumber(x) || !cJSON_IsNumber(y)) { in ResponseStartRemoteCoordinationResult()
105 if (!cJSON_IsString(deviceId) || !cJSON_IsBool(result)) { in ResponseNotifyUnchainedResult()
117 if (!cJSON_IsString(deviceId)) { in ResponseStartCoordinationOtherResult()
/base/security/permission_lite/services/pms/src/
Dpms_impl.c150 !cJSON_IsString(itemName) || !cJSON_IsString(itemDesc) || itemName->valuestring == NULL) { in ParseFixedPermissionsItem()
166 if (itemFlags == NULL || !cJSON_IsString(itemFlags) || itemFlags->valuestring == NULL) { in ParseNewPermissionsItem()
/base/security/permission_lite/services/pms_client/
Dperm_client.c234 if (itemName == NULL || itemDesc == NULL || itemGranted == NULL || !cJSON_IsString(itemName) in ParsePermissions()
235 … || itemName->valuestring == NULL || !cJSON_IsString(itemDesc) || itemDesc->valuestring == NULL) { in ParsePermissions()
/base/security/access_token/interfaces/innerkits/nativetoken/test/mock/src/
DcJSON.c92 cJSON_bool cJSON_IsString(const cJSON* const item) in cJSON_IsString() function
/base/security/device_auth/common_lib/impl/src/
Djson_utils.c177 if (jsonObjTmp != NULL && cJSON_IsString(jsonObjTmp)) { in GetStringFromJson()
/base/security/device_auth/test/unittest/deviceauth/source/
Djson_utils_mock.c235 if (jsonObjTmp != NULL && cJSON_IsString(jsonObjTmp)) { in GetStringFromJson()
/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/src/
Dnativetoken_kit_test.cpp87 if ((cJSON_IsString(innerProcessName)) && (innerProcessName->valuestring != nullptr)) { in DeleteGoalItemFromRecord()
/base/startup/init/test/unittest/lite/
Dcmd_func_test.cpp631 EXPECT_TRUE(cJSON_IsNumber(filedJ) || cJSON_IsString(filedJ)); in CheckService()
/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/
Dhitrace_dump.cpp220 if (cJSON_IsString(sysFile)) { in ParseTagCategory()