Searched refs:dictFile (Results 1 – 2 of 2) sorted by relevance
/third_party/lz4/programs/ |
D | bench.c | 711 FILE* dictFile = NULL; in BMK_benchFiles() local 715 dictFile = fopen(dictFileName, "rb"); in BMK_benchFiles() 716 if (!dictFile) EXM_THROW(25, "Dictionary error : could not open dictionary file"); in BMK_benchFiles() 720 if (UTIL_fseek(dictFile, dictFileSize - dictSize, SEEK_SET)) in BMK_benchFiles() 729 if (fread(dictBuf, 1, dictSize, dictFile) != (size_t)dictSize) in BMK_benchFiles() 732 fclose(dictFile); in BMK_benchFiles()
|
D | lz4io.c | 552 FILE* dictFile; in LZ4IO_createDict() local 557 dictFile = LZ4IO_openSrcFile(dictFilename); in LZ4IO_createDict() 558 if (!dictFile) EXM_THROW(25, "Dictionary error : could not open dictionary file"); in LZ4IO_createDict() 563 (void)UTIL_fseek(dictFile, -LZ4_MAX_DICT_SIZE, SEEK_END); in LZ4IO_createDict() 567 readSize = fread(circularBuf + dictEnd, 1, circularBufSize - dictEnd, dictFile); in LZ4IO_createDict() 593 fclose(dictFile); in LZ4IO_createDict()
|