Lines Matching defs:item
317 cJSON *item = cJSON_GetArrayItem(arrItem, i);
318 int ret = GetGid(item, &gid, curServ);
583 cJSON *item = cJSON_GetObjectItem(curArrItem, "ondemand");
584 if (item == NULL) {
588 INIT_ERROR_CHECK(cJSON_IsBool(item), return SERVICE_FAILURE,
592 INIT_INFO_CHECK(cJSON_IsTrue(item), return SERVICE_SUCCESS,
605 cJSON *item = cJSON_GetObjectItem(curArrItem, "setuid");
606 if (item == NULL) {
610 INIT_ERROR_CHECK(cJSON_IsBool(item), return SERVICE_FAILURE,
614 INIT_INFO_CHECK(cJSON_IsTrue(item), return SERVICE_SUCCESS,
755 cJSON *item = cJSON_GetArrayItem(obj, i);
756 INIT_ERROR_CHECK(item != NULL, return SERVICE_FAILURE, "prase invalid");
757 cpus = (int)cJSON_GetNumberValue(item);
772 cJSON *item = cJSON_GetObjectItem(curItem, "sandbox");
773 if (item == NULL) {
777 INIT_ERROR_CHECK(cJSON_IsNumber(item), return SERVICE_FAILURE,
779 int isSandbox = (int)cJSON_GetNumberValue(item);