Home
last modified time | relevance | path

Searched refs:array (Results 1 – 3 of 3) sorted by relevance

/iperf/src/
H A Dcjson.h173 CJSON_PUBLIC(int) cJSON_GetArraySize(const cJSON *array);
175 CJSON_PUBLIC(cJSON *) cJSON_GetArrayItem(const cJSON *array, int index);
227 CJSON_PUBLIC(cJSON_bool) cJSON_AddItemToArray(cJSON *array, cJSON *item);
234 CJSON_PUBLIC(cJSON_bool) cJSON_AddItemReferenceToArray(cJSON *array, cJSON *item);
239 CJSON_PUBLIC(cJSON *) cJSON_DetachItemFromArray(cJSON *array, int which);
240 CJSON_PUBLIC(void) cJSON_DeleteItemFromArray(cJSON *array, int which);
247 CJSON_PUBLIC(cJSON_bool) cJSON_InsertItemInArray(cJSON *array, int which, cJSON *newitem); /* Shift…
249 CJSON_PUBLIC(cJSON_bool) cJSON_ReplaceItemInArray(cJSON *array, int which, cJSON *newitem);
288 #define cJSON_ArrayForEach(element, array) for(element = (array != NULL) ? (array)->child : NULL; e… argument
H A Dcjson.c1830 if (array == NULL) in cJSON_GetArraySize()
1835 child = array->child; in cJSON_GetArraySize()
1852 if (array == NULL) in get_array_item()
1957 if ((item == NULL) || (array == NULL) || (array == item)) in add_item_to_array()
1962 child = array->child; in add_item_to_array()
1969 array->child = item; in add_item_to_array()
2067 if (array == NULL) in cJSON_AddItemReferenceToArray()
2186 return array; in cJSON_AddArrayToObject()
2189 cJSON_Delete(array); in cJSON_AddArrayToObject()
2230 return cJSON_DetachItemViaPointer(array, get_array_item(array, (size_t)which)); in cJSON_DetachItemFromArray()
[all …]
/iperf/
H A DRELNOTES.md857 an array in the "start" block, instead of overwriting each other.