Lines Matching refs:ERROR
84 if ((size_t)workSpace & 3) return ERROR(GENERIC); /* Must be 4 byte aligned */ in FSE_buildCTable_wksp()
85 …if (FSE_BUILD_CTABLE_WORKSPACE_SIZE(maxSymbolValue, tableLog) > wkspSize) return ERROR(tableLog_to… in FSE_buildCTable_wksp()
225 return ERROR(dstSize_tooSmall); /* Buffer overflow */ in FSE_writeNCount_generic()
240 return ERROR(dstSize_tooSmall); /* Buffer overflow */ in FSE_writeNCount_generic()
257 if (remaining<1) return ERROR(GENERIC); in FSE_writeNCount_generic()
262 return ERROR(dstSize_tooSmall); /* Buffer overflow */ in FSE_writeNCount_generic()
271 return ERROR(GENERIC); /* incorrect normalized distribution */ in FSE_writeNCount_generic()
276 return ERROR(dstSize_tooSmall); /* Buffer overflow */ in FSE_writeNCount_generic()
288 if (tableLog > FSE_MAX_TABLELOG) return ERROR(tableLog_tooLarge); /* Unsupported */ in FSE_writeNCount()
289 if (tableLog < FSE_MIN_TABLELOG) return ERROR(GENERIC); /* Unsupported */ in FSE_writeNCount()
422 return ERROR(GENERIC); in FSE_normalizeM2()
436 if (tableLog < FSE_MIN_TABLELOG) return ERROR(GENERIC); /* Unsupported size */ in FSE_normalizeCount()
437 if (tableLog > FSE_MAX_TABLELOG) return ERROR(tableLog_tooLarge); /* Unsupported size */ in FSE_normalizeCount()
438 …if (tableLog < FSE_minTableLog(total, maxSymbolValue)) return ERROR(GENERIC); /* Too small table… in FSE_normalizeCount()
506 if (nbBits < 1) return ERROR(GENERIC); /* min size */ in FSE_buildCTable_raw()