Home
last modified time | relevance | path

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

/third_party/lz4/programs/
Dbench.c584 const char** fileNamesTable, unsigned nbFiles) in BMK_loadFiles() argument
590 U64 fileSize = UTIL_getFileSize(fileNamesTable[n]); in BMK_loadFiles()
591 if (UTIL_isDirectory(fileNamesTable[n])) { in BMK_loadFiles()
592 DISPLAYLEVEL(2, "Ignoring %s directory... \n", fileNamesTable[n]); in BMK_loadFiles()
596 f = fopen(fileNamesTable[n], "rb"); in BMK_loadFiles()
597 if (f==NULL) EXM_THROW(10, "impossible to open file %s", fileNamesTable[n]); in BMK_loadFiles()
598 DISPLAYUPDATE(2, "Loading %s... \r", fileNamesTable[n]); in BMK_loadFiles()
604 if (readSize != (size_t)fileSize) EXM_THROW(11, "could not read %s", fileNamesTable[n]); in BMK_loadFiles()
614 static void BMK_benchFileTable(const char** fileNamesTable, unsigned nbFiles, in BMK_benchFileTable() argument
621 U64 const totalSizeToLoad = UTIL_getTotalFileSize(fileNamesTable, nbFiles); in BMK_benchFileTable()
[all …]
Dbench.h28 int BMK_benchFiles(const char** fileNamesTable, unsigned nbFiles,
Dutil.h418 UTIL_STATIC U64 UTIL_getTotalFileSize(const char** fileNamesTable, unsigned nbFiles) in UTIL_getTotalFileSize() argument
423 total += UTIL_getFileSize(fileNamesTable[n]); in UTIL_getTotalFileSize()
/third_party/lz4/tests/
Dfullbench.c433 int fullSpeedBench(const char** fileNamesTable, int nbFiles) in fullSpeedBench() argument
446 const char* const inFileName = fileNamesTable[fileIdx++]; in fullSpeedBench()