Lines Matching defs:list
484 static cJSON *sort_list(cJSON *list, const cJSON_bool case_sensitive)
486 cJSON *first = list;
487 cJSON *second = list;
488 cJSON *current_item = list;
489 cJSON *result = list;
492 if ((list == NULL) || (list->next == NULL))
500 /* Test for list sorted. */
510 current_item = list;
549 /* start merged list with the smaller element */
555 /* add smaller element to the list */
573 /* Append rest of first list. */
583 /* Append rest of second list */
729 /* insert into the linked list */