Searched refs:replacement (Results 1 – 2 of 2) sorted by relevance
2299 if (replacement == item) in cJSON_ReplaceItemViaPointer()2304 replacement->next = item->next; in cJSON_ReplaceItemViaPointer()2305 replacement->prev = item->prev; in cJSON_ReplaceItemViaPointer()2307 if (replacement->next != NULL) in cJSON_ReplaceItemViaPointer()2309 replacement->next->prev = replacement; in cJSON_ReplaceItemViaPointer()2313 parent->child = replacement; in cJSON_ReplaceItemViaPointer()2320 if (replacement->prev != NULL) in cJSON_ReplaceItemViaPointer()2322 replacement->prev->next = replacement; in cJSON_ReplaceItemViaPointer()2351 if (!(replacement->type & cJSON_StringIsConst) && (replacement->string != NULL)) in replace_item_in_object()2353 cJSON_free(replacement->string); in replace_item_in_object()[all …]
248 …N_bool) cJSON_ReplaceItemViaPointer(cJSON * const parent, cJSON * const item, cJSON * replacement);