/external/zstd/contrib/seekable_format/ |
D | zstdseek_compress.c | 45 int checksumFlag; member 84 ZSTD_frameLog* ZSTD_seekable_createFrameLog(int checksumFlag) in ZSTD_seekable_createFrameLog() argument 94 fl->checksumFlag = checksumFlag; in ZSTD_seekable_createFrameLog() 143 int checksumFlag, in ZSTD_seekable_initCStream() argument 159 zcs->framelog.checksumFlag = checksumFlag; in ZSTD_seekable_initCStream() 160 if (zcs->framelog.checksumFlag) { in ZSTD_seekable_initCStream() 217 zcs->framelog.checksumFlag in ZSTD_seekable_endFrame() 227 if (zcs->framelog.checksumFlag) in ZSTD_seekable_endFrame() 247 if (zcs->framelog.checksumFlag) { in ZSTD_seekable_compressStream() 273 size_t const sizePerFrame = 8 + (fl->checksumFlag?4:0); in ZSTD_seekable_seekTableSize() [all …]
|
D | zstdseek_decompress.c | 151 int checksumFlag; member 261 int checksumFlag; in ZSTD_seekable_loadSeekTable() local 272 checksumFlag = sfd >> 7; in ZSTD_seekable_loadSeekTable() 275 if ((checksumFlag >> 2) & 0x1f) { in ZSTD_seekable_loadSeekTable() 281 U32 const sizePerEntry = 8 + (checksumFlag?4:0); in ZSTD_seekable_loadSeekTable() 335 if (checksumFlag) { in ZSTD_seekable_loadSeekTable() 345 zs->seekTable.checksumFlag = checksumFlag; in ZSTD_seekable_loadSeekTable() 418 if (zs->seekTable.checksumFlag) { in ZSTD_seekable_decompress() 436 if (zs->seekTable.checksumFlag && in ZSTD_seekable_decompress()
|
D | zstd_seekable.h | 82 …ble_initCStream(ZSTD_seekable_CStream* zcs, int compressionLevel, int checksumFlag, unsigned maxFr… 105 ZSTDLIB_API ZSTD_frameLog* ZSTD_seekable_createFrameLog(int checksumFlag);
|
/external/zstd/contrib/pzstd/ |
D | Options.h | 58 params.fParams.checksumFlag = checksum; in determineParameters()
|
/external/zstd/lib/legacy/ |
D | zstd_v07.h | 118 unsigned checksumFlag; member
|
D | zstd_v07.c | 3177 U32 const checksumFlag = (fhdByte>>2)&1; in ZSTDv07_getFrameParams() local 3217 fparamsPtr->checksumFlag = checksumFlag; in ZSTDv07_getFrameParams() 3246 if (dctx->fParams.checksumFlag) XXH64_reset(&dctx->xxhState, 0); in ZSTDv07_decodeFrameHeader() 3851 if (dctx->fParams.checksumFlag) XXH64_update(&dctx->xxhState, op, decodedSize); in ZSTDv07_decompressFrame() 4029 if (dctx->fParams.checksumFlag) { in ZSTDv07_decompressContinue() 4068 if (dctx->fParams.checksumFlag) XXH64_update(&dctx->xxhState, dst, rSize); in ZSTDv07_decompressContinue()
|
/external/zstd/contrib/linux-kernel/ |
D | zstd_decompress_module.c | 115 params->checksum_flag = h.checksumFlag; in zstd_get_frame_params()
|
D | zstd_compress_module.c | 41 ZSTD_STATIC_ASSERT(offsetof(ZSTD_frameParameters, checksumFlag) == in zstd_check_structs()
|
/external/zstd/programs/ |
D | fileio.h | 81 void FIO_setChecksumFlag(FIO_prefs_t* const prefs, int checksumFlag);
|
D | fileio.c | 293 int checksumFlag; member 361 ret->checksumFlag = 1; in FIO_createPreferences() 434 … FIO_setChecksumFlag(FIO_prefs_t* const prefs, int checksumFlag) { prefs->checksumFlag = checksumF… in FIO_setChecksumFlag() argument 962 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_checksumFlag, prefs->checksumFlag) ); in FIO_createCResources() 1185 int compressionLevel, int checksumFlag, in FIO_compressLz4Frame() argument 1206 prefs.frameInfo.contentChecksumFlag = (contentChecksum_t)checksumFlag; in FIO_compressLz4Frame() 1534 …O_compressLz4Frame(&ress, srcFileName, fileSize, compressionLevel, prefs->checksumFlag, &readsize); in FIO_compressFilename_internal() 1894 CHECK( ZSTD_DCtx_setParameter(ress.dctx, ZSTD_d_forceIgnoreChecksum, !prefs->checksumFlag)); in FIO_createDResources()
|
/external/zstd/lib/decompress/ |
D | zstd_decompress.c | 284 U32 const checksumFlag = (fhdByte>>2)&1; in ZSTD_getFrameHeader_advanced() local 323 zfhPtr->checksumFlag = checksumFlag; in ZSTD_getFrameHeader_advanced() 457 dctx->validateChecksum = (dctx->fParams.checksumFlag && !dctx->forceIgnoreChecksum) ? 1 : 0; in ZSTD_decodeFrameHeader() 522 if (zfh.checksumFlag) { in ZSTD_findFrameSizeInfo() 687 if (dctx->fParams.checksumFlag) { /* Frame content checksum verification */ in ZSTD_decompressFrame() 945 if (dctx->fParams.checksumFlag) { in ZSTD_decompressContinue() 1003 if (dctx->fParams.checksumFlag) { /* another round for frame checksum */ in ZSTD_decompressContinue()
|
/external/zstd/tests/fuzz/ |
D | zstd_helpers.c | 55 fParams.checksumFlag = FUZZ_dataProducer_uint32Range(producer, 0, 1); in FUZZ_randomFParams()
|
/external/zstd/tests/regression/ |
D | config.c | 247 zparams.fParams.checksumFlag = value; in config_get_zstd_params()
|
/external/zstd/tests/ |
D | zstreamtest.c | 237 … CHECK_RET_Z(ZSTD_CCtx_getParameter(zc, ZSTD_c_checksumFlag, &savedParams->fParams.checksumFlag)); in getCCtxParams() 255 CHECK_RET(7, params.fParams.checksumFlag != savedParams.fParams.checksumFlag, "checksumFlag"); in badParameters() 783 params.fParams.checksumFlag = 1; in basicUnitTests() 1859 params.fParams.checksumFlag = FUZ_rand(&lseed) & 1; in fuzzerTests() 2184 int const checksumFlag = FUZ_rand(&lseed) & 1; in fuzzerTests_newAPI() local 2185 DISPLAYLEVEL(5, "t%u: frame checksum : %u \n", testNb, checksumFlag); in fuzzerTests_newAPI() 2186 … CHECK_Z( setCCtxParameter(zc, cctxParams, ZSTD_c_checksumFlag, checksumFlag, opaqueAPI) ); in fuzzerTests_newAPI()
|
D | zbufftest.c | 361 params.fParams.checksumFlag = FUZ_rand(&lseed) & 1; in fuzzerTests()
|
/external/zstd/lib/compress/ |
D | zstdmt_compress.c | 481 if (params.fParams.checksumFlag) in ZSTDMT_serialState_reset() 588 if (serialState->params.fParams.checksumFlag && src.size > 0) in ZSTDMT_serialState_update() 683 if (job->jobID != 0) jobParams.fParams.checksumFlag = 0; in ZSTDMT_compressionJob() 1353 …mtctx->jobs[jobID].frameChecksumNeeded = mtctx->params.fParams.checksumFlag && endFrame && (mtctx-… in ZSTDMT_createCompressionJob() 1370 mtctx->params.fParams.checksumFlag = 0; in ZSTDMT_createCompressionJob()
|
D | zstd_compress.c | 661 CCtxParams->fParams.checksumFlag = value != 0; in ZSTD_CCtxParams_setParameter() 662 return CCtxParams->fParams.checksumFlag; in ZSTD_CCtxParams_setParameter() 840 *value = CCtxParams->fParams.checksumFlag; in ZSTD_CCtxParams_getParameter() 2853 if (cctx->appliedParams.fParams.checksumFlag && srcSize) in ZSTD_compress_frameChunk() 2918 U32 const checksumFlag = params->fParams.checksumFlag>0; in ZSTD_writeFrameHeader() local 2924 …BYTE const frameHeaderDescriptionByte = (BYTE)(dictIDSizeCode + (checksumFlag<<2) + (singleSegmen… in ZSTD_writeFrameHeader() 3462 if (cctx->appliedParams.fParams.checksumFlag) { in ZSTD_writeEpilogue() 4914 if (cctx->appliedParams.fParams.checksumFlag && srcSize) { in ZSTD_compressSequences() 4926 if (cctx->appliedParams.fParams.checksumFlag) { in ZSTD_compressSequences() 4957 …t const checksumSize = (size_t)(zcs->frameEnded ? 0 : zcs->appliedParams.fParams.checksumFlag * 4); in ZSTD_endStream()
|
/external/zstd/lib/ |
D | zstd.h | 1175 …int checksumFlag; /**< 1: generate a 32-bits checksum using XXH64 algorithm at end of frame, fo… member 2319 unsigned checksumFlag; member
|