Searched refs:oSize (Results 1 - 9 of 9) sorted by relevance

/freebsd-12-stable/sys/contrib/zstd/lib/common/
H A Dentropy_common.c167 size_t oSize; local
174 oSize = iSize - 127;
175 iSize = ((oSize+1)/2);
177 if (oSize >= hwSize) return ERROR(corruption_detected);
180 for (n=0; n<oSize; n+=2) {
187 oSize = FSE_decompress_wksp(huffWeight, hwSize-1, ip+1, iSize, fseWorkspace, 6); /* max (hwSize-1) values decoded, as last one is implied */
188 if (FSE_isError(oSize)) return oSize;
194 { U32 n; for (n=0; n<oSize; n++) {
211 huffWeight[oSize]
[all...]
/freebsd-12-stable/sys/contrib/zstd/lib/legacy/
H A Dzstd_v01.c963 size_t oSize; local
979 oSize = l[iSize-242];
985 oSize = iSize - 127;
986 iSize = ((oSize+1)/2);
989 for (n=0; n<oSize; n+=2)
999 oSize = FSE_decompress(huffWeight, HUF_MAX_SYMBOL_VALUE, ip+1, iSize); /* max 255 values decoded, last one is implied */
1000 if (FSE_isError(oSize)) return oSize;
1006 for (n=0; n<oSize; n++)
1024 huffWeight[oSize]
[all...]
H A Dzstd_v03.c1536 size_t oSize; local
1548 oSize = l[iSize-242];
1554 oSize = iSize - 127;
1555 iSize = ((oSize+1)/2);
1557 if (oSize >= hwSize) return ERROR(corruption_detected);
1559 for (n=0; n<oSize; n+=2)
1569 oSize = FSE_decompress(huffWeight, hwSize-1, ip+1, iSize); /* max (hwSize-1) values decoded, as last one is implied */
1570 if (FSE_isError(oSize)) return oSize;
1576 for (n=0; n<oSize;
[all...]
H A Dzstd_v02.c1539 size_t oSize; local
1551 oSize = l[iSize-242];
1557 oSize = iSize - 127;
1558 iSize = ((oSize+1)/2);
1560 if (oSize >= hwSize) return ERROR(corruption_detected);
1562 for (n=0; n<oSize; n+=2)
1572 oSize = FSE_decompress(huffWeight, hwSize-1, ip+1, iSize); /* max (hwSize-1) values decoded, as last one is implied */
1573 if (FSE_isError(oSize)) return oSize;
1579 for (n=0; n<oSize;
[all...]
H A Dzstd_v04.c1751 size_t oSize; local
1763 oSize = l[iSize-242];
1769 oSize = iSize - 127;
1770 iSize = ((oSize+1)/2);
1772 if (oSize >= hwSize) return ERROR(corruption_detected);
1774 for (n=0; n<oSize; n+=2)
1784 oSize = FSE_decompress(huffWeight, hwSize-1, ip+1, iSize); /* max (hwSize-1) values decoded, as last one is implied */
1785 if (FSE_isError(oSize)) return oSize;
1791 for (n=0; n<oSize;
[all...]
H A Dzstd_v05.c1799 size_t oSize; local
1809 oSize = l[iSize-242];
1814 oSize = iSize - 127;
1815 iSize = ((oSize+1)/2);
1817 if (oSize >= hwSize) return ERROR(corruption_detected);
1819 for (n=0; n<oSize; n+=2) {
1825 oSize = FSEv05_decompress(huffWeight, hwSize-1, ip+1, iSize); /* max (hwSize-1) values decoded, as last one is implied */
1826 if (FSEv05_isError(oSize)) return oSize;
1832 for (n=0; n<oSize;
[all...]
H A Dzstd_v06.c1861 size_t oSize; local
1870 oSize = l[iSize-242];
1875 oSize = iSize - 127;
1876 iSize = ((oSize+1)/2);
1878 if (oSize >= hwSize) return ERROR(corruption_detected);
1881 for (n=0; n<oSize; n+=2) {
1887 oSize = FSEv06_decompress(huffWeight, hwSize-1, ip+1, iSize); /* max (hwSize-1) values decoded, as last one is implied */
1888 if (FSEv06_isError(oSize)) return oSize;
1894 { U32 n; for (n=0; n<oSize;
[all...]
H A Dzstd_v07.c1313 size_t oSize; local
1322 oSize = l[iSize-242];
1327 oSize = iSize - 127;
1328 iSize = ((oSize+1)/2);
1330 if (oSize >= hwSize) return ERROR(corruption_detected);
1333 for (n=0; n<oSize; n+=2) {
1339 oSize = FSEv07_decompress(huffWeight, hwSize-1, ip+1, iSize); /* max (hwSize-1) values decoded, as last one is implied */
1340 if (FSEv07_isError(oSize)) return oSize;
1346 { U32 n; for (n=0; n<oSize;
[all...]
/freebsd-12-stable/sys/contrib/zstd/lib/compress/
H A Dzstd_compress.c3102 size_t oSize = oend-op; local
3104 if (oSize >= ZSTD_compressBound(iSize))
3107 cDst = zcs->outBuff, oSize = zcs->outBuffSize;
3109 ZSTD_compressEnd(zcs, cDst, oSize,
3111 ZSTD_compressContinue(zcs, cDst, oSize,

Completed in 280 milliseconds