Home
last modified time | relevance | path

Searched refs:omax (Results 1 – 10 of 10) sorted by relevance

/f-stack/freebsd/contrib/zstd/lib/common/
H A Dfse_decompress.c238 BYTE* const omax = op + maxDstSize; in FSE_decompress_usingDTable_generic() local
239 BYTE* const olimit = omax-3; in FSE_decompress_usingDTable_generic()
276 if (op>(omax-2)) return ERROR(dstSize_tooSmall); in FSE_decompress_usingDTable_generic()
283 if (op>(omax-2)) return ERROR(dstSize_tooSmall); in FSE_decompress_usingDTable_generic()
/f-stack/freebsd/contrib/zstd/lib/legacy/
H A Dzstd_v01.c825 BYTE* const omax = op + maxDstSize; in FSE_decompress_usingDTable_generic() local
826 BYTE* const olimit = omax-3; in FSE_decompress_usingDTable_generic()
867 …if ( (FSE_reloadDStream(&bitD)>FSE_DStream_completed) || (op==omax) || (FSE_endOfDStream(&bitD) &&… in FSE_decompress_usingDTable_generic()
872 …if ( (FSE_reloadDStream(&bitD)>FSE_DStream_completed) || (op==omax) || (FSE_endOfDStream(&bitD) &&… in FSE_decompress_usingDTable_generic()
882 …if (op==omax) return (size_t)-FSE_ERROR_dstSize_tooSmall; /* dst buffer is full, but cSrc unfini… in FSE_decompress_usingDTable_generic()
1080 BYTE* const omax = op + maxDstSize; in HUF_decompress_usingDTable() local
1081 BYTE* const olimit = maxDstSize < 15 ? op : omax-15; in HUF_decompress_usingDTable()
1159 for ( ; (FSE_reloadDStream(&bitTail) < FSE_DStream_completed) && (op<omax) ; op++) in HUF_decompress_usingDTable()
1168 …if (op==omax) return (size_t)-FSE_ERROR_dstSize_tooSmall; /* dst buffer is full, but cSrc unfini… in HUF_decompress_usingDTable()
H A Dzstd_v03.c1349 BYTE* const omax = op + maxDstSize; in FSE_decompress_usingDTable_generic() local
1350 BYTE* const olimit = omax-3; in FSE_decompress_usingDTable_generic()
1391 …if ( (BIT_reloadDStream(&bitD)>BIT_DStream_completed) || (op==omax) || (BIT_endOfDStream(&bitD) &&… in FSE_decompress_usingDTable_generic()
1396 …if ( (BIT_reloadDStream(&bitD)>BIT_DStream_completed) || (op==omax) || (BIT_endOfDStream(&bitD) &&… in FSE_decompress_usingDTable_generic()
1406 if (op==omax) return ERROR(dstSize_tooSmall); /* dst buffer is full, but cSrc unfinished */ in FSE_decompress_usingDTable_generic()
H A Dzstd_v04.c1328 BYTE* const omax = op + maxDstSize; in FSE_decompress_usingDTable_generic() local
1329 BYTE* const olimit = omax-3; in FSE_decompress_usingDTable_generic()
1370 …if ( (BIT_reloadDStream(&bitD)>BIT_DStream_completed) || (op==omax) || (BIT_endOfDStream(&bitD) &&… in FSE_decompress_usingDTable_generic()
1375 …if ( (BIT_reloadDStream(&bitD)>BIT_DStream_completed) || (op==omax) || (BIT_endOfDStream(&bitD) &&… in FSE_decompress_usingDTable_generic()
1385 if (op==omax) return ERROR(dstSize_tooSmall); /* dst buffer is full, but cSrc unfinished */ in FSE_decompress_usingDTable_generic()
H A Dzstd_v02.c1348 BYTE* const omax = op + maxDstSize; in FSE_decompress_usingDTable_generic() local
1349 BYTE* const olimit = omax-3; in FSE_decompress_usingDTable_generic()
1390 …if ( (BIT_reloadDStream(&bitD)>BIT_DStream_completed) || (op==omax) || (BIT_endOfDStream(&bitD) &&… in FSE_decompress_usingDTable_generic()
1395 …if ( (BIT_reloadDStream(&bitD)>BIT_DStream_completed) || (op==omax) || (BIT_endOfDStream(&bitD) &&… in FSE_decompress_usingDTable_generic()
1405 if (op==omax) return ERROR(dstSize_tooSmall); /* dst buffer is full, but cSrc unfinished */ in FSE_decompress_usingDTable_generic()
H A Dzstd_v05.c1435 BYTE* const omax = op + maxDstSize; in FSEv05_decompress_usingDTable_generic() local
1436 BYTE* const olimit = omax-3; in FSEv05_decompress_usingDTable_generic()
1475 …if ( (BITv05_reloadDStream(&bitD)>BITv05_DStream_completed) || (op==omax) || (BITv05_endOfDStream(… in FSEv05_decompress_usingDTable_generic()
1480 …if ( (BITv05_reloadDStream(&bitD)>BITv05_DStream_completed) || (op==omax) || (BITv05_endOfDStream(… in FSEv05_decompress_usingDTable_generic()
1490 if (op==omax) return ERROR(dstSize_tooSmall); /* dst buffer is full, but cSrc unfinished */ in FSEv05_decompress_usingDTable_generic()
H A Dzstd_v06.c1578 BYTE* const omax = op + maxDstSize; in FSEv06_decompress_usingDTable_generic() local
1579 BYTE* const olimit = omax-3; in FSEv06_decompress_usingDTable_generic()
1617 if (op>(omax-2)) return ERROR(dstSize_tooSmall); in FSEv06_decompress_usingDTable_generic()
1626 if (op>(omax-2)) return ERROR(dstSize_tooSmall); in FSEv06_decompress_usingDTable_generic()
H A Dzstd_v07.c1598 BYTE* const omax = op + maxDstSize; in FSEv07_decompress_usingDTable_generic() local
1599 BYTE* const olimit = omax-3; in FSEv07_decompress_usingDTable_generic()
1637 if (op>(omax-2)) return ERROR(dstSize_tooSmall); in FSEv07_decompress_usingDTable_generic()
1646 if (op>(omax-2)) return ERROR(dstSize_tooSmall); in FSEv07_decompress_usingDTable_generic()
/f-stack/freebsd/sys/
H A Dlibkern.h113 static __inline off_t omax(off_t a, off_t b) { return (a > b ? a : b); } in omax() function
/f-stack/freebsd/contrib/openzfs/module/zstd/lib/
H A Dzstd.c2936 BYTE* const omax = op + maxDstSize; in FSE_decompress_usingDTable_generic() local
2937 BYTE* const olimit = omax-3; in FSE_decompress_usingDTable_generic()
2974 if (op>(omax-2)) return ERROR(dstSize_tooSmall); in FSE_decompress_usingDTable_generic()
2981 if (op>(omax-2)) return ERROR(dstSize_tooSmall); in FSE_decompress_usingDTable_generic()