HomeSort by: relevance | last modified time | path
    Searched refs:RETURN_ERROR_IF (Results 1 - 14 of 14) sorted by relevancy

  /src/external/bsd/zstd/dist/lib/decompress/
zstd_decompress.c 109 RETURN_ERROR_IF(hashSet->ddictPtrCount == hashSet->ddictPtrTableSize, GENERIC, "Hash set is full!");
139 RETURN_ERROR_IF(!newTable, memory_allocation, "Expanded hashset allocation failed!");
327 RETURN_ERROR_IF(dctx->staticSize, memory_allocation, "not compatible with static DCtx");
419 RETURN_ERROR_IF(srcSize < minInputSize, srcSize_wrong, "");
456 RETURN_ERROR_IF(src==NULL, GENERIC, "invalid parameter : src==NULL, but srcSize>0");
511 RETURN_ERROR_IF((fhdByte & 0x08) != 0, frameParameter_unsupported,
517 RETURN_ERROR_IF(windowLog > ZSTD_WINDOWLOG_MAX, frameParameter_windowTooLarge, "");
592 RETURN_ERROR_IF(srcSize < ZSTD_SKIPPABLEHEADERSIZE, srcSize_wrong, "");
595 RETURN_ERROR_IF((U32)(sizeU32 + ZSTD_SKIPPABLEHEADERSIZE) < sizeU32,
598 RETURN_ERROR_IF(skippableSize > srcSize, srcSize_wrong, "")
    [all...]
zstd_decompress_block.c 66 RETURN_ERROR_IF(srcSize < ZSTD_blockHeaderSize, srcSize_wrong, "");
74 RETURN_ERROR_IF(bpPtr->blockType == bt_reserved, corruption_detected, "");
139 RETURN_ERROR_IF(srcSize < MIN_CBLOCK_SIZE, corruption_detected, "");
149 RETURN_ERROR_IF(dctx->litEntropy==0, dictionary_corrupted, "");
153 RETURN_ERROR_IF(srcSize < 5, corruption_detected, "srcSize >= MIN_CBLOCK_SIZE == 2; here we need up to 5 for case 3");
185 RETURN_ERROR_IF(litSize > 0 && dst == NULL, dstSize_tooSmall, "NULL not handled");
186 RETURN_ERROR_IF(litSize > blockSizeMax, corruption_detected, "");
188 RETURN_ERROR_IF(litSize < MIN_LITERALS_FOR_4_STREAMS, literals_headerWrong,
191 RETURN_ERROR_IF(litCSize + lhSize > srcSize, corruption_detected, "");
192 RETURN_ERROR_IF(expectedWriteSize < litSize , dstSize_tooSmall, "")
    [all...]
zstd_ddict.c 112 RETURN_ERROR_IF(ZSTD_isError(ZSTD_loadDEntropy(
  /src/external/bsd/zstd/dist/lib/common/
error_private.h 113 #define RETURN_ERROR_IF(cond, err, ...) \
fse_decompress.c 193 RETURN_ERROR_IF(BIT_reloadDStream(&bitD)==BIT_DStream_overflow, corruption_detected, "");
  /src/external/bsd/zstd/dist/lib/compress/
zstd_compress.c 185 RETURN_ERROR_IF(cctx->staticSize, memory_allocation,
359 RETURN_ERROR_IF(!cctxParams, GENERIC, "NULL pointer!");
397 RETURN_ERROR_IF(!cctxParams, GENERIC, "NULL pointer!");
653 RETURN_ERROR_IF(!ZSTD_cParam_withinBounds(cParam,val), \
721 RETURN_ERROR_IF((value!=0) && cctx->staticSize, parameter_unsupported,
868 RETURN_ERROR_IF(value!=0, parameter_unsupported, "not compiled with multithreading");
878 RETURN_ERROR_IF(value!=0, parameter_unsupported, "not compiled with multithreading");
892 RETURN_ERROR_IF(value!=0, parameter_unsupported, "not compiled with multithreading");
902 RETURN_ERROR_IF(value!=0, parameter_unsupported, "not compiled with multithreading");
1182 RETURN_ERROR_IF(cctx->streamStage != zcss_init, stage_wrong
    [all...]
zstd_compress_literals.c 46 RETURN_ERROR_IF(srcSize + flSize > dstCapacity, dstSize_tooSmall, "");
161 RETURN_ERROR_IF(dstCapacity < lhSize+1, dstSize_tooSmall, "not enough space for compression");
zstd_compress_sequences.c 258 RETURN_ERROR_IF(dstCapacity==0, dstSize_tooSmall, "not enough space");
303 RETURN_ERROR_IF(
379 RETURN_ERROR_IF(streamSize==0, dstSize_tooSmall, "not enough space");
zstd_cwksp.h 334 RETURN_ERROR_IF(objectEnd > ws->workspaceEnd, memory_allocation,
692 RETURN_ERROR_IF(workspace == NULL, memory_allocation, "NULL pointer!");
zstd_compress_internal.h 654 RETURN_ERROR_IF(srcSize + ZSTD_blockHeaderSize > dstCapacity,
666 RETURN_ERROR_IF(dstCapacity < 4, dstSize_tooSmall, "");
zstd_compress_superblock.c 181 RETURN_ERROR_IF((oend-op) < 3 /*max nbSeq Size*/ + 1 /*seqHead*/,
  /src/external/bsd/zstd/dist/tests/
fullbench.c 220 RETURN_ERROR_IF(srcSize < MIN_CBLOCK_SIZE, corruption_detected, "");
225 RETURN_ERROR_IF(srcSize < 5, corruption_detected, "srcSize >= MIN_CBLOCK_SIZE == 3; here we need up to 5 for case 3");
252 RETURN_ERROR_IF(litSize > ZSTD_BLOCKSIZE_MAX, corruption_detected, "");
253 RETURN_ERROR_IF(litCSize + lhSize > srcSize, corruption_detected, "");
decodecorpus.c 976 RETURN_ERROR_IF(
  /src/external/bsd/zstd/dist/lib/dictBuilder/
zdict.c 905 RETURN_ERROR_IF(hSize + minContentSize > dictBufferCapacity, dstSize_tooSmall,

Completed in 28 milliseconds