Home
last modified time | relevance | path

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

/iperf/src/
H A Dcjson.c2278 newitem->next = after_inserted; in cJSON_InsertItemInArray()
2283 array->child = newitem; in cJSON_InsertItemInArray()
2287 newitem->prev->next = newitem; in cJSON_InsertItemInArray()
2678 cJSON *newitem = NULL; in cJSON_Duplicate() local
2690 if (!newitem) in cJSON_Duplicate()
2701 if (!newitem->valuestring) in cJSON_Duplicate()
2709 if (!newitem->string) in cJSON_Duplicate()
2717 return newitem; in cJSON_Duplicate()
2744 return newitem; in cJSON_Duplicate()
2747 if (newitem != NULL) in cJSON_Duplicate()
[all …]
H A Dcjson.h247 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);
250 CJSON_PUBLIC(cJSON_bool) cJSON_ReplaceItemInObject(cJSON *object,const char *string,cJSON *newitem);
251 …JSON_bool) cJSON_ReplaceItemInObjectCaseSensitive(cJSON *object,const char *string,cJSON *newitem);