Home
last modified time | relevance | path

Searched refs:arrayObj (Results 1 – 2 of 2) sorted by relevance

/base/hiviewdfx/hiview/utility/smart_parser/rule/
Dextract_rule.cpp65 Json::Value arrayObj = json[L1_SEG_STATUS]; in ParseSegStatusCfg() local
66 int arrayObjSize = static_cast<int>(arrayObj.size()); in ParseSegStatusCfg()
72 string name = arrayObj[i]["namespace"].asString(); in ParseSegStatusCfg()
74 cfg.emplace_back(arrayObj[i]["matchKey"].asString()); in ParseSegStatusCfg()
75 cfg.emplace_back(arrayObj[i]["desc"].asString()); in ParseSegStatusCfg()
/base/security/device_security_level/baselib/utils/src/
Dutils_json.c163 cJSON *arrayObj = cJSON_CreateIntArray(array, arrayLen); in DslmAddFieldIntArrayToJson() local
164 if (arrayObj == NULL) { in DslmAddFieldIntArrayToJson()
167 (void)cJSON_AddItemToObject((cJSON *)handle, field, arrayObj); in DslmAddFieldIntArrayToJson()