Home
last modified time | relevance | path

Searched refs:EXM_THROW (Results 1 – 3 of 3) sorted by relevance

/f-stack/freebsd/contrib/zstd/zlibWrapper/examples/
H A Dzwrapbench.c95 #define EXM_THROW(error, ...) \ macro
169 EXM_THROW(31, "allocation error : not enough memory"); in BMK_benchMem()
300 if (ret != Z_OK) EXM_THROW(1, "deflateInit failure"); in BMK_benchMem()
331 if (ret != Z_OK) EXM_THROW(1, "deflateEnd failure"); in BMK_benchMem()
445 if (ret != Z_OK) EXM_THROW(1, "inflateInit failure"); in BMK_benchMem()
472 if (ret != Z_OK) EXM_THROW(1, "inflateEnd failure"); in BMK_benchMem()
708 if (totalSize == 0) EXM_THROW(12, "no data to bench"); in BMK_loadFiles()
722 if (!fileSizes) EXM_THROW(12, "not enough memory for fileSizes"); in BMK_benchFileTable()
728 EXM_THROW(10, "dictionary file %s too large", dictFileName); in BMK_benchFileTable()
742 if (!srcBuffer) EXM_THROW(12, "not enough memory"); in BMK_benchFileTable()
[all …]
/f-stack/freebsd/contrib/zstd/programs/
H A Dfileio.c123 EXM_THROW(11, "%s", ZSTD_getErrorName(v)); \
355 if (!ret) EXM_THROW(21, "Allocation error : not enough memory"); in FIO_createPreferences()
388 if (!ret) EXM_THROW(21, "Allocation error : not enough memory"); in FIO_createContext()
719 if (*bufferPtr==NULL) EXM_THROW(34, "%s", strerror(errno)); in FIO_createDictBuffer()
722 EXM_THROW(35, "Error reading dictionary file %s : %s", in FIO_createDictBuffer()
950 EXM_THROW(31, "allocation error : not enough memory"); in FIO_createCResources()
954 EXM_THROW(32, "allocation error : can't create dictBuffer"); in FIO_createCResources()
1216 EXM_THROW(33, "File header generation failed : %s", in FIO_compressLz4Frame()
1475 EXM_THROW(26, "Read error : I/O error"); in FIO_compressZstdFrame()
1754 EXM_THROW(30, "zstd: %s", strerror(errno)); in FIO_determineCompressedName()
[all …]
H A Ddibio.c75 #define EXM_THROW(error, ...) \ macro
122 if (f==NULL) EXM_THROW(10, "zstd: dictBuilder: %s %s ", fileName, strerror(errno)); in DiB_loadFiles()
128 if (readSize != toLoad) EXM_THROW(11, "Pb reading %s", fileName); in DiB_loadFiles()
217 if (f==NULL) EXM_THROW(3, "cannot open %s ", dictFileName); in DiB_saveDict()
220 if (n!=buffSize) EXM_THROW(4, "%s : write error", dictFileName) } in DiB_saveDict()
223 if (n!=0) EXM_THROW(5, "%s : flush error", dictFileName) } in DiB_saveDict()
292 EXM_THROW(12, "not enough memory for DiB_trainFiles"); /* should not happen */ in DiB_trainFromFiles()
302 EXM_THROW(14, "nb of samples too low"); /* we now clearly forbid this case */ in DiB_trainFromFiles()