Searched refs:valuestring (Results 1 – 14 of 14) 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 | 85 if ((!cJSON_IsString(val)) || (val->valuestring == nullptr)) { in ParseJsonArray() 89 vals.push_back(val->valuestring); in ParseJsonArray()
|
/base/security/appverify/interfaces/innerkits/appverify_lite/src/ |
D | app_provision.c | 43 if ((jsonObj == NULL) || (jsonObj->valuestring == NULL)) { in GetStringTag() 47 int32_t objLen = strlen(jsonObj->valuestring); in GetStringTag() 57 errno_t ret = strcpy_s(value, objLen + 1, jsonObj->valuestring); in GetStringTag() 104 if (item->valuestring == NULL) { in GetStringArrayTag() 108 int32_t len = strlen(item->valuestring); in GetStringArrayTag() 112 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 | 32 char* valuestring; member
|
/base/update/updater/services/updater_binary/ |
D | update_partitions.cpp | 60 myPartition->partName = (item->valuestring); in SetPartitionInfo() 67 myPartition->fsType = (item->valuestring); in SetPartitionInfo()
|
/base/security/permission_lite/services/pms_client/ |
D | perm_client.c | 236 … || itemName->valuestring == NULL || !cJSON_IsString(itemDesc) || itemDesc->valuestring == NULL) { in ParsePermissions() 242 if (strcpy_s((*perms + i)->name, PERM_NAME_LEN, itemName->valuestring) != EOK) { in ParsePermissions() 248 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/security/device_auth/frameworks/deviceauth_lite/source/json/ |
D | jsonutil.c | 75 return ((cJSON *)obj)->valuestring; in get_json_string()
|
/base/security/device_security_level/baselib/utils/src/ |
D | utils_json.c | 117 return ((cJSON *)handle)->valuestring; in GetJsonFieldString()
|
/base/msdp/device_status/services/interaction/coordination/src/ |
D | coordination_softbus_adapter.cpp | 59 COOR_SM->StartRemoteCoordination(deviceId->valuestring, cJSON_IsTrue(buttonIsPressed)); in ResponseStartRemoteCoordination() 73 …COOR_SM->StartRemoteCoordinationResult(cJSON_IsTrue(result), dhid->valuestring, x->valueint, y->va… in ResponseStartRemoteCoordinationResult() 109 COOR_SM->NotifyUnchainedResult(deviceId->valuestring, cJSON_IsTrue(result)); in ResponseNotifyUnchainedResult() 121 COOR_SM->StartCoordinationOtherResult(deviceId->valuestring); in ResponseStartCoordinationOtherResult()
|
/base/update/updater/utils/json/ |
D | json_node.cpp | 122 innerObj_ = std::make_optional<std::string>(root->valuestring); in Parse()
|
/base/sensors/miscdevice/services/miscdevice_service/custom_vibrate_decode/src/ |
D | default_vibrator_decoder.cpp | 143 std::string curType = type->valuestring; in ParseEvent()
|
/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()
|
/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/ |
D | hitrace_dump.cpp | 206 tagCategory.description = description->valuestring; in ParseTagCategory() 221 tagCategory.sysFiles.push_back(sysFile->valuestring); in ParseTagCategory() 238 tagList.push_back(tag->valuestring); in ParseTagGroups()
|