Lines Matching refs:which
2223 CJSON_PUBLIC(cJSON *) cJSON_DetachItemFromArray(cJSON *array, int which) in cJSON_DetachItemFromArray() argument
2225 if (which < 0) in cJSON_DetachItemFromArray()
2230 return cJSON_DetachItemViaPointer(array, get_array_item(array, (size_t)which)); in cJSON_DetachItemFromArray()
2233 CJSON_PUBLIC(void) cJSON_DeleteItemFromArray(cJSON *array, int which) in cJSON_DeleteItemFromArray() argument
2235 cJSON_Delete(cJSON_DetachItemFromArray(array, which)); in cJSON_DeleteItemFromArray()
2263 CJSON_PUBLIC(cJSON_bool) cJSON_InsertItemInArray(cJSON *array, int which, cJSON *newitem) in cJSON_InsertItemInArray() argument
2267 if (which < 0) in cJSON_InsertItemInArray()
2272 after_inserted = get_array_item(array, (size_t)which); in cJSON_InsertItemInArray()
2333 CJSON_PUBLIC(cJSON_bool) cJSON_ReplaceItemInArray(cJSON *array, int which, cJSON *newitem) in cJSON_ReplaceItemInArray() argument
2335 if (which < 0) in cJSON_ReplaceItemInArray()
2340 return cJSON_ReplaceItemViaPointer(array, get_array_item(array, (size_t)which), newitem); in cJSON_ReplaceItemInArray()