Home
last modified time | relevance | path

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

/external/lz4/programs/
Dbench.c799 U64 const dictFileSize = UTIL_getFileSize(dictFileName); in BMK_benchFiles() local
800 if (!dictFileSize) in BMK_benchFiles()
809 if (dictFileSize > LZ4_MAX_DICT_SIZE) { in BMK_benchFiles()
811 if (UTIL_fseek(dictFile, (long)(dictFileSize - dictSize), SEEK_SET)) in BMK_benchFiles()
814 dictSize = (size_t)dictFileSize; in BMK_benchFiles()
/external/zstd/programs/
Dbenchzstd.c815 U64 const dictFileSize = UTIL_getFileSize(dictFileName); in BMK_benchFilesAdvanced() local
816 if (dictFileSize == UTIL_FILESIZE_UNKNOWN) { in BMK_benchFilesAdvanced()
821 if (dictFileSize > 64 MB) { in BMK_benchFilesAdvanced()
825 dictBufferSize = (size_t)dictFileSize; in BMK_benchFilesAdvanced()
/external/zstd/zlibWrapper/examples/
Dzwrapbench.c741 U64 const dictFileSize = UTIL_getFileSize(dictFileName); in BMK_benchFileTable() local
742 if (dictFileSize > 64 MB) in BMK_benchFileTable()
744 dictBufferSize = (size_t)dictFileSize; in BMK_benchFileTable()
/external/zstd/tests/
Dparamgrill.c1326 { U64 const dictFileSize = UTIL_getFileSize(dictFileName); in createContexts() local
1327 assert(dictFileSize != UTIL_FILESIZE_UNKNOWN); in createContexts()
1328 ctx->dictSize = (size_t)dictFileSize; in createContexts()
1329 assert((U64)ctx->dictSize == dictFileSize); /* check overflow */ in createContexts()