Lines Matching refs:current_item
1440 cJSON *current_item = NULL; in parse_array() local
1485 current_item = head = new_item; in parse_array()
1490 current_item->next = new_item; in parse_array()
1491 new_item->prev = current_item; in parse_array()
1492 current_item = new_item; in parse_array()
1498 if (!parse_value(current_item, input_buffer)) in parse_array()
1515 head->prev = current_item; in parse_array()
1600 cJSON *current_item = NULL; in parse_object() local
1643 current_item = head = new_item; in parse_object()
1648 current_item->next = new_item; in parse_object()
1649 new_item->prev = current_item; in parse_object()
1650 current_item = new_item; in parse_object()
1656 if (!parse_string(current_item, input_buffer)) in parse_object()
1663 current_item->string = current_item->valuestring; in parse_object()
1664 current_item->valuestring = NULL; in parse_object()
1674 if (!parse_value(current_item, input_buffer)) in parse_object()
1691 head->prev = current_item; in parse_object()
1714 cJSON *current_item = item->child; in print_object() local
1737 while (current_item) in print_object()
1755 if (!print_string_ptr((unsigned char*)current_item->string, output_buffer)) in print_object()
1775 if (!print_value(current_item, output_buffer)) in print_object()
1782 length = ((size_t)(output_buffer->format ? 1 : 0) + (size_t)(current_item->next ? 1 : 0)); in print_object()
1788 if (current_item->next) in print_object()
1800 current_item = current_item->next; in print_object()