Lines Matching refs:nbFiles
364 UTIL_STATIC U64 UTIL_getTotalFileSize(const char** fileNamesTable, unsigned nbFiles) in UTIL_getTotalFileSize() argument
368 for (n=0; n<nbFiles; n++) in UTIL_getTotalFileSize()
393 int dirLength, fnameLength, pathLength, nbFiles = 0; in UTIL_prepareFileList() local
426 …nbFiles += UTIL_prepareFileList(path, bufStart, pos, bufEnd); /* Recursively call "UTIL_prepareFi… in UTIL_prepareFileList()
439 nbFiles++; in UTIL_prepareFileList()
446 return nbFiles; in UTIL_prepareFileList()
459 int dirLength, fnameLength, pathLength, nbFiles = 0; in UTIL_prepareFileList() local
481 …nbFiles += UTIL_prepareFileList(path, bufStart, pos, bufEnd); /* Recursively call "UTIL_prepareFi… in UTIL_prepareFileList()
493 nbFiles++; in UTIL_prepareFileList()
506 return nbFiles; in UTIL_prepareFileList()
529 unsigned i, nbFiles; in UTIL_createFileList() local
536 for (i=0, pos=0, nbFiles=0; i<inputNamesNb; i++) { in UTIL_createFileList()
548 nbFiles++; in UTIL_createFileList()
551 nbFiles += UTIL_prepareFileList(inputNames[i], &buf, &pos, &bufend); in UTIL_createFileList()
555 if (nbFiles == 0) { free(buf); return NULL; } in UTIL_createFileList()
557 fileTable = (const char**)malloc((nbFiles+1) * sizeof(const char*)); in UTIL_createFileList()
560 for (i=0, pos=0; i<nbFiles; i++) { in UTIL_createFileList()
568 *allocatedNamesNb = nbFiles; in UTIL_createFileList()