Lines Matching refs:temp_list
724 struct dirent **temp_list = NULL; in scandir() local
741 temp_list, new_list_size * sizeof(struct dirent*)); in scandir()
746 temp_list = new_list; in scandir()
749 temp_list[num_dent] = (struct dirent*)malloc((dent->d_reclen + 3) & ~3); in scandir()
750 memcpy(temp_list[num_dent], dent, dent->d_reclen); in scandir()
755 qsort(temp_list, num_dent, sizeof(struct dirent*), in scandir()
760 *name_list = temp_list; in scandir()
761 temp_list = NULL; in scandir()
764 if (temp_list != NULL) { in scandir()
766 free(temp_list[--num_dent]); in scandir()
768 free(temp_list); in scandir()