• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/contrib/openzfs/module/zstd/lib/

Lines Matching refs:GENERIC

1580           if (lastByte == 0) return ERROR(GENERIC); /* endMark not present */ }
2720 case PREFIX(GENERIC): return "Error (generic)";
2864 if (position!=0) return ERROR(GENERIC); /* position must reach all cells once, otherwise normalizedCounter is incorrect */
2915 if (nbBits < 1) return ERROR(GENERIC); /* min size */
7739 if (remaining<1) return ERROR(GENERIC);
7753 return ERROR(GENERIC); /* incorrect normalized distribution */
7771 if (tableLog < FSE_MIN_TABLELOG) return ERROR(GENERIC); /* Unsupported */
7905 return ERROR(GENERIC);
7920 if (tableLog < FSE_MIN_TABLELOG) return ERROR(GENERIC); /* Unsupported size */
7922 if (tableLog < FSE_minTableLog(total, maxSymbolValue)) return ERROR(GENERIC); /* Too small tableLog, compression potentially impossible */
7989 if (nbBits < 1) return ERROR(GENERIC); /* min size */
8329 if ((size_t)workSpace & 3) return ERROR(GENERIC); /* must be aligned on 4-bytes boundaries */
8349 if ((size_t)workSpace & 3) return ERROR(GENERIC); /* must be aligned on 4-bytes boundaries */
8504 if (maxSymbolValue > (256-128)) return ERROR(GENERIC); /* should not happen : likely means source cannot be compressed */
8713 if (((size_t)workSpace & 3) != 0) return ERROR(GENERIC); /* must be aligned on 4-bytes boundaries */
8757 if (maxNbBits > HUF_TABLELOG_MAX) return ERROR(GENERIC); /* check fit into table */
9018 if (((size_t)workSpace & 3) != 0) return ERROR(GENERIC); /* must be aligned on 4-bytes boundaries */
11356 return ERROR(GENERIC);
11366 return ERROR(GENERIC);
11445 size_t const basicCost = isDefaultAllowed ? ZSTD_crossEntropyCost(defaultNorm, defaultNormLog, count, max) : ERROR(GENERIC);
11446 size_t const repeatCost = *repeatMode != FSE_repeat_none ? ZSTD_fseBitCost(prevCTable, count, max) : ERROR(GENERIC);
11517 default: assert(0); RETURN_ERROR(GENERIC, "impossible to reach");
13320 RETURN_ERROR_IF(!cctxParams, GENERIC, "NULL pointer!");
13329 RETURN_ERROR_IF(!cctxParams, GENERIC, "NULL pointer!");
14212 RETURN_ERROR_IF(params->nbWorkers > 0, GENERIC, "Estimate CCtx size is supported for single-threaded compression only.");
14276 RETURN_ERROR_IF(params->nbWorkers > 0, GENERIC, "Estimate CCtx size is supported for single-threaded compression only.");
17054 RETURN_ERROR_IF(output->pos > output->size, GENERIC, "invalid buffer");
17055 RETURN_ERROR_IF(input->pos > input->size, GENERIC, "invalid buffer");
21722 if (dtd.tableType != 0) return ERROR(GENERIC);
21761 if (dtd.tableType != 0) return ERROR(GENERIC);
22222 if (dtd.tableType != 1) return ERROR(GENERIC);
22262 if (dtd.tableType != 1) return ERROR(GENERIC);
24757 RETURN_ERROR_IF(src==NULL, GENERIC, "invalid parameter");
25540 RETURN_ERROR(GENERIC, "impossible to reach"); /* some compiler require default to do something */
26333 RETURN_ERROR(GENERIC, "impossible to reach"); /* some compiler require default to do something */
26869 RETURN_ERROR(GENERIC, "impossible");