Searched refs:num_dent (Results 1 – 1 of 1) sorted by relevance
729 size_t num_dent = 0; in scandir() local741 if (num_dent == temp_list_size) { in scandir()752 temp_list[num_dent] = (struct dirent*)malloc((dent->d_reclen + 3) & ~3); in scandir()753 memcpy(temp_list[num_dent], dent, dent->d_reclen); in scandir()754 num_dent++; in scandir()758 qsort(temp_list, num_dent, sizeof(struct dirent*), in scandir()768 while (num_dent > 0) { in scandir()769 free(temp_list[--num_dent]); in scandir()772 num_dent = -1; in scandir()775 return num_dent; in scandir()