Home
last modified time | relevance | path

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

/external/lz4/programs/
Dbench.c416 const char** fileNamesTable, unsigned nbFiles) in BMK_loadFiles() argument
422 U64 fileSize = UTIL_getFileSize(fileNamesTable[n]); in BMK_loadFiles()
423 if (UTIL_isDirectory(fileNamesTable[n])) { in BMK_loadFiles()
424 DISPLAYLEVEL(2, "Ignoring %s directory... \n", fileNamesTable[n]); in BMK_loadFiles()
428 f = fopen(fileNamesTable[n], "rb"); in BMK_loadFiles()
429 if (f==NULL) EXM_THROW(10, "impossible to open file %s", fileNamesTable[n]); in BMK_loadFiles()
430 DISPLAYUPDATE(2, "Loading %s... \r", fileNamesTable[n]); in BMK_loadFiles()
433 if (readSize != (size_t)fileSize) EXM_THROW(11, "could not read %s", fileNamesTable[n]); in BMK_loadFiles()
443 static void BMK_benchFileTable(const char** fileNamesTable, unsigned nbFiles, in BMK_benchFileTable() argument
449 U64 const totalSizeToLoad = UTIL_getTotalFileSize(fileNamesTable, nbFiles); in BMK_benchFileTable()
[all …]
Dbench.h28 int BMK_benchFiles(const char** fileNamesTable, unsigned nbFiles,
Dutil.h225 UTIL_STATIC U64 UTIL_getTotalFileSize(const char** fileNamesTable, unsigned nbFiles) in UTIL_getTotalFileSize() argument
230 total += UTIL_getFileSize(fileNamesTable[n]); in UTIL_getTotalFileSize()
/external/lz4/tests/
Dfullbench.c318 int fullSpeedBench(const char** fileNamesTable, int nbFiles) in fullSpeedBench() argument
331 const char* const inFileName = fileNamesTable[fileIdx++]; in fullSpeedBench()