Home
last modified time | relevance | path

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

/freebsd/sys/contrib/zstd/programs/
H A Dfileio.c783 const char **filenameTableSorted, *prevElem, *filename; in FIO_checkFilenameCollisions() local
786 filenameTableSorted = (const char**) malloc(sizeof(char*) * nbFiles); in FIO_checkFilenameCollisions()
787 if (!filenameTableSorted) { in FIO_checkFilenameCollisions()
795 filenameTableSorted[u] = filenameTable[u]; in FIO_checkFilenameCollisions()
797 filenameTableSorted[u] = filename+1; in FIO_checkFilenameCollisions()
801 qsort((void*)filenameTableSorted, nbFiles, sizeof(char*), UTIL_compareStr); in FIO_checkFilenameCollisions()
802 prevElem = filenameTableSorted[0]; in FIO_checkFilenameCollisions()
804 if (strcmp(prevElem, filenameTableSorted[u]) == 0) { in FIO_checkFilenameCollisions()
807 prevElem = filenameTableSorted[u]; in FIO_checkFilenameCollisions()
810 free((void*)filenameTableSorted); in FIO_checkFilenameCollisions()