/freebsd-current/sys/contrib/openzfs/module/zstd/lib/common/ |
H A D | entropy_common.c | 161 size_t iSize; local 165 iSize = ip[0]; 168 if (iSize >= 128) { /* special header */ 169 oSize = iSize - 127; 170 iSize = ((oSize+1)/2); 171 if (iSize+1 > srcSize) return ERROR(srcSize_wrong); 181 if (iSize+1 > srcSize) return ERROR(srcSize_wrong); 182 oSize = FSE_decompress_wksp(huffWeight, hwSize-1, ip+1, iSize, fseWorkspace, 6); /* max (hwSize-1) values decoded, as last one is implied */ 215 return iSize+1;
|
/freebsd-current/sys/contrib/zstd/lib/common/ |
H A D | entropy_common.c | 279 size_t iSize; local 283 iSize = ip[0]; 286 if (iSize >= 128) { /* special header */ 287 oSize = iSize - 127; 288 iSize = ((oSize+1)/2); 289 if (iSize+1 > srcSize) return ERROR(srcSize_wrong); 298 if (iSize+1 > srcSize) return ERROR(srcSize_wrong); 300 oSize = FSE_decompress_wksp_bmi2(huffWeight, hwSize-1, ip+1, iSize, 6, workSpace, wkspSize, bmi2); 333 return iSize+1;
|
/freebsd-current/sys/contrib/zstd/lib/legacy/ |
H A D | zstd_v03.c | 1546 size_t iSize; local 1551 iSize = ip[0]; 1554 if (iSize >= 128) /* special header */ 1556 if (iSize >= (242)) /* RLE */ 1559 oSize = l[iSize-242]; 1561 iSize = 0; 1565 oSize = iSize - 127; 1566 iSize = ((oSize+1)/2); 1567 if (iSize+1 > srcSize) return ERROR(srcSize_wrong); 1579 if (iSize 1628 size_t iSize = ip[0]; local 1935 size_t iSize = ip[0]; local [all...] |
H A D | zstd_v02.c | 1549 size_t iSize; local 1554 iSize = ip[0]; 1557 if (iSize >= 128) /* special header */ 1559 if (iSize >= (242)) /* RLE */ 1562 oSize = l[iSize-242]; 1564 iSize = 0; 1568 oSize = iSize - 127; 1569 iSize = ((oSize+1)/2); 1570 if (iSize+1 > srcSize) return ERROR(srcSize_wrong); 1582 if (iSize 1631 size_t iSize = ip[0]; local 1938 size_t iSize = ip[0]; local 2274 size_t iSize = ip[0]; local [all...] |
H A D | zstd_v01.c | 964 size_t iSize; local 972 iSize = ip[0]; 976 if (iSize >= 128) /* special header */ 978 if (iSize >= (242)) /* RLE */ 981 oSize = l[iSize-242]; 983 iSize = 0; 987 oSize = iSize - 127; 988 iSize = ((oSize+1)/2); 989 if (iSize+1 > srcSize) return (size_t)-FSE_ERROR_srcSize_wrong; 1000 if (iSize [all...] |
H A D | zstd_v06.c | 1860 size_t iSize; local 1864 iSize = ip[0]; 1867 if (iSize >= 128) { /* special header */ 1868 if (iSize >= (242)) { /* RLE */ 1870 oSize = l[iSize-242]; 1872 iSize = 0; 1875 oSize = iSize - 127; 1876 iSize = ((oSize+1)/2); 1877 if (iSize+1 > srcSize) return ERROR(srcSize_wrong); 1886 if (iSize 2009 size_t iSize; local 2337 size_t iSize; local [all...] |
H A D | zstd_v05.c | 1801 size_t iSize; local 1806 iSize = ip[0]; 1809 if (iSize >= 128) { /* special header */ 1810 if (iSize >= (242)) { /* RLE */ 1812 oSize = l[iSize-242]; 1814 iSize = 0; 1817 oSize = iSize - 127; 1818 iSize = ((oSize+1)/2); 1819 if (iSize+1 > srcSize) return ERROR(srcSize_wrong); 1827 if (iSize 1874 size_t iSize; local 2207 size_t iSize; local [all...] |
H A D | zstd_v04.c | 1699 size_t iSize; local 1704 iSize = ip[0]; 1707 if (iSize >= 128) /* special header */ 1709 if (iSize >= (242)) /* RLE */ 1712 oSize = l[iSize-242]; 1714 iSize = 0; 1718 oSize = iSize - 127; 1719 iSize = ((oSize+1)/2); 1720 if (iSize+1 > srcSize) return ERROR(srcSize_wrong); 1732 if (iSize 1780 size_t iSize; local 2085 size_t iSize; local [all...] |
H A D | zstd_v07.c | 1312 size_t iSize; local 1316 iSize = ip[0]; 1319 if (iSize >= 128) { /* special header */ 1320 if (iSize >= (242)) { /* RLE */ 1322 oSize = l[iSize-242]; 1324 iSize = 0; 1327 oSize = iSize - 127; 1328 iSize = ((oSize+1)/2); 1329 if (iSize+1 > srcSize) return ERROR(srcSize_wrong); 1338 if (iSize 1782 size_t iSize; local 2145 size_t iSize; local [all...] |
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/decompress/ |
H A D | huf_decompress.c | 122 size_t iSize; local 140 iSize = HUF_readStats(huffWeight, HUF_SYMBOLVALUE_MAX + 1, rankVal, &nbSymbols, &tableLog, src, srcSize); 141 if (HUF_isError(iSize)) return iSize; 184 return iSize; 558 size_t iSize; local 590 iSize = HUF_readStats(weightList, HUF_SYMBOLVALUE_MAX + 1, rankStats, &nbSymbols, &tableLog, src, srcSize); 591 if (HUF_isError(iSize)) return iSize; 648 return iSize; [all...] |
/freebsd-current/sys/contrib/zstd/lib/decompress/ |
H A D | huf_decompress.c | 346 size_t iSize; local 357 iSize = HUF_readStats_wksp(wksp->huffWeight, HUF_SYMBOLVALUE_MAX + 1, wksp->rankVal, &nbSymbols, &tableLog, src, srcSize, wksp->statsWksp, sizeof(wksp->statsWksp), bmi2); 358 if (HUF_isError(iSize)) return iSize; 477 return iSize; 1059 size_t iSize; local 1076 iSize = HUF_readStats_wksp(wksp->weightList, HUF_SYMBOLVALUE_MAX + 1, wksp->rankStats, &nbSymbols, &tableLog, src, srcSize, wksp->calleeWksp, sizeof(wksp->calleeWksp), bmi2); 1077 if (HUF_isError(iSize)) return iSize; 1134 return iSize; [all...] |
/freebsd-current/sys/contrib/zstd/lib/compress/ |
H A D | zstd_compress.c | 5403 size_t const iSize = inputBuffered local 5406 if (oSize >= ZSTD_compressBound(iSize) || zcs->appliedParams.outBufferMode == ZSTD_bm_stable) 5414 zcs->inBuff + zcs->inToCompress, iSize) : 5416 zcs->inBuff + zcs->inToCompress, iSize); 5429 unsigned const lastBlock = (ip + iSize == iend); 5432 ZSTD_compressEnd(zcs, cDst, oSize, ip, iSize) : 5433 ZSTD_compressContinue(zcs, cDst, oSize, ip, iSize); 5435 if (iSize > 0) 5436 ip += iSize;
|
/freebsd-current/contrib/sqlite3/ |
H A D | shell.c | 3239 ** Initialize a new hash. iSize determines the size of the hash 3240 ** in bits and should be one of 224, 256, 384, or 512. Or iSize 3243 static void SHA3Init(SHA3Context *p, int iSize){ argument 3245 if( iSize>=128 && iSize<=512 ){ 3246 p->nRate = (1600 - ((iSize + 31)&~31)*2)/8; 3349 int iSize; local 3351 iSize = 256; 3353 iSize = sqlite3_value_int(argv[1]); 3354 if( iSize! 3434 int iSize; local 28594 int iSize = 224; /* Hash algorithm to use */ local [all...] |
H A D | sqlite3.c | 26989 i64 iSize; /* Size of this allocation */ member in struct:MemBlockHdr 27062 adjustStats(int iSize, int increment) argument 28356 int iSize, i; local 53899 u32 iSize; /* Maximum bit index. Max iSize is 4,294,967,296. */ member in struct:Bitvec 53919 sqlite3BitvecCreate(u32 iSize) argument 55575 int iSize; local 72456 freeSpace(MemPage *pPage, u16 iStart, u16 iSize) argument 82301 backupTruncateFile(sqlite3_file *pFile, i64 iSize) argument 82482 const i64 iSize = (i64)pgszSrc * (i64)nSrcPage; local 210736 u32 iSize; /* Size of this object */ member in struct:RtreeMatchArg [all...] |
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_compress.c | 3869 size_t const iSize = zcs->inBuffPos - zcs->inToCompress; local 3872 if (oSize >= ZSTD_compressBound(iSize)) 3878 zcs->inBuff + zcs->inToCompress, iSize) : 3880 zcs->inBuff + zcs->inToCompress, iSize);
|