Lines Matching refs:next
267 cJSON *next = NULL;
270 next = item->next;
285 if (next == item)
290 item = next;
885 /* shift left to make place for the next nibble */
1721 /* allocate next item */
1728 /* attach next item to list */
1737 current_item->next = new_item;
1742 /* parse next value */
1812 if (current_element->next)
1828 current_element = current_element->next;
1879 /* allocate next item */
1886 /* attach next item to list */
1895 current_item->next = new_item;
2034 length = ((size_t)(output_buffer->format ? 1 : 0) + (size_t)(current_item->next ? 1 : 0));
2040 if (current_item->next)
2052 current_item = current_item->next;
2091 child = child->next;
2112 current_child = current_child->next;
2142 current_element = current_element->next;
2149 current_element = current_element->next;
2178 prev->next = item;
2200 reference->next = reference->prev = NULL;
2222 item->next = NULL;
2459 item->prev->next = item->next;
2461 if (item->next != NULL)
2464 item->next->prev = item->prev;
2470 parent->child = item->next;
2472 else if (item->next == NULL)
2480 item->next = NULL;
2545 newitem->next = after_inserted;
2554 newitem->prev->next = newitem;
2571 replacement->next = item->next;
2574 if (replacement->next != NULL)
2576 replacement->next->prev = replacement;
2589 * We can't modify the last item's next pointer where this item was the parent's child
2593 replacement->prev->next = replacement;
2595 if (replacement->next == NULL)
2601 item->next = NULL;
3021 cJSON *next = NULL;
3060 /* Walk the ->next chain for the child. */
3064 newchild = cJSON_Duplicate(child, true); /* Duplicate (with recurse) each item in the ->next chain */
3069 if (next != NULL)
3071 /* If newitem->child already set, then crosswire ->prev and ->next and move on */
3072 next->next = newchild;
3073 newchild->prev = next;
3074 next = newchild;
3080 next = newchild;
3082 child = child->next;
3401 a_element = a_element->next;
3402 b_element = b_element->next;