Lines Matching defs:obj
231 cJSON *obj = cJSON_GetObjectItem(item, SANDBOX_FLAGS);
232 BEGET_INFO_CHECK(obj != NULL, return 0, "Get sandbox-flags is null");
233 int ret = cJSON_IsArray(obj);
235 int count = cJSON_GetArraySize(obj);
244 cJSON *item = cJSON_GetArrayItem(obj, i);
248 obj = cJSON_GetObjectItem(item, SANDBOX_IGNORE_ERRORS);
249 if (obj != NULL) {
250 if (cJSON_GetNumberValue(obj) == 1) {
291 cJSON *obj = cJSON_GetObjectItem(root, itemName);
292 BEGET_WARNING_CHECK(obj != NULL, return 0, "Cannot find item \' %s \' in sandbox config", itemName);
293 BEGET_WARNING_CHECK(cJSON_IsArray(obj), return 0, "ItemName %s with invalid type, should be array", itemName);
295 int counts = cJSON_GetArraySize(obj);
309 cJSON *item = cJSON_GetArrayItem(obj, i);