Lines Matching refs:ERROR

77     if (workspaceSize < sizeof(HUF_CompressWeightsWksp)) return ERROR(GENERIC);  in HUF_compressWeights()
122 if (workspaceSize < sizeof(HUF_WriteCTableWksp)) return ERROR(GENERIC); in HUF_writeCTable_wksp()
123 if (maxSymbolValue > HUF_SYMBOLVALUE_MAX) return ERROR(maxSymbolValue_tooLarge); in HUF_writeCTable_wksp()
140 …if (maxSymbolValue > (256-128)) return ERROR(GENERIC); /* should not happen : likely means sourc… in HUF_writeCTable_wksp()
141 …if (((maxSymbolValue+1)/2) + 1 > maxDstSize) return ERROR(dstSize_tooSmall); /* not enough space… in HUF_writeCTable_wksp()
172 if (tableLog > HUF_TABLELOG_MAX) return ERROR(tableLog_tooLarge); in HUF_readCTable()
173 if (nbSymbols > *maxSymbolValuePtr+1) return ERROR(maxSymbolValue_tooSmall); in HUF_readCTable()
518 …if (((size_t)workSpace & 3) != 0) return ERROR(GENERIC); /* must be aligned on 4-bytes boundaries… in HUF_buildCTable_wksp()
520 return ERROR(workSpace_tooSmall); in HUF_buildCTable_wksp()
523 return ERROR(maxSymbolValue_tooLarge); in HUF_buildCTable_wksp()
534 if (maxNbBits > HUF_TABLELOG_MAX) return ERROR(GENERIC); /* check fit into table */ in HUF_buildCTable_wksp()
781 if (wkspSize < HUF_WORKSPACE_SIZE) return ERROR(workSpace_tooSmall); in HUF_compress_internal()
784 if (srcSize > HUF_BLOCKSIZE_MAX) return ERROR(srcSize_wrong); /* current block size limit */ in HUF_compress_internal()
785 if (huffLog > HUF_TABLELOG_MAX) return ERROR(tableLog_tooLarge); in HUF_compress_internal()
786 if (maxSymbolValue > HUF_SYMBOLVALUE_MAX) return ERROR(maxSymbolValue_tooLarge); in HUF_compress_internal()