Searched refs:fileNamesTable (Results 1 – 4 of 4) sorted by relevance
/external/lz4/programs/ |
D | bench.c | 428 const char** fileNamesTable, unsigned nbFiles) in BMK_loadFiles() argument 434 U64 fileSize = UTIL_getFileSize(fileNamesTable[n]); in BMK_loadFiles() 435 if (UTIL_isDirectory(fileNamesTable[n])) { in BMK_loadFiles() 436 DISPLAYLEVEL(2, "Ignoring %s directory... \n", fileNamesTable[n]); in BMK_loadFiles() 440 f = fopen(fileNamesTable[n], "rb"); in BMK_loadFiles() 441 if (f==NULL) EXM_THROW(10, "impossible to open file %s", fileNamesTable[n]); in BMK_loadFiles() 442 DISPLAYUPDATE(2, "Loading %s... \r", fileNamesTable[n]); in BMK_loadFiles() 448 if (readSize != (size_t)fileSize) EXM_THROW(11, "could not read %s", fileNamesTable[n]); in BMK_loadFiles() 458 static void BMK_benchFileTable(const char** fileNamesTable, unsigned nbFiles, in BMK_benchFileTable() argument 464 U64 const totalSizeToLoad = UTIL_getTotalFileSize(fileNamesTable, nbFiles); in BMK_benchFileTable() [all …]
|
D | bench.h | 28 int BMK_benchFiles(const char** fileNamesTable, unsigned nbFiles,
|
D | util.h | 364 UTIL_STATIC U64 UTIL_getTotalFileSize(const char** fileNamesTable, unsigned nbFiles) in UTIL_getTotalFileSize() argument 369 total += UTIL_getFileSize(fileNamesTable[n]); in UTIL_getTotalFileSize()
|
/external/lz4/tests/ |
D | fullbench.c | 348 int fullSpeedBench(const char** fileNamesTable, int nbFiles) in fullSpeedBench() argument 361 const char* const inFileName = fileNamesTable[fileIdx++]; in fullSpeedBench()
|