Searched refs:fileNamesTable (Results 1 – 4 of 4) sorted by relevance
/third_party/lz4/programs/ |
D | bench.c | 661 const char** fileNamesTable, unsigned nbFiles) in BMK_loadFiles() argument 667 U64 fileSize = UTIL_getFileSize(fileNamesTable[n]); in BMK_loadFiles() 668 if (UTIL_isDirectory(fileNamesTable[n])) { in BMK_loadFiles() 669 DISPLAYLEVEL(2, "Ignoring %s directory... \n", fileNamesTable[n]); in BMK_loadFiles() 673 f = fopen(fileNamesTable[n], "rb"); in BMK_loadFiles() 674 if (f==NULL) END_PROCESS(10, "impossible to open file %s", fileNamesTable[n]); in BMK_loadFiles() 675 DISPLAYUPDATE(2, "Loading %s... \r", fileNamesTable[n]); in BMK_loadFiles() 681 if (readSize != (size_t)fileSize) END_PROCESS(11, "could not read %s", fileNamesTable[n]); in BMK_loadFiles() 691 static void BMK_benchFileTable(const char** fileNamesTable, unsigned nbFiles, in BMK_benchFileTable() argument 698 U64 const totalSizeToLoad = UTIL_getTotalFileSize(fileNamesTable, nbFiles); in BMK_benchFileTable() [all …]
|
D | bench.h | 40 int BMK_benchFiles(const char** fileNamesTable, unsigned nbFiles,
|
D | util.h | 477 UTIL_STATIC U64 UTIL_getTotalFileSize(const char** fileNamesTable, unsigned nbFiles) in UTIL_getTotalFileSize() argument 482 total += UTIL_getFileSize(fileNamesTable[n]); in UTIL_getTotalFileSize()
|
/third_party/lz4/tests/ |
D | fullbench.c | 459 int fullSpeedBench(const char** fileNamesTable, int nbFiles) in fullSpeedBench() argument 472 const char* const inFileName = fileNamesTable[fileIdx++]; in fullSpeedBench()
|