Home
last modified time | relevance | path

Searched refs:dictContentType (Results 1 – 11 of 11) sorted by relevance

/external/zstd/lib/decompress/
Dzstd_ddict.c91 ZSTD_dictContentType_e dictContentType) in ZSTD_loadEntropy_intoDDict() argument
95 if (dictContentType == ZSTD_dct_rawContent) return 0; in ZSTD_loadEntropy_intoDDict()
98 if (dictContentType == ZSTD_dct_fullDict) in ZSTD_loadEntropy_intoDDict()
104 if (dictContentType == ZSTD_dct_fullDict) in ZSTD_loadEntropy_intoDDict()
123 ZSTD_dictContentType_e dictContentType) in ZSTD_initDDict_internal() argument
140 FORWARD_IF_ERROR( ZSTD_loadEntropy_intoDDict(ddict, dictContentType) , ""); in ZSTD_initDDict_internal()
147 ZSTD_dictContentType_e dictContentType, in ZSTD_createDDict_advanced() argument
157 dictLoadMethod, dictContentType); in ZSTD_createDDict_advanced()
191 ZSTD_dictContentType_e dictContentType) in ZSTD_initStaticDDict() argument
206 ZSTD_dlm_byRef, dictContentType) )) in ZSTD_initStaticDDict()
Dzstd_decompress.c1313 ZSTD_dictContentType_e dictContentType) in ZSTD_DCtx_loadDictionary_advanced() argument
1318 …ictLocal = ZSTD_createDDict_advanced(dict, dictSize, dictLoadMethod, dictContentType, dctx->custom… in ZSTD_DCtx_loadDictionary_advanced()
1336 …ced(ZSTD_DCtx* dctx, const void* prefix, size_t prefixSize, ZSTD_dictContentType_e dictContentType) in ZSTD_DCtx_refPrefix_advanced() argument
1338 …(ZSTD_DCtx_loadDictionary_advanced(dctx, prefix, prefixSize, ZSTD_dlm_byRef, dictContentType), ""); in ZSTD_DCtx_refPrefix_advanced()
/external/zstd/tests/fuzz/
Ddictionary_loader.c31 ZSTD_dictContentType_e dictContentType, in compress() argument
37 cctx, dict, dictSize, dictContentType)); in compress()
40 cctx, dict, dictSize, dictLoadMethod, dictContentType)); in compress()
51 ZSTD_dictContentType_e dictContentType, in decompress() argument
57 dctx, dict, dictSize, dictContentType)); in decompress()
60 dctx, dict, dictSize, dictLoadMethod, dictContentType)); in decompress()
Ddictionary_round_trip.c33 ZSTD_dictContentType_e dictContentType = ZSTD_dct_auto; in roundTripTest() local
46 dictContentType = FUZZ_dataProducer_uint32Range(producer, 0, 2); in roundTripTest()
53 dictContentType)); in roundTripTest()
58 dictContentType)); in roundTripTest()
65 dictContentType)); in roundTripTest()
70 dictContentType)); in roundTripTest()
Ddictionary_stream_round_trip.c62 ZSTD_dictContentType_e dictContentType) in compress() argument
73 dictContentType)); in compress()
78 dictContentType)); in compress()
177 ZSTD_dictContentType_e dictContentType = FUZZ_dataProducer_uint32Range(producer, 0, 2); in LLVMFuzzerTestOneInput() local
181 …mpress(cBuf, neededBufSize, src, size, dict.buff, dict.size, producer, refPrefix, dictContentType); in LLVMFuzzerTestOneInput()
186 dictContentType)); in LLVMFuzzerTestOneInput()
191 dictContentType)); in LLVMFuzzerTestOneInput()
Draw_dictionary_round_trip.c34 ZSTD_dictContentType_e const dictContentType = ZSTD_dct_rawContent; in roundTripTest() local
56 dictContentType)); in roundTripTest()
61 dictContentType)); in roundTripTest()
/external/zstd/lib/
Dzstd.h1466 ZSTD_dictContentType_e dictContentType,
1473 ZSTD_dictContentType_e dictContentType);
1497 ZSTD_dictContentType_e dictContentType,
1522 ZSTD_dictContentType_e dictContentType,
1528 ZSTD_dictContentType_e dictContentType,
1602 …ct, size_t dictSize, ZSTD_dictLoadMethod_e dictLoadMethod, ZSTD_dictContentType_e dictContentType);
1607 …ed(ZSTD_CCtx* cctx, const void* prefix, size_t prefixSize, ZSTD_dictContentType_e dictContentType);
1915 …ct, size_t dictSize, ZSTD_dictLoadMethod_e dictLoadMethod, ZSTD_dictContentType_e dictContentType);
1920 …ed(ZSTD_DCtx* dctx, const void* prefix, size_t prefixSize, ZSTD_dictContentType_e dictContentType);
/external/zstd/lib/compress/
Dzstdmt_compress.h70 const void* dict, size_t dictSize, ZSTD_dictContentType_e dictContentType,
Dzstd_compress.c67 ZSTD_dictContentType_e dictContentType; /* The dictContentType the CDict was created with */ member
989 dl->dictContentType, in ZSTD_initLocalDict()
999 ZSTD_dictLoadMethod_e dictLoadMethod, ZSTD_dictContentType_e dictContentType) in ZSTD_CCtx_loadDictionary_advanced() argument
1020 cctx->localDict.dictContentType = dictContentType; in ZSTD_CCtx_loadDictionary_advanced()
1062 … ZSTD_CCtx* cctx, const void* prefix, size_t prefixSize, ZSTD_dictContentType_e dictContentType) in ZSTD_CCtx_refPrefix_advanced() argument
1070 cctx->prefixDict.dictContentType = dictContentType; in ZSTD_CCtx_refPrefix_advanced()
3307 ZSTD_dictContentType_e dictContentType, in ZSTD_compress_insertDictionary() argument
3313 RETURN_ERROR_IF(dictContentType == ZSTD_dct_fullDict, dictionary_wrong, ""); in ZSTD_compress_insertDictionary()
3320 if (dictContentType == ZSTD_dct_rawContent) in ZSTD_compress_insertDictionary()
3324 if (dictContentType == ZSTD_dct_auto) { in ZSTD_compress_insertDictionary()
[all …]
Dzstd_compress_internal.h54 ZSTD_dictContentType_e dictContentType; member
61 ZSTD_dictContentType_e dictContentType; member
1164 ZSTD_dictContentType_e dictContentType,
Dzstdmt_compress.c467 ZSTD_dictContentType_e dictContentType) in ZSTDMT_serialState_reset() argument
515 if (dictContentType == ZSTD_dct_rawContent) { in ZSTDMT_serialState_reset()
1191 const void* dict, size_t dictSize, ZSTD_dictContentType_e dictContentType, in ZSTDMT_initCStream_internal() argument
1222 … ZSTD_dlm_byCopy, dictContentType, /* note : a loadPrefix becomes an internal CDict */ in ZSTDMT_initCStream_internal()
1292 dict, dictSize, dictContentType)) in ZSTDMT_initCStream_internal()