Home
last modified time | relevance | path

Searched refs:fts_array (Results 1 – 2 of 2) sorted by relevance

/bionic/libc/include/
Dfts.h41 struct _ftsent **fts_array; /* sort array */ member
/bionic/libc/bionic/
Dfts.c230 if (sp->fts_array) in fts_close()
231 free(sp->fts_array); in fts_close()
876 if ((a = realloc(sp->fts_array, in fts_sort()
878 if (sp->fts_array) in fts_sort()
879 free(sp->fts_array); in fts_sort()
880 sp->fts_array = NULL; in fts_sort()
884 sp->fts_array = a; in fts_sort()
886 for (ap = sp->fts_array, p = head; p; p = p->fts_link) in fts_sort()
888 qsort((void *)sp->fts_array, nitems, sizeof(FTSENT *), sp->fts_compar); in fts_sort()
889 for (head = *(ap = sp->fts_array); --nitems; ++ap) in fts_sort()