Lines Matching refs:ERROR
157 if (sizeof(*wksp) > wkspSize) return ERROR(tableLog_tooLarge); in HUF_readDTableX1_wksp_bmi2()
167 …if (tableLog > (U32)(dtd.maxTableLog+1)) return ERROR(tableLog_tooLarge); /* DTable too small, H… in HUF_readDTableX1_wksp_bmi2()
344 if (!BIT_endOfDStream(&bitD)) return ERROR(corruption_detected); in HUF_decompress1X1_usingDTable_internal_body()
356 …if (cSrcSize < 10) return ERROR(corruption_detected); /* strict minimum : jump table + 1 byte per… in HUF_decompress4X1_usingDTable_internal_body()
390 if (length4 > cSrcSize) return ERROR(corruption_detected); /* overflow */ in HUF_decompress4X1_usingDTable_internal_body()
423 if (op1 > opStart2) return ERROR(corruption_detected); in HUF_decompress4X1_usingDTable_internal_body()
424 if (op2 > opStart3) return ERROR(corruption_detected); in HUF_decompress4X1_usingDTable_internal_body()
425 if (op3 > opStart4) return ERROR(corruption_detected); in HUF_decompress4X1_usingDTable_internal_body()
436 if (!endCheck) return ERROR(corruption_detected); } in HUF_decompress4X1_usingDTable_internal_body()
460 if (dtd.tableType != 0) return ERROR(GENERIC); in HUF_DGEN()
472 if (hSize >= cSrcSize) return ERROR(srcSize_wrong); in HUF_decompress1X1_DCtx_wksp()
485 if (dtd.tableType != 0) return ERROR(GENERIC); in HUF_decompress4X1_usingDTable()
497 if (hSize >= cSrcSize) return ERROR(srcSize_wrong); in HUF_decompress4X1_DCtx_wksp_bmi2()
640 if (sizeof(*wksp) > wkspSize) return ERROR(GENERIC); in HUF_readDTableX2_wksp()
647 if (maxTableLog > HUF_TABLELOG_MAX) return ERROR(tableLog_tooLarge); in HUF_readDTableX2_wksp()
654 if (tableLog > maxTableLog) return ERROR(tableLog_tooLarge); /* DTable can't fit code depth */ in HUF_readDTableX2_wksp()
797 if (!BIT_endOfDStream(&bitD)) return ERROR(corruption_detected); in HUF_decompress1X2_usingDTable_internal_body()
809 …if (cSrcSize < 10) return ERROR(corruption_detected); /* strict minimum : jump table + 1 byte pe… in HUF_decompress4X2_usingDTable_internal_body()
843 if (length4 > cSrcSize) return ERROR(corruption_detected); /* overflow */ in HUF_decompress4X2_usingDTable_internal_body()
898 if (op1 > opStart2) return ERROR(corruption_detected); in HUF_decompress4X2_usingDTable_internal_body()
899 if (op2 > opStart3) return ERROR(corruption_detected); in HUF_decompress4X2_usingDTable_internal_body()
900 if (op3 > opStart4) return ERROR(corruption_detected); in HUF_decompress4X2_usingDTable_internal_body()
911 if (!endCheck) return ERROR(corruption_detected); } in HUF_decompress4X2_usingDTable_internal_body()
927 if (dtd.tableType != 1) return ERROR(GENERIC); in HUF_DGEN()
940 if (hSize >= cSrcSize) return ERROR(srcSize_wrong); in HUF_decompress1X2_DCtx_wksp()
953 if (dtd.tableType != 1) return ERROR(GENERIC); in HUF_decompress4X2_usingDTable()
966 if (hSize >= cSrcSize) return ERROR(srcSize_wrong); in HUF_decompress4X2_DCtx_wksp_bmi2()
1086 if (dstSize == 0) return ERROR(dstSize_tooSmall); in HUF_decompress4X_hufOnly_wksp()
1087 if (cSrcSize == 0) return ERROR(corruption_detected); in HUF_decompress4X_hufOnly_wksp()
1111 if (dstSize == 0) return ERROR(dstSize_tooSmall); in HUF_decompress1X_DCtx_wksp()
1112 if (cSrcSize > dstSize) return ERROR(corruption_detected); /* invalid */ in HUF_decompress1X_DCtx_wksp()
1161 if (hSize >= cSrcSize) return ERROR(srcSize_wrong); in HUF_decompress1X1_DCtx_wksp_bmi2()
1188 if (dstSize == 0) return ERROR(dstSize_tooSmall); in HUF_decompress4X_hufOnly_wksp_bmi2()
1189 if (cSrcSize == 0) return ERROR(corruption_detected); in HUF_decompress4X_hufOnly_wksp_bmi2()