Searched refs:valuestring (Results 1 – 12 of 12) sorted by relevance
/base/security/access_token/interfaces/innerkits/nativetoken/src/ |
D | nativetoken_json_oper.c | 34 if (!cJSON_IsString(processNameJson) || (processNameJson->valuestring == NULL) || in GetProcessNameFromJson() 35 (strlen(processNameJson->valuestring) > MAX_PROCESS_NAME_LEN)) { in GetProcessNameFromJson() 40 …if (strcpy_s(tokenNode->processName, MAX_PROCESS_NAME_LEN + 1, processNameJson->valuestring) != EO… in GetProcessNameFromJson() 93 if ((item == NULL) || (!cJSON_IsString(item)) || (item->valuestring == NULL)) { in GetInfoArrFromJson() 97 size_t length = strlen(item->valuestring); in GetInfoArrFromJson() 108 if (strcpy_s(strArr[i], length + 1, item->valuestring) != EOK) { in GetInfoArrFromJson() 287 …ameJson == NULL) || (!cJSON_IsString(processNameJson)) || (processNameJson->valuestring == NULL)) { in UpdateGoalItemFromRecord() 291 if (strcmp(processNameJson->valuestring, tokenNode->processName) == 0) { in UpdateGoalItemFromRecord()
|
/base/sensors/miscdevice/utils/src/ |
D | json_parser.cpp | 75 if ((!cJSON_IsString(val)) || (val->valuestring == nullptr)) { in ParseJsonArray() 79 vals.push_back(val->valuestring); in ParseJsonArray()
|
/base/security/appverify/interfaces/innerkits/appverify_lite/src/ |
D | app_provision.c | 37 if ((jsonObj == NULL) || (jsonObj->valuestring == NULL)) { in GetStringTag() 41 int objLen = strlen(jsonObj->valuestring); in GetStringTag() 51 errno_t ret = strcpy_s(value, objLen + 1, jsonObj->valuestring); in GetStringTag() 98 if (item->valuestring == NULL) { in GetStringArrayTag() 102 int len = strlen(item->valuestring); in GetStringArrayTag() 106 errno_t ret = strcpy_s(value[i], len + 1, item->valuestring); in GetStringArrayTag()
|
/base/security/access_token/interfaces/innerkits/nativetoken/test/mock/include/ |
D | cJSON.h | 34 char* valuestring; member
|
/base/update/updater/services/updater_binary/ |
D | update_partitions.cpp | 66 myPartition->partName = (item->valuestring); in ParsePartitionInfo() 70 myPartition->fsType = (item->valuestring); in ParsePartitionInfo()
|
/base/security/permission_lite/services/pms_client/ |
D | perm_client.c | 235 … || itemName->valuestring == NULL || !cJSON_IsString(itemDesc) || itemDesc->valuestring == NULL) { in ParsePermissions() 241 if (strcpy_s((*perms + i)->name, PERM_NAME_LEN, itemName->valuestring) != EOK) { in ParsePermissions() 247 if (strcpy_s((*perms + i)->desc, PERM_DESC_LEN, itemDesc->valuestring) != EOK) { in ParsePermissions()
|
/base/security/permission_lite/services/pms/src/ |
D | pms_impl.c | 150 !cJSON_IsString(itemName) || !cJSON_IsString(itemDesc) || itemName->valuestring == NULL) { in ParseFixedPermissionsItem() 153 if (strcpy_s(perms->name, PERM_NAME_LEN, itemName->valuestring) != EOK) { in ParseFixedPermissionsItem() 156 if (strcpy_s(perms->desc, PERM_DESC_LEN, itemDesc->valuestring) != EOK) { in ParseFixedPermissionsItem() 166 if (itemFlags == NULL || !cJSON_IsString(itemFlags) || itemFlags->valuestring == NULL) { in ParseNewPermissionsItem() 170 perms->flags = atoi(itemFlags->valuestring); in ParseNewPermissionsItem()
|
/base/update/updateservice/services/engine/src/ |
D | update_service.cpp | 686 info.errMsg = item->valuestring; in ParseJsonFile() 716 info.result[i].versionName = item->valuestring; in ReadCheckVersionResult() 720 info.result[i].versionCode = item->valuestring; in ReadCheckVersionResult() 724 info.result[i].verifyInfo = item->valuestring; in ReadCheckVersionResult() 736 url = item->valuestring; in ReadCheckVersionResult() 740 info.result[i].descriptPackageId = item->valuestring; in ReadCheckVersionResult() 758 info.descriptInfo[i].content = item->valuestring; in ReadCheckVersiondescriptInfo()
|
/base/security/device_security_level/baselib/utils/src/ |
D | utils_json.c | 117 return ((cJSON *)handle)->valuestring; in GetJsonFieldString()
|
/base/security/device_auth/frameworks/deviceauth_lite/source/json/ |
D | jsonutil.c | 75 return ((cJSON *)obj)->valuestring; in get_json_string()
|
/base/update/updater/utils/json/ |
D | json_node.cpp | 122 innerObj_ = std::make_optional<std::string>(root->valuestring); in Parse()
|
/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/src/ |
D | nativetoken_kit_test.cpp | 87 if ((cJSON_IsString(innerProcessName)) && (innerProcessName->valuestring != nullptr)) { in DeleteGoalItemFromRecord() 88 if (strcmp(innerProcessName->valuestring, processName) == 0) { in DeleteGoalItemFromRecord()
|